Hi, I’m new to Node-Red so I’m just working my way through all the various nodes.
I want to use Node-Red to read an Electricity meter which uses IEC 62056-21 protocol. I have the meter connected over RS232, if I use the meter software I can read it, but if I send the same serial commands using an inject node and Serial node, I don’t get a response.
I used a COM port monitor to record all the data on the TX, RX lines. So I have all the commands sent by the meter software, I need to somehow copy the TX data to Node-Red to replicate the meter software.
So, I think I need a buffer? The command I need to send to the meter is “/?! “ which is ASCII? The meter then responds with HEX data (Voltage, current, Meter Serial number...).
How do I convert this string “/?! “ In Node-Red so the meter understands the request?