You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/usr/local/lib/node_modules/homebridge-tuya-platform-talrhvfork/util/datautil.js:6
for (var map of status) {
^
TypeError: status is not iterable
at DataUtil.getSubService (/usr/local/lib/node_modules/homebridge-tuya-platform-talrhvfork/util/datautil.js:6:25)
at TuyaPlatform.addAccessory (/usr/local/lib/node_modules/homebridge-tuya-platform-talrhvfork/index.js:146:41)
at TuyaPlatform.initTuyaSDK (/usr/local/lib/node_modules/homebridge-tuya-platform-talrhvfork/index.js:104:12)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
[10/11/2023, 23:14:28] [TuyaPlatform] Child bridge process ended
[10/11/2023, 23:14:28] [TuyaPlatform] Process Ended. Code: 1, Signal: null
[10/11/2023, 23:14:31] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[10/11/2023, 23:14:36] [HB Supervisor] Restarting Homebridge...
[10/11/2023, 23:14:36] [HB Supervisor] Starting Homebridge with extra flags: -I
[10/11/2023, 23:14:36] [HB Supervisor] Started Homebridge v1.7.0 with PID: 16958
[10/11/2023, 23:14:38] Homebridge requires Node.js version of ^18.15.0 || ^20.7.0 which does not satisfy the current Node.js version of v21.1.0. You may need to upgrade your installation of Node.js - see https://homebridge.io/w/JTKEF
[10/11/2023, 23:14:38] Loaded config.json with 0 accessories and 3 platforms.
[10/11/2023, 23:14:38] Loaded 0 cached accessories from cachedAccessories.
[10/11/2023, 23:14:38] ---
[10/11/2023, 23:14:41] The plugin "homebridge-config-ui-x" requires Node.js version of ^18 || ^20 which does not satisfy the current Node.js version of v21.1.0. You may need to upgrade your installation of Node.js - see https://homebridge.io/w/JTKEF
[10/11/2023, 23:14:41] Loaded plugin: homebridge-config-ui-x@4.52.1
[10/11/2023, 23:14:41] Registering platform 'homebridge-config-ui-x.config'
[10/11/2023, 23:14:41] ---
[10/11/2023, 23:14:41] Loaded plugin: homebridge-samsung-tizen-broadlink@1.2.5
[10/11/2023, 23:14:41] Registering platform 'homebridge-samsung-tizen-broadlink.SamsungTizen'
[10/11/2023, 23:14:41] ---
[10/11/2023, 23:14:42] Loaded plugin: homebridge-tuya-platform-talrhvfork@1.6.0
[10/11/2023, 23:14:42] Registering platform 'homebridge-tuya-platform-talrhvfork.TuyaPlatform'
[10/11/2023, 23:14:42] ---
[10/11/2023, 23:14:42] Loading 3 platforms...
[10/11/2023, 23:14:42] [SamsungTizen] Initializing SamsungTizen platform...
[10/11/2023, 23:14:42] [SamsungTizen] Initializing child bridge 0E:3C:7E:E7:28:D4
[10/11/2023, 23:14:42] [TuyaPlatform] Initializing TuyaPlatform platform...
[10/11/2023, 23:14:42] [TuyaPlatform] Initializing child bridge 0E:B0:8B:54:6E:37
Setup Payload:
X-HM://0024TOS6AMU7K
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
┌────────────┐
│ 818-91-746 │
└────────────┘
(node:16958) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
[10/11/2023, 23:14:42] Homebridge v1.7.0 (HAP v0.11.1) (Homebridge 6E8B) is running on port 51030.
[10/11/2023, 23:14:44] [homebridge-samsung-tizen-broadlink] Launched child bridge with PID 17017
[10/11/2023, 23:14:45] [TuyaPlatform] Launched child bridge with PID 17018
[10/11/2023, 23:14:45] Registering platform 'homebridge-samsung-tizen-broadlink.SamsungTizen'
[10/11/2023, 23:14:45] [homebridge-samsung-tizen-broadlink] Loaded homebridge-samsung-tizen-broadlink v1.2.5 child bridge successfully
(node:17017) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
[10/11/2023, 23:14:45] Loaded 0 cached accessories from cachedAccessories.0E3C7EE728D4.
[10/11/2023, 23:14:45] Homebridge v1.7.0 (HAP v0.11.1) (homebridge-samsung-tizen-broadlink) is running on port 56347.
[10/11/2023, 23:14:45] Tele 8BD6 is running on port 37043.
[10/11/2023, 23:14:45] Please add [Tele 8BD6] manually in Home app. Setup Code: 818-91-746
[10/11/2023, 23:14:45] Registering platform 'homebridge-tuya-platform-talrhvfork.TuyaPlatform'
[10/11/2023, 23:14:45] [TuyaPlatform] Loaded homebridge-tuya-platform-talrhvfork v1.6.0 child bridge successfully
[10/11/2023, 23:14:45] Loaded 6 cached accessories from cachedAccessories.0EB08B546E37.
Initializing TuyaPlatform...
TuyaOpenAPI request: method = post, endpoint = https://openapi.tuyaeu.com, path = /v1.0/iot-01/associated-users/actions/authorized-login, params = null, body = {"country_code":34,"username":"639325940","password":"f4100c0bde34171c52907645a0896ec7","schema":"smartlife"}, headers = {"t":"1699654486174","client_id":"wmyjwdnuhhwhetje5wgn","nonce":"8df47c70-8016-11ee-82b5-dba9914ea515","Signature-Headers":"client_id","sign":"72E226CEE85D04D63D653F8FD62377B6F14DC3BAE91E4799E39E919DF0756E08","sign_method":"HMAC-SHA256","access_token":"","lang":"en","dev_lang":"javascript","dev_channel":"homebridge","devVersion":"1.5.0"}
The text was updated successfully, but these errors were encountered:
Describe the bug
Hi, I installed the plugin and linked to the IoT account but the logs display a reboot. No device is recognized in Homebridge.
The log starts as: (and keeps looping forever)
"power_on","last"]}"}],"product_id":"e98krvvk"},{"category":"kg","devices":["bfc4fcb227e064f908atus"],"functions":[{"code":"switch_1","desc":"switch 1","name":"switch 1","type":"Boolean","values":"{}"},{"code":"switch_2","desc":"switch 2","name":"switch 2","type":"Boolean","values":"{}"},{"code":"countdown_1","desc":"countdown 1","name":"countdown 1","type":"Integer","values":"{"unit":"s","min":0,"max":86400,"scale":0,"step":1}"},{"code":"countdown_2","desc":"countdown 2","name":"countdown 2","type":"Integer","values":"{"unit":"s","min":0,"max":86400,"scale":0,"step":1}"},{"code":"relay_status","desc":"relay status","name":"relay status","type":"Enum","values":"{"range":["power_off","power_on","last"]}"}],"product_id":"hhfycjq5rmzjsawv"},{"category":"kg","devices":["bf88a01366f90d6ca49xu0"],"functions":[{"code":"switch_1","desc":"switch 1","name":"switch 1","type":"Boolean","values":"{}"},{"code":"countdown_1","desc":"countdown 1","name":"countdown 1","type":"Integer","values":"{"unit":"s","min":0,"max":86400,"scale":0,"step":1}"},{"code":"relay_status","desc":"relay status","name":"relay status","type":"Enum","values":"{"range":["power_off","power_on","last"]}"},{"code":"cycle_time","desc":"cycle time","name":"cycle time","type":"String","values":"{}"},{"code":"random_time","desc":"random time","name":"random time","type":"String","values":"{}"},{"code":"switch_inching","desc":"switch inching","name":"switch inching","type":"String","values":"{}"}],"product_id":"afr25awpvxdwjqtx"},{"category":"sfkzq","devices":["bf52d5e22wmi8saj"],"functions":[{"code":"switch","desc":"switch","name":"switch","type":"Boolean","values":"{}"},{"code":"time_use","desc":"time use","name":"time use","type":"Integer","values":"{"unit":"s","min":0,"max":2592000,"scale":0,"step":1}"},{"code":"weather_delay","desc":"weather delay","name":"weather delay","type":"Enum","values":"{"range":["cancel","24h","48h","72h"]}"},{"code":"countdown","desc":"countdown","name":"countdown","type":"Integer","values":"{"unit":"s","min":0,"max":86400,"scale":0,"step":1}"},{"code":"smart_weather","desc":"smart weather","name":"smart weather","type":"Enum","values":"{"range":["sunny","cloudy","rainy"]}"}],"product_id":"nxquc5lb"},{"category":"kg","devices":["bf181d4ae14675623cohsk"],"functions":[{"code":"switch_1","desc":"switch 1","name":"switch 1","type":"Boolean","values":"{}"},{"code":"countdown_1","desc":"countdown 1","name":"countdown 1","type":"Integer","values":"{"unit":"s","min":0,"max":86400,"scale":0,"step":1}"},{"code":"relay_status","desc":"relay status","name":"relay status","type":"Enum","values":"{"range":["power_off","power_on","last"]}"},{"code":"cycle_time","desc":"cycle time","name":"cycle time","type":"String","values":"{}"},{"code":"random_time","desc":"random time","name":"random time","type":"String","values":"{}"},{"code":"switch_inching","desc":"switch inching","name":"switch inching","type":"String","values":"{}"}],"product_id":"q2ccognttsiblfsq"},{"category":"kg","devices":["7054856350029140bb86","821718422cf43241355f","7054856350029140bb6d"],"functions":[{"code":"switch_1","desc":"switch 1","name":"switch 1","type":"Boolean","values":"{}"},{"code":"countdown_1","desc":"countdown 1","name":"countdown 1","type":"Integer","values":"{"unit":"s","min":0,"max":86400,"scale":0,"step":1}"}],"product_id":"y13aipj2RedHJ56s"}],"success":true,"t":1699654468218,"tid":"8393f93a801611eea92e76edc8ed0503"} path = /v1.0/devices/functions
Adding: Riego automático (sfkzq / bf52d5e22wmi8saj)
Adding: 2G Zigbee Switch (kg / bfdfb010f1edb7729djxbw)
Existing Accessory found 2G Zigbee Switch bfdfb010f1edb7729djxbw 2d8137da-0c40-4e88-b706-bd251eaf7ccb
Adding: NEO Gateway (wg2 / bf5e57bfefdd5fa324dnql)
Adding: Cochera duo (kg / bfc4fcb227e064f908atus)
Existing Accessory found Cochera duo bfc4fcb227e064f908atus 0b8ab4cc-7fc5-458c-a0d6-ea9a6209e3b7
Adding: Luz estudio (kg / bf181d4ae14675623cohsk)
Existing Accessory found Luz estudio bf181d4ae14675623cohsk 2548d008-f70a-4f2f-94fb-11a90e010895
Adding: luz baño (kg / bf88a01366f90d6ca49xu0)
Existing Accessory found luz baño bf88a01366f90d6ca49xu0 214bd266-8e75-46ab-a4a9-372447535367
Adding: luz entrada (kg / 7054856350029140bb86)
Existing Accessory found luz entrada 7054856350029140bb86 a320529d-893f-4e37-9231-1a56cfa6861c
Adding: luz cuarto (kg / 821718422cf43241355f)
Existing Accessory found luz cuarto 821718422cf43241355f 1bea7405-0c47-4b76-bae9-d9463653b808
Adding: Bluetooth Gateway (cz / bf76bc423ec35f02a71xkd)
/usr/local/lib/node_modules/homebridge-tuya-platform-talrhvfork/util/datautil.js:6
for (var map of status) {
^
TypeError: status is not iterable
at DataUtil.getSubService (/usr/local/lib/node_modules/homebridge-tuya-platform-talrhvfork/util/datautil.js:6:25)
at TuyaPlatform.addAccessory (/usr/local/lib/node_modules/homebridge-tuya-platform-talrhvfork/index.js:146:41)
at TuyaPlatform.initTuyaSDK (/usr/local/lib/node_modules/homebridge-tuya-platform-talrhvfork/index.js:104:12)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
[10/11/2023, 23:14:28] [TuyaPlatform] Child bridge process ended
[10/11/2023, 23:14:28] [TuyaPlatform] Process Ended. Code: 1, Signal: null
[10/11/2023, 23:14:31] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[10/11/2023, 23:14:36] [HB Supervisor] Restarting Homebridge...
[10/11/2023, 23:14:36] [HB Supervisor] Starting Homebridge with extra flags: -I
[10/11/2023, 23:14:36] [HB Supervisor] Started Homebridge v1.7.0 with PID: 16958
[10/11/2023, 23:14:38] Homebridge requires Node.js version of ^18.15.0 || ^20.7.0 which does not satisfy the current Node.js version of v21.1.0. You may need to upgrade your installation of Node.js - see https://homebridge.io/w/JTKEF
[10/11/2023, 23:14:38] Loaded config.json with 0 accessories and 3 platforms.
[10/11/2023, 23:14:38] Loaded 0 cached accessories from cachedAccessories.
[10/11/2023, 23:14:38] ---
[10/11/2023, 23:14:41] The plugin "homebridge-config-ui-x" requires Node.js version of ^18 || ^20 which does not satisfy the current Node.js version of v21.1.0. You may need to upgrade your installation of Node.js - see https://homebridge.io/w/JTKEF
[10/11/2023, 23:14:41] Loaded plugin: homebridge-config-ui-x@4.52.1
[10/11/2023, 23:14:41] Registering platform 'homebridge-config-ui-x.config'
[10/11/2023, 23:14:41] ---
[10/11/2023, 23:14:41] Loaded plugin: homebridge-samsung-tizen-broadlink@1.2.5
[10/11/2023, 23:14:41] Registering platform 'homebridge-samsung-tizen-broadlink.SamsungTizen'
[10/11/2023, 23:14:41] ---
[10/11/2023, 23:14:42] Loaded plugin: homebridge-tuya-platform-talrhvfork@1.6.0
[10/11/2023, 23:14:42] Registering platform 'homebridge-tuya-platform-talrhvfork.TuyaPlatform'
[10/11/2023, 23:14:42] ---
[10/11/2023, 23:14:42] Loading 3 platforms...
[10/11/2023, 23:14:42] [SamsungTizen] Initializing SamsungTizen platform...
[10/11/2023, 23:14:42] [SamsungTizen] Initializing child bridge 0E:3C:7E:E7:28:D4
[10/11/2023, 23:14:42] [TuyaPlatform] Initializing TuyaPlatform platform...
[10/11/2023, 23:14:42] [TuyaPlatform] Initializing child bridge 0E:B0:8B:54:6E:37
Setup Payload:
X-HM://0024TOS6AMU7K
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
(node:16958) [DEP0040] DeprecationWarning: The
punycode
module is deprecated. Please use a userland alternative instead.(Use
node --trace-deprecation ...
to show where the warning was created)[10/11/2023, 23:14:42] Homebridge v1.7.0 (HAP v0.11.1) (Homebridge 6E8B) is running on port 51030.
[10/11/2023, 23:14:44] [homebridge-samsung-tizen-broadlink] Launched child bridge with PID 17017
[10/11/2023, 23:14:45] [TuyaPlatform] Launched child bridge with PID 17018
[10/11/2023, 23:14:45] Registering platform 'homebridge-samsung-tizen-broadlink.SamsungTizen'
[10/11/2023, 23:14:45] [homebridge-samsung-tizen-broadlink] Loaded homebridge-samsung-tizen-broadlink v1.2.5 child bridge successfully
(node:17017) [DEP0040] DeprecationWarning: The
punycode
module is deprecated. Please use a userland alternative instead.(Use
node --trace-deprecation ...
to show where the warning was created)[10/11/2023, 23:14:45] Loaded 0 cached accessories from cachedAccessories.0E3C7EE728D4.
[10/11/2023, 23:14:45] Homebridge v1.7.0 (HAP v0.11.1) (homebridge-samsung-tizen-broadlink) is running on port 56347.
[10/11/2023, 23:14:45] Tele 8BD6 is running on port 37043.
[10/11/2023, 23:14:45] Please add [Tele 8BD6] manually in Home app. Setup Code: 818-91-746
[10/11/2023, 23:14:45] Registering platform 'homebridge-tuya-platform-talrhvfork.TuyaPlatform'
[10/11/2023, 23:14:45] [TuyaPlatform] Loaded homebridge-tuya-platform-talrhvfork v1.6.0 child bridge successfully
[10/11/2023, 23:14:45] Loaded 6 cached accessories from cachedAccessories.0EB08B546E37.
Initializing TuyaPlatform...
TuyaOpenAPI request: method = post, endpoint = https://openapi.tuyaeu.com, path = /v1.0/iot-01/associated-users/actions/authorized-login, params = null, body = {"country_code":34,"username":"639325940","password":"f4100c0bde34171c52907645a0896ec7","schema":"smartlife"}, headers = {"t":"1699654486174","client_id":"wmyjwdnuhhwhetje5wgn","nonce":"8df47c70-8016-11ee-82b5-dba9914ea515","Signature-Headers":"client_id","sign":"72E226CEE85D04D63D653F8FD62377B6F14DC3BAE91E4799E39E919DF0756E08","sign_method":"HMAC-SHA256","access_token":"","lang":"en","dev_lang":"javascript","dev_channel":"homebridge","devVersion":"1.5.0"}
The text was updated successfully, but these errors were encountered: