Documentation of data keynames?

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

I’m afraid I don’t think it’s you. As far as I know, missed & missedprc are completely undocumented. Trystan told me in a PM they are the count of “missed” messages - presumably not received, maybe including corrupted and therefore unreliable, messages. I know no more than this.
MSG is indeed a count of the messages originated at source, and rssi is received signal strength indicator - a common term in radio circles (less negative is good - a stronger signal).
For the record:
Vrms - root mean square voltage (the usual measure of your supply voltage).
P1 etc - average power over the reporting period in watts.
E1 etc - the accumulated energy over all time (or since last reset) in Wh.
T1 etc - the temperature in deg. C. Note values 300 - 304 are error values, documented in emonLibCM User Doc.pdf, available here https://community.openenergymonitor.org/t/emonlibcm-version-2-2-2/ )
pulse is a count of pulses detected over all time (or since last reset).

Thanks!