rudyberends / homebridge-loxone-proxy

Homebridge Dynamic Platform Plugin which exposes a Loxone System to Homekit
Apache License 2.0
11 stars 6 forks source link

Add Support for LichtControllerV2 Smart Actor for Sport RGBW and Ceiling Light RGBW #67

Closed geppertm86 closed 8 months ago

geppertm86 commented 8 months ago

Hi, Getting the Message that HSV and Color Temp are a ToDo

todo: colortemp(100,4600) todo: colortemp(19,4600) todo: colortemp(0,4600) todo: colortemp(49,4600) todo: colortemp(79,4600) todo: colortemp(100,4600) todo: colortemp(60,4600) todo: colortemp(35,4600) todo: colortemp(23,4600) todo: colortemp(14,4600) todo: colortemp(9,4600) todo: colortemp(0,4600) todo: colorhsv(24,96,77) todo: colorhsv(337,94,50) todo: colorhsv(337,94,0) todo: colorhsv(24,96,77)

Behavior is also if Spots or Ceiling light is turned on via Loxone, it is not visible in Home / Homebridge. After turned on via Home, Device can't be turned off.

geppertm86 commented 8 months ago

I played a little bit , seems the issue is coming only when turning the device from off to on. When you Edit the Color / Temperature and Brightness is is working as expected until you turn it off. Guess the issue is in the State.Brightness = 0 in the constructor ?

rudyberends commented 8 months ago

I do not have RGB spots myself, so I am unable to test this. The latest beta contains code to handle updates for this item from the Loxone side.

Could you test the latest beta version and let me know If it works for you?

geppertm86 commented 8 months ago

Beta is giving this error, either when turning on/off via Home and on change on Loxone Side

TypeError: Cannot read properties of undefined (reading 'minCtLoxone') at loxoneToHomekitColorTemperature (/homebridge/node_modules/homebridge-loxone-proxy/src/homekit/services/ColorLightBulb.ts:212:35) at processTemp (/homebridge/node_modules/homebridge-loxone-proxy/src/homekit/services/ColorLightBulb.ts:86:39) at ColorLightBulb.updateService (/homebridge/node_modules/homebridge-loxone-proxy/src/homekit/services/ColorLightBulb.ts:96:5) at ColorPickerV2.eval (eval at LoxoneAccessory.callBack (/homebridge/node_modules/homebridge-loxone-proxy/src/LoxoneAccessory.ts:102:31), :3:36) at ColorPickerV2.LoxoneAccessory.callBack (/homebridge/node_modules/homebridge-loxone-proxy/src/LoxoneAccessory.ts:103:23) at /homebridge/node_modules/homebridge-loxone-proxy/src/loxone/LoxoneHandler.ts:69:56 at Array.forEach () at handleAnyEvent (/homebridge/node_modules/homebridge-loxone-proxy/src/loxone/LoxoneHandler.ts:69:36) at Object.socketOnEventReceived (/homebridge/node_modules/homebridge-loxone-proxy/src/loxone/LoxoneHandler.ts:99:17) at WebSocket._handleBinaryEvent (/homebridge/node_modules/homebridge-loxone-proxy/node_modules/lxcommunicator/modules/WebSocket.js:934:78)

Am 06.01.2024 um 14:33 schrieb Rudy Berends @.***>:

I do not have RGB spots myself, so I am unable to test this. The latest beta contains code to handle updates for this item from the Loxone side.

Could you test the latest beta version and let me know If it works for you?

— Reply to this email directly, view it on GitHub https://github.com/rudyberends/homebridge-loxone-proxy/issues/67#issuecomment-1879688700, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYO2JICZ7UJVROOEXNI5ZUTYNFHAZAVCNFSM6AAAAABBNRYSBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZZGY4DQNZQGA. You are receiving this because you authored the thread.

rudyberends commented 8 months ago

could you try again using the latest beta?

geppertm86 commented 8 months ago

Congratulations, working!

I will do some more testing

Am 06.01.2024 um 15:59 schrieb Rudy Berends @.***>:

could you try again using the latest beta?

— Reply to this email directly, view it on GitHub https://github.com/rudyberends/homebridge-loxone-proxy/issues/67#issuecomment-1879721560, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYO2JIHA5QIAR6ZZTNBMHEDYNFRG3AVCNFSM6AAAAABBNRYSBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZZG4ZDCNJWGA. You are receiving this because you authored the thread.

rudyberends commented 8 months ago

Thank you for testing. Please let me know if you have any more issues with it. When it is working as expected for you, i will push the changes to the normal release.