I recently set up a Shelly 1PM Mini and integrated it with iobroker using MQTT. The device is successfully sending data to my SQL database, but I’m encountering an issue where the data isn’t being parsed correctly. Here’s what I see in the database under the ‘switch.0’ data point:
{
“id”: 0,
“source”: “WS_in”,
“output”: false,
“apower”: 0.0,
“voltage”: 233.2,
“freq”: 49.9,
“current”: 0.000,
“aenergy”: {
“total”: 0.191,
“by_minute”: [0.000, 0.000, 0.000],
“minute_ts”: 1705078499
},
“ret_aenergy”: {
“total”: 0.000,
“by_minute”: [0.000, 0.000, 0.000],
“minute_ts”: 1705078499
},
“temperature”: {
“tC”: 54.6,
“tF”: 130.2
}
}
The data seems to be there, but it’s not being broken down into individual metrics like voltage, current, or energy consumption. I’ve never encountered this issue before, and I’m not sure what’s causing it. Has anyone else faced a similar problem? I’d appreciate any insights or solutions to resolve this parsing issue. Thanks!