Hi. I’m using HA + Z2MQTT + NodeRED. Most dimmers or smart bulbs have options like:
{
"brightness_move": -40, // Starts moving brightness down at 40 units per second
"brightness_move": 0, // Stop moving brightness
"brightness_step": 40 // Increases brightness by 40
"color_temp_move": 60, // Starts moving color temperature up at 60 units per second
"color_temp_move": "stop", // Stop moving color temperature
"color_temp_step": 99, // Increase color temperature by 99
}
Problem is, it’s not supported by NodeRED call service node (light). Instead we can only change brightness to specific value/percentage or doing this by step. So if I want to dim light on button hold, I need to have loop to send a lot of messages with manually calculated brightness value (that also causes not smooth change) . Why do this, when device can handle it by it’s own?
This was explained to me that it’s not nodered limitation, but home assistant itself.
Currently to use this function, I’m using MQTT publish node with manually typed address with entity etc. So it’s working outside of HA, and now I have mix of two types of communication… But it would be much better if this could be handled fully in HA, and I’m surprised it still isn’t.
Could it be added?