Shelly Binding

My 5 Cent on this. I recall that there was an option to configure that wake up schedule in previous firmware which was installed when I received that kit. But: it seems to be removed which 1.6 :-/

On the other hand I have configured that HT shall wake up when temp changes about 1 degree but it still doesn‘t (all three of them)

So there Must be a Problem with my installation, either picnik or configuration. While I do use same version than you now which is running on you end? Or do you only get those 12h updates (which is pretty long)?

Sorry for being such a pain, just like to get it working :wink:

It was removed for battery saving.
I get updates when temp or humidity change above treshold.

please find below:

2020-05-16 11:37:22.181 [DEBUG] [discovery.ShellyDiscoveryParticipant] - shellysense-4b3fa4: Shelly device discovered: IP-Adress=10.0.0.11, type=shellysense

2020-05-16 11:37:22.185 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP GET for http://10.0.0.11/settings

2020-05-16 11:37:22.652 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP Response 200: {"device":{"type":"SHSEN-1","mac":"D436394B3FA4","hostname":"shellysense-4B3FA4"},"wifi_ap":{"enabled":false,"ssid":"shellysense-4B3FA4","key":""},"wifi_sta":{"enabled":true,"ssid":"NickyGhz","ipv4_method":"dhcp","ip":null,"gw":null,"mask":null,"dns":null},"wifi_sta1":{"enabled":false,"ssid":null,"ipv4_method":"dhcp","ip":null,"gw":null,"mask":null,"dns":null},"mqtt": {"enable":false,"server":"192.168.33.3:1883","user":"","id":"shellysense-4B3FA4","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":false,"unprotected":false,"username":"admin","password":"admin"},"pin_code":"","name":"","fw":"20200309-104151/v1.6.0@43056d58","discoverable":false,"build_info":{"build_id":"20200309-104151/v1.6.0@43056d58","build_timestamp":"2020-03-09T10:41:51Z","build_version":"1.0"},"cloud":{"enabled":true,"connected":true},"timezone":"Asia/Beirut","lat":33.893799,"lng":35.501801,"tzautodetect":true,"tz_utc_offset":10800,"tz_dst":true,"tz_dst_auto":true,"time":"11:37","unixtime":1589629043,"light_sensor":"NOA1305","schedule":false,"schedule_rules":[],"sensors":{"motion_duration":10,"motion_led":false,"temperature_unit":"C"}}

2020-05-16 11:37:22.673 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP GET for http://10.0.0.11/ir/list

2020-05-16 11:37:23.263 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP Response 200: []

2020-05-16 11:37:23.272 [DEBUG] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: Sense stored key list loaded, 0 entries.

2020-05-16 11:37:23.275 [DEBUG] [discovery.ShellyDiscoveryParticipant] - shellysense-4b3fa4: Shelly settings : {"device":{"type":"SHSEN-1","mac":"D436394B3FA4","hostname":"shellysense-4B3FA4"},"wifi_ap":{"enabled":false,"ssid":"shellysense-4B3FA4","key":""},"wifi_sta":{"enabled":true,"ssid":"NickyGhz","ipv4_method":"dhcp","ip":null,"gw":null,"mask":null,"dns":null},"wifi_sta1":{"enabled":false,"ssid":null,"ipv4_method":"dhcp","ip":null,"gw":null,"mask":null,"dns":null},"mqtt": {"enable":false,"server":"192.168.33.3:1883","user":"","id":"shellysense-4B3FA4","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":false,"unprotected":false,"username":"admin","password":"admin"},"pin_code":"","name":"","fw":"20200309-104151/v1.6.0@43056d58","discoverable":false,"build_info":{"build_id":"20200309-104151/v1.6.0@43056d58","build_timestamp":"2020-03-09T10:41:51Z","build_version":"1.0"},"cloud":{"enabled":true,"connected":true},"timezone":"Asia/Beirut","lat":33.893799,"lng":35.501801,"tzautodetect":true,"tz_utc_offset":10800,"tz_dst":true,"tz_dst_auto":true,"time":"11:37","unixtime":1589629043,"light_sensor":"NOA1305","schedule":false,"schedule_rules":[],"sensors":{"motion_duration":10,"motion_led":false,"temperature_unit":"C"}}

2020-05-16 11:37:23.276 [TRACE] [discovery.ShellyDiscoveryParticipant] - shellysense-4b3fa4: thingType=shellysense, deviceType=SHSEN-1, mode=<standard>

2020-05-16 11:37:23.280 [DEBUG] [discovery.ShellyDiscoveryParticipant] - shellysense-4b3fa4: Adding Shelly thing, UID=shelly:shellysense:4b3fa4

2020-05-16 11:37:27.287 [DEBUG] [discovery.ShellyDiscoveryParticipant] - shellysense-4b3fa4: Shelly device discovered: IP-Adress=10.0.0.11, type=shellysense

2020-05-16 11:37:27.290 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP GET for http://10.0.0.11/settings

2020-05-16 11:37:27.438 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP Response 200: {"device":{"type":"SHSEN-1","mac":"D436394B3FA4","hostname":"shellysense-4B3FA4"},"wifi_ap":{"enabled":false,"ssid":"shellysense-4B3FA4","key":""},"wifi_sta":{"enabled":true,"ssid":"NickyGhz","ipv4_method":"dhcp","ip":null,"gw":null,"mask":null,"dns":null},"wifi_sta1":{"enabled":false,"ssid":null,"ipv4_method":"dhcp","ip":null,"gw":null,"mask":null,"dns":null},"mqtt": {"enable":false,"server":"192.168.33.3:1883","user":"","id":"shellysense-4B3FA4","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":false,"unprotected":false,"username":"admin","password":"admin"},"pin_code":"","name":"","fw":"20200309-104151/v1.6.0@43056d58","discoverable":false,"build_info":{"build_id":"20200309-104151/v1.6.0@43056d58","build_timestamp":"2020-03-09T10:41:51Z","build_version":"1.0"},"cloud":{"enabled":true,"connected":true},"timezone":"Asia/Beirut","lat":33.893799,"lng":35.501801,"tzautodetect":true,"tz_utc_offset":10800,"tz_dst":true,"tz_dst_auto":true,"time":"11:37","unixtime":1589629048,"light_sensor":"NOA1305","schedule":false,"schedule_rules":[],"sensors":{"motion_duration":10,"motion_led":false,"temperature_unit":"C"}}

