Update to latest sd (purchased) Backup loaded Not updating

I have purchased the latest ready made SD. I have followed the instructions from the links in Trystons email. I get no output to my screen. I have it setup in home assistant and that works ok. The inputs all Display n/a and Null. I have tried to get it working but am not sure where to go from here.

I have reverted back to my original v9 SD for now.

Welcome back!

Look at the file emonhub.conf in both versions, and compare. Over the years, the NodeIDs have changed and the actual definitions too have changed: if the data coming from the sensor node does not match the definition in the new emonhub.conf, the data is rejected as corrupt and you will indeed see nothing coming through. I think this is the likeliest source of your problem.

You will need to make a note or a copy of the definitions you use in the running (V9) config file, and transfer those into the new. Note there are many copies on the SD card - I’m not sure which one is actively used when emonhub is running.

I don’t know anything about home assistant, so I’ve no idea how that might affect emonHub and emonCMS - what I’ve written above is strictly contained within the working of emonHub, because if emonHub isn’t emitting the data, emonCMS has nothing to display.

Thank you for your prompt reply.
I have checked the emonhub.conf files on both SD cards and they appear to be identical.
This is the conf file that is on both SD cards

#######################################################################
#######################      emonhub.conf     #########################
#######################################################################
### emonHub configuration file, for info see documentation:
### http://github.com/openenergymonitor/emonhub/blob/emon-pi/configuration.md
#######################################################################
#######################    emonHub  settings    #######################
#######################################################################

[hub]
### loglevel must be one of DEBUG, DEBUG, WARNING, ERROR, and CRITICAL
loglevel = DEBUG
### Uncomment this to also send to syslog
# use_syslog = yes
#######################################################################
#######################       Interfacers       #######################
#######################################################################

[interfacers]
### This interfacer manages the RFM12Pi/RFM69Pi/emonPi module
[[RFM2Pi]]
    Type = EmonHubJeeInterfacer
    [[[init_settings]]]
        com_port = /dev/ttyAMA0
        com_baud = 38400                        # 9600 for old RFM12Pi
    [[[runtimesettings]]]
        pubchannels = ToEmonCMS,
        subchannels = ToRFM12,

        group = 210
        frequency = 433
        baseid = 5                              # emonPi / emonBase nodeID
        quiet = true                            # Report incomplete RF packets (no implemented on emonPi)
        calibration = 230V                      # (UK/EU: 230V, US: 110V)
        # interval =  0                         # Interval to transmit time to emonGLCD (seconds)

[[MQTT]]
     Type = EmonHubMqttInterfacer
     [[[init_settings]]]
         mqtt_host = 192.168.1.119
         mqtt_port = 1883
         mqtt_user = mqtt
         mqtt_passwd = mqtt

   # Type = EmonHubMqttInterfacer
   # [[[init_settings]]]
   #     mqtt_host = 127.0.0.1
   #    mqtt_port = 1883
    #    mqtt_user = emonpi
    #    mqtt_passwd = emonpimqtt2016

    [[[runtimesettings]]]
        pubchannels = ToRFM12,
        subchannels = ToEmonCMS,

        # emonhub/rx/10/values format
        # Use with emoncms Nodes module
        node_format_enable = 1
        node_format_basetopic = emonhub/

        # emon/emontx/power1 format - use with Emoncms MQTT input
        # http://github.com/emoncms/emoncms/blob/master/docs/RaspberryPi/MQTT.md
        nodevar_format_enable = 1
        nodevar_format_basetopic = emon/

[[emoncmsorg]]
    Type = EmonHubEmoncmsHTTPInterfacer
    [[[init_settings]]]
    [[[runtimesettings]]]
        pubchannels = ToRFM12,
        subchannels = ToEmonCMS,
        url = https://emoncms.org
        apikey = c5078045230cd38317b483d955af29f8
        senddata = 1                    # Enable sending data to Emoncms.org
        sendstatus = 1                  # Enable sending WAN IP to Emoncms.org MyIP > https://emoncms.org/myip/list
        sendinterval= 30                # Bulk send interval to Emoncms.org in seconds

#######################################################################
#######################          Nodes          #######################
#######################################################################

[nodes]

