We are reading sensor data using rs485 modbus serial master and try to send it to azure hub with modbus data to server. Using te JSON format:
{
“timestamp” : “2020-05-25T04:10:54.205Z”,
“sensors” : [
{
“sensor”: “s_externaltemp”,
“unit”: “celsius”,
“value”: *register 1040*
},{
“sensor”: “s_humidity”,
“unit”: “percentage”,
“value”: *register 1030*
}
]
}
We need the register data to be seperate in order to use this format. Each value means a different, non-sequential register. The sensor board does not allow for multiple slave addresses. If we try to make this format all the read registers are put after each other and we would like to seperate them. Is this possible and how?
Kind regards,
Lex van Vugt