2020-05-16 11:37:27.453 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP GET for http://10.0.0.11/ir/list

2020-05-16 11:37:28.056 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP Response 200: []

2020-05-16 11:37:28.060 [DEBUG] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: Sense stored key list loaded, 0 entries.

2020-05-16 11:37:28.062 [DEBUG] [discovery.ShellyDiscoveryParticipant] - shellysense-4b3fa4: Shelly settings : {"device":{"type":"SHSEN-1","mac":"D436394B3FA4","hostname":"shellysense-4B3FA4"},"wifi_ap":{"enabled":false,"ssid":"shellysense-4B3FA4","key":""},"wifi_sta":{"enabled":true,"ssid":"NickyGhz","ipv4_method":"dhcp","ip":null,"gw":null,"mask":null,"dns":null},"wifi_sta1":{"enabled":false,"ssid":null,"ipv4_method":"dhcp","ip":null,"gw":null,"mask":null,"dns":null},"mqtt": {"enable":false,"server":"192.168.33.3:1883","user":"","id":"shellysense-4B3FA4","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":false,"unprotected":false,"username":"admin","password":"admin"},"pin_code":"","name":"","fw":"20200309-104151/v1.6.0@43056d58","discoverable":false,"build_info":{"build_id":"20200309-104151/v1.6.0@43056d58","build_timestamp":"2020-03-09T10:41:51Z","build_version":"1.0"},"cloud":{"enabled":true,"connected":true},"timezone":"Asia/Beirut","lat":33.893799,"lng":35.501801,"tzautodetect":true,"tz_utc_offset":10800,"tz_dst":true,"tz_dst_auto":true,"time":"11:37","unixtime":1589629048,"light_sensor":"NOA1305","schedule":false,"schedule_rules":[],"sensors":{"motion_duration":10,"motion_led":false,"temperature_unit":"C"}}

2020-05-16 11:37:28.064 [TRACE] [discovery.ShellyDiscoveryParticipant] - shellysense-4b3fa4: thingType=shellysense, deviceType=SHSEN-1, mode=<standard>

2020-05-16 11:37:28.066 [DEBUG] [discovery.ShellyDiscoveryParticipant] - shellysense-4b3fa4: Adding Shelly thing, UID=shelly:shellysense:4b3fa4

2020-05-16 11:37:35.521 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'shelly:shellysense:4b3fa4' to inbox.

2020-05-16 11:37:35.524 [home.event.InboxAddedEvent] - Discovery Result with UID 'shelly:shellysense:4b3fa4' has been added.

2020-05-16 11:40:42.351 [me.event.InboxRemovedEvent] - Discovery Result with UID 'shelly:shellysense:4b3fa4' has been removed.

2020-05-16 11:40:42.358 [DEBUG] [shelly.internal.ShellyHandlerFactory] - shellysense-4b3fa4 - 10.0.0.11: Create new thing of type shelly:shellysense using ShellyRelayHandler

2020-05-16 11:40:42.451 [hingStatusInfoChangedEvent] - 'shelly:shellysense:4b3fa4' changed from UNINITIALIZED to INITIALIZING

2020-05-16 11:40:44.481 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellysense-4b3fa4: Device config: IP address=10.0.0.11, HTTP user/password=<non>/<none>, update interval=3600

2020-05-16 11:40:44.487 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellysense-4b3fa4: Configured Events: Button: false, Switch (on/off): true, Push: true, Roller: true, Sensor: false, CoIoT: true, Enable AutoCoIoT: true

2020-05-16 11:40:44.495 [hingStatusInfoChangedEvent] - 'shelly:shellysense:4b3fa4' changed from INITIALIZING to UNKNOWN

2020-05-16 11:40:44.494 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellysense-4b3fa4: Start initializing thing shellysense-4b3fa4 - 10.0.0.11, type shellysense, ip address 10.0.0.11, CoIoT: true

2020-05-16 11:40:44.609 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4: Starting CoAP Listener

2020-05-16 11:40:44.611 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4: CoAP Request was canceled

2020-05-16 11:40:44.637 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP GET for http://10.0.0.11/shelly

2020-05-16 11:40:44.769 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP Response 200: {"type":"SHSEN-1","mac":"D436394B3FA4","auth":false,"fw":"20200309-104151/v1.6.0@43056d58"}

2020-05-16 11:40:44.772 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP GET for http://10.0.0.11/settings

2020-05-16 11:40:44.798 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4: CoIoT Message from /10.0.0.11:5683 (MID=8277): {"blk":[{"I":1, "D":"Sensors"}],"sen":[{"I":11, "D":"Motion", "T":"M", "R":"0/1", "L":1},{"I":22, "D":"Charger", "T":"S", "R":"0/1", "L":1},{"I":33, "D":"Temperature", "T":"T", "R":"-40/125", "L":1},{"I":44, "D":"Humidity", "T":"H", "R":"0/100", "L":1},{"I":66, "D":"Lux", "T":"L", "R":"0/1", "L":1},{"I":77, "D":"Battery", "T":"B", "R":"0/100", "L":1}]}

2020-05-16 11:40:44.806 [hingStatusInfoChangedEvent] - 'shelly:shellysense:4b3fa4' changed from UNKNOWN to ONLINE

2020-05-16 11:40:44.805 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4: CoIoT Device Description for SHSEN-1#4B3FA4#1: {"blk":[{"I":1, "D":"Sensors"}],"sen":[{"I":11, "D":"Motion", "T":"M", "R":"0/1", "L":1},{"I":22, "D":"Charger", "T":"S", "R":"0/1", "L":1},{"I":33, "D":"Temperature", "T":"T", "R":"-40/125", "L":1},{"I":44, "D":"Humidity", "T":"H", "R":"0/100", "L":1},{"I":66, "D":"Lux", "T":"L", "R":"0/1", "L":1},{"I":77, "D":"Battery", "T":"B", "R":"0/100", "L":1}]}

2020-05-16 11:40:44.820 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4:    id=1: Sensors

