roleoroleo / sonoff-hack

Custom firmware for Sonoff GK-200MP2B camera
GNU General Public License v3.0
200 stars 45 forks source link

ONVIF Network Interface not persistent #1

Closed barrymossel closed 3 years ago

barrymossel commented 3 years ago

When changing the ONVIF Network Interface via the web interface to Wireless, press save and refresh the page, it goes back to ethernet.

roleoroleo commented 3 years ago

It's a typo. You can fix it changing ONVIF_INTERFACE with ONVIF_NETIF inside 2 files:

barrymossel commented 3 years ago

Cool will try it later. Unfortunately ONVIF seems (through ethernet) very slow though...

roleoroleo commented 3 years ago

What is slow? ptz?

barrymossel commented 3 years ago

No, actually the stream is lagging 2-3 seconds (or even more). Big difference opposed to the Ewelink app (or RTSP stream from original firmware - at least it seems). Will test later.

roleoroleo commented 3 years ago

Onvif it's only a descriptor, doesn't provide stream. The stream is the original rtsp produced from the cam through the sonoff firmware.

barrymossel commented 3 years ago

I already had that feeling lol. Just seemed that way then. App is way faster though.

But thanks for this hack. Really nice!

roleoroleo commented 3 years ago

Fixed in 0.0.5 https://github.com/roleoroleo/sonoff-hack/releases/tag/0.0.5