Description
Pull request #87 causes cameras to automatically wake up if there are in standby mode. This works great and will resolve problems with shut-down cameras eventually.
Unfortunately, if the Panasonic cameras are in stand-by right before we want to move them, the code will wake them up, but both models I've tested will fail to actually turn. This may due to the camera not yet being awake? The result is that the camera will only turn with the next forced update interval which cam be quite a while later. That's not great.
Maybe instead of just always sending the command, something simple like this could resolve the issue:
if not camera.in_standby() then
begin
camera.power_on();
sleep(10);
end
If we know the camera is turned off, we could even add a metric (counter for each camera?) to track that.
Though, that's certainly just a “nice-to-have” addition.