Looks like they already support the Shelly 1 and home assistant here.
http://shelly-api-docs.shelly.cloud/#shelly1-mongoose-os-application
Looks like they already support the Shelly 1 and home assistant here.
http://shelly-api-docs.shelly.cloud/#shelly1-mongoose-os-application
That’s great, but seems it needs to be flashed with the shelly1 Mongoose-OS application
The video from @nickrout describes how to flash the Tosmota, which is great!
Using the video doesn’t that negate this entire thread since MQTT is already supported by HomeAssistant?
What is great is that the manufacturer actually encourages and supports flashing other firmware, making all sorts of things possible.
For those that want a simple way to use a Shelly 1 out of the box (with no flashing), this is one approach:
- platform: command_line
scan_interval: 2
switches:
counter_leds:
command_on: '/usr/bin/curl -Ss "http://192.168.X.X/relay/0?turn=on" >>/tmp/foo 2>&1'
command_off: '/usr/bin/curl -Ss "http://192.168.X.X/relay/0?turn=off" >>/tmp/foo 2>&1'
command_state: '/usr/bin/curl -Ss "http://192.168.X.X/relay/0" 2>>/tmp/foo | grep ison.:true'
Change 192.168.X.X to match your devices IP address.
Thanks!
Would this work for shelly2 as well?
Fantastic, great
The API is the same. Change /relay/0 to /relay/1 for the second switch.
yes, great!
What a great mind the guy who wrote this Oops, that’s me
awesome i will try this tonight whith the shelly2
Is there any advantage if the Shelly 1 over the Shelly 2?
Does the Shelly 2 support toggle physical light switches (rather than push button momentary switches)?
Does the Shelly 2 support tasmota?
Here’s how to integrate the shelly products into home assistant without changing their firmware: https://www.youtube.com/watch?v=E99-17XyyUg
Thanks. This is wonderful. Cant wait to try it out.
Anything to have in mind when using the roller function?
Hi, host is the IP address of the shelly, correct?
some from shelly was suggesting that a future release would support mqtt. that would be ideal if it’s true/it happens.
thanks a lot. Works great!!