## See config user guide: http://github.com/openenergymonitor/emonhub/blob/master/configuration.md

[[5]]
    nodename = emonpi
    [[[rx]]]
        names = power1,power2,power1pluspower2,vrms,t1,t2,t3,t4,t5,t6,pulsecount
        datacodes = h, h, h, h, h, h, h, h, h, h, L
        scales = 1,1,1,0.01,0.1,0.1,0.1,0.1,0.1,0.1,1
        units = W,W,W,V,C,C,C,C,C,C,p

[[6]]
    nodename = emontxshield
    [[[rx]]]
       names = power1, power2, power3, power4, vrms
       datacode = h
       scales = 1,1,1,1,0.01
       units =W,W,W,W,V

[[7]]
   nodename = emontx4
   [[[rx]]]
      names = power1, power2, power3, power4, vrms, temp1, temp2, temp3, temp4, temp5, temp6, pulse
      datacodes = h,h,h,h,h,h,h,h,h,h,h,L
      scales = 1,1,1,1,0.01,0.1,0.1, 0.1,0.1,0.1,0.1,1
      units =W,W,W,W,V,C,C,C,C,C,C,p

[[8]]
    nodename = emontx3
    [[[rx]]]
       names = power1, power2, power3, power4, vrms, temp1, temp2, temp3, temp4, temp5, temp6, pulse
       datacodes = h,h,h,h,h,h,h,h,h,h,h,L
       scales = 1,1,1,1,0.01,0.1,0.1, 0.1,0.1,0.1,0.1,1
       units =W,W,W,W,V,C,C,C,C,C,C,p

[[9]]
   nodename = emontx2
   [[[rx]]]
      names = power1, power2, power3, power4, vrms, temp1, temp2, temp3, temp4, temp5, temp6, pulse
      datacode = h
      scales = 1,1,1,1,0.01,0.1,0.1, 0.1,0.1,0.1,0.1,1
      units =W,W,W,W,V,C,C,C,C,C,C,p

[[10]]
    nodename = emontx1
    [[[rx]]]
       names = power1, power2, power3, power4, vrms, temp1, temp2, temp3, temp4, temp5, temp6, pulse
       datacode = h
       scales = 1,1,1,1,0.01,0.1,0.1, 0.1,0.1,0.1,0.1,1
       units =W,W,W,W,V,C,C,C,C,C,C,p

[[11]]
    nodename = 3phase
    [[[rx]]]
       names = powerL1, powerL2, powerL3, power4, Vrms, temp1, temp2, temp3, temp4, temp5, temp6
       datacode = h
       scales = 1,1,1,1,0.01,0.1,0.1,0.1,0.1,0.1,0.1
       units =W,W,W,W,V,C,C,C,C,C,C

[[19]]
   nodename = emonth1
   [[[rx]]]
      names = temperature, external temperature, humidity, battery
      datacode = h
      scales = 0.1,0.1,0.1,0.1
      units = C,C,%,V

[[20]]
   nodename = emonth2
   [[[rx]]]
      names = temperature, external temperature, humidity, battery
      datacode = h
      scales = 0.1,0.1,0.1,0.1
      units = C,C,%,V

[[21]]
   nodename = emonth3
   [[[rx]]]
      names = temperature, external temperature, humidity, battery
      datacode = h
      scales = 0.1,0.1,0.1,0.1
      units = C,C,%,V

[[22]]
   nodename = emonth4
   [[[rx]]]
      names = temperature, external temperature, humidity, battery
      datacode = h
      scales = 0.1,0.1,0.1,0.1
      units = C,C,%,V

[[23]]
    nodename = emonth5
    [[[rx]]]
       names = temperature, external temperature, humidity, battery, pulsecount
       datacodes = h,h,h,h,L
       scales = 0.1,0.1,0.1,0.1,1
       units = C,C,%,V,p

[[24]]
    nodename = emonth6
    [[[rx]]]
       names = temperature, external temperature, humidity, battery, pulsecount
       datacodes = h,h,h,h,L
       scales = 0.1,0.1,0.1,0.1,1
       units = C,C,%,V,p

