Shelly Binding

OK, I’m through => device is “unknow”, waiting for some data :woozy_face:

Update: I put device outside to cool it down 10 Min ago, but still no change in data

ok, just to make sure and lets start with an unrestricted setup

  • Device has latest firmware (1.6.0), Web UI opens, for the beginning enable cloud
  • Device is on the same IP Subnet (otherwise CoAP will not work), no firewall restrictions
  • Thresholds are set to 1 (just for testing), WiFi shows > 1 bar

OH setup

  • TRACE log is enabled (lOH console: “log:set TRACE org.openhab.binidng.shelly”)
  • Device is included in OH, all channels are there, thing is ONLINE
  • Auto-CoIoT is disabled in binding config
  • Sensor events and CoIoT events are enabled in the thing configuration
  • devices comes ONLINE after a OH restart and the button is pressed
  • stays ONLINE after that

Please provide a TRACE log after the device went to sleep mode and you put the HT into the fridge to force a temp update. Once the temp drops the device wakes up sends a sensor event (http) and a CoAP message (IP Multicast), which should be shown both in the log. Send me the log extract.

Important: The device needs to be awake when you change the thing config. This requires a http call, which gets lost when the device is not awake. The binding has no way to wakeup the device. Make sure the device shows the OH url unter Actions:Report Sensor Values

Hi Markus,

thanks for also jumping in to help on this, I just on it while device haven’t wake up since yesterday :-/
Just rebooting OH while sensor is off to see if it’s getting online once button is pushed, all changes where made while device is awake (LED is on)

  • Current firmware version: v1.6.0/20200309-104344
  • All devices are on same subnet, no FW in between not restrctions
  • Thresholds are set to 1 (temp) and 5 (humidity) as these are lowest ones
  • WiFi => 3 bars
  • log set to trace
  • Item Config
    Thing shelly:shellyht:f0815c "Klima" @ "Schlafzimmer" [ deviceIp="192.168.47.11", userId="", password="", eventsSensorReport="true", coap="true", lowBattery=15 , eventsCoIoT="true" ]

Can you please advise, where to find this trace as it’s first time required to take one. Imagine it’s in one of both logs?

with above configuration device is not getting online after restart and button is pushed. In addition there is no URL configured?
ht-reportvalues
haven’t had this configured before, while it already was working unitl battery drained off

Please remove the .things file for now and discover the thing in PaperUI. This can be changed later, but let’s start with the “lowest risk that something blocks” version for now.

If you

  • disable Auto-CoIoT in the binding settings and
  • enable Sensor Events ü CoIot events in the thing configuration

you should see the URLs in the sensors WebUI. The screenshot indicates that those are not set. Please make sure that the sensor is online when you change the thing configuration.

That’s the baseline. Once we got it running we could narrow the configuration step-by-step to your preferred setup, but let’s start simple.

I just speak about the regular openhab.log, which receives way more details when the binding runs in TRACE mode. This might give additional insights what’s going on.

@hmerk Could you try & confirm that the 2.5.5 build works as expected within your setup?

OK, done and added by PaperUI after it has been recognized once I enabled this

Not all options are available, even under more properties :-/

And still no URL in WebUI => yes, Device was up, connected and accessible via WebUi that time :-/

I am going to upgrade to 2.5.5 on Thursday.

I’ve just tried another device of these but exactly same behavior :-/
Either I’m to stupid or there is any incompatibility with other bindings? But why should it only effect HT while Plug-s are working fine.

Go to PaperUi:Configuration:Bindings:Shelly edit and disable Auto CoIoT

and post the log here (20 lines and. after the time change)

OK, first of all I had to realize copy&paste is not always a good idea :wink: Now I got trace activated

just to ensure: would you like me to take log while device status is unknown (after reboot) or online (after I wake up device and restartet binding or statet OH with activated HT)

first log with unknown status

