Open Jacksonbm1 opened 3 years ago
Did you look at the wiki on GitHub, there a couple of examples there
https://github.com/NorthernMan54/node-red-contrib-homebridge-automation/wiki
Also on the homebridge discord server channel #automation the community is pretty active, and should be able to provide some tips.
PS The quick hack to determine how to control a device is to create a hb-event node, wire it to a debug node, then control it via the home app. The debug node will contain the appropriate payload for the device. Then feed that payload to a control node, with what ever values are appropriate for what you want to do.
@NorthernMan54 I came here to ask how to find the payload. I think it would be worth including this in the wiki!
PS The quick hack to determine how to control a device is to create a hb-event node, wire it to a debug node, then control it via the home app. The debug node will contain the appropriate payload for the device. Then feed that payload to a control node, with what ever values are appropriate for what you want to do.
@ticknert Pro Tip - anyone should be able to post to the wiki
This is kind of a feature request. I'm new to node-red and js in general, so would you be able to provide some examples in the documentation? For example, lets say I wanted a switch to change the colors of my lights, how would I do that? I'm guessing I need to use a function, but it would be super helpful to see some homebridge-specific docs. There are a lot online for Home Assistant, but their node-red integrations seem more GUI focused.