Hi folks,
I’m currently working on linking up my emonTx4 data to a local Prometheus server by subscribing to the MQTT topics (in case anyone’s interested, by using mqtt2prometheus). I’ve found it reasonably straightforward to hook up with that and the info at your MQTT docs, but in order to decide what data to scrape, I want to make sure I’m understanding what’s getting published to MQTT.
My emonHub log is reporting
2023-11-25 11:33:08,338 DEBUG MQTT Publishing: emon/emonTx4_17/MSG 1771064
2023-11-25 11:33:08,339 DEBUG MQTT Publishing: emon/emonTx4_17/Vrms 235.45000000000002
2023-11-25 11:33:08,340 DEBUG MQTT Publishing: emon/emonTx4_17/P1 151
2023-11-25 11:33:08,341 DEBUG MQTT Publishing: emon/emonTx4_17/P2 0
2023-11-25 11:33:08,341 DEBUG MQTT Publishing: emon/emonTx4_17/P3 2
2023-11-25 11:33:08,342 DEBUG MQTT Publishing: emon/emonTx4_17/P4 77
2023-11-25 11:33:08,343 DEBUG MQTT Publishing: emon/emonTx4_17/P5 67
2023-11-25 11:33:08,344 DEBUG MQTT Publishing: emon/emonTx4_17/P6 0
2023-11-25 11:33:08,344 DEBUG MQTT Publishing: emon/emonTx4_17/E1 1578972
2023-11-25 11:33:08,345 DEBUG MQTT Publishing: emon/emonTx4_17/E2 19871
2023-11-25 11:33:08,346 DEBUG MQTT Publishing: emon/emonTx4_17/E3 213163
2023-11-25 11:33:08,347 DEBUG MQTT Publishing: emon/emonTx4_17/E4 886934
2023-11-25 11:33:08,347 DEBUG MQTT Publishing: emon/emonTx4_17/E5 66098
2023-11-25 11:33:08,348 DEBUG MQTT Publishing: emon/emonTx4_17/E6 352590
2023-11-25 11:33:08,349 DEBUG MQTT Publishing: emon/emonTx4_17/T1 0
2023-11-25 11:33:08,349 DEBUG MQTT Publishing: emon/emonTx4_17/T2 0
2023-11-25 11:33:08,351 DEBUG MQTT Publishing: emon/emonTx4_17/T3 0
2023-11-25 11:33:08,352 DEBUG MQTT Publishing: emon/emonTx4_17/pulse 0
2023-11-25 11:33:08,352 DEBUG MQTT Publishing: emon/emonTx4_17/missed 1251
2023-11-25 11:33:08,353 DEBUG MQTT Publishing: emon/emonTx4_17/missedprc 0.9326911606823333
2023-11-25 11:33:08,354 DEBUG MQTT Publishing: emon/emonTx4_17/rssi -70
Most of these I can guess (and really, I probably only need to scrape E1
through E6
), but to be sure I was hoping to check some docs. So I was wondering if/where the meaning of each of these key names is documented? The ones I’m least sure about are MSG
(just a plain message count/ID?), missed
, missedprc
and rssi
.
I have tried searching the docs and this forum but evidently my keyword selection is inadequate. Could someone point me in the right direction?
Thanks,
Suzy