Next week I’ll start on the Shelly Plus integration, my wife is off for 4 weeks
Enjoy!
Just to come to an end with my question. You don‘t think it is a good idea?
Hi markus,
Do you have any update about the Shelly Plus integration?
Thinking to buy some of them now with the black friday discount and wanted to check if they are going to be compatible.
I’ll start working on the Plus devices soon
sorry… below stands wrong stuff. I was very sure, that I restarted multiple time the openhab service. But for whatever reason, I always restarted another service multiple times (the service name was not even close to openhab).
So summary is just for history if somebody already read it - sorry
Summary
For some hours today, all my shelly devices (2x Shelly 1 and 4x Shelly 2.5) are in unknown - configuration pending.
Have also a look here: Shelly H&T (SHHT-1) CONFIG PENDING
I thought it has something to do with the firmware update I did an hour ago. But I also downgraded one Shelly 1 to v1.11.4 and still the same problem.
I’m on openhab v3.1
Any idea?
Since yesterday I have the Shelly Button 1 (SHBTN-1). I created the thing via the inbox and created items for all channels (except for the 2 trigger channels). All items are filled with values.
But when I press the button, nothing happens. I don’t see any logs that I pressed the button. I thought that the channel shelly:shellybutton1:btnname:status#button
would be triggered, but no luck. Do I need to configure the actions in the Shelly’s webinterface?
I also connected the button via usb, so it’s always powered for testing.
Christmas is coming up! Your wish is fulfilled. Now there is
triggeringChannel
available
Does your rule get executed?
No, my rule is not working. I selected the following as trigger, but isn’t there anything missing between the brackets?
could you crete a .rules file with this content?
rule "Test Alarm Shelly"
when
Channel "shelly:shellybutton1:btnname:status#button" triggered
then
logInfo("Test Alarm Shelly", "receivedEvent: '{}'",receivedEvent)
end
do you see the event in the log file?
No, nothing in the logs…
hmm. When I add a Shelly Button 1 thing, there is no button trigger channel.
Can you make a screenshot from all channels?
The status#lastUpdate
or device#heartBeat
is also only receiving an update after some minutes. The General Update Interval is set to 900
(default)
try this rule and make sure that btnname is replaced with the correct value.
After saving, have a look in the log file if the rule is loaded.
rule "Test Alarm Shelly"
when
Channel "shelly:shellybutton1:btnname:status#button" triggered or
Channel "shelly:shellybutton1:btnname:device#alarm" triggered
then
logInfo("Test Alarm Shelly", "receivedEvent: '{}'",receivedEvent)
end
then restart the device. when it is coming up, do you see an event “restarted”
which version of openhab are you on?
- rule is loaded
- btnname is replaced correctly
- no event in logs when restarting the device through the shelly button webui
- openHAB 3.1.0
When I hit the save button in the Thing (without changing anything), I do get some updates of my items:
2021-12-06 01:04:12.763 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Shellybtnshellybutton198cdac2daddb192168024_Uptime' changed from 262 s to 295 s
2021-12-06 01:04:12.782 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Shellybtnshellybutton198cdac2daddb192168024_LastHeartbeat' changed from 2021-12-06T01:03:39.000+0100 to 2021-12-06T01:04:12.000+0100
2021-12-06 01:04:14.811 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Shellybtnshellybutton198cdac2daddb192168024_LastHeartbeat' changed from 2021-12-06T01:04:12.000+0100 to 2021-12-06T01:04:14.000+0100
2021-12-06 01:04:14.813 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Shellybtnshellybutton198cdac2daddb192168024_Uptime' changed from 295 s to 298 s
2021-12-06 01:04:14.846 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Shellybtnshellybutton198cdac2daddb192168024_LastUpdate' changed from 2021-12-06T01:03:39.000+0100 to 2021-12-06T01:04:14.000+0100
Maybe updating your shelly binding to latest dev version?
I know there have been issues with triggers in the past, especially with button1.
Not sure if that helps.
I have orderd my Thermostat from shelly today.
So Markus, I hope that you quick also get a sample, to started development for the binding.
Let’s Cross the fingers that is will ready soon.
Br
Jochen
Ordered one as well
Dito
Hopefully Shelly Smoke 2 will be announced soon, too.