[[25]]
    nodename = emonth7
    [[[rx]]]
       names = temperature, external temperature, humidity, battery, pulsecount
       datacodes = h,h,h,h,L
       scales = 0.1,0.1,0.1,0.1,1
       units = C,C,%,V,p

[[26]]
    nodename = emonth8
    [[[rx]]]
       names = temperature, external temperature, humidity, battery, pulsecount
       datacodes = h,h,h,h,L
       scales = 0.1,0.1,0.1,0.1,1
       units = C,C,%,V,p

[[12]]
    nodename = 3phase2
    [[[rx]]]
       names = powerL1, powerL2, powerL3, power4, Vrms, temp1, temp2, temp3, temp4, temp5, temp6, pulse
       datacodes = h,h,h,h,h,h,h,h,h,h,h,L
       scales = 1,1,1,1,0.01,0.1,0.1,0.1,0.1,0.1,0.1,1
       units =W,W,W,W,V,C,C,C,C,C,C,p

[[13]]
    nodename = 3phase3
    [[[rx]]]
       names = powerL1, powerL2, powerL3, power4, Vrms, temp1, temp2, temp3, temp4, temp5, temp6, pulse
       datacodes = h,h,h,h,h,h,h,h,h,h,h,L
       scales = 1,1,1,1,0.01,0.1,0.1,0.1,0.1,0.1,0.1,1
       units = W,W,W,W,V,C,C,C,C,C,C,p

[[14]]
    nodename = 3phase4
    [[[rx]]]
       names = powerL1, powerL2, powerL3, power4, Vrms, temp1, temp2, temp3, temp4, temp5, temp6, pulse
       datacodes = h,h,h,h,h,h,h,h,h,h,h,L
       scales = 1,1,1,1,0.01,0.1,0.1,0.1,0.1,0.1,0.1,1
       units = W,W,W,W,V,C,C,C,C,C,C,p

[[15]]
    nodename = emontx3cm15
    [[[rx]]]
        names = MSG, Vrms, P1, P2, P3, P4, E1, E2, E3, E4, T1, T2, T3, pulse
        datacodes = L,h,h,h,h,h,L,L,L,L,h,h,h,L
        scales = 1,0.01,1,1,1,1,1,1,1,1,0.01,0.01,0.01,1
        units = n,V,W,W,W,W,Wh,Wh,Wh,Wh,C,C,C,p
        whitening = 1

[[16]]
    nodename = emontx3cm16
    [[[rx]]]
        names = MSG, Vrms, P1, P2, P3, P4, E1, E2, E3, E4, T1, T2, T3, pulse
        datacodes = L,h,h,h,h,h,L,L,L,L,h,h,h,L
        scales = 1,0.01,1,1,1,1,1,1,1,1,0.01,0.01,0.01,1
        units = n,V,W,W,W,W,Wh,Wh,Wh,Wh,C,C,C,p
        whitening = 1

I don’t know what instructions you followed, so I need a little more information. Where are the inputs coming from - what types of sensor nodes and what Node IDs?

What device is the SD Card is in - is it an emonBase or emonPi, or something else?

How is the data getting into that?

What appears in the emonHub log? (new and old SD cards?)

It all started with this email below. I followed the links in it.
I will collate the rest of the information you require in a while.

Hello

It’s Trystan here from OpenEnergyMonitor and administrator of emoncms.org.

This is a quick email to let you know of an issue affecting an emoncms.org account associated with your email address, specifically stopping data from being uploaded from your emonPi/emonBase or RaspberryPi device to emoncms.org.

The software that secures this connection has changed what is called a root certificate, that takes part in the process of securing the connection. To fix the issue we recommend upgrading to our latest emonSD image. This can be downloaded for free and data imported from your existing SD card using our import process documented here Import / Backup / Restore / Update — OpenEnergyMonitor 0.0.1 documentation

I’ve created a forum post to discuss and track this issue, alternative solutions are also being discussed but I thought I’d at least get this email out to you so that you are aware of the issue and don’t end up losing too much data, I know how much of a pain that is!

My apologies for the inconvenience.

Best regards

Trystan

1 Like



