Andrey Kupreychik

Results 29 comments of Andrey Kupreychik

@roleoroleo I found onvif_srvd being a dedicated repo here. Can I compile and run it without uploading to the camera? Maybe I could try adding the functionally developing on a...

That sounds really cool. I've read thru the code there. looks reasonable. I would love to try it out. Unfortunately, I have no sonoff camera available.

Hi, @roleoroleo I tried the binary by replacing the original one with the one you've provided. It works and not: first I tested with `onvif-device-tool`. I was able to see...

Some more investigation: I force HA to send `InitialTerminationTime` and was able to make it run until it sends 'Unsubscribe': ``` \nadminiE80+3iYwHA+RtX1BgC0cK0AemE=Z4EbiJRWPvAOHmMZ717Geg==2020-09-18T19:03:00+00:00 ``` ... or Renew: ``` \nadminC5U1KOgTg9noiPDRmu9lRfvLxrg=fJohd1XaQTySyh/Uc854UA==2020-09-18T19:35:58+00:002020-09-19T19:29:40Z ``` The...

Another strange thing: when I start HA with all the modifications I made so far, it connects but receives empty set of messages until I open and close onvif-device-tool... Looks...

Checked this one. Results: * recognixed with no modifications to hass and does not crash * renew is not affecting PullMessagesResult.TerminationTime it's showed not changing and hass tries to renew...

Tests result: * Renew.TerminationTime is ignored and termination time is 1 minute ahead next time PullMessagesResult is returned * onvif-device-tool works * if there are two connections, e.g. onvif-device-tool and...

@roleoroleo sure: When Renew request is sent TerminationTime contains the desired subscription termination time. So it's expected to have at least this value returned in subsequent PullMessagesResult.

Hi, @roleoroleo . I was reading thru https://www.onvif.org/specs/core/ONVIF-Core-Specification.pdf and I can't say anything about extending termination time when PullMessage is submitted, I think it's not restricted since each PullMessageResponse has...

Yes. I did try the latest archive