That's great - thank you. I see that the figures are sent as type 'number'. I presume, for the Wh figure, that this must have a maximum ceiling value before it wraps around to zero (unless it is reset by a command). Do you know what this ceiling value is ?
Beiträge von jeremy.morgan
-
-
I have a Shelly EM-50 which is sending JSON reports similar to the one below to an MQTT broker:
shellyproem50-XXXXXXXXXXXX/events/rpc
{
"src" : "shellyproem50-XXXXXXXXXXXX",
"dst" : "shellyproem50-XXXXXXXXXXXX/events",
"method" : "NotifyEvent",
"params" : {
"ts" : 1.70015556066E9,
"events" : [ {
"component" : "em1data:0",
"id" : 0,
"event" : "data",
"ts" : 1.7001555E9,
"data" : {
"ts" : 1700155500,
"period" : 60,
"values" : [ [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 5.1, 5.0, 250.278, 248.644, 249.41, 0.02, 0.02, 0.02 ] ]
}
} ]
}
}
I can't seem to find a definition anywhere in the documentation as to what the figures in the 'values' array represent.
Does anybody know where this information is? Thanks
-
I would like to know if this is possible too. The device is publishing far too frequently at the moment.