dCypherNx

Results 13 comments of dCypherNx

the original ptz bin works through ssh but not for presets, I tried resetting them to the default hack and the same behavior persists, ODM is able to pan/tilt but...

Seems that nothing changed

there are few pretest, seems that onvif command is unable to access this file, at ODM the presets aren't lieted either my ptz_presets.conf ![image](https://github.com/roleoroleo/sonoff-hack/assets/32493242/1407c59f-963f-4f37-88bb-632fd5d3eede) 0=0|969|956 1=1|2362|424 2=2|433|344 3=empty|-1|-1 4=empty|-1|-1 5=empty|-1|-1...

This command just returned the usage guide, I tried ptz_h and it returned all presets, the ptz_p " can't load library 'libptz.so'" I renamed the ptz_h to ptz, it solved...

Litle update about HA Previously the presets are 0, 1, etc. Now, the presets are PresetToken_0, PresetToken_1, etc. I'm using onvif standard, I didn't know you had your own integration...

Now the presets are working, but the single PTZ is not, just like in the h60ga, maybe the commands are also different, previously I was using UP, DOWN, LEFT, RIGHT...

Presets are fine in both HA and ODM. I'll check variation of relative, absolute and continuous, never had to worry about it before LOL

That's it! Previously we didn't need to set move_mode for single moves, now we need to. Presets solved, single moves solved.

> Another little fix: [onvif_simple_server.gz](https://github.com/roleoroleo/sonoff-hack/files/14268357/onvif_simple_server.gz) > > But I noticed a problem with ptz service in ha. Ha doesn't ask to the cam the range of the pan and tilt...