Open sjorge opened 3 years ago
Is it included in HAP-NodeJS yet?
Looks like it, there is a or open to rename all the reference as they had it as ambient lighting first... so the original seems to be merged a while ago
Using both accounts today, @sjorge ? I thought we had a new user then I saw it's still you.
Wrong tab container yeah, that was the work one.
Okay, looks like HAP-NodeJS has something called Controllers. Adaptive Lightning Controller is still in beta. I will need to look how many of them we have and how to add them in the best way using NRCHKB.
Probably every controller must be handled separately.
I found this: https://developers.homebridge.io/HAP-NodeJS/classes/adaptivelightingcontroller.html I hope this is helpful :)
Okay guys, check latest dev version 1.7.0-dev.1
There seems to be some sort of race:
21 Jun 00:08:08 - [error] [homekit-service2: 2Test] Failed to configure adaptive lightning due to AssertionError [ERR_ASSERTION]: Lightbulb must have the ColorTemperature characteristic added!
2024-06-20T22:08:08.023Z NRCHKB-Error:ServiceUtils2 [ 2Test:b9a76c3ee5bdc616] Failed to configure adaptive lightning due to AssertionError [ERR_ASSERTION]: Lightbulb must have the ColorTemperature characteristic added!
[
{
"id": "b9a76c3ee5bdc616",
"type": "homekit-service2",
"z": "bef3f7d0d4dc601f",
"isParent": true,
"hostType": "0",
"bridge": "b8a669c67b5dfb61",
"accessoryId": "",
"parentService": "",
"name": " 2Test",
"serviceName": "Lightbulb",
"topic": "",
"filter": false,
"manufacturer": "NRCHKB",
"model": "0.170.1",
"serialNo": "Default Serial Number",
"firmwareRev": "0.170.1",
"hardwareRev": "0.170.1",
"softwareRev": "0.170.1",
"cameraConfigVideoProcessor": "ffmpeg",
"cameraConfigSource": "",
"cameraConfigStillImageSource": "",
"cameraConfigMaxStreams": 2,
"cameraConfigMaxWidth": 1280,
"cameraConfigMaxHeight": 720,
"cameraConfigMaxFPS": 10,
"cameraConfigMaxBitrate": 300,
"cameraConfigVideoCodec": "libx264",
"cameraConfigAudioCodec": "libfdk_aac",
"cameraConfigAudio": false,
"cameraConfigPacketSize": 1316,
"cameraConfigVerticalFlip": false,
"cameraConfigHorizontalFlip": false,
"cameraConfigMapVideo": "0:0",
"cameraConfigMapAudio": "0:1",
"cameraConfigVideoFilter": "scale=1280:720",
"cameraConfigAdditionalCommandLine": "-tune zerolatency",
"cameraConfigDebug": false,
"cameraConfigSnapshotOutput": "disabled",
"cameraConfigInterfaceName": "",
"characteristicProperties": "{\"On\":true,\"Brightness\":true,\"Hue\":true,\"Saturation\":true,\"ColorTemperature\":true}",
"waitForSetupMsg": false,
"useEventCallback": false,
"outputs": 1,
"adaptiveLightingOptionsEnable": true,
"adaptiveLightingOptionsMode": "1",
"adaptiveLightingOptionsCustomTemperatureAdjustment": "",
"x": 430,
"y": 660,
"wires": [
[]
]
},
{
"id": "b8a669c67b5dfb61",
"type": "homekit-bridge",
"bridgeName": "Bridge",
"pinCode": "123-45-678",
"port": "60942",
"advertiser": "ciao",
"allowInsecureRequest": false,
"manufacturer": "Test",
"model": "NRBridge",
"serialNo": "1234",
"firmwareRev": "1.0.0",
"hardwareRev": "1.0.0",
"softwareRev": "1.0.2",
"customMdnsConfig": false,
"mdnsMulticast": true,
"mdnsInterface": "",
"mdnsPort": "",
"mdnsIp": "",
"mdnsTtl": "",
"mdnsLoopback": true,
"mdnsReuseAddr": true,
"allowMessagePassthrough": false
}
]
Is your feature request related to a problem? Please describe. Nope, would just like to use homekits adaptive lighting, I got it working with a complex schedule in node red at the moment but while this is enabled I cannot set a custom override via homekit. Having both would be better.
Describe the solution you'd like Adaptive Lighting support, I think we need to bumb hap-nodejs for starters, en maybe expose some extra services.
Describe alternatives you've considered See above, I have a complex manual schedule and just have the bulbs as brightness expose to homekit. Not idea as I cannot manual override the color like this.
Additional context n/a