Spikes in data

I need a bit of help tracking down an issue.

I’m seeing random spikes in data trends in EmonCMS and I’m having some trouble tracking down the source. They’re not confined to one node but spread across several nodes consisting of EmonTH’s and an emonTXv3.

Here is one that showed up this morning on a temperature point coming from an emontx.

It shows it spiking down to 28.8 degrees which cant really be a true reading.

What I cant find by looking on in the emonhub log is the source of the 28.8 deg. A search through the complete log for around that time period doesnt show the 28.8 figure anywhere.

These I think are the related data packets for that time period from the node. Temperature T2 from Node 15 is the Boiler Outlet temperature in the trend.

2022-12-30 10:45:21,674 DEBUG    RFM2Pi     6128368 From Node : 15
2022-12-30 10:45:21,674 DEBUG    RFM2Pi     6128368    Values : [1144001, 243.3, 0, 0, 0, 2, 0, 0, 0, 85346, 33.25, 35.87, 300, 2884]
2022-12-30 10:45:21,675 DEBUG    RFM2Pi     6128368      RSSI : -63
2022-12-30 10:45:21,675 DEBUG    RFM2Pi     6128368 Sent to channel(start)' : ToEmonCMS
2022-12-30 10:45:21,676 DEBUG    RFM2Pi     6128368 Sent to channel(end)' : ToEmonCMS
2022-12-30 10:45:21,750 DEBUG    MQTT       Publishing: emon/emontx3cm15/MSG 1144001
2022-12-30 10:45:21,752 DEBUG    MQTT       Publishing: emon/emontx3cm15/Vrms 243.3
2022-12-30 10:45:21,753 DEBUG    MQTT       Publishing: emon/emontx3cm15/P1 0
2022-12-30 10:45:21,755 DEBUG    MQTT       Publishing: emon/emontx3cm15/P2 0
2022-12-30 10:45:21,756 DEBUG    MQTT       Publishing: emon/emontx3cm15/P3 0
2022-12-30 10:45:21,757 DEBUG    MQTT       Publishing: emon/emontx3cm15/P4 2
2022-12-30 10:45:21,759 DEBUG    MQTT       Publishing: emon/emontx3cm15/E1 0
2022-12-30 10:45:21,760 DEBUG    MQTT       Publishing: emon/emontx3cm15/E2 0
2022-12-30 10:45:21,761 DEBUG    MQTT       Publishing: emon/emontx3cm15/E3 0
2022-12-30 10:45:21,763 DEBUG    MQTT       Publishing: emon/emontx3cm15/E4 85346
2022-12-30 10:45:21,764 DEBUG    MQTT       Publishing: emon/emontx3cm15/T1 33.25
2022-12-30 10:45:21,765 DEBUG    MQTT       Publishing: emon/emontx3cm15/T2 35.87
2022-12-30 10:45:21,767 DEBUG    MQTT       Publishing: emon/emontx3cm15/T3 300
2022-12-30 10:45:21,768 DEBUG    MQTT       Publishing: emon/emontx3cm15/pulse 2884
2022-12-30 10:45:21,769 DEBUG    MQTT       Publishing: emon/emontx3cm15/rssi -63
2022-12-30 10:45:21,771 INFO     MQTT       Publishing 'node' formatted msg
2022-12-30 10:45:21,772 DEBUG    MQTT       Publishing: emonhub/rx/15/values 1144001,243.3,0,0,0,2,0,0,0,85346,33.25,35.87,300,2884,-63

