Hello Node-RED Community,
I am attempting to use Node-RED on the Groov EPIC platform to control an LED dimmer, specifically the LED-SPCV-LV100W. I have followed the LED dimmer's datasheet and used the modbus-flex-write node in Node-RED to send Modbus commands to the LED dimmer. Unfortunately, I have not been able to get it to work as expected. I have also tried using the modbusSerial out node without success.
Here's a brief overview of my Node-RED setup:
- I have installed the "node-red-contrib-modbus" package and configured the modbus-flex-write node with the appropriate Modbus slave connection details (IP address, port, etc.).
- I am using an inject node to send a JavaScript object containing the required properties, including the function code (6 for Write Single Register), unit ID, register address, and brightness value. For example, to set the brightness to 35%, I am sending the following payload:
javascriptCopy code
{
"fc": 6,
"unitid": 1,
"address": 16,
"value": 22848
}
- I have connected the inject node to the modbus-flex-write node, and I'm deploying the flow.
In addition to the modbus-flex-write node, I have also tried using the modbusSerial out node by configuring it with the correct serial settings (baud rate, data bits, parity, stop bits) and connecting it to the inject node.
Despite trying both of these nodes and following these steps, I haven't been able to control the LED dimmer successfully. I would appreciate any assistance or guidance from the Node-RED community in identifying any potential issues with my setup or if there are any specific requirements when working with Node-RED and Modbus devices like the LED-SPCV-LV100W on the Groov EPIC platform.
Please let me know if you need any more information or if there's anything else I should try. Thank you in advance for your help!
Best regards,
Tamar