2020-05-16 11:40:44.822 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4: Adding 6 sensor definitions

2020-05-16 11:40:44.824 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4:    id 11: Motion, Type=M, Range=0/1, Links=1

2020-05-16 11:40:44.827 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4:    id 22: Charger, Type=S, Range=0/1, Links=1

2020-05-16 11:40:44.828 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4:    id 33: Temperature, Type=T, Range=-40/125, Links=1

2020-05-16 11:40:44.831 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4:    id 44: Humidity, Type=H, Range=0/100, Links=1

2020-05-16 11:40:44.833 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4:    id 66: Lux, Type=L, Range=0/1, Links=1

2020-05-16 11:40:44.835 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4:    id 77: Battery, Type=B, Range=0/100, Links=1

2020-05-16 11:40:44.851 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellysense-4b3fa4: Properties updated

2020-05-16 11:40:44.852 [me.event.ThingUpdatedEvent] - Thing 'shelly:shellysense:4b3fa4' has been updated.

2020-05-16 11:40:44.920 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP Response 200: {"device":{"type":"SHSEN-1","mac":"D436394B3FA4","hostname":"shellysense-4B3FA4"},"wifi_ap":{"enabled":false,"ssid":"shellysense-4B3FA4","key":""},"wifi_sta":{"enabled":true,"ssid":"NickyGhz","ipv4_method":"dhcp","ip":null,"gw":null,"mask":null,"dns":null},"wifi_sta1":{"enabled":false,"ssid":null,"ipv4_method":"dhcp","ip":null,"gw":null,"mask":null,"dns":null},"mqtt": {"enable":false,"server":"192.168.33.3:1883","user":"","id":"shellysense-4B3FA4","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":false,"unprotected":false,"username":"admin","password":"admin"},"pin_code":"","name":"","fw":"20200309-104151/v1.6.0@43056d58","discoverable":false,"build_info":{"build_id":"20200309-104151/v1.6.0@43056d58","build_timestamp":"2020-03-09T10:41:51Z","build_version":"1.0"},"cloud":{"enabled":true,"connected":true},"timezone":"Asia/Beirut","lat":33.893799,"lng":35.501801,"tzautodetect":true,"tz_utc_offset":10800,"tz_dst":true,"tz_dst_auto":true,"time":"11:40","unixtime":1589629245,"light_sensor":"NOA1305","schedule":false,"schedule_rules":[],"sensors":{"motion_duration":10,"motion_led":false,"temperature_unit":"C"}}

2020-05-16 11:40:44.935 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP GET for http://10.0.0.11/ir/list

2020-05-16 11:40:45.523 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4: CoIoT Message from /10.0.0.11:5683 (MID=8278): {"G":[[0,11,0],[0,22,1],[0,33,29.274924],[0,44,43.686646],[0,66,15.584416],[0,77,99]]}

2020-05-16 11:40:45.528 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4: CoIoT Sensor data {"G":[[0,11,0],[0,22,1],[0,33,29.274924],[0,44,43.686646],[0,66,15.584416],[0,77,99]]}

2020-05-16 11:40:45.536 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4: 6 CoAP sensor updates received

2020-05-16 11:40:45.539 [TRACE] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4:  Sensor value[0]: id=11, Value=0.0 (Motion, Type=M, Range=0/1, Link=1: Sensors)

2020-05-16 11:40:45.545 [TRACE] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4:  Sensor value[1]: id=22, Value=1.0 (Charger, Type=S, Range=0/1, Link=1: Sensors)

2020-05-16 11:40:45.549 [TRACE] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4:  Sensor value[2]: id=33, Value=29.274924 (Temperature, Type=T, Range=-40/125, Link=1: Sensors)

2020-05-16 11:40:45.565 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP Response 200: []

2020-05-16 11:40:45.566 [TRACE] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4:  Sensor value[3]: id=44, Value=43.686646 (Humidity, Type=H, Range=0/100, Link=1: Sensors)

2020-05-16 11:40:45.570 [TRACE] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4:  Sensor value[4]: id=66, Value=15.584416 (Lux, Type=L, Range=0/1, Link=1: Sensors)

2020-05-16 11:40:45.571 [DEBUG] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: Sense stored key list loaded, 0 entries.

2020-05-16 11:40:45.574 [TRACE] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4:  Sensor value[5]: id=77, Value=99.0 (Battery, Type=B, Range=0/100, Link=1: Sensors)

2020-05-16 11:40:45.576 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellysense-4b3fa4: Initializing device shellysense-4b3fa4, type SHSEN-1, Hardware: Rev: , batch ; Firmware: v1.6.0 / 20200309-104151 (43056d58)

2020-05-16 11:40:45.582 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellysense-4b3fa4: Shelly settings info for shellysense-4b3fa4: {"device":{"type":"SHSEN-1","mac":"D436394B3FA4","hostname":"shellysense-4B3FA4"},"wifi_ap":{"enabled":false,"ssid":"shellysense-4B3FA4","key":""},"wifi_sta":{"enabled":true,"ssid":"NickyGhz","ipv4_method":"dhcp","ip":null,"gw":null,"mask":null,"dns":null},"wifi_sta1":{"enabled":false,"ssid":null,"ipv4_method":"dhcp","ip":null,"gw":null,"mask":null,"dns":null},"mqtt": {"enable":false,"server":"192.168.33.3:1883","user":"","id":"shellysense-4B3FA4","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":false,"unprotected":false,"username":"admin","password":"admin"},"pin_code":"","name":"","fw":"20200309-104151/v1.6.0@43056d58","discoverable":false,"build_info":{"build_id":"20200309-104151/v1.6.0@43056d58","build_timestamp":"2020-03-09T10:41:51Z","build_version":"1.0"},"cloud":{"enabled":true,"connected":true},"timezone":"Asia/Beirut","lat":33.893799,"lng":35.501801,"tzautodetect":true,"tz_utc_offset":10800,"tz_dst":true,"tz_dst_auto":true,"time":"11:40","unixtime":1589629245,"light_sensor":"NOA1305","schedule":false,"schedule_rules":[],"sensors":{"motion_duration":10,"motion_led":false,"temperature_unit":"C"}}