2022-12-30 10:45:31,638 DEBUG    RFM2Pi     6128375 From Node : 15
2022-12-30 10:45:31,638 DEBUG    RFM2Pi     6128375    Values : [1144002, 243.31, 0, 0, 0, 2, 0, 0, 0, 85346, 33.12, 35.62, 300, 2884]
2022-12-30 10:45:31,639 DEBUG    RFM2Pi     6128375      RSSI : -63
2022-12-30 10:45:31,639 DEBUG    RFM2Pi     6128375 Sent to channel(start)' : ToEmonCMS
2022-12-30 10:45:31,640 DEBUG    RFM2Pi     6128375 Sent to channel(end)' : ToEmonCMS
2022-12-30 10:45:31,823 DEBUG    MQTT       Publishing: emon/emontx3cm15/MSG 1144002
2022-12-30 10:45:31,825 DEBUG    MQTT       Publishing: emon/emontx3cm15/Vrms 243.31
2022-12-30 10:45:31,826 DEBUG    MQTT       Publishing: emon/emontx3cm15/P1 0
2022-12-30 10:45:31,827 DEBUG    MQTT       Publishing: emon/emontx3cm15/P2 0
2022-12-30 10:45:31,829 DEBUG    MQTT       Publishing: emon/emontx3cm15/P3 0
2022-12-30 10:45:31,830 DEBUG    MQTT       Publishing: emon/emontx3cm15/P4 2
2022-12-30 10:45:31,831 DEBUG    MQTT       Publishing: emon/emontx3cm15/E1 0
2022-12-30 10:45:31,833 DEBUG    MQTT       Publishing: emon/emontx3cm15/E2 0
2022-12-30 10:45:31,834 DEBUG    MQTT       Publishing: emon/emontx3cm15/E3 0
2022-12-30 10:45:31,835 DEBUG    MQTT       Publishing: emon/emontx3cm15/E4 85346
2022-12-30 10:45:31,837 DEBUG    MQTT       Publishing: emon/emontx3cm15/T1 33.12
2022-12-30 10:45:31,838 DEBUG    MQTT       Publishing: emon/emontx3cm15/T2 35.62
2022-12-30 10:45:31,839 DEBUG    MQTT       Publishing: emon/emontx3cm15/T3 300
2022-12-30 10:45:31,840 DEBUG    MQTT       Publishing: emon/emontx3cm15/pulse 2884
2022-12-30 10:45:31,842 DEBUG    MQTT       Publishing: emon/emontx3cm15/rssi -63
2022-12-30 10:45:31,844 INFO     MQTT       Publishing 'node' formatted msg
2022-12-30 10:45:31,844 DEBUG    MQTT       Publishing: emonhub/rx/15/values 1144002,243.31,0,0,0,2,0,0,0,85346,33.12,35.62,300,2884,-63

2022-12-30 10:45:41,622 DEBUG    RFM2Pi     6128382 From Node : 15
2022-12-30 10:45:41,623 DEBUG    RFM2Pi     6128382    Values : [1144003, 243.4, 0, 0, 0, 2, 0, 0, 0, 85346, 33, 35.37, 300, 2884]
2022-12-30 10:45:41,623 DEBUG    RFM2Pi     6128382      RSSI : -63
2022-12-30 10:45:41,624 DEBUG    RFM2Pi     6128382 Sent to channel(start)' : ToEmonCMS
2022-12-30 10:45:41,625 DEBUG    RFM2Pi     6128382 Sent to channel(end)' : ToEmonCMS
2022-12-30 10:45:41,834 DEBUG    MQTT       Publishing: emon/emontx3cm15/MSG 1144003
2022-12-30 10:45:41,836 DEBUG    MQTT       Publishing: emon/emontx3cm15/Vrms 243.4
2022-12-30 10:45:41,837 DEBUG    MQTT       Publishing: emon/emontx3cm15/P1 0
2022-12-30 10:45:41,839 DEBUG    MQTT       Publishing: emon/emontx3cm15/P2 0
2022-12-30 10:45:41,840 DEBUG    MQTT       Publishing: emon/emontx3cm15/P3 0
2022-12-30 10:45:41,842 DEBUG    MQTT       Publishing: emon/emontx3cm15/P4 2
2022-12-30 10:45:41,844 DEBUG    MQTT       Publishing: emon/emontx3cm15/E1 0
2022-12-30 10:45:41,845 DEBUG    MQTT       Publishing: emon/emontx3cm15/E2 0
2022-12-30 10:45:41,847 DEBUG    MQTT       Publishing: emon/emontx3cm15/E3 0
2022-12-30 10:45:41,848 DEBUG    MQTT       Publishing: emon/emontx3cm15/E4 85346
2022-12-30 10:45:41,850 DEBUG    MQTT       Publishing: emon/emontx3cm15/T1 33
2022-12-30 10:45:41,852 DEBUG    MQTT       Publishing: emon/emontx3cm15/T2 35.37
2022-12-30 10:45:41,853 DEBUG    MQTT       Publishing: emon/emontx3cm15/T3 300
2022-12-30 10:45:41,855 DEBUG    MQTT       Publishing: emon/emontx3cm15/pulse 2884
2022-12-30 10:45:41,857 DEBUG    MQTT       Publishing: emon/emontx3cm15/rssi -63
2022-12-30 10:45:41,858 INFO     MQTT       Publishing 'node' formatted msg
2022-12-30 10:45:41,859 DEBUG    MQTT       Publishing: emonhub/rx/15/values 1144003,243.4,0,0,0,2,0,0,0,85346,33,35.37,300,2884,-63

