Shelly UNI with DHT22 Temp Sensor could not initialise.
Issue occur after upgra…de from OH 3.3 to 3.4
## Expected Behavior
Thing become online State
## Current Behavior
Thing stale at OFFLINE (communication Error --> Unerwarteter Fehler - API Timeout for
existing thing from OH 3.3
starting Shelly UNI without Temp Sensor it could initialise and switch state to online
after Thing is online restart Shelly UNI with Temp Sensor it could read values from sensor and stay online.
delete Thing and create a new one or new install binding has no effect.
## Steps to Reproduce (for Bugs)
1.) Connect DHT 22 Temp Sensor on Shelly UNI
2.) switch thing to Offline
3.) start thing
## Context
Thing not getting online
## Trace Log
2022-12-29 13:59:40.587 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyuni-e8db84dxxxxx: Stopping Thing
2022-12-29 13:59:40.588 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyuni-e8db84dxxxxx: Shutting down
2022-12-29 13:59:47.023 [TRACE] [y.internal.handler.ShellyBaseHandler] - shellyuni-e8db84dxxxxx: updateInterval = 60s -> skipCount = 20
2022-12-29 13:59:47.025 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyuni-e8db84dxxxxx: Device config: IP address=xxx.xxx.xxx.xxx, HTTP user/password=admin/***, update interval=60
2022-12-29 13:59:47.026 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyuni-e8db84dxxxxx: Configured Events: Button: false, Switch (on/off): false, Push: false, Roller: true, Sensor: true, CoIoT: true, Enable AutoCoIoT: true
2022-12-29 13:59:47.029 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyuni-e8db84dxxxxx: Start initializing for thing Temperatur Terrarium, type shellyuni, IP address xxx.xxx.xxx.xxx, Gen2: false, CoIoT: true
2022-12-29 13:59:47.032 [TRACE] [.shelly.internal.api1.Shelly1HttpApi] - Temperatur Terrarium: HTTP GET for http://xxx.xxx.xxx.xxx/shelly
2022-12-29 13:59:47.086 [TRACE] [.shelly.internal.api1.Shelly1HttpApi] - Temperatur Terrarium: HTTP Response 200: {"type":"SHUNI-1","mac":"e8db84dxxxxx","auth":true,"fw":"20221027-121732/v1.12.1-ga9117d3","discoverable":true,"longid":1,"num_outputs":2}
2022-12-29 13:59:47.087 [TRACE] [shelly.internal.api.ShellyHttpClient] - shellyuni-e8db84dxxxxx: HTTP GET for http://xxx.xxx.xxx.xxx/settings
2022-12-29 13:59:47.155 [TRACE] [shelly.internal.api.ShellyHttpClient] - shellyuni-e8db84dxxxxx: HTTP Response 200: {"device":{"type":"SHUNI-1","mac":"e8db84dxxxxx","hostname":"shellyuni-e8db84dxxxxx","num_outputs":2},"wifi_ap":{"enabled":false,"ssid":"shellyuni-e8db84dxxxxx","key":""},"wifi_sta":{"enabled":true,"ssid":"xxx-iot","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},"ap_roaming":{"enabled":false,"threshold":-70},"mqtt": {"enable":false,"server":"192.168.33.3:1883","user":"","id":"shellyuni-e8db84dxxxxx","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": {"enabled":true,"update_period":15,"peer":""},"sntp":{"server":"time.google.com","enabled":true},"login":{"enabled":true,"unprotected":false,"username":"admin"},"pin_code":"xxxx","name":"2) Temperatur Terrarium","fw":"20221027-121732/v1.12.1-ga9117d3","factory_reset_from_switch":true,"discoverable":true,"build_info":{"build_id":"20221027-121732/v1.12.1-ga9117d3","build_timestamp":"2022-10-27T12:17:32Z","build_version":"1.0"},"cloud":{"enabled":false,"connected":false},"timezone":"Europe/Vienna","lat":48.181141,"lng":16.390869,"tzautodetect":true,"tz_utc_offset":3600,"tz_dst":false,"tz_dst_auto":true,"time":"13:59","unixtime":1672318787,"debug_enable":false,"allow_cross_origin":false,"actions":{"active":false,"names":["out_on_url","out_off_url","btn_on_url","btn_off_url","longpush_url","shortpush_url","out_on_url","out_off_url","btn_on_url","btn_off_url","longpush_url","shortpush_url","adc_over_url","adc_under_url","report_url","report_url","report_url","ext_temp_over_url","ext_temp_under_url","ext_temp_over_url","ext_temp_under_url","ext_temp_over_url","ext_temp_under_url","ext_temp_over_url","ext_temp_under_url","ext_temp_over_url","ext_temp_under_url","ext_hum_over_url","ext_hum_under_url"]},"hwinfo":{"hw_revision":"prod-202101", "batch_id":0},"mode":"relay","longpush_time":800,"relays":[{"name":null,"appliance_type":"General","ison":false,"has_timer":false,"default_state":"off","btn_type":"momentary","btn_reverse":0,"auto_on":0.00,"auto_off":0.00,"schedule":false,"schedule_rules":[]},{"name":null,"appliance_type":"General","ison":false,"has_timer":false,"default_state":"off","btn_type":"toggle","btn_reverse":0,"auto_on":0.00,"auto_off":0.00,"schedule":false,"schedule_rules":[]}],"adcs":[{"range":12,"offset":0.00,"relay_actions":[{"over_threshold":0,"over_act":"disabled","under_threshold":0,"under_act":"disabled"},{"over_threshold":0,"over_act":"disabled","under_threshold":0,"under_act":"disabled"}]}],"ext_sensors":{"temperature_unit":"C"},"ext_temperature":{"0":[{"overtemp_threshold_tC":0.0,"overtemp_threshold_tF":32.0,"undertemp_threshold_tC":0.0,"undertemp_threshold_tF":32.0,"overtemp_act":"disabled","undertemp_act":"disabled","offset_tC":0.0,"offset_tF":0.0},{"overtemp_threshold_tC":0.0,"overtemp_threshold_tF":32.0,"undertemp_threshold_tC":0.0,"undertemp_threshold_tF":32.0,"overtemp_act":"disabled","undertemp_act":"disabled","offset_tC":0.0,"offset_tF":0.0}]},"ext_humidity":{"0":[{"overhum_threshold":0.0,"underhum_threshold":0.0,"overhum_act":"disabled","underhum_act":"disabled","offset":0.0},{"overhum_threshold":0.0,"underhum_threshold":0.0,"overhum_act":"disabled","underhum_act":"disabled","offset":0.0}]},"eco_mode_enabled":true}
2022-12-29 13:59:47.173 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyuni-e8db84d655c9: Unable to initialize: API Timeout for , retrying later
## Your Environment
* Openhab 3.4
* Raspbian GNU/Linux 11 (bullseye)