beveradb / sonoff-lan-mode-homeassistant

Home Assistant platform to control Sonoff switches running the latest Itead firmware, locally (LAN mode).
MIT License
74 stars 36 forks source link

Make clear that the device will not boot to lan #4

Closed tiagoboldt closed 5 years ago

tiagoboldt commented 5 years ago

The device must have internet access to setup itself so blocking its internet connection must happen each time the device is powered.

beveradb commented 5 years ago

Hmm, that hasn't been my experience - in fact, in the video I posted (watch from 16s in), I demonstrate cutting power to the device, powering it back up again and seeing it spend 4 seconds flashing once, then dropping into LAN mode (two flashes every 2 seconds).

What model and firmware version are you on, and what exactly do you see when doing the same thing?

tiagoboldt commented 5 years ago

Let me retry and followup. I'm using an S20, firmware 2.6.1.

tiagoboldt commented 5 years ago

When I plug it in and internet access is blocked, mine keeps blinking once every couple of seconds, trying to connect to the internet. This goes on forever. A few seconds after unblocking its internet traffic, it stops blinking and fixes the green LED. Some minutes after I block the internet connectivity again, it drops to lan mode. So this one requires internet access to set itself up before being able to drop to lan mode. :/

beveradb commented 5 years ago

I've just tweaked this note and merged to show the note prominently in the README.

However, I'm keen to investigate this further over in issue #8 if you're up for doing a bit of trial and error with me? I've got a few more Sonoff devices on the way but no S20 just yet, unfortunately (and can't justify ordering more just now).