2022-12-30 10:45:51,599 DEBUG    RFM2Pi     6128391 From Node : 15
2022-12-30 10:45:51,600 DEBUG    RFM2Pi     6128391    Values : [1144004, 243.51, 0, 0, 0, 2, 0, 0, 0, 85346, 32.87, 35.12, 300, 2884]
2022-12-30 10:45:51,600 DEBUG    RFM2Pi     6128391      RSSI : -62
2022-12-30 10:45:51,600 DEBUG    RFM2Pi     6128391 Sent to channel(start)' : ToEmonCMS
2022-12-30 10:45:51,600 DEBUG    RFM2Pi     6128391 Sent to channel(end)' : ToEmonCMS
2022-12-30 10:45:51,786 DEBUG    MQTT       Publishing: emon/emontx3cm15/MSG 1144004
2022-12-30 10:45:51,787 DEBUG    MQTT       Publishing: emon/emontx3cm15/Vrms 243.51
2022-12-30 10:45:51,788 DEBUG    MQTT       Publishing: emon/emontx3cm15/P1 0
2022-12-30 10:45:51,789 DEBUG    MQTT       Publishing: emon/emontx3cm15/P2 0
2022-12-30 10:45:51,789 DEBUG    MQTT       Publishing: emon/emontx3cm15/P3 0
2022-12-30 10:45:51,790 DEBUG    MQTT       Publishing: emon/emontx3cm15/P4 2
2022-12-30 10:45:51,791 DEBUG    MQTT       Publishing: emon/emontx3cm15/E1 0
2022-12-30 10:45:51,791 DEBUG    MQTT       Publishing: emon/emontx3cm15/E2 0
2022-12-30 10:45:51,792 DEBUG    MQTT       Publishing: emon/emontx3cm15/E3 0
2022-12-30 10:45:51,793 DEBUG    MQTT       Publishing: emon/emontx3cm15/E4 85346
2022-12-30 10:45:51,793 DEBUG    MQTT       Publishing: emon/emontx3cm15/T1 32.87
2022-12-30 10:45:51,794 DEBUG    MQTT       Publishing: emon/emontx3cm15/T2 35.12
2022-12-30 10:45:51,795 DEBUG    MQTT       Publishing: emon/emontx3cm15/T3 300
2022-12-30 10:45:51,796 DEBUG    MQTT       Publishing: emon/emontx3cm15/pulse 2884
2022-12-30 10:45:51,796 DEBUG    MQTT       Publishing: emon/emontx3cm15/rssi -62
2022-12-30 10:45:51,797 INFO     MQTT       Publishing 'node' formatted msg
2022-12-30 10:45:51,797 DEBUG    MQTT       Publishing: emonhub/rx/15/values 1144004,243.51,0,0,0,2,0,0,0,85346,32.87,35.12,300,2884,-62

