Hi
I am having a strange issue with a few of my decoders, for the most part they work as expected but occasionally i get a bad interpretation of a payload. When I run this SAME payload through the payload test function it works fine.
screen shots attached
Expected JSON output / output using SAME raw payload as :
{
“BatteryVoltage”: {
“channel”: 1,
“unit”: “Volt”,
“value”: 3.631
},
“Hex”: {
“channel”: 1,
“unit”: null,
“value”: “0100EB023C04018C0500070E2F1102”
},
“Humidity”: {
“channel”: 1,
“unit”: “Relative Humidity”,
“value”: 60
},
“Lux”: {
“channel”: 1,
“unit”: “Lux”,
“value”: 396
},
“OccupancyHistory”: {
“channel”: 1,
“unit”: null,
“value”: 0
},
“OccupancyIntensity”: {
“channel”: 1,
“unit”: null,
“value”: 2
},
“Port”: {
“channel”: 1,
“unit”: null,
“value”: 1
},
“TemperatureAtm”: {
“channel”: 1,
“unit”: “Degree Celsius”,
“value”: 23.5
}
}
Observed JSON output, in application data traffic:
{
“BatteryVoltage”: “map[unit:Volt value:3.631 channel:1]”,
“Hex”: “map[channel:1 unit: value:0100EB023C04018C0500070E2F1102]”,
“Humidity”: “map[channel:1 unit:Relative Humidity value:60]”,
“Lux”: “map[value:396 channel:1 unit:Lux]”,
“OccupancyHistory”: “map[channel:1 unit: value:0]”,
“OccupancyIntensity”: “map[channel:1 unit: value:2]”,
“Port”: “map[channel:1 unit: value:5]”,
“TemperatureAtm”: “map[unit:Degree Celsius value:23.5 channel:1]”
}
Any ideas what’s going on?
data traffic - unexpected result:
retry raw payload in test - works fine