2020-05-16 11:40:45.586 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellysense-4b3fa4: Device hasRelays:false (numRelays=0),isRoller:false (numRoller=0),isDimmer:false,isPlugS:false,numMeter=0,isEMeter:false),isSensor:true,isDS:false,hasBattery:false,isSense:true,isLight:false,isBulb:false,isDuo:false,isRGBW2:false,inColor:false,hasLEDs:false,updatePeriod:50sec

2020-05-16 11:40:45.586 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellysense-4b3fa4: Channel sensors#humidity updated with 43.7 % (type class org.eclipse.smarthome.core.library.types.QuantityType).

2020-05-16 11:40:45.591 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP GET for http://10.0.0.11/status

2020-05-16 11:40:45.594 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellysense-4b3fa4: Channel sensors#lux updated with 15.6 lx (type class org.eclipse.smarthome.core.library.types.QuantityType).

2020-05-16 11:40:45.604 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellysense-4b3fa4: Channel sensors#motion updated with OFF (type class org.eclipse.smarthome.core.library.types.OnOffType).

2020-05-16 11:40:45.611 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellysense-4b3fa4: Channel sensors#temperature updated with 29.3 °C (type class org.eclipse.smarthome.core.library.types.QuantityType).

2020-05-16 11:40:45.612 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4: 4 channels updated from CoIoT status

2020-05-16 11:40:45.753 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP Response 200: {"wifi_sta":{"connected":true,"ssid":"NickyGhz","ip":"10.0.0.11","rssi":-55},"cloud":{"enabled":true,"connected":true},"mqtt":{"connected":false},"time":"11:40","unixtime":1589629246,"serial":8054,"has_update":false,"mac":"D436394B3FA4","motion":false,"charger":true,"tmp":{"value":29.274924,"is_valid":true,"units":"C"},"hum":{"value":43.686646,"is_valid":true},"lux":{"value":15.584416,"is_valid":true},"bat":{"value":99},"update":{"status":"idle","has_update":false,"new_version":"20200309-104151/v1.6.0@43056d58","old_version":"20200309-104151/v1.6.0@43056d58"},"ram_total":48020,"ram_free":23916,"fs_size":83081,"fs_free":21837,"uptime":176341}

2020-05-16 11:40:45.788 [me.event.ThingUpdatedEvent] - Thing 'shelly:shellysense:4b3fa4' has been updated.

2020-05-16 11:40:45.791 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellysense-4b3fa4: Auto-CoIoT is enabled, disabling action urls

2020-05-16 11:40:45.793 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellysense-4b3fa4: Starting CoIoT (autoCoIoT=true/true)

2020-05-16 11:40:45.796 [TRACE] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4: CoAP Listener was already started

2020-05-16 11:40:45.798 [DEBUG] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: Set Sensor Reporting URL

2020-05-16 11:40:45.820 [me.event.ThingUpdatedEvent] - Thing 'shelly:shellysense:4b3fa4' has been updated.

2020-05-16 11:40:45.821 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellysense-4b3fa4: Channel device#alarm updated with NONE (type class org.eclipse.smarthome.core.library.types.StringType).

2020-05-16 11:40:45.824 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellysense-4b3fa4: Thing successfully initialized.

2020-05-16 11:40:45.830 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellysense-4b3fa4: Update status job started, interval=1200*3=3600sec.

2020-05-16 11:40:47.830 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP GET for http://10.0.0.11/settings

2020-05-16 11:40:48.008 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP Response 200: {"device":{"type":"SHSEN-1","mac":"D436394B3FA4","hostname":"shellysense-4B3FA4"},"wifi_ap":{"enabled":false,"ssid":"shellysense-4B3FA4","key":""},"wifi_sta":{"enabled":true,"ssid":"NickyGhz","ipv4_method":"dhcp","ip":null,"gw":null,"mask":null,"dns":null},"wifi_sta1":{"enabled":false,"ssid":null,"ipv4_method":"dhcp","ip":null,"gw":null,"mask":null,"dns":null},"mqtt": {"enable":false,"server":"192.168.33.3:1883","user":"","id":"shellysense-4B3FA4","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":false,"unprotected":false,"username":"admin","password":"admin"},"pin_code":"","name":"","fw":"20200309-104151/v1.6.0@43056d58","discoverable":false,"build_info":{"build_id":"20200309-104151/v1.6.0@43056d58","build_timestamp":"2020-03-09T10:41:51Z","build_version":"1.0"},"cloud":{"enabled":true,"connected":true},"timezone":"Asia/Beirut","lat":33.893799,"lng":35.501801,"tzautodetect":true,"tz_utc_offset":10800,"tz_dst":true,"tz_dst_auto":true,"time":"11:40","unixtime":1589629248,"light_sensor":"NOA1305","schedule":false,"schedule_rules":[],"sensors":{"motion_duration":10,"motion_led":false,"temperature_unit":"C"}}

2020-05-16 11:40:48.029 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP GET for http://10.0.0.11/ir/list

2020-05-16 11:40:48.642 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP Response 200: []

2020-05-16 11:40:48.645 [DEBUG] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: Sense stored key list loaded, 0 entries.

2020-05-16 11:40:48.650 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellysense-4b3fa4: Updating status

2020-05-16 11:40:48.654 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP GET for http://10.0.0.11/status

2020-05-16 11:40:48.815 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP Response 200: {"wifi_sta":{"connected":true,"ssid":"NickyGhz","ip":"10.0.0.11","rssi":-55},"cloud":{"enabled":true,"connected":true},"mqtt":{"connected":false},"time":"11:40","unixtime":1589629249,"serial":8055,"has_update":false,"mac":"D436394B3FA4","motion":false,"charger":true,"tmp":{"value":29.332137,"is_valid":true,"units":"C"},"hum":{"value":43.590546,"is_valid":true},"lux":{"value":15.584416,"is_valid":true},"bat":{"value":99},"update":{"status":"idle","has_update":false,"new_version":"20200309-104151/v1.6.0@43056d58","old_version":"20200309-104151/v1.6.0@43056d58"},"ram_total":48020,"ram_free":23956,"fs_size":83081,"fs_free":21837,"uptime":176344}

