I install the shellyforHASS through HACS and then some relays (Shelly1 and Shelly2) . NO problem there. I even managed to install shelly button1 when they are ‘awake’ through USB supply. I was able to put automation in place based on trigger “switch turned on” but Home assistant don’t recognize the trigger when the button is not supplied through USB (sleep mode). in logbook, the button is unavailable.
Do someone already have the same problem? How do you solved this? Or can you help to imagine a workaround to be able to launch a script to turn some shelly relays ON based on a push on the button?
It’s working through the shelly app without problem but is restricted to shelly products!
I received my first two button1’s yesterday and did some quick testing. They send their status updates using multicast. In contrast: MQTT uses regular unicast packets.
I’ll do some more testing over the weekend.
I started with running the latest firmware on the first button, but it seemed 1.8 wasn’t support yet. At least, according to StyraHem github
Now when running 1.7.3 I have exactly what you have @Riquet.
Has anyone been able to get the Button 1 to work properly with ShellyForHass? So far I haven’t had much luck yet, neither with battery or usb power. Initially I thought the issue was that they were in different VLAN than HA is in, but event within the same network they don’t seem to work properly. I hardly see any state changes and for some reason it seems the shellyforhass.click event most of the time doesn’t do anything when the button is pushed.
Would love to hear other’s experiences and especially if someone got it to work with which settings/setup (settings of the device, settings of ShellyForHass, …).
Thanks in advance.
With MQTT? If it’s powered via usb it’s almost instantaneous. On battery power I would say about 1-2s, which makes sense as it first needs to connect to the WiFi each time before it can send the mqtt command. But for my purposes this works very well actually.