kongkx / homebridge-cozylife-platform

Apache License 2.0
2 stars 1 forks source link

Light not controllable - "this accessory is not currently supported by the Home App" #3

Open ukrosss opened 8 months ago

ukrosss commented 8 months ago

Describe The Bug: My bulb is not controlable from within the Home App - message: "this accessory is not currently supported by the Home App"

To Reproduce: I clicked on your Plugin in Homebridge, and it self installed. Added the Mac Address into the config as per instructions Restarted Homebridge Device appeared in the Home App "this accessory is not currently supported by the Home App"

Expected behavior: To be able to control the light

Logs: [07/02/2024, 11:36:23] [Cozylife] handleMessage Error SyntaxError: Unexpected token '', "discover" is not valid JSON at JSON.parse () at Socket.CozyPlatform.handleMessage (/var/lib/homebridge/node_modules/homebridge-cozylife-platform/src/platform.ts:159:28) at Socket.emit (node:events:518:28) at UDP.onMessage (node:dgram:941:8)

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.

{ "name": "Cozylife", "language": "en", "port": 5555, "devices": [ { "mac": "34:98:7a:27:59:XX", "name": "Lilly's Nail Lamp" } ], "platform": "CozylifePlatform" } Screenshots:

image

Environment:

homebridge-cozylife-platform

Not Verified

@kongkx

v0.1.2