2022-12-30 10:46:01,658 DEBUG    RFM2Pi     6128397 From Node : 15
2022-12-30 10:46:01,659 DEBUG    RFM2Pi     6128397    Values : [1144005, 243.48000000000002, 0, 0, 0, 2, 0, 0, 0, 85346, 32.87, 35, 300, 2884]
2022-12-30 10:46:01,660 DEBUG    RFM2Pi     6128397      RSSI : -63
2022-12-30 10:46:01,660 DEBUG    RFM2Pi     6128397 Sent to channel(start)' : ToEmonCMS
2022-12-30 10:46:01,661 DEBUG    RFM2Pi     6128397 Sent to channel(end)' : ToEmonCMS
2022-12-30 10:46:01,902 DEBUG    MQTT       Publishing: emon/emontx3cm15/MSG 1144005
2022-12-30 10:46:01,904 DEBUG    MQTT       Publishing: emon/emontx3cm15/Vrms 243.48000000000002
2022-12-30 10:46:01,905 DEBUG    MQTT       Publishing: emon/emontx3cm15/P1 0
2022-12-30 10:46:01,906 DEBUG    MQTT       Publishing: emon/emontx3cm15/P2 0
2022-12-30 10:46:01,908 DEBUG    MQTT       Publishing: emon/emontx3cm15/P3 0
2022-12-30 10:46:01,909 DEBUG    MQTT       Publishing: emon/emontx3cm15/P4 2
2022-12-30 10:46:01,910 DEBUG    MQTT       Publishing: emon/emontx3cm15/E1 0
2022-12-30 10:46:01,912 DEBUG    MQTT       Publishing: emon/emontx3cm15/E2 0
2022-12-30 10:46:01,913 DEBUG    MQTT       Publishing: emon/emontx3cm15/E3 0
2022-12-30 10:46:01,914 DEBUG    MQTT       Publishing: emon/emontx3cm15/E4 85346
2022-12-30 10:46:01,916 DEBUG    MQTT       Publishing: emon/emontx3cm15/T1 32.87
2022-12-30 10:46:01,917 DEBUG    MQTT       Publishing: emon/emontx3cm15/T2 35
2022-12-30 10:46:01,918 DEBUG    MQTT       Publishing: emon/emontx3cm15/T3 300
2022-12-30 10:46:01,920 DEBUG    MQTT       Publishing: emon/emontx3cm15/pulse 2884
2022-12-30 10:46:01,922 DEBUG    MQTT       Publishing: emon/emontx3cm15/rssi -63
2022-12-30 10:46:01,924 INFO     MQTT       Publishing 'node' formatted msg
2022-12-30 10:46:01,924 DEBUG    MQTT       Publishing: emonhub/rx/15/values 1144005,243.48000000000002,0,0,0,2,0,0,0,85346,32.87,35,300,2884,-63

any clues where else I can check to see where this value has come from. Am I looking at some imminent failure within the EmonPI hardware?

I think I’d invest in a new SD card, meanwhile back up your data to another drive.

That very thing has been on my mind, and I’ve been running a backup every day for the past week :slight_smile: Might just order a preinstalled sdcard from the online shop.

Buying a blank card locally and flashing it (Balena Etcher) would be quicker, if you can write SD cards on your computer. I don’t think The Shop will be there until Tuesday.

Just to note the shop uses high quality ‘industrial’ cards.

Touch wood, replacing the card appears to have stopped the spikes I was seeing across all the feeds.

Now was it the card, was it the reboot, or just switching it off and on that did it?

Anyway, the card that was replaced was originally an emonSD Industrial - Pre-loaded SD card bought from the online shop back in August 2021. I’m going to put the card through some tests to see if I can pick up any failures.

1 Like

Hi @Mike_Henderson,

I work for the Shop. If there is anything amiss with the ‘old’ card, please send me a PM or email the shop - [email protected] - and we will refund the cost of the additional card and shipping.

