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
I installed this plugin earlier today, everything was running perfectly.
But, since a few hours Homebridge is ill.
in the log I can see this :
[5/21/2023, 11:31:39 PM] SyntaxError: Unexpected number in JSON at position 1
at JSON.parse ()
at LightAccessory.refreshAccessoryServiceIfNeed (/var/lib/homebridge/node_modules/homebridge-tuya-platform-talrhvfork/lib/light_accessory.js:70:103)
at new LightAccessory (/var/lib/homebridge/node_modules/homebridge-tuya-platform-talrhvfork/lib/light_accessory.js:32:10)
at TuyaPlatform.addAccessory (/var/lib/homebridge/node_modules/homebridge-tuya-platform-talrhvfork/index.js:140:27)
at TuyaPlatform.initTuyaSDK (/var/lib/homebridge/node_modules/homebridge-tuya-platform-talrhvfork/index.js:104:12)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
When I disable the plugin, everything is working (but I lost my tuna accessory : a led strip)
I don't understand what happened, I didn't change anything, I can login in Tuya smart app and on https://iot.tuya.com/
Hello,
I installed this plugin earlier today, everything was running perfectly.
But, since a few hours Homebridge is ill.
in the log I can see this :
[5/21/2023, 11:31:39 PM] SyntaxError: Unexpected number in JSON at position 1
at JSON.parse ()
at LightAccessory.refreshAccessoryServiceIfNeed (/var/lib/homebridge/node_modules/homebridge-tuya-platform-talrhvfork/lib/light_accessory.js:70:103)
at new LightAccessory (/var/lib/homebridge/node_modules/homebridge-tuya-platform-talrhvfork/lib/light_accessory.js:32:10)
at TuyaPlatform.addAccessory (/var/lib/homebridge/node_modules/homebridge-tuya-platform-talrhvfork/index.js:140:27)
at TuyaPlatform.initTuyaSDK (/var/lib/homebridge/node_modules/homebridge-tuya-platform-talrhvfork/index.js:104:12)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
When I disable the plugin, everything is working (but I lost my tuna accessory : a led strip)
I don't understand what happened, I didn't change anything, I can login in Tuya smart app and on https://iot.tuya.com/
My plugin conf is :
{
"options": {
"username": "my_email",
"password": "my_password",
"accessId": "my_access_ID",
"accessKey": "my_access_key",
"lang": "en",
"projectType": "2",
"appSchema": "tuyaSmart",
"countryCode": 33,
"motion": [
{
"overrideTuya": 0
}
],
"debug": false
},
"name": "TuyaPlatform",
"platform": "TuyaPlatform"
}
Could anyone help me to understand what's wrong ?
The text was updated successfully, but these errors were encountered: