Thank you Steve. That node does the trick nicely. In fact, I am trying to read quite a few registers (not just registers 121 and 122). So I figured I could change the code in your Node to add register 123, for example:
but it does not work (gives me SyntaxError: Unexpected token { in JSON at position 351 and when I go back to the node editor, it lost the formatting, i.e. looks like this { "options": { "resultType": "object", "singleResult": true }, "items": [ {
so I have obviously wandered above my knowledge grade. I can still make it work with the array[2] node you provided.
The real end game is to get a whole slew of values from the device (shown in bold below), which I believe will be possible with your node if I can get the syntax correct.
|122|Probe Sensor mV value
|123|Process Variable
|124|Dew point value
|125|Probe Temperature
|126|CO measured value
|127|Probe Resistance value
|128|Probe Response Time
|129|Probe Temperature at last Probe Test
|130|Main Control Output Value
|131|Secondary Control Output Value
|132|PID Out Value - % Output|
|133|Main Control Ouput Display value
|134|Secondary Control Output Display Value
|135|Device Status Mode
|136|Type of Operative setpoint
|137|Operative Setpoint value
|138|Remote Setpoint value
|139|Not Used
|140|Not Used
|141|Not Used
|142|CO Factor
|143|H2 Factor
|144|%O2 process variable