1 Like

This appears to have returned again. This morning I’m seeing spikes in the data which don’t agree with the emonhub log file again.

When this last appeared the SD card was changed. Could it just have been the power cycling of the EmonPI that cleared the issue when the card was changed?

I’ve seen one spike on an EmonTH early this morning and the spike on this 2nd EmonTH later on.

Any thoughts on whats causing this?

2023-02-23 08:59:52,316 DEBUG    RFM2Pi     2314967 NEW FRAME : OK 28 152 0 236 1 93 2 239 1 108 2 208 1 26 0 1 0 0 0 (-49)
2023-02-23 08:59:52,319 DEBUG    RFM2Pi     2314967 Timestamp : 1677142792.316541
2023-02-23 08:59:52,320 DEBUG    RFM2Pi     2314967 From Node : 28
2023-02-23 08:59:52,320 DEBUG    RFM2Pi     2314967    Values : [15.200000000000001, 49.2, 60.5, 49.5, 62, 46.400000000000006, 2.6, 1]
2023-02-23 08:59:52,321 DEBUG    RFM2Pi     2314967      RSSI : -49
2023-02-23 08:59:52,321 DEBUG    RFM2Pi     2314967 Sent to channel(start)' : ToEmonCMS
2023-02-23 08:59:52,322 DEBUG    RFM2Pi     2314967 Sent to channel(end)' : ToEmonCMS
2023-02-23 08:59:52,555 DEBUG    MQTT       Publishing: emon/emonth10/temperature 15.200000000000001
2023-02-23 08:59:52,556 DEBUG    MQTT       Publishing: emon/emonth10/external temperature1 49.2
2023-02-23 08:59:52,557 DEBUG    MQTT       Publishing: emon/emonth10/external temperature2 60.5
2023-02-23 08:59:52,558 DEBUG    MQTT       Publishing: emon/emonth10/external temperature3 49.5
2023-02-23 08:59:52,559 DEBUG    MQTT       Publishing: emon/emonth10/external temperature4 62
2023-02-23 08:59:52,560 DEBUG    MQTT       Publishing: emon/emonth10/humidity 46.400000000000006
2023-02-23 08:59:52,560 DEBUG    MQTT       Publishing: emon/emonth10/battery 2.6
2023-02-23 08:59:52,561 DEBUG    MQTT       Publishing: emon/emonth10/pulsecount 1
2023-02-23 08:59:52,561 DEBUG    MQTT       Publishing: emon/emonth10/rssi -49
2023-02-23 08:59:52,563 DEBUG    MQTT       Publishing: emonhub/rx/28/values 15.200000000000001,49.2,60.5,49.5,62,46.400000000000006,2.6,1,-49
2023-02-23 09:00:05,174 DEBUG    RFM2Pi     2314980 NEW FRAME : OK 28 152 0 239 1 93 2 239 1 108 2 207 1 26 0 1 0 0 0 (-49)
2023-02-23 09:00:05,176 DEBUG    RFM2Pi     2314980 Timestamp : 1677142805.174256
2023-02-23 09:00:05,177 DEBUG    RFM2Pi     2314980 From Node : 28
2023-02-23 09:00:05,177 DEBUG    RFM2Pi     2314980    Values : [15.200000000000001, 49.5, 60.5, 49.5, 62, 46.300000000000004, 2.6, 1]
2023-02-23 09:00:05,178 DEBUG    RFM2Pi     2314980      RSSI : -49
2023-02-23 09:00:05,179 DEBUG    RFM2Pi     2314980 Sent to channel(start)' : ToEmonCMS
2023-02-23 09:00:05,179 DEBUG    RFM2Pi     2314980 Sent to channel(end)' : ToEmonCMS
2023-02-23 09:00:05,398 DEBUG    MQTT       Publishing: emon/emonth10/temperature 15.200000000000001
2023-02-23 09:00:05,400 DEBUG    MQTT       Publishing: emon/emonth10/external temperature1 49.5
2023-02-23 09:00:05,401 DEBUG    MQTT       Publishing: emon/emonth10/external temperature2 60.5
2023-02-23 09:00:05,403 DEBUG    MQTT       Publishing: emon/emonth10/external temperature3 49.5
2023-02-23 09:00:05,404 DEBUG    MQTT       Publishing: emon/emonth10/external temperature4 62
2023-02-23 09:00:05,406 DEBUG    MQTT       Publishing: emon/emonth10/humidity 46.300000000000004
2023-02-23 09:00:05,407 DEBUG    MQTT       Publishing: emon/emonth10/battery 2.6
2023-02-23 09:00:05,409 DEBUG    MQTT       Publishing: emon/emonth10/pulsecount 1
2023-02-23 09:00:05,411 DEBUG    MQTT       Publishing: emon/emonth10/rssi -49
2023-02-23 09:00:05,412 INFO     MQTT       Publishing 'node' formatted msg
2023-02-23 09:00:05,413 DEBUG    MQTT       Publishing: emonhub/rx/28/values 15.200000000000001,49.5,60.5,49.5,62,46.300000000000004,2.6,1,-49
2023-02-23 09:00:17,937 DEBUG    RFM2Pi     2314986 NEW FRAME : OK 28 152 0 239 1 95 2 241 1 110 2 208 1 26 0 1 0 0 0 (-49)
2023-02-23 09:00:17,938 DEBUG    RFM2Pi     2314986 Timestamp : 1677142817.937275
2023-02-23 09:00:17,938 DEBUG    RFM2Pi     2314986 From Node : 28
2023-02-23 09:00:17,939 DEBUG    RFM2Pi     2314986    Values : [15.200000000000001, 49.5, 60.7, 49.7, 62.2, 46.400000000000006, 2.6, 1]
2023-02-23 09:00:17,939 DEBUG    RFM2Pi     2314986      RSSI : -49
2023-02-23 09:00:17,939 DEBUG    RFM2Pi     2314986 Sent to channel(start)' : ToEmonCMS
2023-02-23 09:00:17,939 DEBUG    RFM2Pi     2314986 Sent to channel(end)' : ToEmonCMS
2023-02-23 09:00:18,035 DEBUG    MQTT       Publishing: emon/emonth10/temperature 15.200000000000001
2023-02-23 09:00:18,036 DEBUG    MQTT       Publishing: emon/emonth10/external temperature1 49.5
2023-02-23 09:00:18,037 DEBUG    MQTT       Publishing: emon/emonth10/external temperature2 60.7
2023-02-23 09:00:18,038 DEBUG    MQTT       Publishing: emon/emonth10/external temperature3 49.7
2023-02-23 09:00:18,039 DEBUG    MQTT       Publishing: emon/emonth10/external temperature4 62.2
2023-02-23 09:00:18,039 DEBUG    MQTT       Publishing: emon/emonth10/humidity 46.400000000000006
2023-02-23 09:00:18,040 DEBUG    MQTT       Publishing: emon/emonth10/battery 2.6
2023-02-23 09:00:18,041 DEBUG    MQTT       Publishing: emon/emonth10/pulsecount 1
2023-02-23 09:00:18,042 DEBUG    MQTT       Publishing: emon/emonth10/rssi -49
2023-02-23 09:00:18,043 INFO     MQTT       Publishing 'node' formatted msg
2023-02-23 09:00:18,043 DEBUG    MQTT       Publishing: emonhub/rx/28/values 15.200000000000001,49.5,60.7,49.7,62.2,46.400000000000006,2.6,1,-49
2023-02-23 09:00:30,738 DEBUG    RFM2Pi     2314997 NEW FRAME : OK 28 152 0 239 1 95 2 241 1 110 2 208 1 26 0 1 0 0 0 (-48)
2023-02-23 09:00:30,740 DEBUG    RFM2Pi     2314997 Timestamp : 1677142830.738174
2023-02-23 09:00:30,741 DEBUG    RFM2Pi     2314997 From Node : 28
2023-02-23 09:00:30,741 DEBUG    RFM2Pi     2314997    Values : [15.200000000000001, 49.5, 60.7, 49.7, 62.2, 46.400000000000006, 2.6, 1]
2023-02-23 09:00:30,742 DEBUG    RFM2Pi     2314997      RSSI : -48
2023-02-23 09:00:30,742 DEBUG    RFM2Pi     2314997 Sent to channel(start)' : ToEmonCMS
2023-02-23 09:00:30,743 DEBUG    RFM2Pi     2314997 Sent to channel(end)' : ToEmonCMS
2023-02-23 09:00:31,026 DEBUG    MQTT       Publishing: emon/emonth10/temperature 15.200000000000001
2023-02-23 09:00:31,028 DEBUG    MQTT       Publishing: emon/emonth10/external temperature1 49.5
2023-02-23 09:00:31,029 DEBUG    MQTT       Publishing: emon/emonth10/external temperature2 60.7
2023-02-23 09:00:31,031 DEBUG    MQTT       Publishing: emon/emonth10/external temperature3 49.7
2023-02-23 09:00:31,032 DEBUG    MQTT       Publishing: emon/emonth10/external temperature4 62.2
2023-02-23 09:00:31,033 DEBUG    MQTT       Publishing: emon/emonth10/humidity 46.400000000000006
2023-02-23 09:00:31,035 DEBUG    MQTT       Publishing: emon/emonth10/battery 2.6
2023-02-23 09:00:31,036 DEBUG    MQTT       Publishing: emon/emonth10/pulsecount 1
2023-02-23 09:00:31,038 DEBUG    MQTT       Publishing: emon/emonth10/rssi -48
2023-02-23 09:00:31,039 INFO     MQTT       Publishing 'node' formatted msg
2023-02-23 09:00:31,040 DEBUG    MQTT       Publishing: emonhub/rx/28/values 15.200000000000001,49.5,60.7,49.7,62.2,46.400000000000006,2.6,1,-48

