Shelly Binding

Tags: #<Tag:0x00007f5c9ed884c8> #<Tag:0x00007f5c9ed88400>

I see noch CoAP messages
a) you didn‘t enabled it in the thing config
b) multicast traffic is blocked/doesn‘t pass the switch

I filtered to those which contain ShellyHT- only, would those Message contain this or are they more unspecific?


I thought I did? This is config which is same when I filtered Log

Hmm, I shall see model of switch tomorrow, but this is a “stupd” d-link 1Gbps Switch, Fritzbox is optimised for TV Steaming which shall be MultiCast

go to the thing properties and check if ciapDescr is there
check the lor „configured events“
the one above says CoIoT:false

2020-05-19 21:11:56.883 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Configured Events: Button: false, Switch (on/off): true, Push: true, Roller: true, Sensor: true, CoIoT: false, Enable AutoCoIoT: true

false means CoIoT doesn‘t get activated and that would explain why you don‘t receive temp updates via CoAP

go to the thing config

  • disable CoIoT, save
  • enable CoIoT, save

maybe that does the trick

First off all => thanks for continous support :+1: much appreciated!

coapDeviceDescr
{"blk":[{"I":1, "D":"sensors"}],"sen":[{"I":33, "D":"temperature", "T":"T", "R":"-40/125", "L":1},{"I":44, "D":"humidity", "T":"H", "R":"0/100", "L":1},{"I":77, "D":"battery", "T":"B", "R":"0/100", "L":1}]}

I checked overall log and it was true sometimes but now false since a while. I waked up sensor by button and changed to false (saved) and back to true (saved) all while LED is on
Results in following log

