Multiple Orvibo S20

Hello,

I have two Orvibo S20 switches in my apartment as of right now. From what I can read there should be support for multiple Orvibos but I can’t seem to get it to work. I’ve set up static IP lease for each Orvibo .191 and .192 but for some reason the second one .192 doesn’t work. It can’t read status and it can’t flip the switch on the second one.

These are my entries in configuration.yaml

switch 1:
platform: orvibo
host: 192.168.50.191
name: kitchen light

switch 2:
platform: orvibo
host: 192.168.50.192
name: living room light

And this is the log entry that keeps on forever

15-12-15 10:20:35 homeassistant.components.switch.orvibo: Error while fetching $
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/switch/$
self._state = self._s20.on
File “/home/wlcadmin/.homeassistant/lib/orvibo/s20.py”, line 86, in on
return self._subscribe()
File “/home/wlcadmin/.homeassistant/lib/orvibo/s20.py”, line 137, in _subscri$
“No status could be found for {}”.format(self.host))
orvibo.s20.S20Exception: No status could be found for 192.168.50.192

Any help most appreciated, would be nice if this would work :wink:
(also have a couple more S20 not installed).

Hi pitrus, support for multiple Orvibo S20 should be improved in the next release. I believe there is a resource contention issue with the UDP socket. I’ll keep this thread updated with any progress.

Okay, thanks! Sounds promising. :slight_smile:

The dev branch now points to a new version of the orvibo module that hopefully addresses this issue.

I tried it out today today, seems to work perfectly.

Thumbs up ! :wink:

Was this rolled into a new release or is it coming I can access to update?

I’ve having a shockingly unsuccessful time with these switches even after setting up a new wifi just for them to avoid issues with tplink flagged by @BarryHampants

I get them in and working but they often drop out randomly and I have to hard reboot my pi, even then sometimes they still don’t work…

I have 5x s20s

They’re working pretty descent for me, one of four died on me so now I only have three active on a separate wifi network/subnet (auto-net VLAN 150). Make sure your wireless for the orvibos has quite relaxed security (WPA/WPA2 with TKIP and AES), I’m not sure if they work well with AES/CCMP, maybe that could be an explanation for your Orvibos loosing connection for you?

Although when I’m updating my AP firmwares in the Unifi controller, sometimes the Orvibos doesn’t directly reconnect to the wifi so I have to manually reboot them by disconnecting and reconnecting. Thinking of replacing all my Orvibos with Sonoff S20 as my Sonoff switchens with KmanOz MQTT firmware is working 100 times better than the orvibos, currently using Sonoff Basic which are quite clumsy in design but since S20 wasn’t supported by the firmware from the beginning I had to order the Basic. It’s a bit of a hassle to reprogram the ESP chips, but when it’s done it works a lot better than the Orvibos.

After trying everything… new wifi, MAC address setup, IP address allocation I tried one last time with all new ip addresses and it seems to (for the moment) have fixed the issue.

I already put up a listing on eBay to get rid of them and replace them with xiaomi zigbee plugs…

I’ll keep them assuming they stay working (its only been 72hrs of reliability)