2020-05-16 11:40:48.822 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellysense-4b3fa4: Updating sensor

2020-05-16 11:40:48.827 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP GET for http://10.0.0.11/status

2020-05-16 11:40:48.983 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP Response 200: {"wifi_sta":{"connected":true,"ssid":"NickyGhz","ip":"10.0.0.11","rssi":-55},"cloud":{"enabled":true,"connected":true},"mqtt":{"connected":false},"time":"11:40","unixtime":1589629249,"serial":8055,"has_update":false,"mac":"D436394B3FA4","motion":false,"charger":true,"tmp":{"value":29.313066,"is_valid":true,"units":"C"},"hum":{"value":43.755718,"is_valid":true},"lux":{"value":15.584416,"is_valid":true},"bat":{"value":99},"update":{"status":"idle","has_update":false,"new_version":"20200309-104151/v1.6.0@43056d58","old_version":"20200309-104151/v1.6.0@43056d58"},"ram_total":48020,"ram_free":23956,"fs_size":83081,"fs_free":21837,"uptime":176344}

2020-05-16 11:40:49.009 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellysense-4b3fa4: Unable to refresh status: Unable to update status

2020-05-16 11:40:49.061 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellysense-4b3fa4: 2 more updates requested

2020-05-16 11:40:52.064 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellysense-4b3fa4: Updating status

2020-05-16 11:40:52.066 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP GET for http://10.0.0.11/status

2020-05-16 11:40:52.209 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP Response 200: {"wifi_sta":{"connected":true,"ssid":"NickyGhz","ip":"10.0.0.11","rssi":-62},"cloud":{"enabled":true,"connected":true},"mqtt":{"connected":false},"time":"11:40","unixtime":1589629253,"serial":8055,"has_update":false,"mac":"D436394B3FA4","motion":false,"charger":true,"tmp":{"value":29.332137,"is_valid":true,"units":"C"},"hum":{"value":43.599556,"is_valid":true},"lux":{"value":14.285714,"is_valid":true},"bat":{"value":100},"update":{"status":"idle","has_update":false,"new_version":"20200309-104151/v1.6.0@43056d58","old_version":"20200309-104151/v1.6.0@43056d58"},"ram_total":48020,"ram_free":23956,"fs_size":83081,"fs_free":21837,"uptime":176347}

2020-05-16 11:40:52.216 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellysense-4b3fa4: Updating sensor

2020-05-16 11:40:52.220 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP GET for http://10.0.0.11/status

2020-05-16 11:40:52.383 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP Response 200: {"wifi_sta":{"connected":true,"ssid":"NickyGhz","ip":"10.0.0.11","rssi":-54},"cloud":{"enabled":true,"connected":true},"mqtt":{"connected":false},"time":"11:40","unixtime":1589629253,"serial":8055,"has_update":false,"mac":"D436394B3FA4","motion":false,"charger":true,"tmp":{"value":29.332137,"is_valid":true,"units":"C"},"hum":{"value":43.599556,"is_valid":true},"lux":{"value":14.285714,"is_valid":true},"bat":{"value":100},"update":{"status":"idle","has_update":false,"new_version":"20200309-104151/v1.6.0@43056d58","old_version":"20200309-104151/v1.6.0@43056d58"},"ram_total":48020,"ram_free":23956,"fs_size":83081,"fs_free":21837,"uptime":176348}

2020-05-16 11:40:52.393 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellysense-4b3fa4: Unable to refresh status: Unable to update status

2020-05-16 11:40:52.408 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellysense-4b3fa4: 1 more updates requested

2020-05-16 11:40:55.412 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellysense-4b3fa4: Updating status

2020-05-16 11:40:55.414 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP GET for http://10.0.0.11/status

2020-05-16 11:40:55.575 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP Response 200: {"wifi_sta":{"connected":true,"ssid":"NickyGhz","ip":"10.0.0.11","rssi":-54},"cloud":{"enabled":true,"connected":true},"mqtt":{"connected":false},"time":"11:40","unixtime":1589629256,"serial":8055,"has_update":false,"mac":"D436394B3FA4","motion":false,"charger":true,"tmp":{"value":29.351208,"is_valid":true,"units":"C"},"hum":{"value":43.719681,"is_valid":true},"lux":{"value":15.584416,"is_valid":true},"bat":{"value":99},"update":{"status":"idle","has_update":false,"new_version":"20200309-104151/v1.6.0@43056d58","old_version":"20200309-104151/v1.6.0@43056d58"},"ram_total":48020,"ram_free":23916,"fs_size":83081,"fs_free":21837,"uptime":176351}

2020-05-16 11:40:55.581 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellysense-4b3fa4: Updating sensor

2020-05-16 11:40:55.585 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP GET for http://10.0.0.11/status

2020-05-16 11:40:55.741 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellysense-4b3fa4: HTTP Response 200: {"wifi_sta":{"connected":true,"ssid":"NickyGhz","ip":"10.0.0.11","rssi":-54},"cloud":{"enabled":true,"connected":true},"mqtt":{"connected":false},"time":"11:40","unixtime":1589629256,"serial":8055,"has_update":false,"mac":"D436394B3FA4","motion":false,"charger":true,"tmp":{"value":29.351208,"is_valid":true,"units":"C"},"hum":{"value":43.719681,"is_valid":true},"lux":{"value":15.584416,"is_valid":true},"bat":{"value":99},"update":{"status":"idle","has_update":false,"new_version":"20200309-104151/v1.6.0@43056d58","old_version":"20200309-104151/v1.6.0@43056d58"},"ram_total":48020,"ram_free":23956,"fs_size":83081,"fs_free":21837,"uptime":176351}

2020-05-16 11:40:55.750 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellysense-4b3fa4: Unable to refresh status: Unable to update status

2020-05-16 11:40:55.765 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellysense-4b3fa4: 0 more updates requested

2020-05-16 11:40:56.104 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4: CoIoT Message from /10.0.0.11:5683 (MID=43199): {"G":[[0,11,0],[0,22,1],[0,33,29.370279],[0,44,43.629587],[0,66,14.285714],[0,77,99]]}

