LAN mode not working
See original GitHub issueWhat issue do you have? Please be as thorough and explicit as possible.
I’m trying to use pure LAN mode on my Sonoff devices in Home app and Hoobs. I have all my Sonoff devices (6x 4CHR3 and some BasicR3) on my separate IoT VLAN, and LAN control is turned on on all devices in the Ewelink app. This works fine as long as that VLAN has internet access, but not if I cut off internet access to that VLAN. I can still control all devices through the Ewelink app, which tells me that LAN control should be working, but they become unavailable in the iOS Home app, and shows up in the log as “reported as offline by WS”. In this state, I can’t control anything through neither Home app or Hoobs dashboard, only through the Ewelink app. I’ve tried restarting the plug-in and the RPI itself, but that doesn’t work. Only if I give the IoT VLAN internet access again, everything works again. I’ve noticed in the log, that if I do a restart with internet access, all my devices show up, but some of them will report as “LAN control unsupported/unavailable”, even though they have this turned on in the Ewelink app. Some devices seems to change their mind a minute or so later, and will report as “found locally via IP 192.168….” or “reported online by LAN” but I never get all my devices reported as LAN compatible. I’ve double checked in the app, and all devices have LAN control turned on. Anyway, if they are controllable through the Ewelink app, even without internet, they must be LAN controllable. Am I supposed to do something else to run in pure LAN mode? I realize that it needs the initial connection to retrieve my list of devices, but after that, if my internet connection drops, I can’t control anything through either Hoobs or the Home app, only through the Ewelink app.
Details of your setup.
-
Do you use (1) Homebridge UI-X (2) Homebridge CLI or (3) HOOBS? 3
-
Which version of Homebridge/HOOBS do you have? 4.0.104
-
Which platform do you run Homebridge/HOOBS on (e.g. Raspberry Pi/Windows/HOOBS Box)? Please also mention your version of Node.js/NPM if known. Raspberry Pi 4B, node is 14.18.0
-
Which version of this plugin (homebridge-ewelink) do you have? Has the issue started since upgrading from a previous version? 8.3.6. I haven’t tried to use pure LAN mode until now, so I can’t say if it has worked before.
-
Which eWeLink devices do you have that are causing issues? Please include product models if applicable. 6x 4CHR3, 3x BasicR3.
Please paste any relevant logs below.
Issue Analytics
- State:
- Created 2 years ago
- Comments:27 (11 by maintainers)
Top GitHub Comments
https://github.com/bwp91/homebridge-ewelink/wiki/Connection-Methods#lan-mode-without-ewelink-credentials
Or another option, whilst the plugin has access to the internet, you can remove your ewelink username and password from the config, (the plugin must already be in lan mode) and then restart, and it will use cache version of your devices and then you can connect the hoobs box to the sonoff vlan.