bitfocus / companion-module-panasonic-ptz

MIT License
8 stars 15 forks source link

Variables stop updating #43

Open cpuguru07 opened 1 year ago

cpuguru07 commented 1 year ago

I have 3x Panasonic PTZ cameras (2x AW-HN38 and 1x AW-HN40) using this module. I noticed all 3 of them reporting $(Panasonic-PTZ:power) = ON when they are actually OFF (in Standby mode). I confirmed the p0/p1 was being set correctly by the cameras in camdata.html, so the module was just not updating its variables correctly. As a test, I disabled and re-enabled one of the instances, and the variables 1) updated correctly and 2) continued to respond to changes in power state (same thing with the other 2 instances). I'm not sure at what point/why they stopped updating, but it happened with all 3 instances. As far as I can tell, all commands continued to work (power on/off, PTZ, etc.), but the variables just stopped updating.

Note: I also briefly observed a p3 power state as the cameras were booting up (maybe warmup or initializing?). A brief web search was unable to find official documentation on these codes.