2021-10-18 17:17:04,821 DEBUG    RFM2Pi     369 NEW FRAME : OK 5 253 1 90 0 87 2 144 89 0 0 0 0 0 0 0 0 0 0 0 0 240 46 0 0 (-0)
2021-10-18 17:17:04,824 DEBUG    RFM2Pi     369 Timestamp : 1634573824.821632
2021-10-18 17:17:04,825 DEBUG    RFM2Pi     369 From Node : 5
2021-10-18 17:17:04,825 DEBUG    RFM2Pi     369    Values : [509, 90, 599, 229.28, 0, 0, 0, 0, 0, 0, 12016]
2021-10-18 17:17:04,826 DEBUG    RFM2Pi     369 Sent to channel(start)' : ToEmonCMS
2021-10-18 17:17:04,826 DEBUG    RFM2Pi     369 Sent to channel(end)' : ToEmonCMS
2021-10-18 17:17:05,057 DEBUG    MQTT       Publishing: emon/emonpi/power1 509
2021-10-18 17:17:05,059 DEBUG    MQTT       Publishing: emon/emonpi/power2 90
2021-10-18 17:17:05,060 DEBUG    MQTT       Publishing: emon/emonpi/power1pluspower2 599
2021-10-18 17:17:05,062 DEBUG    MQTT       Publishing: emon/emonpi/vrms 229.28
2021-10-18 17:17:05,063 DEBUG    MQTT       Publishing: emon/emonpi/t1 0
2021-10-18 17:17:05,065 DEBUG    MQTT       Publishing: emon/emonpi/t2 0
2021-10-18 17:17:05,066 DEBUG    MQTT       Publishing: emon/emonpi/t3 0
2021-10-18 17:17:05,067 DEBUG    MQTT       Publishing: emon/emonpi/t4 0
2021-10-18 17:17:05,068 DEBUG    MQTT       Publishing: emon/emonpi/t5 0
2021-10-18 17:17:05,070 DEBUG    MQTT       Publishing: emon/emonpi/t6 0
2021-10-18 17:17:05,071 DEBUG    MQTT       Publishing: emon/emonpi/pulsecount 12016
2021-10-18 17:17:05,072 INFO     MQTT       Publishing 'node' formatted msg
2021-10-18 17:17:05,073 DEBUG    MQTT       Publishing: emonhub/rx/5/values 509,90,599,229.28,0,0,0,0,0,0,12016
2021-10-18 17:17:09,767 DEBUG    RFM2Pi     370 NEW FRAME : OK 5 0 2 96 0 96 2 48 89 0 0 0 0 0 0 0 0 0 0 0 0 0 47 0 0 (-0)
2021-10-18 17:17:09,770 DEBUG    RFM2Pi     370 Timestamp : 1634573829.766840
2021-10-18 17:17:09,770 DEBUG    RFM2Pi     370 From Node : 5
2021-10-18 17:17:09,771 DEBUG    RFM2Pi     370    Values : [512, 96, 608, 228.32, 0, 0, 0, 0, 0, 0, 12032]
2021-10-18 17:17:09,772 DEBUG    RFM2Pi     370 Sent to channel(start)' : ToEmonCMS
2021-10-18 17:17:09,772 DEBUG    RFM2Pi     370 Sent to channel(end)' : ToEmonCMS
2021-10-18 17:17:09,819 DEBUG    MQTT       Publishing: emon/emonpi/power1 512
2021-10-18 17:17:09,821 DEBUG    MQTT       Publishing: emon/emonpi/power2 96
2021-10-18 17:17:09,822 DEBUG    MQTT       Publishing: emon/emonpi/power1pluspower2 608
2021-10-18 17:17:09,823 DEBUG    MQTT       Publishing: emon/emonpi/vrms 228.32
2021-10-18 17:17:09,825 DEBUG    MQTT       Publishing: emon/emonpi/t1 0
2021-10-18 17:17:09,826 DEBUG    MQTT       Publishing: emon/emonpi/t2 0
2021-10-18 17:17:09,827 DEBUG    MQTT       Publishing: emon/emonpi/t3 0
2021-10-18 17:17:09,828 DEBUG    MQTT       Publishing: emon/emonpi/t4 0
2021-10-18 17:17:09,830 DEBUG    MQTT       Publishing: emon/emonpi/t5 0
2021-10-18 17:17:09,831 DEBUG    MQTT       Publishing: emon/emonpi/t6 0
2021-10-18 17:17:09,832 DEBUG    MQTT       Publishing: emon/emonpi/pulsecount 12032
2021-10-18 17:17:09,834 INFO     MQTT       Publishing 'node' formatted msg
2021-10-18 17:17:09,834 DEBUG    MQTT       Publishing: emonhub/rx/5/values 512,96,608,228.32,0,0,0,0,0,0,12032
2021-10-18 17:17:09,974 DEBUG    emoncmsorg Buffer size: 7
2021-10-18 17:17:09,976 INFO     emoncmsorg sending: https://emoncms.org/input/bulk.json? data=[[1634573799.8066502,5,494,98,592,228.4,0,0,0,0,0,0,11925],[1634573804.845518,5,492,96,588,228.46,0,0,0,0,0,0,11946],[1634573809.7966187,5,511,102,613,228.62,0,0,0,0,0,0,11968],[1634573814.838066,5,525,97,622,228.62,0,0,0,0,0,0,11983],[1634573819.7821095,5,495,97,592,228.55,0,0,0,0,0,0,12000],[1634573824.8216321,5,509,90,599,229.28,0,0,0,0,0,0,12016],[1634573829.7668405,5,512,96,608,228.32,0,0,0,0,0,0,12032]]&sentat=1634573829&apikey=E-M-O-N-C-M-S-A-P-I-K-E-Y
2021-10-18 17:17:10,182 DEBUG    emoncmsorg acknowledged receipt with 'ok' from https://emoncms.org
2021-10-18 17:17:14,813 DEBUG    RFM2Pi     371 NEW FRAME : OK 5 251 1 99 0 94 2 129 89 0 0 0 0 0 0 0 0 0 0 0 0 12 47 0 0 (-0)
2021-10-18 17:17:14,816 DEBUG    RFM2Pi     371 Timestamp : 1634573834.813520
2021-10-18 17:17:14,816 DEBUG    RFM2Pi     371 From Node : 5
2021-10-18 17:17:14,817 DEBUG    RFM2Pi     371    Values : [507, 99, 606, 229.13, 0, 0, 0, 0, 0, 0, 12044]
2021-10-18 17:17:14,818 DEBUG    RFM2Pi     371 Sent to channel(start)' : ToEmonCMS
2021-10-18 17:17:14,818 DEBUG    RFM2Pi     371 Sent to channel(end)' : ToEmonCMS
2021-10-18 17:17:15,085 DEBUG    MQTT       Publishing: emon/emonpi/power1 507
2021-10-18 17:17:15,086 DEBUG    MQTT       Publishing: emon/emonpi/power2 99
2021-10-18 17:17:15,088 DEBUG    MQTT       Publishing: emon/emonpi/power1pluspower2 606
2021-10-18 17:17:15,089 DEBUG    MQTT       Publishing: emon/emonpi/vrms 229.13
2021-10-18 17:17:15,091 DEBUG    MQTT       Publishing: emon/emonpi/t1 0
2021-10-18 17:17:15,092 DEBUG    MQTT       Publishing: emon/emonpi/t2 0
2021-10-18 17:17:15,093 DEBUG    MQTT       Publishing: emon/emonpi/t3 0
2021-10-18 17:17:15,095 DEBUG    MQTT       Publishing: emon/emonpi/t4 0
2021-10-18 17:17:15,096 DEBUG    MQTT       Publishing: emon/emonpi/t5 0
2021-10-18 17:17:15,097 DEBUG    MQTT       Publishing: emon/emonpi/t6 0
2021-10-18 17:17:15,098 DEBUG    MQTT       Publishing: emon/emonpi/pulsecount 12044
2021-10-18 17:17:15,100 INFO     MQTT       Publishing 'node' formatted msg
2021-10-18 17:17:15,100 DEBUG    MQTT       Publishing: emonhub/rx/5/values 507,99,606,229.13,0,0,0,0,0,0,12044
2021-10-18 17:17:19,779 DEBUG    RFM2Pi     372 NEW FRAME : OK 5 255 1 98 0 97 2 10 89 0 0 0 0 0 0 0 0 0 0 0 0 33 47 0 0 (-0)
2021-10-18 17:17:19,782 DEBUG    RFM2Pi     372 Timestamp : 1634573839.779176
2021-10-18 17:17:19,782 DEBUG    RFM2Pi     372 From Node : 5
2021-10-18 17:17:19,783 DEBUG    RFM2Pi     372    Values : [511, 98, 609, 227.94, 0, 0, 0, 0, 0, 0, 12065]
2021-10-18 17:17:19,783 DEBUG    RFM2Pi     372 Sent to channel(start)' : ToEmonCMS
2021-10-18 17:17:19,784 DEBUG    RFM2Pi     372 Sent to channel(end)' : ToEmonCMS
2021-10-18 17:17:20,033 DEBUG    MQTT       Publishing: emon/emonpi/power1 511
2021-10-18 17:17:20,035 DEBUG    MQTT       Publishing: emon/emonpi/power2 98
2021-10-18 17:17:20,036 DEBUG    MQTT       Publishing: emon/emonpi/power1pluspower2 609
2021-10-18 17:17:20,038 DEBUG    MQTT       Publishing: emon/emonpi/vrms 227.94
2021-10-18 17:17:20,039 DEBUG    MQTT       Publishing: emon/emonpi/t1 0
2021-10-18 17:17:20,041 DEBUG    MQTT       Publishing: emon/emonpi/t2 0
2021-10-18 17:17:20,042 DEBUG    MQTT       Publishing: emon/emonpi/t3 0
2021-10-18 17:17:20,044 DEBUG    MQTT       Publishing: emon/emonpi/t4 0
2021-10-18 17:17:20,045 DEBUG    MQTT       Publishing: emon/emonpi/t5 0
2021-10-18 17:17:20,047 DEBUG    MQTT       Publishing: emon/emonpi/t6 0
2021-10-18 17:17:20,048 DEBUG    MQTT       Publishing: emon/emonpi/pulsecount 12065
2021-10-18 17:17:20,050 INFO     MQTT       Publishing 'node' formatted msg
2021-10-18 17:17:20,051 DEBUG    MQTT       Publishing: emonhub/rx/5/values 511,98,609,227.94,0,0,0,0,0,0,12065
2021-10-18 17:17:24,827 DEBUG    RFM2Pi     373 NEW FRAME : OK 5 241 1 99 0 84 2 25 89 0 0 0 0 0 0 0 0 0 0 0 0 50 47 0 0 (-0)
2021-10-18 17:17:24,829 DEBUG    RFM2Pi     373 Timestamp : 1634573844.826864
2021-10-18 17:17:24,830 DEBUG    RFM2Pi     373 From Node : 5
2021-10-18 17:17:24,830 DEBUG    RFM2Pi     373    Values : [497, 99, 596, 228.09, 0, 0, 0, 0, 0, 0, 12082]
2021-10-18 17:17:24,832 DEBUG    RFM2Pi     373 Sent to channel(start)' : ToEmonCMS
2021-10-18 17:17:24,832 DEBUG    RFM2Pi     373 Sent to channel(end)' : ToEmonCMS
2021-10-18 17:17:24,984 DEBUG    MQTT       Publishing: emon/emonpi/power1 497
2021-10-18 17:17:24,986 DEBUG    MQTT       Publishing: emon/emonpi/power2 99
2021-10-18 17:17:24,988 DEBUG    MQTT       Publishing: emon/emonpi/power1pluspower2 596
2021-10-18 17:17:24,990 DEBUG    MQTT       Publishing: emon/emonpi/vrms 228.09
2021-10-18 17:17:24,994 DEBUG    MQTT       Publishing: emon/emonpi/t1 0
2021-10-18 17:17:24,996 DEBUG    MQTT       Publishing: emon/emonpi/t2 0
2021-10-18 17:17:24,997 DEBUG    MQTT       Publishing: emon/emonpi/t3 0
2021-10-18 17:17:24,999 DEBUG    MQTT       Publishing: emon/emonpi/t4 0
2021-10-18 17:17:25,001 DEBUG    MQTT       Publishing: emon/emonpi/t5 0
2021-10-18 17:17:25,003 DEBUG    MQTT       Publishing: emon/emonpi/t6 0
2021-10-18 17:17:25,004 DEBUG    MQTT       Publishing: emon/emonpi/pulsecount 12082
2021-10-18 17:17:25,006 INFO     MQTT       Publishing 'node' formatted msg
2021-10-18 17:17:25,007 DEBUG    MQTT       Publishing: emonhub/rx/5/values 497,99,596,228.09,0,0,0,0,0,0,12082
2021-10-18 17:17:29,777 DEBUG    RFM2Pi     374 NEW FRAME : OK 5 233 1 101 0 78 2 30 89 0 0 0 0 0 0 0 0 0 0 0 0 68 47 0 0 (-0)
2021-10-18 17:17:29,780 DEBUG    RFM2Pi     374 Timestamp : 1634573849.777556
2021-10-18 17:17:29,781 DEBUG    RFM2Pi     374 From Node : 5
2021-10-18 17:17:29,781 DEBUG    RFM2Pi     374    Values : [489, 101, 590, 228.14000000000001, 0, 0, 0, 0, 0, 0, 12100]
2021-10-18 17:17:29,782 DEBUG    RFM2Pi     374 Sent to channel(start)' : ToEmonCMS
2021-10-18 17:17:29,782 DEBUG    RFM2Pi     374 Sent to channel(end)' : ToEmonCMS
2021-10-18 17:17:29,941 DEBUG    MQTT       Publishing: emon/emonpi/power1 489
2021-10-18 17:17:29,943 DEBUG    MQTT       Publishing: emon/emonpi/power2 101
2021-10-18 17:17:29,945 DEBUG    MQTT       Publishing: emon/emonpi/power1pluspower2 590
2021-10-18 17:17:29,946 DEBUG    MQTT       Publishing: emon/emonpi/vrms 228.14000000000001
2021-10-18 17:17:29,948 DEBUG    MQTT       Publishing: emon/emonpi/t1 0
2021-10-18 17:17:29,950 DEBUG    MQTT       Publishing: emon/emonpi/t2 0
2021-10-18 17:17:29,951 DEBUG    MQTT       Publishing: emon/emonpi/t3 0
2021-10-18 17:17:29,953 DEBUG    MQTT       Publishing: emon/emonpi/t4 0
2021-10-18 17:17:29,955 DEBUG    MQTT       Publishing: emon/emonpi/t5 0
2021-10-18 17:17:29,956 DEBUG    MQTT       Publishing: emon/emonpi/t6 0
2021-10-18 17:17:29,958 DEBUG    MQTT       Publishing: emon/emonpi/pulsecount 12100
2021-10-18 17:17:29,959 INFO     MQTT       Publishing 'node' formatted msg

