Describe the bug
One of 2 identical heaters has a min set temp of 50. Suddenly many weeks after install
Screenshots
Login request (please complete the following information, which can be found in log):
TuyaOpenAPI request: method = post, endpoint = https://openapi.tuyaeu.com, path = /v1.0/iot-01/associated-users/actions/authorized-login, params = null, body = {"country_code":44,"username":"joeblogs@joe.com","password":" password","schema":"smartlife"}, headers = {"t":"1697968525093","client_id":"fxj78dvafgphejnnuhxd","nonce":"1f120de0-70c1-11ee-a9f1-0b36d8b8951e","Signature-Headers":"client_id","sign":"DACFEA3B263089E365BB8AB864437E9C9A3274CA18423E70E15F63ADC12B8E96","sign_method":"HMAC-SHA256","access_token":"","lang":"en","dev_lang":"javascript","dev_channel":"homebridge","devVersion":"1.5.0"}
[10/22/2023, 10:55:25 AM] Homebridge v1.6.1 (HAP v0.11.1) (TuyaPlatform) is running on port 31693.
Failed to create listener for avahi-daemon server state. The system will not be notified about restarts of avahi-daemon and will therefore stay undiscoverable in those instances. Error message: Error: No such interface found
TuyaOpenAPI response: {"result":{"access_token":"0a63d78abd9b965360fd39035611d035","expire_time":7200,"platform_url":"https://openapi.tuyaeu.com","refresh_token":"6167bdc377c4a2463653fb71ed48882a","uid":"eu1681317288790OuF7Q"},"success":true,"t":1697968535515,"tid":"256f5a2e70c111eeab9046acc027565a"} path = /v1.0/iot-01/associated-users/actions/authorized-login
TuyaOpenAPI request: method = get, endpoint = https://openapi.tuyaeu.com, path = /v1.0/iot-01/associated-users/devices, params = {"size":100}, body = null, headers = {"t":"1697968525499","client_id":"fxj78dvafgphejnnuhxd","nonce":"1f120de0-70c1-11ee-a9f1-0b36d8b8951e","Signature-Headers":"client_id","sign":"73B737A08E683D835100688A56FBD2924C14307489A552B5C8F917B3AC298501","sign_method":"HMAC-SHA256","access_token":"0a63d78abd9b965360fd39035611d035","lang":"en","dev_lang":"javascript","dev_channel":"homebridge","devVersion":"1.5.0"}
TuyaOpenAPI response: {"result":{"devices":[{"active_time":1686687676,"biz_type":18,"category":"qn","create_time":1686687676,"icon":"smart/product_icon/qn.png","id":"bf13952bb5571a8493jkrk","ip":"51.148.178.12","lat":"53.7800","local_key":"tPWz:`-J~cFV9>nf","lon":"-1.5900","model":"","name":"Heaters Offside","online":true,"owner_id":"153507602","product_id":"ma3oamwzywooctul","product_name":"复制-Thermostat(电量统计)","status":[{"code":"switch","value":true},{"code":"temp_set","value":205},{"code":"temp_current","value":148},{"code":"lock","value":false}],"sub":false,"time_zone":"+01:00","uid":"eu1681317288790OuF7Q","update_time":1697965587,"uuid":"ea590ef85a278ff7"},{"active_time":1686687508,"biz_type":18,"category":"qn","create_time":1686687508,"icon":"smart/product_icon/qn.png","id":"bfb49a7f69bceeef11ak4m","ip":"51.148.178.12","lat":"53.7800","local_key":"yO8l'FhLVteB'~H)","lon":"-1.5900","model":"","name":"Heaters Nearside","online":true,"owner_id":"153507602","product_id":"ma3oamwzywooctul","product_name":"复制-Thermostat(电量统计)","status":[{"code":"switch","value":true},{"code":"temp_set","value":205},{"code":"temp_current","value":140},{"code":"lock","value":false}],"sub":false,"time_zone":"+01:00","uid":"eu1681317288790OuF7Q","update_time":1686688012,"uuid":"2d1cdf7ce439ac94"}],"hsa_more":false,"last_row_key":"7E8369B2D42B6F06096F100A4D466188","total":2},"success":true,"t":1697968535705,"tid":"259308ce70c111eebdf0a64fb2ede3b1"} path = /v1.0/iot-01/associated-users/devices
TuyaOpenAPI request: method = get, endpoint = https://openapi.tuyaeu.com, path = /v1.0/devices/functions, params = {"device_ids":"bf13952bb5571a8493jkrk,bfb49a7f69bceeef11ak4m"}, body = null, headers = {"t":"1697968525682","client_id":"fxj78dvafgphejnnuhxd","nonce":"1f120de0-70c1-11ee-a9f1-0b36d8b8951e","Signature-Headers":"client_id","sign":"F11D0830D9282909BF33C30CF76B4DC982B1F7890313C482EE7E43B831C154EC","sign_method":"HMAC-SHA256","access_token":"0a63d78abd9b965360fd39035611d035","lang":"en","dev_lang":"javascript","dev_channel":"homebridge","devVersion":"1.5.0"}
TuyaOpenAPI response: {"result":[{"category":"qn","devices":["bf13952bb5571a8493jkrk","bfb49a7f69bceeef11ak4m"],"functions":[{"code":"switch","desc":"switch","name":"switch","type":"Boolean","values":"{}"},{"code":"temp_set","desc":"temp set","name":"temp set","type":"Integer","values":"{\"unit\":\"℃\",\"min\":50,\"max\":1040,\"scale\":1,\"step\":5}"},{"code":"lock","desc":"lock","name":"lock","type":"Boolean","values":"{}"}],"product_id":"ma3oamwzywooctul"}],"success":true,"t":1697968535874,"tid":"25af2c3270c111ee95f6dacf9e05d92d"} path = /v1.0/devices/functions
Adding: Heaters Offside (qn / bf13952bb5571a8493jkrk)
Existing Accessory found Heaters Offside bf13952bb5571a8493jkrk aa7dc291-9c7f-431f-8e73-4c9cc3ddf8ed
Adding: Heaters Nearside (qn / bfb49a7f69bceeef11ak4m)
Existing Accessory found Heaters Nearside bfb49a7f69bceeef11ak4m 4b68320e-28d1-4bcb-a779-f298e81364ac
TuyaOpenAPI request: method = post, endpoint = https://openapi.tuyaeu.com, path = /v1.0/iot-03/open-hub/access-config, params = null, body = {"uid":"eu1681317288790OuF7Q","link_id":"1f256ed0-70c1-11ee-a9f1-0b36d8b8951e","link_type":"mqtt","topics":"device","msg_encrypted_version":"1.0"}, headers = {"t":"1697968525859","client_id":"fxj78dvafgphejnnuhxd","nonce":"1f120de0-70c1-11ee-a9f1-0b36d8b8951e","Signature-Headers":"client_id","sign":"19B1D7A638F1DDD1252D99C109A022C1506B90F1899CB70BF477D03E314A6B9E","sign_method":"HMAC-SHA256","access_token":"0a63d78abd9b965360fd39035611d035","lang":"en","dev_lang":"javascript","dev_channel":"homebridge","devVersion":"1.5.0"}
TuyaOpenAPI response: {"result":{"client_id":"cloud_290b7c4afd48152cc369ece8259634ee","expire_time":7200,"password":"425bad2dc32c880cd50d3986ae03e19c","sink_topic":{"device":"cloud/token/out/{device_id}"},"source_topic":{"device":"cloud/token/in/9935a725ba2f9a90e037bac4f5a4b409"},"url":"ssl://m1.tuyaeu.com:8883","username":"cloud_9935a725ba2f9a90e037bac4f5a4b409"},"success":true,"t":1697968536023,"tid":"25c9753a70c111eeab9046acc027565a"} path = /v1.0/iot-03/open-hub/access-config
TuyaOpenMQ connecting: ssl://m1.tuyaeu.com:8883
TuyaOpenMQ connected
like this:
[10/22/2023, 10:55:26 AM] [homebridge-tuya-platform] This plugin generated a warning from the characteristic 'Heating Threshold Temperature': characteristic was supplied illegal value: number 21 exceeded minimum of 50. See https://homebridge.io/w/JtMGR for more info.
Describe the bug One of 2 identical heaters has a min set temp of 50. Suddenly many weeks after install
Screenshots
Login request (please complete the following information, which can be found in log): TuyaOpenAPI request: method = post, endpoint = https://openapi.tuyaeu.com, path = /v1.0/iot-01/associated-users/actions/authorized-login, params = null, body = {"country_code":44,"username":"joeblogs@joe.com","password":" password","schema":"smartlife"}, headers = {"t":"1697968525093","client_id":"fxj78dvafgphejnnuhxd","nonce":"1f120de0-70c1-11ee-a9f1-0b36d8b8951e","Signature-Headers":"client_id","sign":"DACFEA3B263089E365BB8AB864437E9C9A3274CA18423E70E15F63ADC12B8E96","sign_method":"HMAC-SHA256","access_token":"","lang":"en","dev_lang":"javascript","dev_channel":"homebridge","devVersion":"1.5.0"} [10/22/2023, 10:55:25 AM] Homebridge v1.6.1 (HAP v0.11.1) (TuyaPlatform) is running on port 31693. Failed to create listener for avahi-daemon server state. The system will not be notified about restarts of avahi-daemon and will therefore stay undiscoverable in those instances. Error message: Error: No such interface found TuyaOpenAPI response: {"result":{"access_token":"0a63d78abd9b965360fd39035611d035","expire_time":7200,"platform_url":"https://openapi.tuyaeu.com","refresh_token":"6167bdc377c4a2463653fb71ed48882a","uid":"eu1681317288790OuF7Q"},"success":true,"t":1697968535515,"tid":"256f5a2e70c111eeab9046acc027565a"} path = /v1.0/iot-01/associated-users/actions/authorized-login TuyaOpenAPI request: method = get, endpoint = https://openapi.tuyaeu.com, path = /v1.0/iot-01/associated-users/devices, params = {"size":100}, body = null, headers = {"t":"1697968525499","client_id":"fxj78dvafgphejnnuhxd","nonce":"1f120de0-70c1-11ee-a9f1-0b36d8b8951e","Signature-Headers":"client_id","sign":"73B737A08E683D835100688A56FBD2924C14307489A552B5C8F917B3AC298501","sign_method":"HMAC-SHA256","access_token":"0a63d78abd9b965360fd39035611d035","lang":"en","dev_lang":"javascript","dev_channel":"homebridge","devVersion":"1.5.0"} TuyaOpenAPI response: {"result":{"devices":[{"active_time":1686687676,"biz_type":18,"category":"qn","create_time":1686687676,"icon":"smart/product_icon/qn.png","id":"bf13952bb5571a8493jkrk","ip":"51.148.178.12","lat":"53.7800","local_key":"tPWz:`-J~cFV9>nf","lon":"-1.5900","model":"","name":"Heaters Offside","online":true,"owner_id":"153507602","product_id":"ma3oamwzywooctul","product_name":"复制-Thermostat(电量统计)","status":[{"code":"switch","value":true},{"code":"temp_set","value":205},{"code":"temp_current","value":148},{"code":"lock","value":false}],"sub":false,"time_zone":"+01:00","uid":"eu1681317288790OuF7Q","update_time":1697965587,"uuid":"ea590ef85a278ff7"},{"active_time":1686687508,"biz_type":18,"category":"qn","create_time":1686687508,"icon":"smart/product_icon/qn.png","id":"bfb49a7f69bceeef11ak4m","ip":"51.148.178.12","lat":"53.7800","local_key":"yO8l'FhLVteB'~H)","lon":"-1.5900","model":"","name":"Heaters Nearside","online":true,"owner_id":"153507602","product_id":"ma3oamwzywooctul","product_name":"复制-Thermostat(电量统计)","status":[{"code":"switch","value":true},{"code":"temp_set","value":205},{"code":"temp_current","value":140},{"code":"lock","value":false}],"sub":false,"time_zone":"+01:00","uid":"eu1681317288790OuF7Q","update_time":1686688012,"uuid":"2d1cdf7ce439ac94"}],"hsa_more":false,"last_row_key":"7E8369B2D42B6F06096F100A4D466188","total":2},"success":true,"t":1697968535705,"tid":"259308ce70c111eebdf0a64fb2ede3b1"} path = /v1.0/iot-01/associated-users/devices TuyaOpenAPI request: method = get, endpoint = https://openapi.tuyaeu.com, path = /v1.0/devices/functions, params = {"device_ids":"bf13952bb5571a8493jkrk,bfb49a7f69bceeef11ak4m"}, body = null, headers = {"t":"1697968525682","client_id":"fxj78dvafgphejnnuhxd","nonce":"1f120de0-70c1-11ee-a9f1-0b36d8b8951e","Signature-Headers":"client_id","sign":"F11D0830D9282909BF33C30CF76B4DC982B1F7890313C482EE7E43B831C154EC","sign_method":"HMAC-SHA256","access_token":"0a63d78abd9b965360fd39035611d035","lang":"en","dev_lang":"javascript","dev_channel":"homebridge","devVersion":"1.5.0"} TuyaOpenAPI response: {"result":[{"category":"qn","devices":["bf13952bb5571a8493jkrk","bfb49a7f69bceeef11ak4m"],"functions":[{"code":"switch","desc":"switch","name":"switch","type":"Boolean","values":"{}"},{"code":"temp_set","desc":"temp set","name":"temp set","type":"Integer","values":"{\"unit\":\"℃\",\"min\":50,\"max\":1040,\"scale\":1,\"step\":5}"},{"code":"lock","desc":"lock","name":"lock","type":"Boolean","values":"{}"}],"product_id":"ma3oamwzywooctul"}],"success":true,"t":1697968535874,"tid":"25af2c3270c111ee95f6dacf9e05d92d"} path = /v1.0/devices/functions Adding: Heaters Offside (qn / bf13952bb5571a8493jkrk) Existing Accessory found Heaters Offside bf13952bb5571a8493jkrk aa7dc291-9c7f-431f-8e73-4c9cc3ddf8ed Adding: Heaters Nearside (qn / bfb49a7f69bceeef11ak4m) Existing Accessory found Heaters Nearside bfb49a7f69bceeef11ak4m 4b68320e-28d1-4bcb-a779-f298e81364ac TuyaOpenAPI request: method = post, endpoint = https://openapi.tuyaeu.com, path = /v1.0/iot-03/open-hub/access-config, params = null, body = {"uid":"eu1681317288790OuF7Q","link_id":"1f256ed0-70c1-11ee-a9f1-0b36d8b8951e","link_type":"mqtt","topics":"device","msg_encrypted_version":"1.0"}, headers = {"t":"1697968525859","client_id":"fxj78dvafgphejnnuhxd","nonce":"1f120de0-70c1-11ee-a9f1-0b36d8b8951e","Signature-Headers":"client_id","sign":"19B1D7A638F1DDD1252D99C109A022C1506B90F1899CB70BF477D03E314A6B9E","sign_method":"HMAC-SHA256","access_token":"0a63d78abd9b965360fd39035611d035","lang":"en","dev_lang":"javascript","dev_channel":"homebridge","devVersion":"1.5.0"} TuyaOpenAPI response: {"result":{"client_id":"cloud_290b7c4afd48152cc369ece8259634ee","expire_time":7200,"password":"425bad2dc32c880cd50d3986ae03e19c","sink_topic":{"device":"cloud/token/out/{device_id}"},"source_topic":{"device":"cloud/token/in/9935a725ba2f9a90e037bac4f5a4b409"},"url":"ssl://m1.tuyaeu.com:8883","username":"cloud_9935a725ba2f9a90e037bac4f5a4b409"},"success":true,"t":1697968536023,"tid":"25c9753a70c111eeab9046acc027565a"} path = /v1.0/iot-03/open-hub/access-config TuyaOpenMQ connecting: ssl://m1.tuyaeu.com:8883 TuyaOpenMQ connected
like this: [10/22/2023, 10:55:26 AM] [homebridge-tuya-platform] This plugin generated a warning from the characteristic 'Heating Threshold Temperature': characteristic was supplied illegal value: number 21 exceeded minimum of 50. See https://homebridge.io/w/JtMGR for more info.