I receive these 3 (6) sensors on the same topic :
QoS: 0 - Retain: false
Message 2 received on home/OpenMQTTGateway2/PilighttoMQTT at 18:50:
{
"message": {
"id": 162,
"channel": 1,
"battery": 1,
"temperature": 19.3,
"humidity": 79
},
"protocol": "nexus",
"length": "162",
"value": "162",
"repeats": 2,
"status": 2
}
QoS: 0 - Retain: false
Message 1 received on home/OpenMQTTGateway2/PilighttoMQTT at 18:50:
{
"message": {
"id": 69,
"channel": 2,
"battery": 1,
"temperature": 23.1,
"humidity": 56
},
"protocol": "nexus",
"length": "69",
"value": "69",
"repeats": 2,
"status": 2
}
QoS: 0 - Retain: false
Message 0 received on home/OpenMQTTGateway2/PilighttoMQTT at 18:50:
{
"message": {
"id": 228,
"channel": 1,
"battery": 0,
"temperature": 26.9,
"humidity": 56
},
"protocol": "nexus",
"length": "228",
"value": "228",
"repeats": 2,
"status": 2
}
What is the best way to split them into 6 different sensors ?