Its an Emonpi. This is the result of /feed/list.json.

[{“id”:“6”,“userid”:“1”,“name”:“House feed plus Solar Feed”,“datatype”:“1”,“tag”:“Node emonpi”,“public”:“0”,“size”:“25076864”,“engine”:“5”,“processList”:"",“unit”:“W”,“time”:1634298240,“value”:2355,“start_time”:1495568610,“interval”:10},{“id”:“8”,“userid”:“1”,“name”:“Voltage”,“datatype”:“1”,“tag”:“Node emonpi”,“public”:“0”,“size”:“25076280”,“engine”:“5”,“processList”:"",“unit”:"",“time”:1634298240,“value”:241.11999511719,“start_time”:1495570070,“interval”:10},{“id”:“13”,“userid”:“1”,“name”:“House feed plus Solar Kwh”,“datatype”:“1”,“tag”:“Node emonpi”,“public”:“0”,“size”:“25059404”,“engine”:“5”,“processList”:"",“unit”:"",“time”:1634298240,“value”:34636.4296875,“start_time”:1495612260,“interval”:10},{“id”:“14”,“userid”:“1”,“name”:“Car Charger”,“datatype”:“1”,“tag”:“Node emonpi”,“public”:“0”,“size”:“24982936”,“engine”:“5”,“processList”:"",“unit”:"",“time”:1634298240,“value”:104285408,“start_time”:1495803430,“interval”:10},{“id”:“16”,“userid”:“1”,“name”:“raw pulse”,“datatype”:“1”,“tag”:“Node emonpi”,“public”:“0”,“size”:“24804932”,“engine”:“5”,“processList”:"",“unit”:"",“time”:1634298240,“value”:2739394,“start_time”:1496248440,“interval”:10},{“id”:“18”,“userid”:“1”,“name”:“import”,“datatype”:“1”,“tag”:“Node emonpi”,“public”:“0”,“size”:“24675492”,“engine”:“5”,“processList”:"",“unit”:"",“time”:1634298240,“value”:391,“start_time”:1496572040,“interval”:10},{“id”:“19”,“userid”:“1”,“name”:“import_kwh”,“datatype”:“1”,“tag”:“Node emonpi”,“public”:“0”,“size”:“24675492”,“engine”:“5”,“processList”:"",“unit”:"",“time”:1634298240,“value”:25478.109375,“start_time”:1496572040,“interval”:10},{“id”:“24”,“userid”:“1”,“name”:“solar”,“datatype”:“1”,“tag”:“Node emonpi”,“public”:“0”,“size”:“24674964”,“engine”:“5”,“processList”:"",“unit”:"",“time”:1634298240,“value”:1964,“start_time”:1496573360,“interval”:10},{“id”:“25”,“userid”:“1”,“name”:“solar_kwh”,“datatype”:“1”,“tag”:“Node emonpi”,“public”:“0”,“size”:“24674920”,“engine”:“5”,“processList”:"",“unit”:"",“time”:1634298240,“value”:12824.319335938,“start_time”:1496573470,“interval”:10},{“id”:“26”,“userid”:“1”,“name”:“use”,“datatype”:“1”,“tag”:“Node emonpi”,“public”:“0”,“size”:“24674920”,“engine”:“5”,“processList”:"",“unit”:"",“time”:1634298240,“value”:2355,“start_time”:1496573470,“interval”:10},{“id”:“27”,“userid”:“1”,“name”:“use_kwh”,“datatype”:“1”,“tag”:“Node emonpi”,“public”:“0”,“size”:“24674920”,“engine”:“5”,“processList”:"",“unit”:"",“time”:1634298240,“value”:34349.9375,“start_time”:1496573470,“interval”:10}]