2020-05-16 11:40:56.108 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4: CoIoT Sensor data {"G":[[0,11,0],[0,22,1],[0,33,29.370279],[0,44,43.629587],[0,66,14.285714],[0,77,99]]}

2020-05-16 11:40:56.112 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4: 6 CoAP sensor updates received

2020-05-16 11:40:56.116 [TRACE] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4:  Sensor value[0]: id=11, Value=0.0 (Motion, Type=M, Range=0/1, Link=1: Sensors)

2020-05-16 11:40:56.120 [TRACE] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4:  Sensor value[1]: id=22, Value=1.0 (Charger, Type=S, Range=0/1, Link=1: Sensors)

2020-05-16 11:40:56.125 [TRACE] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4:  Sensor value[2]: id=33, Value=29.370279 (Temperature, Type=T, Range=-40/125, Link=1: Sensors)

2020-05-16 11:40:56.129 [TRACE] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4:  Sensor value[3]: id=44, Value=43.629587 (Humidity, Type=H, Range=0/100, Link=1: Sensors)

2020-05-16 11:40:56.134 [TRACE] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4:  Sensor value[4]: id=66, Value=14.285714 (Lux, Type=L, Range=0/1, Link=1: Sensors)

2020-05-16 11:40:56.138 [TRACE] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4:  Sensor value[5]: id=77, Value=99.0 (Battery, Type=B, Range=0/100, Link=1: Sensors)

2020-05-16 11:40:56.151 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellysense-4b3fa4: Channel sensors#humidity updated with 43.6 % (type class org.eclipse.smarthome.core.library.types.QuantityType).

2020-05-16 11:40:56.158 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellysense-4b3fa4: Channel sensors#lux updated with 14.3 lx (type class org.eclipse.smarthome.core.library.types.QuantityType).

2020-05-16 11:40:56.167 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellysense-4b3fa4: Channel sensors#temperature updated with 29.4 °C (type class org.eclipse.smarthome.core.library.types.QuantityType).

2020-05-16 11:40:56.169 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4: 3 channels updated from CoIoT status

2020-05-16 11:41:11.124 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4: CoIoT Message from /10.0.0.11:5683 (MID=43200): {"G":[[0,11,0],[0,22,1],[0,33,29.351208],[0,44,43.641599],[0,66,15.584416],[0,77,99]]}

2020-05-16 11:41:11.130 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4: CoIoT Sensor data {"G":[[0,11,0],[0,22,1],[0,33,29.351208],[0,44,43.641599],[0,66,15.584416],[0,77,99]]}

2020-05-16 11:41:11.134 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4: 6 CoAP sensor updates received

2020-05-16 11:41:11.137 [TRACE] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4:  Sensor value[0]: id=11, Value=0.0 (Motion, Type=M, Range=0/1, Link=1: Sensors)

2020-05-16 11:41:11.142 [TRACE] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4:  Sensor value[1]: id=22, Value=1.0 (Charger, Type=S, Range=0/1, Link=1: Sensors)

2020-05-16 11:41:11.145 [TRACE] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4:  Sensor value[2]: id=33, Value=29.351208 (Temperature, Type=T, Range=-40/125, Link=1: Sensors)

2020-05-16 11:41:11.151 [TRACE] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4:  Sensor value[3]: id=44, Value=43.641599 (Humidity, Type=H, Range=0/100, Link=1: Sensors)

2020-05-16 11:41:11.154 [TRACE] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4:  Sensor value[4]: id=66, Value=15.584416 (Lux, Type=L, Range=0/1, Link=1: Sensors)

2020-05-16 11:41:11.160 [TRACE] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4:  Sensor value[5]: id=77, Value=99.0 (Battery, Type=B, Range=0/100, Link=1: Sensors)

2020-05-16 11:41:11.166 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellysense-4b3fa4: Channel sensors#humidity updated with 43.6 % (type class org.eclipse.smarthome.core.library.types.QuantityType).

2020-05-16 11:41:11.173 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellysense-4b3fa4: Channel sensors#lux updated with 15.6 lx (type class org.eclipse.smarthome.core.library.types.QuantityType).

2020-05-16 11:41:11.179 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellysense-4b3fa4: Channel sensors#temperature updated with 29.4 °C (type class org.eclipse.smarthome.core.library.types.QuantityType).

2020-05-16 11:41:11.182 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4: 3 channels updated from CoIoT status

2020-05-16 11:41:26.145 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellysense-4b3fa4: CoIoT Message from /10.0.0.11:5683 (MID=43201): {"G":[[0,11,0],[0,22,1],[0,33,29.389350],[0,44,43.716678],[0,66,15.584416],[0,77,99]]}

I opened this issue: [shelly] Sensor channels are not created for Shelly Sense · Issue #7654 · openhab/openhab-addons · GitHub
Please provide a TRACE Log of the initialization, those channels are created on the 1st status update after the thring went online. I need that info. If I get it today there’s is good chance to get it into the pending PR, which gets reviewed tomorrow.

What should i do exactly? Thanks

OH console

  • log:set org.openhab.binding.shelly
  • disable/enable the thing
  • extract the thing initialization from the log a send a PM to me or paste into the GitHub issue above

I posted to u in pm and on github

Thank you very much

not sure if this was a good idea, but understood. So I do know why I recall that I was able to configure.

I don’t :woozy_face: and still no idea what’s going wrong.

fyi: another PR was merged yesterday (7653)

  • support for Shelly Vintage
  • bugfix on action events with Shelly Plug-S
  • lastUpdate fixed for the sensors

PR 7659 has been opened, cpmeister will look into that today
#7275: Observe device availability, go OFFLINE when device does not respond
#7519: New channel device#updateAvailable (indicator for new firmware)
#7654: Fix sensor channels are not created for Shelly Sense (confirmation open)

AFAIK the 2.5.5 release version is planned for Monday.

Maybe you find some time today to support with hardening:
https://github.com/markus7017/myfiles/blob/master/shelly/org.openhab.binding.shelly-2.5.5-SNAPSHOT.jar?raw=true

@INT5749 @hmerk what’s the status of your research? I saw messages back and forth, but didn’t looked into the details. Maybe I could support fixing the issue.

I still have the problem, that my Shelly HT’s doesn’t send their changes or it’s not recognized by Binding?

To sum up, what I have tested

  • I had a Shelly HT, which was working but drained Battery within 2 weeks ish, probably because I hade configured an hourly update for testing while option disapear after FW upgrade?
  • I received a replacement and supplier send 2 in accident
  • Frist HT has been unpacked, connected to WiFi and Firmware update executed. During this, HT was recognized by Binding and added as thing => but no further updates appeared rather than the 12h cicle
  • changed from PaperUI Configuration to manual thing config as this is working for @hmerk with minor improvement but still not threashold changes
  • Therefore I implemented second one with same procedure but with Power Supply as I have only 1 Battery on hand => same behaviour nor threasholt values are updated
  • Upgrade from 2.5.4 SS to 2.5.5 SS and installed Dev Binding (following the procedure)

weirs thing: when I push the button on either of the three devices LED is flashing slowly (appr. 4-5 times) and start to flash faster until it goes off after a while. I do remember it should continue to flash slowly, but I might be wrong

no Changes

reverted to my backup of 2.5.4 SS and updated this to 2.5.4 stable (that’s where I’m now) ==> still no changes, HT doesn’t report and it got’s worse as I now didn’t get any updates at all.

That’s where I’m at the moment :woozy_face:

Update/addt. Info: When I do wake up device with button and do a restart of Shelly Binding while LED is flashing, Values are read from device and items filled

hi Markus,

many thanks dude,
It is working fine, i just have 2 more inquiries, the battery level isn’t reported [My bad had a misconfiguration in item] and the update is very frequent is that due to shelly sense function or due to the binding ?

2020-05-17 16:22:44.990 [vent.ItemStateChangedEvent] - Lastupdate changed from 2020-05-17T16:22:29.000+0300 to 2020-05-17T16:22:44.000+0300

2020-05-17 16:22:44.994 [vent.ItemStateChangedEvent] - Temperature_i changed from 33.0 to 33.1

2020-05-17 16:23:00.016 [vent.ItemStateChangedEvent] - Lastupdate changed from 2020-05-17T16:22:44.000+0300 to 2020-05-17T16:22:59.000+0300

2020-05-17 16:23:00.020 [vent.ItemStateChangedEvent] - Lux_i changed from 220.8 to 219.5

2020-05-17 16:23:15.028 [vent.ItemStateChangedEvent] - Lastupdate changed from 2020-05-17T16:22:59.000+0300 to 2020-05-17T16:23:15.000+0300

2020-05-17 16:23:15.031 [vent.ItemStateChangedEvent] - Temperature_i changed from 33.1 to 33.0

2020-05-17 16:23:21.825 [vent.ItemStateChangedEvent] - Temperature_i changed from 33.0 to 33.1

2020-05-17 16:23:21.838 [vent.ItemStateChangedEvent] - Lastupdate changed from 2020-05-17T16:23:15.000+0300 to 2020-05-17T16:23:21.000+0300

2020-05-17 16:23:30.030 [vent.ItemStateChangedEvent] - Lastupdate changed from 2020-05-17T16:23:21.000+0300 to 2020-05-17T16:23:30.000+0300

2020-05-17 16:23:30.039 [vent.ItemStateChangedEvent] - Lux_i changed from 219.5 to 218.2

2020-05-17 16:23:30.043 [vent.ItemStateChangedEvent] - Temperature_i changed from 33.1 to 33.0

2020-05-17 16:23:45.069 [vent.ItemStateChangedEvent] - Humidity_i changed from 40.8 to 40.7

2020-05-17 16:23:45.079 [vent.ItemStateChangedEvent] - Lastupdate changed from 2020-05-17T16:23:30.000+0300 to 2020-05-17T16:23:45.000+0300

2020-05-17 16:23:45.083 [vent.ItemStateChangedEvent] - Temperature_i changed from 33.0 to 33.1

2020-05-17 16:24:00.082 [vent.ItemStateChangedEvent] - Humidity_i changed from 40.7 to 40.6

2020-05-17 16:24:00.087 [vent.ItemStateChangedEvent] - Lastupdate changed from 2020-05-17T16:23:45.000+0300 to 2020-05-17T16:24:00.000+0300

2020-05-17 16:24:02.763 [vent.ItemStateChangedEvent] - Humidity_i changed from 40.6 to 40.5

2020-05-17 16:24:02.773 [vent.ItemStateChangedEvent] - Lastupdate changed from 2020-05-17T16:24:00.000+0300 to 2020-05-17T16:24:02.000+0300

2020-05-17 16:24:02.779 [vent.ItemStateChangedEvent] - Lux_i changed from 218.2 to 216.9

I’ve tried the recent *.jar and just found one thing at the first start:

2020-05-17 17:41:28.426 [WARN ] [network.InMemoryMessageExchangeStore] - coap Exchange[L71] with manual token overrides existing Exchange[L70] with open request: KeyToken[192.168.9.17:5683-]

This refers to one of my DW’s. To get it working, I needed to wake it manually from sleep by the internal button (not just triggering OPEN/CLOSED) to let the binding initialize it again. Don’t know, if this is expected for every new version, at least I haven’t noticed it before.

Another observation which is quite likely not just related to the recent build:
Once I have edited my shelly.items file and save it, all defined channel links get removed and then added again as expected. All included items are set to NULL then at first and then get updated as messages come in or the binding requests them via the API.

For the DW’s as for all battery powered devices (I guess?) I have to wait for the next wake up and the first Coap coming in. Clear so far :wink:

BUT: When this first Coap is coming in, the binding just updates the channels which have changed compared to the state before the reload of the shelly.item. This means, all “unchanged” channels leave the linked items NULL.

Example battery level:
The level was 100% before editing/saving the items file. My battery level item remains NULL until the battery level has decreased and sent via Coap - although the battery level is included in every Coap message coming in.

Please see this log - watch out for the sensors#vibration channel in this example:

