openLuup: Shelly Bridge plugin
-
Version 21.4.25 has the addition!
-
@akbooer now on to my second Shelly, a Shelly Uni.
Same thing here, I assume, no child devices are created some mapping is required.
(For my Uni I have the two relays connected to two relays reading two states from the alarm, and no buttons connected to control the two inputs. In other words in my application I do not really need the input child devices.)The temperature gets mapped correctly.
The two "relay" variables are the outputs for each channel are also as they should from what I can see.Payload:
{"id":"shellyuni-483FDA82C252","model":"SHUNI-1","mac":"xxx","ip":"192.168.1.31","new_fw":false,"fw_ver":"20201124-093042/v1.9.0@57ac4ad8"}
I think the "input" variables are the two buttons that you can control as a user that need child devices.
If I remember it correctly @therealdb also has a Uni if you need more input from a second use case.
-
@archers said in openLuup: Shelly Bridge plugin:
If I remember it correctly @therealdb also has a Uni if you need more input from a second use case
I literally have bought anything from them, but I've not fully deployed every device. I'm still waiting for my Uni and EM to be inserted. the EMs will soon monitor my AC, so I could detect if it's running or not (I have to use two switchbots to turn it on/off, because it's still under warranty and I could not mess with the original thermostat).
All that said, I'm voting for automatic creation of child temp/humidity sensors, and for Uni to create relays and inputs separately. That's what most people will do, anyway.
-
@therealdb said in openLuup: Shelly Bridge plugin:
I literally have bought anything from them, but I've not fully deployed every device. I'm still waiting for my Uni and EM to be inserted. the EMs will soon monitor my AC, so I could detect if it's running or not (I have to use two switchbots to turn it on/off, because it's still under warranty and I could not mess with the original thermostat).
@therealdb I still have an EM that I will setup over time to monitor the consumption of the spa and the HVAC.
I also have a few more Shellies inbound in the mail; some Shelly 1's, a few 1PMs and a Button1. The plan is to replace a few aeging Aeotec relays that do not behave properly with the 1PMs.
The Button1 I plan to use instead of a really old Zwave.me wall controller.All that said, I'm voting for automatic creation of child temp/humidity sensors, and for Uni to create relays and inputs separately. That's what most people will do, anyway.
I can second the thought on autocreation of temp/humidity and relay/input for the Uni if it is feasible to maintain. However not being a developer I am happy with what I get!
The native Shelly and Tasmota support in OpenLuup together with the Mqtt support is a huge and really cool addition to the platform!
-
@archers said in openLuup: Shelly Bridge plugin:
The Button1 I plan to use instead of a really old Zwave.me wall controller.
Yup, done that too. OK if you can get used to the 2 second delay (unless on USB power.)
-
@archers said in openLuup: Shelly Bridge plugin:
I can second the thought on autocreation of temp/humidity and relay/input for the Uni if it is feasible to maintain.
Not, fundamentally, any problem, but I haven’t (yet) got a Uni.
-
@akbooer said in openLuup: Shelly Bridge plugin:
Yup, done that too. OK if you can get used to the 2 second delay (unless on USB power.)
I have now included the Button1 and it works ok, it added without problems in OpenLuup. No child devices, but I assume that is the way it should be.
I think I will keep it attached to USB power. I have power available where the button is located and this gives more or less instant actions. I also noticed that if it is not on USB in some cases it does not connect as it should when going out of sleep when you push the button.
I assume that wifi is not the best technology for battery powered devices.
So far I am using a direct action from the button to the 1PM that it should control. -
@archers said in openLuup: Shelly Bridge plugin:
I assume that wifi is not the best technology for battery powered devices.
No, not really. That’s what Zwave and Zigbee were supposed to be about. But I have to say that in terms of all the HA technology I’ve had (X10 / Zwave / Zigbee) it all pales into insignificance compared to Shellies and WiFi – especially in terms of setup and the fact that you don’t need a controller at all.
-
therealdbreplied to ArcherS on May 3, 2021, 10:08 AM last edited by therealdb May 3, 2021, 6:09 AM
@archers said in openLuup: Shelly Bridge plugin:
I think I will keep it attached to USB power. I have power available where the button is located and this gives more or less instant actions. I also noticed that if it is not on USB in some cases it does not connect as it should when going out of sleep when you push the button.
yep, I've them inside my cars, so USB powered. It will takes about 3-4 seconds at boot for them to jon the WiFi network and send an MQTT message. My use case is not normal and I'll probably swap them with nodemcu devices in the future, but overall for 10 eur battery included I'm very satisfied.
I'll install Shellies into my sister-in-law house this year, because they really want home control and not home automation, and Shelly is the least overkill solution to this problem. No hub required for very basic automation is not bad, for "normal" users.
-
@akbooer said in openLuup: MQTT server:
I don't have any HT devices,
...but I do now, and I've just updated the Shelly plugin to support individual temperature and humidity child devices for each H&T, and also a battery level for the parent device.
A bit disappointed with the quality of the H&T case, it seems inferior to the excellent Button 1 – but it's so small and innocuous that perhaps it doesn't matter. Aside from that, it's a fine little device (although I've not checked the calibration accuracy, I see that they do include a user-definable offset for both H & T readings.) If the battery lasts as well as they say, that'l be fine.
-
@akbooer today I added a Shelly Dimmer2 replacing a really old Fibaro dimmer that died. The Shelly dimmer seems like a nice device so far.
It is added into OpenLuup as it should:
The following variables are mapped:
announce:
{"id":"shellydimmer2-nnn","model":"SHDM-2","mac":"nnn","ip":"192.168.1.nn","new_fw":false,"fw_ver":"20210226-115010/v1.9.6-dimmer2@1873d25e"}
light/0/status:
{"ison":true,"source":"http","has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"mode":"white","brightness":80}
However no child devices are created for the dimmer. Could this be added to the Shelly bridge?
(I am running OpenLuup v 21.8.16.)
-
Yes, I don't believe that I've implemented the dimmer... I certainly haven't got one!
I'll take a look – thanks for the excellent configuration information!
-
This is going to be hard without having a dimmer. You're not in the UK, are you? I didn't really want to buy one (£22 UK price) because I have absolutely no need of one.
Any chance that anyone has got a spare one they can send me?
-
@akbooer I have a virtual server just to test my own integration. I think it’s a safer investment for you to validate any device you don’t have access to. The doc is pretty good and it’s not complex to replicate both http and mqtt messages in a fake implementation.
-
OK, so we’ll have to do this in an iterative way, with me making a few mistakes.
-
@akbooer top notch service as always! Hopefully you will get good use of it also.
So far I am happy with mine. The dimmer supports all kind of switches. I use it with a spring loaded wall switch in "one button mode", i.e. as a push button with push-and-hold for dimming.As a side note I am still on 1.9.x on my Shellies since I did not get mqtt to work with the new firmware. On the EU Shelly support site it is very easy to set up an ota-url for flashing older versions on a device.
-
I missed your post, somehow. As you see, I’ve gone for the hardware rather than a virtual solution, but I certainly won’t be doing that for all new Shellies!
Any details to share on how you’ve done this?