Hello everyone. I just purchased a shelly button. The web interface says 2 but in HA it say one. I have enabled CoIT and I have been able to add it to HA, but after that I cannot really do anything with it. I think I am missing something. In HA it looks like this
Much appreciated tom! Thank you for taking the time to help and link out
The link says that clicks should show up in the logs, but when I click, no logs. Do you know if the clicks should show up in the logs? If yes, then I need to trouble shoot some where else.
Thank you. So here is the event listener and it looks like there is nothing labeled shelly or if I try to search shelly I don’t see anything. Also when I push the button, nothing changes…
So I created a little automation to test stuff out and it seems like HA isn’t detecting the buttons clicks. I have reloaded the yaml config, but no improvement. Here is what I see after clicking the button many test times.
Which integration are you using? The official Shelly one? If you’re going pure MQTT you’ll need to inspect the topics with a broker tool and build the MQTT sensor config.
Again thank you for everyone helping out. Still very new at this and I only have short time periods to work on between work and family.
I think that I need to find a way to check to see if HA is getting the button click first. How do I do this? I thought it was thorough events, but I cannot seem to figure out how to use event listeners to see what is happening and logs do not help in this case
alias: Turn on light with Shelly Button
description: ""
trigger:
- platform: event
event_type: shelly.click
condition: []
action:
- service: light.turn_on
data:
brightness_pct: 50
target:
device_id: be917bcc64ede08c87e4c3456d8e32d8
mode: single
But I now want to be able to do different things with different button clicks. I see in the listen events there is data. Can I put that into the data area here?
Never mind! It totally worked! This is so COOL! Thanks again for the help
Now if someone could tell me what the light pattern means on the button or how to get the action to happen faster after the button trigger. Seems to take about 10 seconds for the action to happen. Button blinks fast light blue, then solid green sometimes them solid blue for a bit.
Hi, there, @stevedennis. I struggle with the same issue as you did with your Shelly Button 1, I guess. I have successfully added the Button1 to HA, but cannot figure out how to configure multiple button moves. I do have the shelly.click event under events, but when pushing the Shelly Button, no log/info appears in the Listen to Events section. Could you elaborate on how you solved this?
Same here.
I have the listeners in Dev tools and tried multiple solutions to create the click automation.
I found out, that the listener always gets the “long” push but not the single, doube or triple.
Any one stuck on the same issue? So automations triggered by the long push work totally fine. I also tried changing the max time between multi push but nothing helped.
Thx for any suggestions
update:
After my reply yesterday, today is available a new beta firmware update: 20230913-113105/v1.14.0-gcb84623
After downloading this update everything works fine including single, double and even triple click.
I got a new Shelly button 1 because the old one was broken.
I had the old one configured with HA enabling coloit (I think) and Outbound WebSocket.
Now if I check this new button, I don’t find anymore either coloit and Settings >> Connectivity >> Outbound WebSocket
Am I missing something or did they change anything?
EDIT: after some reboots coloit has appeared but not the outbound websocket