/feed/get.json?id=1&field=name
results in
{“success”:false,“message”:“Feed does not exist”}

Not sure if that’s enough to go on with. Hope so.

I can see that the data from the emonPi itself is being received and decoded by emonHub, but there is no evidence of the data from the other sensors that I can see on the inputs page. Whether there should be or not, I don’t know because you didn’t answer the question. There’s no point in looking at Feeds while the data isn’t getting as far as the Inputs, but I can’t see why it isn’t getting there.

This needs someone with deeper knowledge of the inner workings of emonCMS than I have.

Hi Robert thank you for trying to help a relatively nieve me when it comes to the Emonpi.
I am sorry I wrongly assumed the screenshot of the inputs was what was needed to answer your question. I have a CT on the solar tails and and aCT on the mains tails. There is also a pulse counter on the car charger meter but I don’t use that. I hope that is the information needed.

Hello @blawre0000 is the data in the emonhub log updating all the time

Looks like a day and a half ago but your post was only 14h ago?

It looks like the issue is the MQTT settings, they are set in your emonhub.conf to:

[[MQTT]]
     Type = EmonHubMqttInterfacer
     [[[init_settings]]]
         mqtt_host = 192.168.1.119
         mqtt_port = 1883
         mqtt_user = mqtt
         mqtt_passwd = mqtt

but the emonPi is expecting:

[[MQTT]]
    Type = EmonHubMqttInterfacer
    [[[init_settings]]]
        mqtt_host = 127.0.0.1
        mqtt_port = 1883
        mqtt_user = emonpi
        mqtt_passwd = emonpimqtt2016

It looks like you have configured a MQTT server on another machine? You probably need to update the MQTT section in /var/www/emoncms/settings.ini to point to the MQTT broker that you wish to use?

Oh whoooow Thank you Trystan. That was an easy fix for someone who knows the ini s and outs haha.
Thanks also to Robert for his patients and time.
Looking good now. I am very happy thanks again

1 Like