I’ve also noticed that the event occurring around 9.00 am affected more than one node.

I see that data from a node measuring solar panel performance in the Shed also spiked at the same time.

These three feeds spike towards more or less the same value.

It’s interesting that most seem to have all gone to a value that was in the data, 15.2.

I’ve just noticed the “Publishing ‘node’ formatted message” in the debug, which a while ago I saw advice recommending to move to JSON, which I did (and don’t see spikes other than the odd -5.5 where there was a problem reading a temp sensor).

This is how I changed my emonhub config:

        # Use with emoncms Nodes module
        node_format_enable = 0
        node_format_basetopic = emonhub/

        # Single JSON payload published  - use with Emoncms MQTT
        node_JSON_enable = 1
        node_JSON_basetopic = emon/

Might be worth a try?

Cheers, I’ll have a look at that tomorrow.

Mike

I’ve not made any changes yet. I’ve been waiting for the issue to show up today and to see if I could see where it’s going wrong.

So there was this one a short while ago.

What kind of fault would make all three feeds head for the same number?

And the emonhub log just doesnt reflect this.

2023-02-24 14:38:14,465 DEBUG    RFM2Pi     2395091 NEW FRAME : OK 28 174 0 11 1 221 1 11 1 236 1 213 1 26 0 1 0 0 0 (-47)
2023-02-24 14:38:14,467 DEBUG    RFM2Pi     2395091 Timestamp : 1677249494.464789
2023-02-24 14:38:14,468 DEBUG    RFM2Pi     2395091 From Node : 28
2023-02-24 14:38:14,468 DEBUG    RFM2Pi     2395091    Values : [17.400000000000002, 26.700000000000003, 47.7, 26.700000000000003, 49.2, 46.900000000000006, 2.6, 1]
2023-02-24 14:38:14,469 DEBUG    RFM2Pi     2395091      RSSI : -47
2023-02-24 14:38:14,469 DEBUG    RFM2Pi     2395091 Sent to channel(start)' : ToEmonCMS
2023-02-24 14:38:14,470 DEBUG    RFM2Pi     2395091 Sent to channel(end)' : ToEmonCMS
2023-02-24 14:38:14,531 DEBUG    MQTT       Publishing: emon/emonth10/temperature 17.400000000000002
2023-02-24 14:38:14,533 DEBUG    MQTT       Publishing: emon/emonth10/external temperature1 26.700000000000003
2023-02-24 14:38:14,535 DEBUG    MQTT       Publishing: emon/emonth10/external temperature2 47.7
2023-02-24 14:38:14,537 DEBUG    MQTT       Publishing: emon/emonth10/external temperature3 26.700000000000003
2023-02-24 14:38:14,538 DEBUG    MQTT       Publishing: emon/emonth10/external temperature4 49.2
2023-02-24 14:38:14,540 DEBUG    MQTT       Publishing: emon/emonth10/humidity 46.900000000000006
2023-02-24 14:38:14,541 DEBUG    MQTT       Publishing: emon/emonth10/battery 2.6
2023-02-24 14:38:14,543 DEBUG    MQTT       Publishing: emon/emonth10/pulsecount 1
2023-02-24 14:38:14,545 DEBUG    MQTT       Publishing: emon/emonth10/rssi -47
2023-02-24 14:38:14,547 INFO     MQTT       Publishing 'node' formatted msg
2023-02-24 14:38:14,547 DEBUG    MQTT       Publishing: emonhub/rx/28/values 17.400000000000002,26.700000000000003,47.7,26.700000000000003,49.2,46.900000000000006,2.6,1,-47

