sahilchaddha / homebridge-magichome-platform

Homebridge Plugin for MagicHome LED Strips with Preset Scene Automation Support (Cycle Color/Fade/Strobe)
MIT License
47 stars 12 forks source link

Cannot control lights at all #32

Open Khazanedar opened 4 years ago

Khazanedar commented 4 years ago

Describe the bug Brightness, color, on/off status does not work whatsoever in the home app

Expected behavior Expect home app to be able to control lights.

Config { "platform": "MagicHome-Platform", "debug": true, "disableDiscovery": true, "lights": [ { "name": "LED Strip", "ip": "192.168.0.3", "setup": "RGBWWv3", "purewhite": true, "timeout": 0 } ] }

Logs [5/21/2020, 1:13:26 PM] Homebridge is running on port 51007. [5/21/2020, 1:13:27 PM] [MagicHome-Platform] [ 'Polling Light', '192.168.0.3' ] [5/21/2020, 1:13:27 PM] [MagicHome-Platform] C:\Users\Chad\AppData\Roaming\npm\node_modules\homebridge-magichome-platform\src\flux_led.py 192.168.0.3 -i [5/21/2020, 1:14:30 PM] [MagicHome-Platform] C:\Users\Chad\AppData\Roaming\npm\node_modules\homebridge-magichome-platform\src\flux_led.py 192.168.0.3 --on [5/21/2020, 1:15:42 PM] [Config] Changes to config.json saved. [5/21/2020, 1:15:47 PM] [MagicHome-Platform] C:\Users\Chad\AppData\Roaming\npm\node_modules\homebridge-magichome-platform\src\flux_led.py 192.168.0.3 --on [5/21/2020, 1:15:58 PM] [MagicHome-Platform] C:\Users\Chad\AppData\Roaming\npm\node_modules\homebridge-magichome-platform\src\flux_led.py 192.168.0.3 --on

Desktop (please complete the following information):

Additional context

Khazanedar commented 4 years ago

Anyone?

rykm48 commented 4 years ago

Also having this same issue! Error: spawn UNKNOWN at ChildProcess.spawn (internal/child_process.js:406:11) at spawn (child_process.js:548:9) at LightAgent.getDevices (C:\Users\HomeBridge\AppData\Roaming\npm\node_modules\homebridge-magichome-platform\src\lib\lightAgent.js:143:17) at LightAgent.startDiscovery (C:\Users\HomeBridge\AppData\Roaming\npm\node_modules\homebridge-magichome-platform\src\lib\lightAgent.js:68:12) at new MagicHome (C:\Users\HomeBridge\AppData\Roaming\npm\node_modules\homebridge-magichome-platform\src\magichome.js:37:14) at C:\Users\HomeBridge\AppData\Roaming\npm\node_modules\homebridge\src\server.ts:396:40 at Array.forEach () at Server.loadPlatforms (C:\Users\HomeBridge\AppData\Roaming\npm\node_modules\homebridge\src\server.ts:373:27) at Server.start (C:\Users\HomeBridge\AppData\Roaming\npm\node_modules\homebridge\src\server.ts:152:29) at cli (C:\Users\HomeBridge\AppData\Roaming\npm\node_modules\homebridge\src\cli.ts:80:10)