kevbo / homebridge-sky-lite-evolve

Homebridge plugin for the BlissLights Sky Lite Evolve Star Projector
MIT License
2 stars 0 forks source link

Not sure if I did something wrong, but im getting errors and its not working for me #4

Open FlockaJaka opened 5 months ago

FlockaJaka commented 5 months ago

Plugin isn't working for me, and its repeatedly getting "SIGTERM" and shutting down HomeBridge. I am about 90% sure I did all the tuya dev cloud stuff correctly and I am also able to control the lamp from the tuya dev debugger if that means anything.

Logs: I tried getting the logs from the plugin but it was an empty document :(

Homebridge Log:
![image](https://github.com/kevbo/homebridge-sky-lite-evolve/assets/172554842/276e77c0-337f-4502-90a7-f6597bb859af)

This is what it says in the HomeBridge Log in case that image doesnt load. Transcript:  

"Homebridge v1.8.2 (HAP v0.12.1)     (Homebridge EC48) is running on port 5*****.
TypeError:  Cannont read properties of undefined  (reading 'uuid') at EvolvePlatform.discoverDevices  (/var/lib/homebridge/node_modules/homebridge-sky-lite-evolve/src/platform.ts76:35)
at processTicksAnd Rejections  (node : internal/process/task_queues:95:5)
Got SIGTERM, shutting down HomeBridge..."

Plugin Config: ```json image

(idk if the keys are sensitive info so i crossed out most of it) Transcript of picture if it doesn't load: "{ "cloud_credentials" : { "tuya_region": "https://openapi.tuyaus.com" , "tuya_access_key" : "ad***" , "tuya_secret_key" : "d****" , }, "projectors" : [ { "name" : "Evolve"
"tuya_device_id" : "e**" , "manufacturer" : "BlissLights" , "model" : "Sky Lite Evolve" , "serial_number" : "Evolve" } ], "advanced_settings" : { "polling_interval" : 1000, "max_api_retries" : 5 }, "platform" : "HomebridgeSkyliteEvolve" }"


**Environment:** using tuya smart app, linux homebridge, tuya dev platform. i have 3 total plugins (including yours)

* **Plugin Version**: 1.0.1

* **Homebridge Version**: <1.8.2>

* **Node.js Version**: tried on <v20.14.0> and <v18.18.0>

* **NPM Version**: <not sure, ive been trying to find it, but it should be the default install. i havent updated or messed with it>

* **Operating System**: Im on raspberry pi zero 2 W with the linux Homebridge 64-bit OS (6.6.28+rpt-rpi-v8)