2020-05-17 18:33:33.731 [temChannelLinkRemovedEvent] - Link 'ShellyTuer => shelly:shellydw:tuer:sensors#state' has been removed.
2020-05-17 18:33:33.763 [temChannelLinkRemovedEvent] - Link 'ShellyTuer_vibration => shelly:shellydw:tuer:sensors#vibration' has been removed.
2020-05-17 18:33:33.798 [temChannelLinkRemovedEvent] - Link 'ShellyTuer_last => shelly:shellydw:tuer:sensors#lastUpdate' has been removed.
2020-05-17 18:33:33.805 [temChannelLinkRemovedEvent] - Link 'ShellyTuer_batt => shelly:shellydw:tuer:battery#batteryLevel' has been removed.
2020-05-17 18:33:34.932 [.ItemChannelLinkAddedEvent] - Link 'ShellyTuer-shelly:shellydw:tuer:sensors#state' has been added.
2020-05-17 18:33:34.935 [.ItemChannelLinkAddedEvent] - Link 'ShellyTuer_vibration-shelly:shellydw:tuer:sensors#vibration' has been added.
2020-05-17 18:33:34.939 [.ItemChannelLinkAddedEvent] - Link 'ShellyTuer_last-shelly:shellydw:tuer:sensors#lastUpdate' has been added.
2020-05-17 18:33:34.944 [.ItemChannelLinkAddedEvent] - Link 'ShellyTuer_batt-shelly:shellydw:tuer:battery#batteryLevel' has been added.
2020-05-17 18:35:02.086 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellydw-tuer: CoIoT Message from /192.168.9.17:5683 (MID=59488): {"G":[[0,66,108],[0,55,1],[0,77,97],[0,88,-1],[0,99,0]]}
2020-05-17 18:35:02.092 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellydw-tuer: Duplicate serial 256 will be processed, because payload is different: {"G":[[0,66,108],[0,55,1],[0,77,97],[0,88,-1],[0,99,0]]} vs. {"G":[[0,66,29],[0,55,0],[0,77,100],[0,88,-1],[0,99,0]]}
2020-05-17 18:35:02.097 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellydw-tuer: CoIoT Sensor data {"G":[[0,66,108],[0,55,1],[0,77,97],[0,88,-1],[0,99,0]]}
2020-05-17 18:35:02.103 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellydw-tuer: 5 CoAP sensor updates received
2020-05-17 18:35:02.117 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellydw-tuer: Channel battery#batteryLevel updated with 97.0 % (type class org.eclipse.smarthome.core.library.types.QuantityType).
2020-05-17 18:35:02.151 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellydw-tuer: Channel sensors#lastUpdate updated with 2020-05-17T18:35:02.000+0200 (type class org.eclipse.smarthome.core.library.types.DateTimeType).
2020-05-17 18:35:02.160 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellydw-tuer: Channel sensors#state updated with OPEN (type class org.eclipse.smarthome.core.library.types.OpenClosedType).
2020-05-17 18:35:02.165 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellydw-tuer: 3 channels updated from CoIoT status

What happened:

  • shelly.items has been saved
  • links have been automatically removed and then added again which has put the items into NULL
  • open the door triggered wakeup and first Coap update
  • when the first Coap comes in, the changed channels (sensors#state and battery#batteryLevel) get updated as well as the sensors#lastUpdate
  • BUT: The sensors#vibration was not considered as update since this hasn’t been changed compared to the state before the remove/re-add of the channel links.

Maybe this behaviour affects all battery powered sensors.
EDIT: Seems, that all Shelly devices behave that way. E.g. a relay#output is not updated by Coap after remove/re-add of the channel

Forgot to add:
All other tests with the current 2.5.5 went fine with my mains powered relay devices including eventing LONG_PRESSED etc…
sensors#lastUpdate for the battery powered DW is also there (as shown in the log above yet).

I have no clue how to observe a channel unlink/link, which could clear the channel value from the cache. Therefore no idea how to eliminate that behaviour.

fyi: openHAB Addons 2.5.5 have been released
It includes PR 7445, 7572, 7611
but not the last one 7659 (has been merged this morning, but didn’t made it into 2.5.5).

see https://github.com/openhab/openhab-distro/releases/tag/2.5.5 for details.

If you want to use those features

  • #7275: Observe device availability, go OFFLINE when device does not respond
  • #7519: New channel device#updateAvailable (indicator for new firmware)
  • #7654: Fix sensor channels are not created for Shelly Sense (confirmation open)

you need to use the official 2.5.6 SNAPSHOT build (wait until tomorrow) or my DEV build.

I also have updated to 2.5.5 stable this Morning, hoping this will solve/improve my issue with Shelly HT, but it didn’t :-/ Anything I cn provide which might help to come after this problem?

Any help is much appreciated as Shelly devices really look smart and my Plug-s are working like a charm all the time. So I still assume configuration problem and I’m still confused by flashing LEDs.

I am out of ideas. Checked my persisted data today and can confirm all my ShellyHT working as expected with the config I posted earlier.
Only difference I see is the LED flashing after button press, which is other way round than yours.
Please try a factory reset on one of the faulty devices and start it from scratch. Let‘s see if that helps.

Happy to do. I would assume it shall be sufficient to

  1. remove items

  2. remove thing for HT

  3. check with RestAPI that thing is gone

  4. restart openHAB (just in case)

How about installation after factory reset (which remains Firmware)

  1. connect HT to my WiFi

  2. enable thing (while HT is online oder shall I wait LED to stop flashing?)

  3. restart binding

  4. enable items

  5. waiting for data??

Regards
Joerg

4 should not be needed
6 after flashing, LED should be permanently on for a short time, indicating the device is online and connected to WIFI.
7 should not be needed.

  • device resettet => LED is flashing slowly
  • access to device possible by using 192.168.33.1
  • connect to WiFi => LED starts flashing faster (this is the weird thing as this should indicate AP mode?)
    (all 3 device I do have act similar at this stage)

just tried my iPhone hotspot to avoid issues with my WiFi but same behavior. And once LED just goes off and I do wake up device it start flashing slowly, start flashing faster once connection to WiFi has been established.

just figured out, that it starts flashing faster once I disable cloud. As long Cloud is enabled, LED is flashing slow and than changes to on :flushed:

OK, I don’t use this xxx cloud, but I will leave it on for now to check if this will have any impact has device behaves.

Update: and connection to cloud is green?? I haven’t confiured any account there, how could it get green??