2020-05-21 10:06:13.662 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Configured Events: Button: false, Switch (on/off): true, Push: true, Roller: true, Sensor: true, CoIoT: true, Enable AutoCoIoT: false
2020-05-21 10:06:13.677 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Start initializing thing Shelly HT - Bedroom, type shellyht, ip address 192.168.47.11, CoIoT: true
2020-05-21 10:06:13.927 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: Starting CoAP Listener
2020-05-21 10:06:14.380 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: CoAP Request was canceled
2020-05-21 10:06:14.380 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/shelly
2020-05-21 10:06:15.052 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP Response 200: {"type":"SHHT-1","mac":"98F4ABF4711E","auth":false,"fw":"20200309-104344/v1.6.0@43056d58","sleep_mode":true}
2020-05-21 10:06:15.083 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/settings
2020-05-21 10:06:15.099 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: CoIoT Message from /192.168.47.11:5683 (MID=10102): {"blk":[{"I":1, "D":"sensors"}],"sen":[{"I":33, "D":"temperature", "T":"T", "R":"-40/125", "L":1},{"I":44, "D":"humidity", "T":"H", "R":"0/100", "L":1},{"I":77, "D":"battery", "T":"B", "R":"0/100", "L":1}]}
2020-05-21 10:06:15.130 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: CoIoT Device Description for SHHT-1#F4711E#1: {"blk":[{"I":1, "D":"sensors"}],"sen":[{"I":33, "D":"temperature", "T":"T", "R":"-40/125", "L":1},{"I":44, "D":"humidity", "T":"H", "R":"0/100", "L":1},{"I":77, "D":"battery", "T":"B", "R":"0/100", "L":1}]}
2020-05-21 10:06:15.615 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP Response 200: {"device":{"type":"SHHT-1","mac":"98F4ABF4711E","hostname":"shellyht-F4711E","sleep_mode":true},"wifi_ap":{"enabled":false,"ssid":"shellyht-F4711E","key":""},"wifi_sta":{"enabled":true,"ssid":"Holodeck","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":"shellyht-F4711E","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-104344/v1.6.0@43056d58","discoverable":true,"build_info":{"build_id":"20200309-104344/v1.6.0@43056d58","build_timestamp":"2020-03-09T10:43:44Z","build_version":"1.0"},"cloud":{"enabled":true,"connected":true},"timezone":"Europe/Berlin","lat":50.110901,"lng":8.682130,"tzautodetect":true,"tz_utc_offset":7200,"tz_dst":true,"tz_dst_auto":true,"time":"10:06","unixtime":1590055576,"sensors":{"temperature_threshold":1.0,"temperature_unit":"C","humidity_threshold":5.0},"sleep_mode":{"period":12,"unit":"h"},"report_url":"http://192.168.1.108:8080/shelly/event/shellyht-f4711e/report","external_power":0,"temperature_offset":0.0,"humidity_offset":0.0}
2020-05-21 10:06:19.208 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Status update triggered thing initialization
2020-05-21 10:06:20.083 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Start initializing thing Shelly HT - Bedroom, type shellyht, ip address 192.168.47.11, CoIoT: true
2020-05-21 10:06:20.333 [TRACE] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: CoAP Listener was already started
2020-05-21 10:06:20.333 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/shelly
2020-05-21 10:06:19.849 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Initializing device shellyht-f4711e, type SHHT-1, Hardware: Rev: , batch ; Firmware: v1.6.0 / 20200309-104344 (43056d58)
2020-05-21 10:06:20.349 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Shelly settings info for shellyht-f4711e: {"device":{"type":"SHHT-1","mac":"98F4ABF4711E","hostname":"shellyht-F4711E","sleep_mode":true},"wifi_ap":{"enabled":false,"ssid":"shellyht-F4711E","key":""},"wifi_sta":{"enabled":true,"ssid":"Holodeck","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":"shellyht-F4711E","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-104344/v1.6.0@43056d58","discoverable":true,"build_info":{"build_id":"20200309-104344/v1.6.0@43056d58","build_timestamp":"2020-03-09T10:43:44Z","build_version":"1.0"},"cloud":{"enabled":true,"connected":true},"timezone":"Europe/Berlin","lat":50.110901,"lng":8.682130,"tzautodetect":true,"tz_utc_offset":7200,"tz_dst":true,"tz_dst_auto":true,"time":"10:06","unixtime":1590055576,"sensors":{"temperature_threshold":1.0,"temperature_unit":"C","humidity_threshold":5.0},"sleep_mode":{"period":12,"unit":"h"},"report_url":"http://192.168.1.108:8080/shelly/event/shellyht-f4711e/report","external_power":0,"temperature_offset":0.0,"humidity_offset":0.0}
2020-05-21 10:06:20.396 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Device hasRelays:false (numRelays=0),isRoller:false (numRoller=0),isDimmer:false,isPlugS:false,numMeter=0,isEMeter:false),isSensor:true,isDS:false,hasBattery:true (low battery threshold=20%),isSense:false,isLight:false,isBulb:false,isDuo:false,isRGBW2:false,inColor:false,hasLEDs:false,updatePeriod:43200sec
2020-05-21 10:06:20.412 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/status
2020-05-21 10:06:19.177 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e:    id=1: sensors
2020-05-21 10:06:13.662 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Configured Events: Button: false, Switch (on/off): true, Push: true, Roller: true, Sensor: true, CoIoT: true, Enable AutoCoIoT: false
2020-05-21 10:06:13.677 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Start initializing thing Shelly HT - Bedroom, type shellyht, ip address 192.168.47.11, CoIoT: true
2020-05-21 10:06:13.927 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: Starting CoAP Listener
2020-05-21 10:06:14.380 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: CoAP Request was canceled
2020-05-21 10:06:14.380 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/shelly
2020-05-21 10:06:15.052 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP Response 200: {"type":"SHHT-1","mac":"98F4ABF4711E","auth":false,"fw":"20200309-104344/v1.6.0@43056d58","sleep_mode":true}
2020-05-21 10:06:15.083 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/settings
2020-05-21 10:06:15.099 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: CoIoT Message from /192.168.47.11:5683 (MID=10102): {"blk":[{"I":1, "D":"sensors"}],"sen":[{"I":33, "D":"temperature", "T":"T", "R":"-40/125", "L":1},{"I":44, "D":"humidity", "T":"H", "R":"0/100", "L":1},{"I":77, "D":"battery", "T":"B", "R":"0/100", "L":1}]}
2020-05-21 10:06:15.130 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: CoIoT Device Description for SHHT-1#F4711E#1: {"blk":[{"I":1, "D":"sensors"}],"sen":[{"I":33, "D":"temperature", "T":"T", "R":"-40/125", "L":1},{"I":44, "D":"humidity", "T":"H", "R":"0/100", "L":1},{"I":77, "D":"battery", "T":"B", "R":"0/100", "L":1}]}
2020-05-21 10:06:15.615 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP Response 200: {"device":{"type":"SHHT-1","mac":"98F4ABF4711E","hostname":"shellyht-F4711E","sleep_mode":true},"wifi_ap":{"enabled":false,"ssid":"shellyht-F4711E","key":""},"wifi_sta":{"enabled":true,"ssid":"Holodeck","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":"shellyht-F4711E","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-104344/v1.6.0@43056d58","discoverable":true,"build_info":{"build_id":"20200309-104344/v1.6.0@43056d58","build_timestamp":"2020-03-09T10:43:44Z","build_version":"1.0"},"cloud":{"enabled":true,"connected":true},"timezone":"Europe/Berlin","lat":50.110901,"lng":8.682130,"tzautodetect":true,"tz_utc_offset":7200,"tz_dst":true,"tz_dst_auto":true,"time":"10:06","unixtime":1590055576,"sensors":{"temperature_threshold":1.0,"temperature_unit":"C","humidity_threshold":5.0},"sleep_mode":{"period":12,"unit":"h"},"report_url":"http://192.168.1.108:8080/shelly/event/shellyht-f4711e/report","external_power":0,"temperature_offset":0.0,"humidity_offset":0.0}
2020-05-21 10:06:19.208 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Status update triggered thing initialization
2020-05-21 10:06:20.083 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Start initializing thing Shelly HT - Bedroom, type shellyht, ip address 192.168.47.11, CoIoT: true
2020-05-21 10:06:20.333 [TRACE] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: CoAP Listener was already started
2020-05-21 10:06:20.333 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/shelly
2020-05-21 10:06:19.849 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Initializing device shellyht-f4711e, type SHHT-1, Hardware: Rev: , batch ; Firmware: v1.6.0 / 20200309-104344 (43056d58)
2020-05-21 10:06:20.349 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Shelly settings info for shellyht-f4711e: {"device":{"type":"SHHT-1","mac":"98F4ABF4711E","hostname":"shellyht-F4711E","sleep_mode":true},"wifi_ap":{"enabled":false,"ssid":"shellyht-F4711E","key":""},"wifi_sta":{"enabled":true,"ssid":"Holodeck","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":"shellyht-F4711E","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-104344/v1.6.0@43056d58","discoverable":true,"build_info":{"build_id":"20200309-104344/v1.6.0@43056d58","build_timestamp":"2020-03-09T10:43:44Z","build_version":"1.0"},"cloud":{"enabled":true,"connected":true},"timezone":"Europe/Berlin","lat":50.110901,"lng":8.682130,"tzautodetect":true,"tz_utc_offset":7200,"tz_dst":true,"tz_dst_auto":true,"time":"10:06","unixtime":1590055576,"sensors":{"temperature_threshold":1.0,"temperature_unit":"C","humidity_threshold":5.0},"sleep_mode":{"period":12,"unit":"h"},"report_url":"http://192.168.1.108:8080/shelly/event/shellyht-f4711e/report","external_power":0,"temperature_offset":0.0,"humidity_offset":0.0}
2020-05-21 10:06:20.396 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Device hasRelays:false (numRelays=0),isRoller:false     (numRoller=0),isDimmer:false,isPlugS:false,numMeter=0,isEMeter:false),isSensor:true,isDS:false,hasBattery:true (low battery threshold=20%),isSense:false,isLight:false,isBulb:false,isDuo:false,isRGBW2:false,inColor:false,hasLEDs:false,updatePeriod:43200sec
    2020-05-21 10:06:20.412 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/status
    2020-05-21 10:06:19.177 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e:    id=1: sensors

a log from later today

> 2020-05-21 11:33:51.539 [DEBUG] [elly.internal.api.ShellyEventServlet] - CallbackServlet: HTTP/1.1 Request from 192.168.47.11:24088/shelly/event/shellyht-f4711e/report?{hum=[55],temp=[24.50]}
> 2020-05-21 11:33:51.554 [TRACE] [elly.internal.api.ShellyEventServlet] - shellyht-f4711e: Process event of type type=report, index=
> 2020-05-21 11:33:51.554 [TRACE] [shelly.internal.ShellyHandlerFactory] - shellyht-f4711e: Dispatch event to thing handler
> 2020-05-21 11:33:51.554 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Event received: class=report, index=, parameters={hum=55, temp=24.50}
> 2020-05-21 11:33:51.648 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/settings
> 2020-05-21 11:33:51.975 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP Response 200: {"device":{"type":"SHHT-1","mac":"98F4ABF4711E","hostname":"shellyht-F4711E","sleep_mode":true},"wifi_ap":{"enabled":false,"ssid":"shellyht-F4711E","key":""},"wifi_sta":{"enabled":true,"ssid":"Holodeck","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":"shellyht-F4711E","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-104344/v1.6.0@43056d58","discoverable":true,"build_info":{"build_id":"20200309-104344/v1.6.0@43056d58","build_timestamp":"2020-03-09T10:43:44Z","build_version":"1.0"},"cloud":{"enabled":true,"connected":true},"timezone":"Europe/Berlin","lat":500.000000,"lng":500.000000,"tzautodetect":true,"tz_utc_offset":7200,"tz_dst":true,"tz_dst_auto":true,"time":"","unixtime":0,"sensors":{"temperature_threshold":1.0,"temperature_unit":"C","humidity_threshold":5.0},"sleep_mode":{"period":12,"unit":"h"},"report_url":"http://192.168.1.108:8080/shelly/event/shellyht-f4711e/report","external_power":0,"temperature_offset":0.0,"humidity_offset":0.0}
> 2020-05-21 11:33:52.054 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Updating status
> 2020-05-21 11:33:52.070 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/status
> 2020-05-21 11:33:52.117 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP Response 200: {"wifi_sta":{"connected":true,"ssid":"Holodeck","ip":"192.168.47.11","rssi":-63},"cloud":{"enabled":true,"connected":true},"mqtt":{"connected":false},"time":"","unixtime":0,"serial":1,"has_update":false,"mac":"98F4ABF4711E","is_valid":true,"tmp":{"value":24.50,"units":"C","tC":24.50,"tF":76.10, "is_valid":true},"hum":{"value":55.0, "is_valid":true},"bat":{"value":100,"voltage":2.96},"act_reasons":["sensor"],"connect_retries":0,"update":{"status":"unknown","has_update":false,"new_version":"","old_version":"20200309-104344/v1.6.0@43056d58"},"ram_total":50432,"ram_free":40356,"fs_size":233681,"fs_free":156122,"uptime":5}
> 2020-05-21 11:33:52.132 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Updating sensor
> 2020-05-21 11:33:52.148 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/status
> 2020-05-21 11:33:52.195 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP Response 200: {"wifi_sta":{"connected":true,"ssid":"Holodeck","ip":"192.168.47.11","rssi":-62},"cloud":{"enabled":true,"connected":true},"mqtt":{"connected":false},"time":"","unixtime":0,"serial":1,"has_update":false,"mac":"98F4ABF4711E","is_valid":true,"tmp":{"value":24.50,"units":"C","tC":24.50,"tF":76.10, "is_valid":true},"hum":{"value":55.0, "is_valid":true},"bat":{"value":100,"voltage":2.96},"act_reasons":["sensor"],"connect_retries":0,"update":{"status":"unknown","has_update":false,"new_version":"","old_version":"20200309-104344/v1.6.0@43056d58"},"ram_total":50432,"ram_free":40356,"fs_size":233681,"fs_free":156122,"uptime":5}
> 2020-05-21 11:33:52.210 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Updating temperature
> 2020-05-21 11:33:52.226 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyht-f4711e: Channel sensors#temperature updated with 24.5 °C (type class org.eclipse.smarthome.core.library.types.QuantityType).
> 2020-05-21 11:33:52.273 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Updating humidity
> 2020-05-21 11:33:52.273 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyht-f4711e: Channel sensors#humidity updated with 55.0 % (type class org.eclipse.smarthome.core.library.types.QuantityType).
> 2020-05-21 11:33:52.289 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Updating battery
> 2020-05-21 11:33:52.304 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyht-f4711e: Channel sensors#lastUpdate updated with 2020-05-21T11:33:52.000+0200 (type class org.eclipse.smarthome.core.library.types.DateTimeType).
> 2020-05-21 11:33:52.304 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: 0 more updates requested

This looks like it works now, correct?
Go to the thing config and disable the sensor events, you should still receive the updates

Yes, but … I had to restart my openHAB and now I don’t receive any update any longer. It this usual behavior because it’s powered by battery? Assuming that I either have to activate HT before I restart (whiel start occassionally tooks longer than HT is online) or to activate and restart Shelly Binding after OH start has finished??

Log after Restart, stating updates at the end, but there is nothing in items.

2020-05-21 14:42:21.301 [INFO ] [rg.apache.aries.spifly.BaseActivator] - Loaded SPI provider: class org.eclipse.jetty.websocket.common.extensions.compress.PerMessageDeflateExtension
2020-05-21 14:45:58.458 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Using userId admin from bindingConfig
2020-05-21 14:46:01.692 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Device config: IP address=192.168.47.11, HTTP user/password=admin/***, update interval=3600
2020-05-21 14:46:01.708 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Configured Events: Button: false, Switch (on/off): true, Push: true, Roller: true, Sensor: true, CoIoT: true, Enable AutoCoIoT: false
2020-05-21 14:46:01.708 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Start initializing thing Shelly HT - Bedroom, type shellyht, ip address 192.168.47.11, CoIoT: true
2020-05-21 14:46:06.176 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: Starting CoAP Listener
2020-05-21 14:46:06.520 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: CoAP Request was canceled
2020-05-21 14:46:07.692 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/shelly
2020-05-21 14:46:12.754 [DEBUG] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: API Timeout, retry #1 (Device unreachable or API Timeout (GET http://192.168.47.11/shelly))
2020-05-21 14:46:12.754 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/shelly
2020-05-21 14:46:17.801 [DEBUG] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: API Timeout, retry #2 (Device unreachable or API Timeout (GET http://192.168.47.11/shelly))
2020-05-21 14:46:17.801 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/shelly
2020-05-21 14:46:22.754 [DEBUG] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: API Timeout, retry #3 (Device unreachable or API Timeout (GET http://192.168.47.11/shelly))
2020-05-21 14:46:22.754 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Unable to initialize: Device unreachable or API Timeout (), retrying later
2020-05-21 14:46:22.754 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Update status job started, interval=1200*3=3600sec.
2020-05-21 14:47:18.614 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: CoAP Request timed out
2020-05-21 14:47:22.723 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Enabling channel cache (20 updates / 60s)
2020-05-21 15:46:42.084 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Status update triggered thing initialization
2020-05-21 15:46:42.084 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Start initializing thing Shelly HT - Bedroom, type shellyht, ip address 192.168.47.11, CoIoT: true
2020-05-21 15:46:42.084 [TRACE] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: CoAP Listener was already started
2020-05-21 15:46:42.084 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/shelly
2020-05-21 15:46:47.116 [DEBUG] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: API Timeout, retry #4 (Device unreachable or API Timeout (GET http://192.168.47.11/shelly))
2020-05-21 15:46:47.131 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/shelly
2020-05-21 15:46:52.147 [DEBUG] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: API Timeout, retry #5 (Device unreachable or API Timeout (GET http://192.168.47.11/shelly))
2020-05-21 15:46:52.147 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/shelly
2020-05-21 15:46:57.133 [DEBUG] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: API Timeout, retry #6 (Device unreachable or API Timeout (GET http://192.168.47.11/shelly))
2020-05-21 15:46:57.133 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Ignore API Timeout, retry later
2020-05-21 15:56:23.026 [DEBUG] [elly.internal.api.ShellyEventServlet] - CallbackServlet: HTTP/1.1 Request from 192.168.47.11:7047/shelly/event/shellyht-f4711e/report?{hum=[50],temp=[24.00]}
2020-05-21 15:56:23.041 [TRACE] [elly.internal.api.ShellyEventServlet] - shellyht-f4711e: Process event of type type=report, index=
2020-05-21 15:56:23.041 [TRACE] [shelly.internal.ShellyHandlerFactory] - shellyht-f4711e: Dispatch event to thing handler
2020-05-21 15:56:23.041 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Event received: class=report, index=, parameters={hum=50, temp=24.00}
2020-05-21 15:56:23.041 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Device is not yet initialized, event triggers initialization
2020-05-21 15:56:23.838 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Status update triggered thing initialization
2020-05-21 15:56:23.838 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Start initializing thing Shelly HT - Bedroom, type shellyht, ip address 192.168.47.11, CoIoT: true
2020-05-21 15:56:23.838 [TRACE] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: CoAP Listener was already started
2020-05-21 15:56:23.838 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/shelly
2020-05-21 15:56:23.870 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP Response 200: {"type":"SHHT-1","mac":"98F4ABF4711E","auth":false,"fw":"20200309-104344/v1.6.0@43056d58","sleep_mode":true}
2020-05-21 15:56:23.870 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/settings
2020-05-21 15:56:24.245 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP Response 200: {"device":{"type":"SHHT-1","mac":"98F4ABF4711E","hostname":"shellyht-F4711E","sleep_mode":true},"wifi_ap":{"enabled":false,"ssid":"shellyht-F4711E","key":""},"wifi_sta":{"enabled":true,"ssid":"Holodeck","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":"shellyht-F4711E","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-104344/v1.6.0@43056d58","discoverable":true,"build_info":{"build_id":"20200309-104344/v1.6.0@43056d58","build_timestamp":"2020-03-09T10:43:44Z","build_version":"1.0"},"cloud":{"enabled":true,"connected":true},"timezone":"Europe/Berlin","lat":500.000000,"lng":500.000000,"tzautodetect":true,"tz_utc_offset":7200,"tz_dst":true,"tz_dst_auto":true,"time":"","unixtime":0,"sensors":{"temperature_threshold":1.0,"temperature_unit":"C","humidity_threshold":5.0},"sleep_mode":{"period":12,"unit":"h"},"report_url":"http://192.168.1.108:8080/shelly/event/shellyht-f4711e/report","external_power":0,"temperature_offset":0.0,"humidity_offset":0.0}
2020-05-21 15:56:24.291 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Initializing device shellyht-f4711e, type SHHT-1, Hardware: Rev: , batch ; Firmware: v1.6.0 / 20200309-104344 (43056d58)
2020-05-21 15:56:24.291 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Shelly settings info for shellyht-f4711e: {"device":{"type":"SHHT-1","mac":"98F4ABF4711E","hostname":"shellyht-F4711E","sleep_mode":true},"wifi_ap":{"enabled":false,"ssid":"shellyht-F4711E","key":""},"wifi_sta":{"enabled":true,"ssid":"Holodeck","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":"shellyht-F4711E","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-104344/v1.6.0@43056d58","discoverable":true,"build_info":{"build_id":"20200309-104344/v1.6.0@43056d58","build_timestamp":"2020-03-09T10:43:44Z","build_version":"1.0"},"cloud":{"enabled":true,"connected":true},"timezone":"Europe/Berlin","lat":500.000000,"lng":500.000000,"tzautodetect":true,"tz_utc_offset":7200,"tz_dst":true,"tz_dst_auto":true,"time":"","unixtime":0,"sensors":{"temperature_threshold":1.0,"temperature_unit":"C","humidity_threshold":5.0},"sleep_mode":{"period":12,"unit":"h"},"report_url":"http://192.168.1.108:8080/shelly/event/shellyht-f4711e/report","external_power":0,"temperature_offset":0.0,"humidity_offset":0.0}
2020-05-21 15:56:24.291 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Device hasRelays:false (numRelays=0),isRoller:false (numRoller=0),isDimmer:false,isPlugS:false,numMeter=0,isEMeter:false),isSensor:true,isDS:false,hasBattery:true (low battery threshold=20%),isSense:false,isLight:false,isBulb:false,isDuo:false,isRGBW2:false,inColor:false,hasLEDs:false,updatePeriod:43200sec
2020-05-21 15:56:24.291 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/status
2020-05-21 15:56:24.370 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP Response 200: {"wifi_sta":{"connected":true,"ssid":"Holodeck","ip":"192.168.47.11","rssi":-63},"cloud":{"enabled":true,"connected":true},"mqtt":{"connected":false},"time":"","unixtime":0,"serial":1,"has_update":false,"mac":"98F4ABF4711E","is_valid":true,"tmp":{"value":24.00,"units":"C","tC":24.00,"tF":75.20, "is_valid":true},"hum":{"value":50.0, "is_valid":true},"bat":{"value":100,"voltage":2.97},"act_reasons":["sensor"],"connect_retries":0,"update":{"status":"unknown","has_update":false,"new_version":"","old_version":"20200309-104344/v1.6.0@43056d58"},"ram_total":50432,"ram_free":40360,"fs_size":233681,"fs_free":156122,"uptime":6}
2020-05-21 15:56:24.401 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Starting CoIoT (autoCoIoT=false/false)
2020-05-21 15:56:24.416 [TRACE] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: CoAP Listener was already started
2020-05-21 15:56:24.416 [DEBUG] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: Set Sensor Reporting URL
2020-05-21 15:56:24.416 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyht-f4711e: Channel device#uptime updated with 6 s (type class org.eclipse.smarthome.core.library.types.QuantityType).
2020-05-21 15:56:24.416 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyht-f4711e: Channel device#wifiSignal updated with 3 (type class org.eclipse.smarthome.core.library.types.DecimalType).
2020-05-21 15:56:24.432 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyht-f4711e: Channel device#alarm updated with NONE (type class org.eclipse.smarthome.core.library.types.StringType).
2020-05-21 15:56:24.432 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Thing successfully initialized.
2020-05-21 15:56:24.448 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/settings
2020-05-21 15:56:25.026 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP Response 200: {"device":{"type":"SHHT-1","mac":"98F4ABF4711E","hostname":"shellyht-F4711E","sleep_mode":true},"wifi_ap":{"enabled":false,"ssid":"shellyht-F4711E","key":""},"wifi_sta":{"enabled":true,"ssid":"Holodeck","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":"shellyht-F4711E","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-104344/v1.6.0@43056d58","discoverable":true,"build_info":{"build_id":"20200309-104344/v1.6.0@43056d58","build_timestamp":"2020-03-09T10:43:44Z","build_version":"1.0"},"cloud":{"enabled":true,"connected":true},"timezone":"Europe/Berlin","lat":500.000000,"lng":500.000000,"tzautodetect":true,"tz_utc_offset":7200,"tz_dst":true,"tz_dst_auto":true,"time":"","unixtime":0,"sensors":{"temperature_threshold":1.0,"temperature_unit":"C","humidity_threshold":5.0},"sleep_mode":{"period":12,"unit":"h"},"report_url":"http://192.168.1.108:8080/shelly/event/shellyht-f4711e/report","external_power":0,"temperature_offset":0.0,"humidity_offset":0.0}
2020-05-21 15:56:25.026 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Updating status
2020-05-21 15:56:25.026 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/status
2020-05-21 15:56:25.088 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP Response 200: {"wifi_sta":{"connected":true,"ssid":"Holodeck","ip":"192.168.47.11","rssi":-63},"cloud":{"enabled":true,"connected":true},"mqtt":{"connected":false},"time":"15:56","unixtime":1590076596,"serial":2,"has_update":false,"mac":"98F4ABF4711E","is_valid":true,"tmp":{"value":24.00,"units":"C","tC":24.00,"tF":75.20, "is_valid":true},"hum":{"value":50.0, "is_valid":true},"bat":{"value":100,"voltage":2.97},"act_reasons":["sensor"],"connect_retries":0,"update":{"status":"idle","has_update":false,"new_version":"20200309-104344/v1.6.0@43056d58","old_version":"20200309-104344/v1.6.0@43056d58"},"ram_total":50432,"ram_free":38632,"fs_size":233681,"fs_free":156122,"uptime":7}
2020-05-21 15:56:25.088 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyht-f4711e: Channel device#uptime updated with 7 s (type class org.eclipse.smarthome.core.library.types.QuantityType).
2020-05-21 15:56:25.104 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Updating sensor
2020-05-21 15:56:25.104 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/status
2020-05-21 15:56:30.151 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Ignore API Timeout, retry later
2020-05-21 15:56:30.151 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: 0 more updates requested
2020-05-21 16:47:23.332 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Updating status
2020-05-21 16:47:23.332 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/status
2020-05-21 16:47:28.347 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Ignore API Timeout, retry later

gain, when OH restarts and device sleeps there is no communication
I would expect the thing stay in status UNKNOWN

wait/force a temp update, this awakes the device, sends the CoAP message, received by the binding and then the thing also turns ONLINE

That’s why I’m surprised as I also expected thing being OFFLINE (again, that’s what I already understood :slight_smile: ) but thing is online already and coapDeviceDescr is filled

{“blk”:[{“I”:1, “D”:“sensors”}],“sen”:[{“I”:33, “D”:“temperature”, “T”:“T”, “R”:"-40/125", “L”:1},{“I”:44, “D”:“humidity”, “T”:“H”, “R”:“0/100”, “L”:1},{“I”:77, “D”:“battery”, “T”:“B”, “R”:“0/100”, “L”:1}]}

but not filled to items. Nevertheless, HT has been moved to Fridge to force update.

That works and items are filled now :slight_smile:

Many thanks to @markus7017 and @hmerk for valueable support <<= much appreciated

Finally it seems to work and I already implemented a second HT by configuring *things and disabling Cloud on that already, and works since yesterday evening :slight_smile:

@hmerk you may like to check your Shelly (as you said that your LED is on after blinking few times after activation) because you also said that you are not using Cloud services. But LED is on when Cloud is still enabled in Shelly Device, once diabled LED is flashing 3-4 time slowly and than faster.

Hi guys,

I have the issue that I installed 2 new Shelly devices (2x Shelly 1) and the binding is not able to find them, nothing appears in the Inbox and manual search also shows no results. Nevertheless I can add the Shelly’s by manually add a thing in Paper UI with the device ID.
Firmware of the Shelly’s is 1.6.2

Everything was working for me in OpenHab 2.5.4 but now I am running on 2.5.5, maybe there was some change made in the discovery function?

EDIT: Now after 2 days and a restart of OpenHAB just now the Shelly’s showed up in the Inbox. I restarted OpenHAB like 8 times during the last two days and the Shellys never showed up, is this a desired behaviour?

I opened a bug report as well, just wanted to add it also here.

thanks

Quick question about new Shelly Duo GU10.

New Devices just being available and I imagine if they are going to be implemented to Binding soon? Just consider to buy few of them :wink:

each device usually needs small adoptions, let me know when you have them

OK, already asked for a quote and whether those lamp “only” support change of white temperature (white <> cold-white) or if those are coloured (which I honestly doubt :woozy_face:) <<= I’ll keep you posted

I think they will have a brightness and whiteTemp feature, let‘s see
I need the output from /settings and /status

Yes, you are right, confirmed b support who I’ve spoken with

Can you please advise hos to get this? Just from BInding?

Just placed my order today, shall receive them within few days :wink:

ha ha, I’m waiting for mine since 5 weeks

open the browser and enter
http:<device ip>/settings
http:<device ip&Guten Tag,;/status

Don’t scare me close before weekend :wink:

Nice that device whishes me “Guten Tag” :laughing:

Just received mine today, will install them later today and will try to get required information.

@markus7017 you have got mail :wink:

Update: btw: it’s auto-discovered as shellybulbduo already and various channel are available