Hey team, good to see some more dev going on with this - I published the node-red module node-red-contrib-hdlbus
a couple of years back (forked from node-red-contrib-buspro
- that dev and I couldn’t agree on directions at the time unfortunately), haven’t had a need to update it really to date. I saw a PR pop up a few weeks back - but it’s gone now - that one of you?
I use DALI for lighting - hence why there’s a virtual DALI groups device - this is necessary to store/recall levels as they’re not reported correctly on the HDL network. Drop the node on a page and read the info pane if you’d like to understand it more - basically just makes the 16 DALI groups function as a virtual 16ch dimmer.
I use the addin slightly differently (I think?) - I have a generic flow for lights that creates a 2-way conduit between HDL and MQTT without knowing about any of the devices - then I create mqtt lights in HA YAML. I’ve recently got into autodiscovery in HA, so would love to look at being able to auto-create entities, just need to find the time.
The YAML for a light/channel - this is in the ‘light’ domain:
- platform: mqtt
name: "Flat Hall"
command_topic: "lights/20/1/cmd"
state_topic: "lights/20/1/state"
state_value_template: "{{value_json.power}}"
on_command_type: brightness
brightness_scale: 100
brightness_command_topic: "lights/20/1/cmd"
brightness_state_topic: "lights/20/1/state"
brightness_value_template: "{{value_json.brightness}}"
I do have DLP AC control working for 2-way control also - by this I mean I’m using HA to control my AC, then interfacing with the DLP to facilitate control/display via that interface. 1.95 (in the below image) is the address I gave the aircon control in my DLP.
I did get motor controllers working too for a friend - I can dig into that if people are still looking for that.
Will keep an eye on this topic and happy to answer any questions.