if the mosquitto.log was enabled for debug, might I see something in that?

Where are all the extra decimal places coming from?

NEW FRAME : OK 28 174 0 11 1 221 1 11 1 236 1 213 1 26 0 1 0 0 0 (-47)

Its just 267 (256+11) divided by 10?

Mike

Can you select ‘show missing data’ please.
image

The advantage of the JSON format, is all values get the same timestamp (you can enable a timestamp value as well).

The other thing is to look at the emoncms log at the same point and see what it thinks it received.

Thats interesting, never thought about looking at that.

My emoncms.log doesn’t show that level of detail. Does it need to be set for debug messages somewhere?

Yes and interestingly nothing in the docs about doing so.

nano /var/www/emoncms/settings.ini

Yes, I hunted down. It’s now set to info and quite a busy logfile now.

Waiting for another spike now.

1 Like

I more or less understand what I’m seeing detailed in the emoncms.log.

Just one thing, what the padding mode or lack of it means?


2023-02-24 15:57:01.-341|INFO|feed_model.php|post() feedid=21 updatetime=1677254221 feedtime=1677254221 value=628 padding_mode=
2023-02-24 15:57:01.-337|INFO|feed_model.php|post() feedid=528 updatetime=1677254221 feedtime=1677254221 value=385 padding_mode=
2023-02-24 15:57:01.-329|INFO|feed_model.php|post() feedid=22 updatetime=1677254221 feedtime=1677254221 value=10457.244817742 padding_mode=join
2023-02-24 15:57:01.-324|INFO|feed_model.php|post() feedid=469 updatetime=1677254221 feedtime=1677196800 value=5.1505878796894 padding_mode=
2023-02-24 15:57:01.-320|INFO|feed_model.php|post() feedid=23 updatetime=1677254221 feedtime=1677254221 value=474 padding_mode=
2023-02-24 15:57:01.-315|INFO|feed_model.php|post() feedid=24 updatetime=1677254221 feedtime=1677254221 value=5498.5856325348 padding_mode=join
2023-02-24 15:57:01.-310|INFO|feed_model.php|post() feedid=465 updatetime=1677254221 feedtime=1677196800 value=2.4053978951943 padding_mode=