Do you have CoIoT events enabled in the thing config or autocoiot in the binding config, zry to disable both
markus7017/myfiles
Don't use those files without contacting the owner! - markus7017/myfiles
Do you have CoIoT events enabled in the thing config or autocoiot in the binding config, zry to disable both
Thank you Markus,
I disabled the auto-enabkle CoIoT in the shelly bindings and restartet the raspberry pi. Now it looks good.
Now it is back. Only 40 minutes without this logging spam. The shelly.bindings looks like this:
Blockquote
:org.apache.felix.configadmin.revision:=L"1"
autoCoIoT=B"false"
defaultPassword=âadminâ
defaultUserId=âadminâ
service.pid=âbinding.shellyâ
what else can I try?
Iâve updated the DEV build with better handling of input/inputEvent/inputEventCount updates and triggering the button channel. So far I tested with Button1 and ix3. Please give it a try.
More changes:
README is also updated.
Please note: This is a DEV build, it might has bugs
Recalibrate your shelly.
Hi Oliver,
I tried this, but nothing changed in my log files.
Iâve updated the DEV build with better handling of input/inputEvent/inputEventCount updates and triggering the button channel. So far I tested with Button1 and ix3. Please give it a try.
More changes:
- CoAP 2 support should be ready to use (firmware 1.8). Watch out for âCoIoT data for id {}, type {}/{} not processedâ in the log, maybe a status value is missing and always for exceptions
- This version also removes the channels lastMin2, lastMin3, lastDirection for the roller.
- I added channel roller#state to reflect the current roller position (open/close/stop).
- I added channel device#heartBeat. This indicates the timestamp of the last successful device communication, e.g. the interval update for a battery powered sensor when no sensor values has changed in between.
README is also updated.
Please note: This is a DEV build, it might has bugs
My Shelly 2.5 has firmware 1.7 and I saw that firmware 1.8 will released tomorrow. I will wait for this release.
@markus7017 is there an update from Shelly Binding? Is this what you mean with DEV built and ahow can I install this? Or is the DEV build the firmware 1.8?
Itâs indeed an update of the Shelly binding, DEV builds from binding can be downloaded here:
Don't use those files without contacting the owner! - markus7017/myfiles
Do you have CoIoT events enabled in the thing config or autocoiot in the binding config, zry to disable both
Thank you all for the help. I learnd a lot. I checked the thing config again and there ColoT was still enabled. I checked it in the paper GUI and I had to click âshow moreâ to find the settings. Now I works for over an hour.
The events on Button1 now indeed seem to work as expected exept when connecting USB power.
When I connect USB power it trigger a short_pressed event (or perhaps last event).
This happens a single time.
When I press the button while connected to USB it triggers but then keeps on triggering evenry 15 seconds even though I only pressed once.
This is the Thing: shellybutton1-f44cdf
This is the log when connecting to USB:
2020-08-11 12:34:30.906 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellybutton1-f44cdf: CoIoT Message from /192.168.8.164:5683 (MID=47789): {"G":[[0,77,86],[0,118,0],[0,119,""],[0,120,0]]}
2020-08-11 12:34:30.922 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellybutton1-f44cdf: CoIoT Sensor data {"G":[[0,77,86],[0,118,0],[0,119,""],[0,120,0]]}
2020-08-11 12:34:30.945 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellybutton1-f44cdf: 4 CoAP sensor updates received
2020-08-11 12:34:30.961 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: handleInputEvent, sen=S/Input event, type=, count=-1, idx=0,group=status
2020-08-11 12:34:30.969 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: CoAP Update on inputEvent=
2020-08-11 12:34:30.978 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: handleInputEvent, sen=S/Input event counter, type=, count=0, idx=0,group=status
2020-08-11 12:34:30.986 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: CoAP Update on inputEventCount=0
2020-08-11 12:34:30.995 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellybutton1-******f44cdf: Update button state with /PRESSED
==> /var/log/openhab2/events.log <==
2020-08-11 12:34:31.013 [vent.ChannelTriggeredEvent] - shelly:shellybutton1:f44cdf:status#button triggered PRESSED
==> /var/log/openhab2/openhab.log <==
2020-08-11 12:34:31.062 [INFO ] [clipse.smarthome.model.script.Shelly] - button pressed:shelly:shellybutton1:f44cdf:status#button triggered PRESSED
2020-08-11 12:34:32.013 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellybutton1-******f44cdf: Simulating Button RELEASED
==> /var/log/openhab2/events.log <==
2020-08-11 12:34:32.046 [vent.ChannelTriggeredEvent] - shelly:shellybutton1:f44cdf:status#button triggered RELEASED
==> /var/log/openhab2/openhab.log <==
2020-08-11 12:34:32.140 [INFO ] [clipse.smarthome.model.script.Shelly] - button pressed:shelly:shellybutton1:f44cdf:status#button triggered RELEASED
2020-08-11 12:34:45.965 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellybutton1-f44cdf: CoIoT Message from /192.168.8.164:5683 (MID=47790): {"G":[[0,77,86],[0,118,0],[0,119,""],[0,120,0]]}
2020-08-11 12:34:45.978 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellybutton1-f44cdf: CoIoT Sensor data {"G":[[0,77,86],[0,118,0],[0,119,""],[0,120,0]]}
2020-08-11 12:34:45.996 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellybutton1-f44cdf: 4 CoAP sensor updates received
2020-08-11 12:34:46.012 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: handleInputEvent, sen=S/Input event, type=, count=-1, idx=0,group=status
2020-08-11 12:34:46.020 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: CoAP Update on inputEvent=
2020-08-11 12:34:46.030 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: handleInputEvent, sen=S/Input event counter, type=, count=0, idx=0,group=status
2020-08-11 12:34:46.038 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: CoAP Update on inputEventCount=0
2020-08-11 12:35:01.096 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellybutton1-f44cdf: CoIoT Message from /192.168.8.164:5683 (MID=47791): {"G":[[0,77,86],[0,118,0],[0,119,""],[0,120,0]]}
2020-08-11 12:35:01.109 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellybutton1-f44cdf: CoIoT Sensor data {"G":[[0,77,86],[0,118,0],[0,119,""],[0,120,0]]}
2020-08-11 12:35:01.122 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellybutton1-f44cdf: 4 CoAP sensor updates received
2020-08-11 12:35:01.137 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: handleInputEvent, sen=S/Input event, type=, count=-1, idx=0,group=status
2020-08-11 12:35:01.147 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: CoAP Update on inputEvent=
2020-08-11 12:35:01.166 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: handleInputEvent, sen=S/Input event counter, type=, count=0, idx=0,group=status
2020-08-11 12:35:01.187 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: CoAP Update on inputEventCount=0
2020-08-11 12:35:16.137 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellybutton1-f44cdf: CoIoT Message from /192.168.8.164:5683 (MID=47792): {"G":[[0,77,86],[0,118,0],[0,119,""],[0,120,0]]}
2020-08-11 12:35:16.152 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellybutton1-f44cdf: CoIoT Sensor data {"G":[[0,77,86],[0,118,0],[0,119,""],[0,120,0]]}
2020-08-11 12:35:16.164 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellybutton1-f44cdf: 4 CoAP sensor updates received
2020-08-11 12:35:16.179 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: handleInputEvent, sen=S/Input event, type=, count=-1, idx=0,group=status
2020-08-11 12:35:16.191 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: CoAP Update on inputEvent=
2020-08-11 12:35:16.204 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: handleInputEvent, sen=S/Input event counter, type=, count=0, idx=0,group=status
2020-08-11 12:35:16.215 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: CoAP Update on inputEventCount=0
and this is the log when pressing the button a single short time when USB power is connected:
2020-08-11 12:37:01.133 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f93561: CoIoT Message from /192.168.8.165:5683 (MID=35263): {"G":[[0,33,29.0],[0,44,63.5],[0,77,100]]}
2020-08-11 12:37:01.146 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f93561: CoIoT Sensor data {"G":[[0,33,29.0],[0,44,63.5],[0,77,100]]}
2020-08-11 12:37:01.159 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f93561: 3 CoAP sensor updates received
2020-08-11 12:37:01.436 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellybutton1-f44cdf: CoIoT Message from /192.168.8.164:5683 (MID=47799): {"G":[[0,77,86],[0,118,0],[0,119,""],[0,120,0]]}
2020-08-11 12:37:01.451 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellybutton1-f44cdf: CoIoT Sensor data {"G":[[0,77,86],[0,118,0],[0,119,""],[0,120,0]]}
2020-08-11 12:37:01.464 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellybutton1-f44cdf: 4 CoAP sensor updates received
2020-08-11 12:37:01.479 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: handleInputEvent, sen=S/Input event, type=, count=-1, idx=0,group=status
2020-08-11 12:37:01.490 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: CoAP Update on inputEvent=
2020-08-11 12:37:01.502 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: handleInputEvent, sen=S/Input event counter, type=, count=0, idx=0,group=status
2020-08-11 12:37:01.514 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: CoAP Update on inputEventCount=0
2020-08-11 12:37:02.973 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellybutton1-f44cdf: CoIoT Message from /192.168.8.164:5683 (MID=47800): {"G":[[0,77,86],[0,118,0],[0,119,"S"],[0,120,1]]}
2020-08-11 12:37:02.986 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellybutton1-f44cdf: CoIoT Sensor data {"G":[[0,77,86],[0,118,0],[0,119,"S"],[0,120,1]]}
2020-08-11 12:37:02.999 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellybutton1-f44cdf: 4 CoAP sensor updates received
2020-08-11 12:37:03.025 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: handleInputEvent, sen=S/Input event, type=S, count=-1, idx=0,group=status
2020-08-11 12:37:03.047 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: CoAP Update on inputEvent=S
2020-08-11 12:37:03.059 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: handleInputEvent, sen=S/Input event counter, type=, count=1, idx=0,group=status
2020-08-11 12:37:03.078 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: CoAP Update on inputEventCount=1
2020-08-11 12:37:03.098 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellybutton1-******f44cdf: Update button state with S/SHORT_PRESSED
==> /var/log/openhab2/events.log <==
2020-08-11 12:37:03.124 [vent.ChannelTriggeredEvent] - shelly:shellybutton1:f44cdf:status#button triggered SHORT_PRESSED
==> /var/log/openhab2/openhab.log <==
2020-08-11 12:37:03.177 [INFO ] [clipse.smarthome.model.script.Shelly] - button pressed:shelly:shellybutton1:f44cdf:status#button triggered SHORT_PRESSED
2020-08-11 12:37:04.123 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellybutton1-******f44cdf: Simulating Button RELEASED
==> /var/log/openhab2/events.log <==
2020-08-11 12:37:04.155 [vent.ChannelTriggeredEvent] - shelly:shellybutton1:f44cdf:status#button triggered RELEASED
==> /var/log/openhab2/openhab.log <==
2020-08-11 12:37:04.265 [INFO ] [clipse.smarthome.model.script.Shelly] - button pressed:shelly:shellybutton1:f44cdf:status#button triggered RELEASED
2020-08-11 12:37:06.052 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellydw-f03347: CoIoT Message from /192.168.8.162:5683 (MID=39608): {"G":[[0,66,199],[0,55,1],[0,77,100],[0,88,9],[0,99,0]]}
2020-08-11 12:37:06.092 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellydw-f03347: CoIoT Sensor data {"G":[[0,66,199],[0,55,1],[0,77,100],[0,88,9],[0,99,0]]}
2020-08-11 12:37:06.117 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellydw-f03347: 5 CoAP sensor updates received
2020-08-11 12:37:17.713 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellybutton1-f44cdf: CoIoT Message from /192.168.8.164:5683 (MID=47801): {"G":[[0,77,86],[0,118,0],[0,119,"S"],[0,120,1]]}
2020-08-11 12:37:17.726 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellybutton1-f44cdf: CoIoT Sensor data {"G":[[0,77,86],[0,118,0],[0,119,"S"],[0,120,1]]}
2020-08-11 12:37:17.745 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellybutton1-f44cdf: 4 CoAP sensor updates received
2020-08-11 12:37:17.769 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: handleInputEvent, sen=S/Input event, type=S, count=-1, idx=0,group=status
2020-08-11 12:37:17.788 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: CoAP Update on inputEvent=S
2020-08-11 12:37:17.796 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: handleInputEvent, sen=S/Input event counter, type=, count=1, idx=0,group=status
2020-08-11 12:37:17.811 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: CoAP Update on inputEventCount=1
2020-08-11 12:37:17.823 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellybutton1-******f44cdf: Update button state with S/SHORT_PRESSED
==> /var/log/openhab2/events.log <==
2020-08-11 12:37:17.856 [vent.ChannelTriggeredEvent] - shelly:shellybutton1:f44cdf:status#button triggered SHORT_PRESSED
==> /var/log/openhab2/openhab.log <==
2020-08-11 12:37:17.908 [INFO ] [clipse.smarthome.model.script.Shelly] - button pressed:shelly:shellybutton1:f44cdf:status#button triggered SHORT_PRESSED
2020-08-11 12:37:18.856 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellybutton1-******f44cdf: Simulating Button RELEASED
==> /var/log/openhab2/events.log <==
2020-08-11 12:37:18.895 [vent.ChannelTriggeredEvent] - shelly:shellybutton1:f44cdf:status#button triggered RELEASED
==> /var/log/openhab2/openhab.log <==
2020-08-11 12:37:18.988 [INFO ] [clipse.smarthome.model.script.Shelly] - button pressed:shelly:shellybutton1:f44cdf:status#button triggered RELEASED
2020-08-11 12:37:32.753 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellybutton1-f44cdf: CoIoT Message from /192.168.8.164:5683 (MID=47802): {"G":[[0,77,86],[0,118,0],[0,119,"S"],[0,120,1]]}
2020-08-11 12:37:32.766 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellybutton1-f44cdf: CoIoT Sensor data {"G":[[0,77,86],[0,118,0],[0,119,"S"],[0,120,1]]}
2020-08-11 12:37:32.779 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellybutton1-f44cdf: 4 CoAP sensor updates received
2020-08-11 12:37:32.793 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: handleInputEvent, sen=S/Input event, type=S, count=-1, idx=0,group=status
2020-08-11 12:37:32.804 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: CoAP Update on inputEvent=S
2020-08-11 12:37:32.816 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: handleInputEvent, sen=S/Input event counter, type=, count=1, idx=0,group=status
2020-08-11 12:37:32.827 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: CoAP Update on inputEventCount=1
2020-08-11 12:37:32.846 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellybutton1-******f44cdf: Update button state with S/SHORT_PRESSED
==> /var/log/openhab2/events.log <==
2020-08-11 12:37:32.885 [vent.ChannelTriggeredEvent] - shelly:shellybutton1:f44cdf:status#button triggered SHORT_PRESSED
==> /var/log/openhab2/openhab.log <==
2020-08-11 12:37:32.952 [INFO ] [clipse.smarthome.model.script.Shelly] - button pressed:shelly:shellybutton1:f44cdf:status#button triggered SHORT_PRESSED
2020-08-11 12:37:33.878 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellybutton1-******f44cdf: Simulating Button RELEASED
==> /var/log/openhab2/events.log <==
2020-08-11 12:37:33.905 [vent.ChannelTriggeredEvent] - shelly:shellybutton1:f44cdf:status#button triggered RELEASED
==> /var/log/openhab2/openhab.log <==
2020-08-11 12:37:33.973 [INFO ] [clipse.smarthome.model.script.Shelly] - button pressed:shelly:shellybutton1:f44cdf:status#button triggered RELEASED
2020-08-11 12:37:47.796 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellybutton1-f44cdf: CoIoT Message from /192.168.8.164:5683 (MID=47803): {"G":[[0,77,86],[0,118,0],[0,119,"S"],[0,120,1]]}
2020-08-11 12:37:47.809 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellybutton1-f44cdf: CoIoT Sensor data {"G":[[0,77,86],[0,118,0],[0,119,"S"],[0,120,1]]}
2020-08-11 12:37:47.892 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellybutton1-f44cdf: 4 CoAP sensor updates received
2020-08-11 12:37:47.915 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: handleInputEvent, sen=S/Input event, type=S, count=-1, idx=0,group=status
2020-08-11 12:37:47.924 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: CoAP Update on inputEvent=S
2020-08-11 12:37:47.933 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: handleInputEvent, sen=S/Input event counter, type=, count=1, idx=0,group=status
2020-08-11 12:37:47.944 [DEBUG] [ly.internal.coap.ShellyCoIoTProtocol] - shellybutton1-f44cdf: CoAP Update on inputEventCount=1
2020-08-11 12:37:47.956 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellybutton1-******f44cdf: Update button state with S/SHORT_PRESSED
==> /var/log/openhab2/events.log <==
2020-08-11 12:37:47.975 [vent.ChannelTriggeredEvent] - shelly:shellybutton1:f44cdf:status#button triggered SHORT_PRESSED
==> /var/log/openhab2/openhab.log <==
2020-08-11 12:37:48.026 [INFO ] [clipse.smarthome.model.script.Shelly] - button pressed:shelly:shellybutton1:f44cdf:status#button triggered SHORT_PRESSED
2020-08-11 12:37:48.984 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellybutton1-******f44cdf: Simulating Button RELEASED
==> /var/log/openhab2/events.log <==
2020-08-11 12:37:49.008 [vent.ChannelTriggeredEvent] - shelly:shellybutton1:f44cdf:status#button triggered RELEASED
==> /var/log/openhab2/openhab.log <==
2020-08-11 12:37:49.086 [INFO ] [clipse.smarthome.model.script.Shelly] - button pressed:shelly:shellybutton1:f44cdf:status#button triggered RELEASED
Hey all,
I received some Shelly Vintage G125 4W today, discovered them in the Shelly app, did a firmware update and wanted to add them to Openhab.
When discovering the devices they are added as unknown.
2020-08-11 17:36:50.278 [WARN ] [g.discovery.internal.PersistentInbox] - Cannot create thing. No binding found that supports creating a thing of type shelly:unknown.
2020-08-11 17:36:56.392 [WARN ] [g.discovery.internal.PersistentInbox] - Cannot create thing. No binding found that supports creating a thing of type shelly:unknown.
2020-08-11 17:40:13.689 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'shelly:unknown:6f6959' to inbox.
2020-08-11 17:40:13.941 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'shelly:unknown:6ee955' to inbox.
Firmware is:
From the Binding docs of my 2.5.6 install I was assuming that Shelly Vintage bulbs are supported.
Any idea what the problem might be?
Thanks much.
Sebastian
The events on Button1 now indeed seem to work as expected exept when connecting USB power.
When I connect USB power it trigger a short_pressed event (or perhaps last event).
This happens a single time.
Yes, thatâs correct I donât have to idea how to avoid that. The problem is that the device sends a CoAP update when you connect the USB cable. Usually there is an id in the packet, which allows to differ between âreal updatesâ and just repeating the last status. The problem ist that the battery powered device looses that id and restarts with 1 every time it wakes up. So I needed to let every message pass and trigger the channel. Now the USB connect also triggers an update with id 1âŠ
From my experience: Firmware 1.7.3 for the Button 1 provided the best results for me. With version 1.7.7 I see loosing messages - you click the button, the LED turns green, but nothing happens. Version 1.8rc5 could result in duplicate messages.
From the Binding docs of my 2.5.6 install I was assuming that Shelly Vintage bulbs are supported.
Any idea what the problem might be?
No, version 2.5.7 and I think also 2.5.7 donât support the Vintage, you need to go for the DEV build.
I updated the DEV build
@thewiep please try this version
Hey all,
I got today my first shelly plug. I configured them in the same way as my shelly1, or 2.5 or plug s I have in use. All items of the shelly plug work fine, execpted the temperature. All version are the latest, from OH to the Firmware of the plug. Any idea why the temperature from the shelly plug hows me 0 Degrees?
BR
Jochen
So itâs the Plug, not Plug-S, correct?
Please post the output of http://<device ip>/settings and /status.
Yes, it is the Shelly plug, NOT an Shelly plugS
Here you are with the settings and the status:
{âdeviceâ:{âtypeâ:âSHPLG2-1â,âmacâ:âF4CFA26D0D41â,âhostnameâ:âshellyplug-6D0D41â,ânum_outputsâ:1,ânum_metersâ:1},âwifi_apâ:{âenabledâ:false,âssidâ:âshellyplug-6D0D41â,âkeyâ:""},âwifi_staâ:{âenabledâ:true,âssidâ:âGARTENâ,âipv4_methodâ:âstaticâ,âipâ:â192.168.1.13â,âgwâ:â192.168.1.1â,âmaskâ:â255.255.0.0â,âdnsâ:â192.168.1.1â},âwifi_sta1â:{âenabledâ:true,âssidâ:âGARTENâ,âipv4_methodâ:âstaticâ,âipâ:â192.168.1.13â,âgwâ:â192.168.1.1â,âmaskâ:â255.255.0.0â,âdnsâ:â192.168.1.1â},âmqttâ: {âenableâ:false,âserverâ:â192.168.33.3:1883â,âuserâ:"",âidâ:âshellyplug-6D0D41â,âreconnect_timeout_maxâ:60.000000,âreconnect_timeout_minâ:2.000000,âclean_sessionâ:true,âkeep_aliveâ:60,âmax_qosâ:0,âretainâ:false,âupdate_periodâ:30},âcoiotâ: {âupdate_periodâ:15},âsntpâ:{âserverâ:âtime.google.comâ,âenabledâ:true},âloginâ:{âenabledâ:true,âunprotectedâ:false,âusernameâ:âtestâ},âpin_codeâ:"",ânameâ:"",âfwâ:â20200601-123320/v1.7.0@d7961837â,âdiscoverableâ:true,âbuild_infoâ:{âbuild_idâ:â20200601-123320/v1.7.0@d7961837â,âbuild_timestampâ:â2020-06-01T12:33:20Zâ,âbuild_versionâ:â1.0â},âcloudâ:{âenabledâ:false,âconnectedâ:false},âtimezoneâ:âEurope/Berlinâ,âlatâ:52.465099,âlngâ:13.396100,âtzautodetectâ:true,âtz_utc_offsetâ:7200,âtz_dstâ:true,âtz_dst_autoâ:true,âtimeâ:â10:04â,âunixtimeâ:1597226657,âhwinfoâ:{âhw_revisionâ:âprod-191018â,âbatch_idâ:1},âmax_powerâ:3500,âled_status_disableâ:false,âled_power_disableâ:false,ârelaysâ:[{âisonâ:false,âhas_timerâ:false,âoverpowerâ:false,âdefault_stateâ:âoffâ,âauto_onâ:0.00,âauto_offâ:0.00,âbtn_on_urlâ:null,âout_on_urlâ:null,âout_off_urlâ:null,âscheduleâ:false,âschedule_rulesâ:[],âmax_powerâ:3500}],âmetersâ:[{âpowerâ:0.00,âis_validâ:true,âtimestampâ:1597226657,âcountersâ:[0.000, 0.000, 0.000],âtotalâ:0}]}
{âwifi_staâ:{âconnectedâ:true,âssidâ:âGARTENâ,âipâ:â192.168.1.13â,ârssiâ:-31},âcloudâ:{âenabledâ:false,âconnectedâ:false},âmqttâ:{âconnectedâ:false},âtimeâ:â10:07â,âunixtimeâ:1597226841,âserialâ:1,âhas_updateâ:false,âmacâ:âF4CFA26D0D41â,ârelaysâ:[{âisonâ:false,âhas_timerâ:false,âtimer_startedâ:0,âtimer_durationâ:0,âtimer_remainingâ:0,âoverpowerâ:false}],âmetersâ:[{âpowerâ:0.00,âis_validâ:true,âtimestampâ:1597226841,âcountersâ:[0.000, 0.000, 0.000],âtotalâ:0}],âtemperatureâ:0.00,âovertemperatureâ:false,âtmpâ:{âtCâ:0.00,âtFâ:32.00, âis_validâ:true},âupdateâ:{âstatusâ:âidleâ,âhas_updateâ:false,ânew_versionâ:â20200601-123320/v1.7.0@d7961837â,âold_versionâ:â20200601-123320/v1.7.0@d7961837â},âram_totalâ:50224,âram_freeâ:39288,âram_lwmâ:28280,âfs_sizeâ:233681,âfs_freeâ:163401,âuptimeâ:47517}
As you can see the device reports 0C
,âtmpâ:{âtCâ:0.00,âtFâ:32.00, âis_validâ:true},â
Iâm nit sure if the Plug has a temp sensor at all.
UPDATE:
I checked the API spec
https://shelly-api-docs.shelly.cloud/#shelly-plug-plugs-status
this outlines the temp for âPlug-S onlyâ. So this values is not relevant for the Plug and itâs the internal device temp, not the exterior temp. If you need this you could go for the 1/1PM with the sensor addon
No Problem at all Markus,
I was only wondering, that the OH binding has the value and I was able to get the 0 degree status
out of it. I have serval HT running which deliver me the temperature to OH and I can run rules out of this.
Thanks for checking the API.
Iâll cross the fingers that the new binding from you will be released soon and the button1 is able to be in
includes in OH.
THANKS
BR
Jochen
Hello Markus, I would like to participate and test the Shelly bindings, I have two devices, Shelly1 and Shelly Dimmer 2 for the moment.