2020-05-19 20:19:42.176 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Shutting down
2020-05-19 20:19:42.176 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Shelly statusJob stopped
2020-05-19 20:19:42.176 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: Stopping CoAP Listener
2020-05-19 20:19:42.176 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: CoAP Request was canceled
2020-05-19 20:19:42.192 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Thing config updated, re-initialize
2020-05-19 20:19:42.192 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Update status job started, interval=1200*3=3600sec.
2020-05-19 20:19:44.348 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Status update triggered thing initialization
2020-05-19 20:19:44.348 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Start initializing thing Shelly HT - Bedroom, type shellyht, ip address 192.168.47.11, CoIoT: false
2020-05-19 20:19:44.348 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/shelly
2020-05-19 20:19:44.364 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Device config: IP address=192.168.47.11, HTTP user/password=<non>/<none>, update interval=3600
2020-05-19 20:19:44.364 [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
2020-05-19 20:19:44.364 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Start initializing thing Shelly HT - Bedroom, type shellyht, ip address 192.168.47.11, CoIoT: false
2020-05-19 20:19:44.364 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/shelly
2020-05-19 20:19:49.411 [DEBUG] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: API Timeout, retry #10 (Device unreachable or API Timeout (GET http://192.168.47.11/shelly))
2020-05-19 20:19:49.458 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/shelly
2020-05-19 20:19:49.411 [DEBUG] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: API Timeout, retry #11 (Device unreachable or API Timeout (GET http://192.168.47.11/shelly))
2020-05-19 20:19:49.473 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/shelly
2020-05-19 20:19:54.504 [DEBUG] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: API Timeout, retry #12 (Device unreachable or API Timeout (GET http://192.168.47.11/shelly))
2020-05-19 20:19:54.504 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/shelly
2020-05-19 20:19:54.504 [DEBUG] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: API Timeout, retry #13 (Device unreachable or API Timeout (GET http://192.168.47.11/shelly))
2020-05-19 20:19:54.504 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/shelly
2020-05-19 20:19:59.410 [DEBUG] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: API Timeout, retry #14 (Device unreachable or API Timeout (GET http://192.168.47.11/shelly))
2020-05-19 20:19:59.410 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Ignore API Timeout, retry later
2020-05-19 20:19:59.410 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: 0 more updates requested
2020-05-19 20:19:59.410 [DEBUG] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: API Timeout, retry #15 (Device unreachable or API Timeout (GET http://192.168.47.11/shelly))
2020-05-19 20:19:59.410 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Unable to initialize: Device unreachable or API Timeout (), retrying later

Regards
Joerg

again, UNKNOWN is the regular status when the binding initializes and the device is not available, because in sleep mode, so status is UNKNOWN. Once an event comes in (button pressed or a sensor changed) the devices wakes up, sends the event and the thing goes ONLINE.

Did you turned off Auto-CoIoT in the binding config?
What’s about the URLs in the WebUI? Are those set?

Understood, just asked if this status matters for the log you’ve asked to provide.

Yes
ht-colooff

Still not automatically :-/

ok, then provide a log of the initialization

  • restart OH
  • press the button
  • wait until the thing becomes ONLINE
  • copy log

2020-05-19 21:11:29.382 [TRACE] [discovery.ShellyDiscoveryParticipant] - shellyht-f4711e: Shelly device discovered with empty IP address (service-name=[ServiceInfoImpl@13264665 name: ‘shellyht-F4711E._http._tcp.local.’ address: ‘(null):80’ status: ‘NO DNS state: probing 1 task: null’, has NO data, empty])
2020-05-19 21:11:56.759 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Device config: IP address=192.168.47.11, HTTP user/password=/, update interval=3600
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
2020-05-19 21:11:56.973 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Start initializing thing Shelly HT - Bedroom, type shellyht, ip address 192.168.47.11, CoIoT: false
2020-05-19 21:11:56.978 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/shelly
2020-05-19 21:11:57.213 [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-19 21:11:57.216 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/settings
2020-05-19 21:11:57.667 [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”:“21:11”,“unixtime”:1589922689,“sensors”:{“temperature_threshold”:1.0,“temperature_unit”:“C”,“humidity_threshold”:5.0},“sleep_mode”:{“period”:12,“unit”:“h”},“report_url”:“”,“external_power”:0,“temperature_offset”:0.0,“humidity_offset”:0.0}
2020-05-19 21:11:57.724 [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-19 21:11:57.858 [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”:“21:11”,“unixtime”:1589922689,“sensors”:{“temperature_threshold”:1.0,“temperature_unit”:“C”,“humidity_threshold”:5.0},“sleep_mode”:{“period”:12,“unit”:“h”},“report_url”:“”,“external_power”:0,“temperature_offset”:0.0,“humidity_offset”:0.0}
2020-05-19 21:11:58.046 [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-19 21:11:58.052 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/status
2020-05-19 21:11:58.215 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP Response 200: {“wifi_sta”:{“connected”:true,“ssid”:“Holodeck”,“ip”:“192.168.47.11”,“rssi”:-59},“cloud”:{“enabled”:true,“connected”:true},“mqtt”:{“connected”:false},“time”:“21:11”,“unixtime”:1589922689,“serial”:3,“has_update”:false,“mac”:“98F4ABF4711E”,“is_valid”:true,“tmp”:{“value”:24.38,“units”:“C”,“tC”:24.38,“tF”:75.88, “is_valid”:true},“hum”:{“value”:44.0, “is_valid”:true},“bat”:{“value”:96,“voltage”:2.92},“act_reasons”:[“button”],“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”:40252,“fs_size”:233681,“fs_free”:156122,“uptime”:156}
2020-05-19 21:11:58.362 [INFO ] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: INFO: Die Firmware unterstützt die Anforderung, Auto-CoIoT wurde aktiviert.
2020-05-19 21:11:58.365 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Auto-CoIoT is enabled, disabling action urls
2020-05-19 21:11:58.366 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Starting CoIoT (autoCoIoT=true/true)
2020-05-19 21:11:58.975 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: Starting CoAP Listener
2020-05-19 21:11:59.275 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: CoAP Request was canceled
2020-05-19 21:12:00.913 [DEBUG] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: Set Sensor Reporting URL
2020-05-19 21:12:00.916 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyht-f4711e: Channel device#uptime updated with 156 s (type class org.eclipse.smarthome.core.library.types.QuantityType).
2020-05-19 21:12:00.919 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyht-f4711e: Channel device#wifiSignal updated with 4 (type class org.eclipse.smarthome.core.library.types.DecimalType).
2020-05-19 21:12:00.926 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyht-f4711e: Channel device#alarm updated with NONE (type class org.eclipse.smarthome.core.library.types.StringType).
2020-05-19 21:12:00.932 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Thing successfully initialized.
2020-05-19 21:12:00.934 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Update status job started, interval=1200*3=3600sec.
2020-05-19 21:12:01.194 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: CoIoT Message from /192.168.47.11:5683 (MID=10093): {“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-19 21:12:01.195 [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-19 21:12:01.198 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: id=1: sensors
2020-05-19 21:12:01.200 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: Adding 3 sensor definitions
2020-05-19 21:12:01.201 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: id 33: temperature, Type=T, Range=-40/125, Links=1
2020-05-19 21:12:01.203 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: id 44: humidity, Type=H, Range=0/100, Links=1
2020-05-19 21:12:01.205 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: id 77: battery, Type=B, Range=0/100, Links=1
2020-05-19 21:12:01.209 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Properties updated
2020-05-19 21:12:01.267 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: CoIoT Message from /192.168.47.11:5683 (MID=10095): {“G”:[[0,33,24.4],[0,44,44.0],[0,77,96]]}
2020-05-19 21:12:01.268 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: CoIoT Sensor data {“G”:[[0,33,24.4],[0,44,44.0],[0,77,96]]}
2020-05-19 21:12:01.275 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: 3 CoAP sensor updates received
2020-05-19 21:12:01.277 [TRACE] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: Sensor value[0]: id=33, Value=24.4 (temperature, Type=T, Range=-40/125, Link=1: sensors)
2020-05-19 21:12:01.280 [TRACE] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: Sensor value[1]: id=44, Value=44.0 (humidity, Type=H, Range=0/100, Link=1: sensors)
2020-05-19 21:12:01.281 [TRACE] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: Sensor value[2]: id=77, Value=96.0 (Battery, Type=B, Range=0/100, Link=1: sensors)
2020-05-19 21:12:01.287 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyht-f4711e: Channel battery#batteryLevel updated with 96.0 % (type class org.eclipse.smarthome.core.library.types.QuantityType).
2020-05-19 21:12:01.299 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyht-f4711e: Channel sensors#humidity updated with 44.0 % (type class org.eclipse.smarthome.core.library.types.QuantityType).
2020-05-19 21:12:01.303 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyht-f4711e: Channel sensors#lastUpdate updated with 2020-05-19T21:12:01.000+0200 (type class org.eclipse.smarthome.core.library.types.DateTimeType).
2020-05-19 21:12:01.309 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyht-f4711e: Channel sensors#temperature updated with 24.4 °C (type class org.eclipse.smarthome.core.library.types.QuantityType).
2020-05-19 21:12:01.312 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: 4 channels updated from CoIoT status
2020-05-19 21:12:02.936 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/settings
2020-05-19 21:12:07.984 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Ignore API Timeout, retry later
2020-05-19 21:12:08.001 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: 0 more updates requested
2020-05-19 21:12:08.011 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: CoIoT Message from /192.168.47.11:5683 (MID=10094): {“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-19 21:12:09.035 [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-19 21:12:09.184 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: id=1: sensors
2020-05-19 21:12:09.189 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: Adding 3 sensor definitions
2020-05-19 21:12:09.195 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: id 33: temperature, Type=T, Range=-40/125, Links=1
2020-05-19 21:12:09.200 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: id 44: humidity, Type=H, Range=0/100, Links=1
2020-05-19 21:12:09.205 [DEBUG] [elly.internal.coap.ShellyCoapHandler] - shellyht-f4711e: id 77: battery, Type=B, Range=0/100, Links=1
2020-05-19 21:12:09.210 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Properties updated

Looks like I haven’t disabled AutoColoT :frowning:

CoIoT: false, Enable AutoCoIoT: true

But I cant’s find any option in Binding rather than ColoT which I interpreted as AutoColoT :-/

it’s the Binding config option, are you sure you turned if off and saved the new config?

1 Like

Shame on me => binding and thing config :see_no_evil:

Auto.ColoT is now disabled , Thing Updated while HT was online and finally URL has been added.

Will now have it run over night to see if there will be any updates.

THANKS so far and your patience with me :woozy_face:

Two pictures than many words


Could just Auto ColoT cause this???

let‘s see what the log shows
finally CoIoT should bring what you are looking for, but let‘s do one step after the other
when the device wakes up you should now see both events

Log fron this Morning
> 2020-05-20 07:19:39.602 [DEBUG] [elly.internal.api.ShellyEventServlet] - CallbackServlet: HTTP/1.1 Request from 192.168.47.11:46774/shelly/event/shellyht-f4711e/report?{hum=[51],temp=[21.38]}

>     2020-05-20 07:19:39.602 [TRACE] [elly.internal.api.ShellyEventServlet] - shellyht-f4711e: Process event of type type=report, index=
>     2020-05-20 07:19:39.602 [TRACE] [shelly.internal.ShellyHandlerFactory] - shellyht-f4711e: Dispatch event to thing handler
>     2020-05-20 07:19:39.618 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Event received: class=report, index=, parameters={hum=51, temp=21.38}
>     2020-05-20 07:19:39.696 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/settings
>     2020-05-20 07:19:40.040 [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-20 07:19:40.071 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Updating status
>     2020-05-20 07:19:40.071 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/status
>     2020-05-20 07:19:40.133 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP Response 200: {"wifi_sta":{"connected":true,"ssid":"Holodeck","ip":"192.168.47.11","rssi":-47},"cloud":{"enabled":true,"connected":true},"mqtt":{"connected":false},"time":"","unixtime":0,"serial":1,"has_update":false,"mac":"98F4ABF4711E","is_valid":true,"tmp":{"value":21.38,"units":"C","tC":21.38,"tF":70.47, "is_valid":true},"hum":{"value":51.5, "is_valid":true},"bat":{"value":100,"voltage":2.95},"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":38704,"fs_size":233681,"fs_free":156122,"uptime":3}
>     2020-05-20 07:19:40.133 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyht-f4711e: Channel device#uptime updated with 3 s (type class org.eclipse.smarthome.core.library.types.QuantityType).
>     2020-05-20 07:19:40.133 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyht-f4711e: Channel device#wifiSignal updated with 4 (type class org.eclipse.smarthome.core.library.types.DecimalType).
>     2020-05-20 07:19:40.149 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Updating sensor
>     2020-05-20 07:19:40.149 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/status
>     2020-05-20 07:19:40.196 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP Response 200: {"wifi_sta":{"connected":true,"ssid":"Holodeck","ip":"192.168.47.11","rssi":-48},"cloud":{"enabled":true,"connected":true},"mqtt":{"connected":false},"time":"","unixtime":0,"serial":1,"has_update":false,"mac":"98F4ABF4711E","is_valid":true,"tmp":{"value":21.38,"units":"C","tC":21.38,"tF":70.47, "is_valid":true},"hum":{"value":51.5, "is_valid":true},"bat":{"value":100,"voltage":2.95},"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":40300,"fs_size":233681,"fs_free":156122,"uptime":3}
>     2020-05-20 07:19:40.196 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Updating temperature
>     2020-05-20 07:19:40.211 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyht-f4711e: Channel sensors#temperature updated with 21.4 °C (type class org.eclipse.smarthome.core.library.types.QuantityType).
>     2020-05-20 07:19:40.211 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Updating humidity
>     2020-05-20 07:19:40.227 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyht-f4711e: Channel sensors#humidity updated with 51.5 % (type class org.eclipse.smarthome.core.library.types.QuantityType).
>     2020-05-20 07:19:40.227 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Updating battery
>     2020-05-20 07:19:40.227 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyht-f4711e: Channel battery#batteryLevel updated with 100.0 % (type class org.eclipse.smarthome.core.library.types.QuantityType).
>     2020-05-20 07:19:40.243 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyht-f4711e: Channel battery#voltage updated with 3.0 V (type class org.eclipse.smarthome.core.library.types.QuantityType).
>     2020-05-20 07:19:40.243 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyht-f4711e: Channel sensors#lastUpdate updated with 2020-05-20T07:19:40.000+0200 (type class org.eclipse.smarthome.core.library.types.DateTimeType).
>     2020-05-20 07:19:40.258 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: 0 more updates requested
>     2020-05-20 08:11:16.617 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Updating status
>     2020-05-20 08:11:16.617 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/status
>     2020-05-20 08:11:21.663 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Ignore API Timeout, retry later
>     2020-05-20 09:11:46.021 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Updating status
>     2020-05-20 09:11:46.024 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/status
>     2020-05-20 09:11:51.069 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Ignore API Timeout, retry later
>     2020-05-20 09:37:48.401 [DEBUG] [elly.internal.api.ShellyEventServlet] - CallbackServlet: HTTP/1.1 Request from 192.168.47.11:62930/shelly/event/shellyht-f4711e/report?{hum=[48],temp=[22.38]}
>     2020-05-20 09:37:48.401 [TRACE] [elly.internal.api.ShellyEventServlet] - shellyht-f4711e: Process event of type type=report, index=
>     2020-05-20 09:37:48.416 [TRACE] [shelly.internal.ShellyHandlerFactory] - shellyht-f4711e: Dispatch event to thing handler
>     2020-05-20 09:37:48.416 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Event received: class=report, index=, parameters={hum=48, temp=22.38}
>     2020-05-20 09:37:50.057 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/settings
>     2020-05-20 09:37:50.370 [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":"09:37","unixtime":1589967448,"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-20 09:37:50.385 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Updating status
>     2020-05-20 09:37:50.385 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/status
>     2020-05-20 09:37:50.448 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP Response 200: {"wifi_sta":{"connected":true,"ssid":"Holodeck","ip":"192.168.47.11","rssi":-50},"cloud":{"enabled":true,"connected":true},"mqtt":{"connected":false},"time":"09:37","unixtime":1589967449,"serial":2,"has_update":false,"mac":"98F4ABF4711E","is_valid":true,"tmp":{"value":22.38,"units":"C","tC":22.38,"tF":72.28, "is_valid":true},"hum":{"value":48.5, "is_valid":true},"bat":{"value":100,"voltage":2.96},"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":40168,"fs_size":233681,"fs_free":156122,"uptime":7}
>     2020-05-20 09:37:50.448 [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-20 09:37:50.463 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Updating sensor
>     2020-05-20 09:37:50.463 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/status
>     2020-05-20 09:37:50.510 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP Response 200: {"wifi_sta":{"connected":true,"ssid":"Holodeck","ip":"192.168.47.11","rssi":-50},"cloud":{"enabled":true,"connected":true},"mqtt":{"connected":false},"time":"09:37","unixtime":1589967449,"serial":2,"has_update":false,"mac":"98F4ABF4711E","is_valid":true,"tmp":{"value":22.38,"units":"C","tC":22.38,"tF":72.28, "is_valid":true},"hum":{"value":48.5, "is_valid":true},"bat":{"value":100,"voltage":2.96},"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":40168,"fs_size":233681,"fs_free":156122,"uptime":7}
>     2020-05-20 09:37:50.510 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Updating temperature
>     2020-05-20 09:37:50.526 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyht-f4711e: Channel sensors#temperature updated with 22.4 °C (type class org.eclipse.smarthome.core.library.types.QuantityType).
>     2020-05-20 09:37:50.526 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Updating humidity
>     2020-05-20 09:37:50.541 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyht-f4711e: Channel sensors#humidity updated with 48.5 % (type class org.eclipse.smarthome.core.library.types.QuantityType).
>     2020-05-20 09:37:50.541 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Updating battery
>     2020-05-20 09:37:50.541 [DEBUG] [lly.internal.util.ShellyChannelCache] - shellyht-f4711e: Channel sensors#lastUpdate updated with 2020-05-20T09:37:50.000+0200 (type class org.eclipse.smarthome.core.library.types.DateTimeType).
>     2020-05-20 09:37:50.557 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: 0 more updates requested
>     2020-05-20 10:12:14.752 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Updating status
>     2020-05-20 10:12:14.752 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/status
>     2020-05-20 10:12:19.785 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Ignore API Timeout, retry later
>     2020-05-20 11:12:42.684 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Updating status
>     2020-05-20 11:12:42.684 [TRACE] [ng.shelly.internal.api.ShellyHttpApi] - shellyht-f4711e: HTTP GET for http://192.168.47.11/status
>     2020-05-20 11:12:47.684 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyht-f4711e: Ignore API Timeout, retry later

To me looks much better? Happy to get some advise what I’m able to revert (like adding Thing to files??)

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