All nodes inactive

I decided to add an external feed to emoncms.org today and that all worked fine. Whilst I was in the admin page on my local Emoncms I hit the “Update emonPi” button which said it would update on the next cron run but appeared to do nothing after that. Then I noticed that my feeds had all stopped. Not being able to see anything wrong I decided to reboot the Pi to see if it showed anything. Now all my nodes are inactive.

The emonhub.log only has a single entry from April:

2016-04-16 14:17:26,398 CRITICAL MainThread Error parsing config file "/home/pi/data/emonhub.conf": Parsing failed with several errors.
First error at line 238.

This is node 5 emonPi which after searching for a similar issue on the old forum looks to be correct.

What should I check next?

EDIT: It looks like the nodes configurations were duplicated 3 times so I’ve edited to make sure there is only one definition of each. I now have the emonTX node back but the emonPi node is still inactive. I don’t know if that’s right but at least data is being logged again.

I have a similar problem:
after 16 months of great work of my emonpi with internal emoncms, I try to use the remote one on emoncms.org to be able to monitor my solar plant remotely. It seams work for a couple of day but us I’m not able to see any more the local monitoring and the remote one is too slow for my wife :slight_smile: I decide to come back to the local one.
Here start my problem.
I suppose that remove the API key is enough but it not work, this stop only the remote emoncms data.
i try to restart the emopi, I try to update the emonpi, and last tentative to factoryreset.
No result.
Now I have all node inactive, no measure valid.
this is my emonhub.log view on emonpi:

2016-12-21 22:53:10,315 CRITICAL MainThread Error parsing config file "/home/pi/data/emonhub.conf": Parsing failed with several errors.
First error at line 162.

this is my emoncms.log view on emonpi:


2016-12-29 13:24:54 MQTT INFO Reloading config
2016-12-29 13:24:59 FEEDWRITER INFO PHPTimeSeries bytes written: 0
2016-12-29 13:24:59 FEEDWRITER INFO PHPFina bytes written: 0
2016-12-29 13:25:00 MQTT INFO Reloading config
2016-12-29 13:25:06 MQTT INFO Reloading config
2016-12-29 13:25:12 MQTT INFO Reloading config
2016-12-29 13:25:18 MQTT INFO Reloading config
2016-12-29 13:25:24 MQTT INFO Reloading config
2016-12-29 13:25:30 MQTT INFO Reloading config
2016-12-29 13:25:36 MQTT INFO Reloading config
2016-12-29 13:25:42 MQTT INFO Reloading config
2016-12-29 13:25:48 MQTT INFO Reloading config
2016-12-29 13:25:54 MQTT INFO Reloading config

I’m thinking to create a new sd card to restart from zero, can I use the latest one as I have the first release of emonpi?

Any help is appreciate.

There is a problem (starting?) on line 162 of emonhub.conf.

Can you show us your emonhub.conf (obscure any apikeys) ?

ok it is quite long

#######################################################################
#######################      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, INFO, WARNING, ERROR, and CRITICAL
loglevel = DEBUG
### Uncomment this to also send to syslog
# use_syslog = yes
#######################################################################
#######################       Interfacers       #######################
#######################################################################


        


[[emoncmsorg]]
    Type = EmonHubEmoncmsHTTPInterfacer
    [[[init_settings]]]
    [[[runtimesettings]]]
        pubchannels = ToRFM12,
        subchannels = ToEmonCMS,
        url = https://emoncms.org
        apikey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
        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
[[5]]
    nodename = emonPi
    firmware = emonPi_RFM69CW_RF12Demo_DiscreteSampling.ino
    hardware = emonpi
    [[[rx]]]
        names = power1,power2,power1_plus_power2,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
    firmware =emonTxShield
    hardware = 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 = emonTx_4
    firmware =V2_3_emonTxV3_4_DiscreteSampling
    hardware = emonTx_(NodeID_DIP_Switch1:OFF)
    [[[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 = emonTx_3
    firmware =V2_3_emonTxV3_4_DiscreteSampling
    hardware = emonTx_(NodeID_DIP_Switch1:OFF)
    [[[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 = emonTx_2
    firmware =V1_6_emonTxV3_4_DiscreteSampling
    hardware = emonTx_(NodeID_DIP_Switch1:ON)
    [[[rx]]]
       names = power1, power2, power3, power4, Vrms, temp1, temp2, temp3, temp4, temp5, temp6, pulse #Firmware V1.6
       #names = power1, power2, power3, power4, Vrms, temp                                           #Firmware =<V1.4 (un-comment)
       datacode = h
       scales = 1,1,1,1,0.01,0.1,0.1, 0.1,0.1,0.1,0.1,1 #Firmware V1.6
       units =W,W,W,W,V,C,C,C,C,C,C,p                   #FirmwareV1.6
       #scales = 1,1,1,1,0.01,0.1                       #Firmware =<V1.4 (un-comment) 
       #units =W,W,W,W,V,C                              #Firmware =<V1.4 (un-comment)

[[10]]
    nodename = emonTx_1
    firmware =V1_6_emonTxV3_4_DiscreteSampling
    hardware = emonTx_(NodeID_DIP_Switch1:OFF)
    [[[rx]]]
       names = power1, power2, power3, power4, Vrms, temp1, temp2, temp3, temp4, temp5, temp6, pulse #Firmware V1.6
       #names = power1, power2, power3, power4, Vrms, temp                                           #Firmware =<V1.4 (un-comment)
       datacode = h
       scales = 1,1,1,1,0.01,0.1,0.1, 0.1,0.1,0.1,0.1,1 #Firmware V1.6
       units =W,W,W,W,V,C,C,C,C,C,C,p                   #FirmwareV1.6
       #scales = 1,1,1,1,0.01,0.1                       #Firmware =<V1.4 (un-comment) 
       #units =W,W,W,W,V,C                              #Firmware =<V1.4 (un-comment)

[[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 = emonTH_1
    firmware = emonTH_DHT22_DS18B20_RFM69CW
    hardware = emonTH_(Node_ID_Switch_DIP1:OFF_DIP2:OFF)
    [[[rx]]]
       names = temperature, external temperature, humidity, battery
       datacode = h
       scales = 0.1,0.1,0.1,0.1
       units = C,C,%,V

[[20]]
    nodename = emonTH_2
    firmware = emonTH_DHT22_DS18B20_RFM69CW
    hardware = emonTH_(Node_ID_Switch_DIP1:ON_DIP2:OFF)
    [[[rx]]]
       names = temperature, external temperature, humidity, battery
       datacode = h
       scales = 0.1,0.1,0.1,0.1
       units = C,C,%,V

[[21]]
    nodename = emonTH_3
    firmware = emonTH_DHT22_DS18B20_RFM69CW
    hardware = emonTH_(Node_ID_Switch_DIP1:OFF_DIP2:ON)
    [[[rx]]]
       names = temperature, external temperature, humidity, battery
       datacode = h
       scales = 0.1,0.1,0.1,0.1
       units = C,C,%,V

[[22]]
    nodename = emonTH_4
    firmware = V1_5_emonTH_DHT22_DS18B20_RFM69CW
    hardware = emonTH_(Node_ID_Switch_DIP1:ON_DIP2:ON)
    [[[rx]]]
       names = temperature, external temperature, humidity, battery
       datacode = h
       scales = 0.1,0.1,0.1,0.1
       units = C,C,%,V

[[23]]
    nodename = emonTH_5
    firmware = V2.x_emonTH_DHT22_DS18B20_RFM69CW_Pulse
    hardware = emonTH_(Node_ID_Switch_DIP1:OFF_DIP2:OFF)
    [[[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 = emonTH_6
    firmware = V2.x_emonTH_DHT22_DS18B20_RFM69CW_Pulse
    hardware = emonTH_(Node_ID_Switch_DIP1:ON_DIP2:OFF)
    [[[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 = emonTH_7
    firmware = V2.x_emonTH_DHT22_DS18B20_RFM69CW_Pulse
    hardware = emonTH_(Node_ID_Switch_DIP1:OFF_DIP2:ON)
    [[[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 = emonTH_8
    firmware = V2.x_emonTH_DHT22_DS18B20_RFM69CW_Pulse
    hardware = emonTH_(Node_ID_Switch_DIP1:ON_DIP2:ON)
    [[[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

[[5]]
    nodename = emonPi
    firmware = emonPi_RFM69CW_RF12Demo_DiscreteSampling.ino
    hardware = emonpi
    [[[rx]]]
        names = power1,power2,power1_plus_power2,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
    firmware =emonTxShield
    hardware = 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 = emonTx_4
    firmware =V2_3_emonTxV3_4_DiscreteSampling
    hardware = emonTx_(NodeID_DIP_Switch1:OFF)
    [[[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 = emonTx_3
    firmware =V2_3_emonTxV3_4_DiscreteSampling
    hardware = emonTx_(NodeID_DIP_Switch1:OFF)
    [[[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 = emonTx_2
    firmware =V1_6_emonTxV3_4_DiscreteSampling
    hardware = emonTx_(NodeID_DIP_Switch1:ON)
    [[[rx]]]
       names = power1, power2, power3, power4, Vrms, temp1, temp2, temp3, temp4, temp5, temp6, pulse #Firmware V1.6
       #names = power1, power2, power3, power4, Vrms, temp                                           #Firmware =<V1.4 (un-comment)
       datacode = h
       scales = 1,1,1,1,0.01,0.1,0.1, 0.1,0.1,0.1,0.1,1 #Firmware V1.6
       units =W,W,W,W,V,C,C,C,C,C,C,p                   #FirmwareV1.6
       #scales = 1,1,1,1,0.01,0.1                       #Firmware =<V1.4 (un-comment) 
       #units =W,W,W,W,V,C                              #Firmware =<V1.4 (un-comment)

[[10]]
    nodename = emonTx_1
    firmware =V1_6_emonTxV3_4_DiscreteSampling
    hardware = emonTx_(NodeID_DIP_Switch1:OFF)
    [[[rx]]]
       names = power1, power2, power3, power4, Vrms, temp1, temp2, temp3, temp4, temp5, temp6, pulse #Firmware V1.6
       #names = power1, power2, power3, power4, Vrms, temp                                           #Firmware =<V1.4 (un-comment)
       datacode = h
       scales = 1,1,1,1,0.01,0.1,0.1, 0.1,0.1,0.1,0.1,1 #Firmware V1.6
       units =W,W,W,W,V,C,C,C,C,C,C,p                   #FirmwareV1.6
       #scales = 1,1,1,1,0.01,0.1                       #Firmware =<V1.4 (un-comment) 
       #units =W,W,W,W,V,C                              #Firmware =<V1.4 (un-comment)

[[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 = emonTH_1
    firmware = emonTH_DHT22_DS18B20_RFM69CW
    hardware = emonTH_(Node_ID_Switch_DIP1:OFF_DIP2:OFF)
    [[[rx]]]
       names = temperature, external temperature, humidity, battery
       datacode = h
       scales = 0.1,0.1,0.1,0.1
       units = C,C,%,V

[[20]]
    nodename = emonTH_2
    firmware = emonTH_DHT22_DS18B20_RFM69CW
    hardware = emonTH_(Node_ID_Switch_DIP1:ON_DIP2:OFF)
    [[[rx]]]
       names = temperature, external temperature, humidity, battery
       datacode = h
       scales = 0.1,0.1,0.1,0.1
       units = C,C,%,V

[[21]]
    nodename = emonTH_3
    firmware = emonTH_DHT22_DS18B20_RFM69CW
    hardware = emonTH_(Node_ID_Switch_DIP1:OFF_DIP2:ON)
    [[[rx]]]
       names = temperature, external temperature, humidity, battery
       datacode = h
       scales = 0.1,0.1,0.1,0.1
       units = C,C,%,V

[[22]]
    nodename = emonTH_4
    firmware = V1_5_emonTH_DHT22_DS18B20_RFM69CW
    hardware = emonTH_(Node_ID_Switch_DIP1:ON_DIP2:ON)
    [[[rx]]]
       names = temperature, external temperature, humidity, battery
       datacode = h
       scales = 0.1,0.1,0.1,0.1
       units = C,C,%,V

[[23]]
    nodename = emonTH_5
    firmware = V2.x_emonTH_DHT22_DS18B20_RFM69CW_Pulse
    hardware = emonTH_(Node_ID_Switch_DIP1:OFF_DIP2:OFF)
    [[[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 = emonTH_6
    firmware = V2.x_emonTH_DHT22_DS18B20_RFM69CW_Pulse
    hardware = emonTH_(Node_ID_Switch_DIP1:ON_DIP2:OFF)
    [[[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 = emonTH_7
    firmware = V2.x_emonTH_DHT22_DS18B20_RFM69CW_Pulse
    hardware = emonTH_(Node_ID_Switch_DIP1:OFF_DIP2:ON)
    [[[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 = emonTH_8
    firmware = V2.x_emonTH_DHT22_DS18B20_RFM69CW_Pulse
    hardware = emonTH_(Node_ID_Switch_DIP1:ON_DIP2:ON)
    [[[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

Line 162 is where you start repeating the node definitions - and they are different! You should have only one definition for each node. (I count 3 of each.)

Sorry Paul,
First of all thanks for answer me, and sorry for my bad English.
I see on the config that all node are repeated 3 time i remove repetition nothing changes and i remove also the MQTT part as i see a lot of error unfortunately with no result.
as an additional info the emonpi version displayed on LCD at start up is 8.26

Thanks Robert,
I did not touch them, it’s appear after i activate the enomcms.org.
I see them and try to remove, no changes
I try to add the default one now.

result after apply the default config
//github.com/openenergymonitor/emonhub/blob/emon-pi/conf/emonpi.default.emonhub.conf#L1

emonhub.log

2016-12-29 16:17:03,275 INFO     MQTT       Connecting to MQTT Server
2016-12-29 16:17:03,292 INFO     MQTT       Unexpected disconnection
2016-12-29 16:17:03,295 DEBUG    RFM2Pi     494 NEW FRAME : OK 5 32 1 246 255 22 1 248 83 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (-0)
2016-12-29 16:17:03,299 DEBUG    RFM2Pi     494 Timestamp : 1483028223.29
2016-12-29 16:17:03,300 DEBUG    RFM2Pi     494 From Node : 5
2016-12-29 16:17:03,300 DEBUG    RFM2Pi     494    Values : [288, -10, 278, 214.96, 0, 0, 0, 0, 0, 0, 0]
2016-12-29 16:17:03,301 DEBUG    RFM2Pi     494 Sent to channel(start)' : ToEmonCMS
2016-12-29 16:17:03,302 DEBUG    RFM2Pi     494 adding frame to buffer => [1483028223.294938, 5, 288, -10, 278, 214.96, 0, 0, 0, 0, 0, 0, 0]
2016-12-29 16:17:03,303 DEBUG    RFM2Pi     494 Sent to channel(end)' : ToEmonCMS
2016-12-29 16:17:03,393 INFO     MQTT       Connecting to MQTT Server
2016-12-29 16:17:03,398 INFO     MQTT       Unexpected disconnection
2016-12-29 16:17:03,499 INFO     MQTT       Connecting to MQTT Server
2016-12-29 16:17:03,526 INFO     MQTT       Unexpected disconnection
2016-12-29 16:17:03,627 INFO     MQTT       Connecting to MQTT Server
2016-12-29 16:17:03,632 INFO     MQTT       Unexpected disconnection
2016-12-29 16:17:03,736 INFO     MQTT       Connecting to MQTT Server
2016-12-29 16:17:03,741 INFO     MQTT       Unexpected disconnection
2016-12-29 16:17:03,842 INFO     MQTT       Connecting to MQTT Server
2016-12-29 16:17:03,847 INFO     MQTT       Unexpected disconnection
2016-12-29 16:17:03,948 INFO     MQTT       Connecting to MQTT Server
2016-12-29 16:17:03,953 INFO     MQTT       Unexpected disconnection
2016-12-29 16:17:04,054 INFO     MQTT       Connecting to MQTT Server
2016-12-29 16:17:04,059 INFO     MQTT       Unexpected disconnection
2016-12-29 16:17:04,145 DEBUG    RFM2Pi     Discarding RX frame 'unreliable content'? 26 17 163 191 87 246 21 115 201 162 105 243 195 215 67 150 49 178 158 148 19 (-99)
2016-12-29 16:17:04,160 INFO     MQTT       Connecting to MQTT Server
2016-12-29 16:17:04,165 INFO     MQTT       Unexpected disconnection

 

emoncms.log

2016-12-29 16:16:59 MQTT INFO Reloading config
2016-12-29 16:16:59 FEEDWRITER INFO PHPTimeSeries bytes written: 0
2016-12-29 16:16:59 FEEDWRITER INFO PHPFina bytes written: 0
2016-12-29 16:17:05 MQTT INFO Reloading config
2016-12-29 16:17:11 MQTT INFO Reloading config
2016-12-29 16:17:17 MQTT INFO Reloading config
2016-12-29 16:17:23 MQTT INFO Reloading config
2016-12-29 16:17:29 MQTT INFO Reloading config
2016-12-29 16:17:35 MQTT INFO Reloading config
2016-12-29 16:17:41 MQTT INFO Reloading config
2016-12-29 16:17:47 MQTT INFO Reloading config
2016-12-29 16:17:53 MQTT INFO Reloading config
2016-12-29 16:17:59 MQTT INFO Reloading config
2016-12-29 16:17:59 FEEDWRITER INFO PHPTimeSeries bytes written: 0
2016-12-29 16:17:59 FEEDWRITER INFO PHPFina bytes written: 0
2016-12-29 16:18:05 MQTT INFO Reloading config

node still inactive
feeds also inactive

any ideas

Well both logs seem to report issues with MQTT, do you have Mosquitto running? are there any logs for Mosquitto?

no mosquitto installed,
I have the original emonpi of may 2015, with 2 CT and one voltage sensor that’s all,
I suppose that the MQTT is some development that have to be not activate on my installation (at least as is now). but how to stop it?

Can I download the last SD image and update everything?
Is it compatible with my emonpi version?
I made a backup of all data.

As far as I recall Mosquitto has been installed on every SD image since the emonPi was released so you should have it.

However the earlier images had the Nodes module which is no longer supported, the MQTT input of emonCMS has been changed significantly and the MQTT implementation in the emonpi variant of emonHub altered to suit those changes.

If you have your data backed up, I think perhaps you would be better off investing your time in to personalizing a fresh image rather than trying to fix a broken and out of date image.

Thanks Paul,
I’m not so familiar with software in general and “linux command” is a unknown world.
In any case I update the SD with latest version. Process is gone correctly.
Now i get the node running at least I see the value.
Inputs:

    Node	Key	Name	Process list	Updated	Value			
    emonpi	power1			-0s ago	181			
    emonpi	power2			-0s ago	-6.00			
    emonpi	power1pluspower2			-0s ago	175

This is good.
but now I’m not able to setup the feeds
following the setup procedure I get this error when I try to add a new feed as a “Log to feed”

ERROR: Feed could not be created, undefined

Could you tell me why?
I made a emonpi restart and also an update as suggested on some post on community, but with no result.

here is the log file

2016-12-31 00:21:37,788 DEBUG    RFM2Pi     Discarding RX frame 'unreliable content'? 29 229 1 113 199 163 144 207 229 189 141 110 161 1 90 183 31 127 31 3 118 (-97)
2016-12-31 00:21:37,894 DEBUG    RFM2Pi     Discarding RX frame 'unreliable content'? 26 83 232 140 250 143 26 242 217 254 80 28 116 50 90 183 31 127 31 3 118 (-97)
2016-12-31 00:21:38,113 DEBUG    RFM2Pi     Discarding RX frame 'unreliable content'? 20 45 33 56 253 193 120 127 131 244 111 195 207 103 86 57 178 53 6 220 121 (-98)
2016-12-31 00:21:38,237 DEBUG    RFM2Pi     Discarding RX frame 'unreliable content'? 19 181 73 46 60 226 47 173 90 202 21 242 242 205 89 202 2 165 192 180 70 (-99)
2016-12-31 00:21:38,932 DEBUG    RFM2Pi     Discarding RX frame 'unreliable content'? 29 178 133 197 61 92 54 46 249 73 243 83 244 61 238 227 67 205 138 244 223 (-97)
2016-12-31 00:21:39,042 DEBUG    RFM2Pi     Discarding RX frame 'unreliable content'? 14 0 245 103 88 93 154 184 91 225 158 200 160 206 189 211 80 17 4 159 168 (-99)
2016-12-31 00:21:39,810 DEBUG    RFM2Pi     359 NEW FRAME : OK 5 173 0 251 255 168 0 243 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (-0)
2016-12-31 00:21:39,814 DEBUG    RFM2Pi     359 Timestamp : 1483143699.81
2016-12-31 00:21:39,815 DEBUG    RFM2Pi     359 From Node : 5
2016-12-31 00:21:39,816 DEBUG    RFM2Pi     359    Values : [173, -5, 168, 220.03, 0, 0, 0, 0, 0, 0, 0]
2016-12-31 00:21:39,817 DEBUG    RFM2Pi     359 Sent to channel(start)' : ToEmonCMS
2016-12-31 00:21:39,818 INFO     RFM2Pi     Publishing: emon/emonpi/power1 173
2016-12-31 00:21:39,820 INFO     RFM2Pi     Publishing: emon/emonpi/power2 -5
2016-12-31 00:21:39,823 INFO     RFM2Pi     Publishing: emon/emonpi/power1pluspower2 168
2016-12-31 00:21:39,825 INFO     RFM2Pi     Publishing: emon/emonpi/vrms 220.03
2016-12-31 00:21:39,827 INFO     RFM2Pi     Publishing: emon/emonpi/t1 0
2016-12-31 00:21:39,830 INFO     RFM2Pi     Publishing: emon/emonpi/t2 0
2016-12-31 00:21:39,832 INFO     RFM2Pi     Publishing: emon/emonpi/t3 0
2016-12-31 00:21:39,834 INFO     RFM2Pi     Publishing: emon/emonpi/t4 0
2016-12-31 00:21:39,836 INFO     RFM2Pi     Publishing: emon/emonpi/t5 0
2016-12-31 00:21:39,894 INFO     RFM2Pi     Publishing: emon/emonpi/t6 0
2016-12-31 00:21:39,897 INFO     RFM2Pi     Publishing: emon/emonpi/pulsecount 0
2016-12-31 00:21:39,899 INFO     RFM2Pi     Publishing: emon/emonpi/rssi 0
2016-12-31 00:21:39,901 INFO     RFM2Pi     Publishing: emonhub/rx/5/values 173,-5,168,220.03,0,0,0,0,0,0,0
2016-12-31 00:21:39,906 INFO     RFM2Pi     Publishing: emonhub/rx/5/rssi 0
2016-12-31 00:21:39,909 DEBUG    RFM2Pi     359 adding frame to buffer => [1483143699.809919, 5, 173, -5, 168, 220.03, 0, 0, 0, 0, 0, 0, 0]
2016-12-31 00:21:39,910 DEBUG    RFM2Pi     359 Sent to channel(end)' : ToEmonCMS
2016-12-31 00:21:40,018 DEBUG    RFM2Pi     Discarding RX frame 'unreliable content'? 27 108 150 173 2 247 240 88 91 221 235 245 245 48 11 183 10 130 139 232 72 (-98)
2016-12-31 00:21:42,546 DEBUG    RFM2Pi     Discarding RX frame 'unreliable content'? 10 228 58 40 176 161 5 142 50 51 33 175 215 255 176 1 28 246 36 25 182 (-93)
2016-12-31 00:21:43,859 DEBUG    RFM2Pi     Discarding RX frame 'unreliable content'? 11 28 47 0 73 104 221 1 159 104 230 104 75 167 227 134 49 206 116 65 180 (-90)

what I understand is that the RFM2pi get wrong data and discard some strings (but there is nothing connected!) the measured power1, power2,… is correct (it is night time). this means that the hardware part work correctly.

[if it is not correct to post here, please suggest me how to change/move the discussion.]

Unfortunately not, this has been reported before but it is unclear why it has happened. See these 2 posts

and on the old forum there are these

https://openenergymonitor.org/emon/search/node/ERROR%3A%20Feed%20could%20not%20be%20created%2C%20undefined

Are you by any chance using any odd characters in the feed names? try something simpler to see if it works eg “myfeed”, the feed names can be changed again afterwards.

Hi, thanks for your support,

no odd characters there are no feeds at all.
something strange happen when i open the feeds page. The page display “loading…” for a long time.

To avoid mistake I download a new image for an other mirror and rebuilt the SD.
No changes.

The only thing that I’m able to do is to add a feed out of “main” one, but after that I’m not able to see them. feed page still stay on “loading…”
even if i try to remove all feed from the node process.

I’m a bit lost :sob:

Any clues in emoncms.log?

here is the log

2016-12-31 13:58:47,027 INFO     RFM2Pi     Publishing: emonhub/rx/5/values 1396,775,2171,221.72,0,0,0,0,0,0,0
2016-12-31 13:58:47,041 INFO     RFM2Pi     Publishing: emonhub/rx/5/rssi 0
2016-12-31 13:58:47,047 DEBUG    RFM2Pi     1360 adding frame to buffer => [1483192726.984786, 5, 1396, 775, 2171, 221.72, 0, 0, 0, 0, 0, 0, 0]
2016-12-31 13:58:47,052 DEBUG    RFM2Pi     1360 Sent to channel(end)' : ToEmonCMS
2016-12-31 13:58:50,430 DEBUG    RFM2Pi     Discarding RX frame 'unreliable content'? 16 164 80 64 146 19 65 154 222 99 221 242 99 190 221 217 230 163 108 223 31 (-97)
2016-12-31 13:58:51,989 DEBUG    RFM2Pi     1361 NEW FRAME : OK 5 109 5 17 3 126 8 96 86 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (-0)
2016-12-31 13:58:51,993 DEBUG    RFM2Pi     1361 Timestamp : 1483192731.99
2016-12-31 13:58:51,994 DEBUG    RFM2Pi     1361 From Node : 5
2016-12-31 13:58:51,995 DEBUG    RFM2Pi     1361    Values : [1389, 785, 2174, 221.12, 0, 0, 0, 0, 0, 0, 0]
2016-12-31 13:58:51,996 DEBUG    RFM2Pi     1361 Sent to channel(start)' : ToEmonCMS
2016-12-31 13:58:51,997 INFO     RFM2Pi     Publishing: emon/emonpi/power1 1389
2016-12-31 13:58:51,999 INFO     RFM2Pi     Publishing: emon/emonpi/power2 785
2016-12-31 13:58:52,001 INFO     RFM2Pi     Publishing: emon/emonpi/power1pluspower2 2174
2016-12-31 13:58:52,003 INFO     RFM2Pi     Publishing: emon/emonpi/vrms 221.12
2016-12-31 13:58:52,006 INFO     RFM2Pi     Publishing: emon/emonpi/t1 0
2016-12-31 13:58:52,009 INFO     RFM2Pi     Publishing: emon/emonpi/t2 0
2016-12-31 13:58:52,012 INFO     RFM2Pi     Publishing: emon/emonpi/t3 0
2016-12-31 13:58:52,014 INFO     RFM2Pi     Publishing: emon/emonpi/t4 0
2016-12-31 13:58:52,017 INFO     RFM2Pi     Publishing: emon/emonpi/t5 0
2016-12-31 13:58:52,021 INFO     RFM2Pi     Publishing: emon/emonpi/t6 0
2016-12-31 13:58:52,031 INFO     RFM2Pi     Publishing: emon/emonpi/pulsecount 0
2016-12-31 13:58:52,034 INFO     RFM2Pi     Publishing: emon/emonpi/rssi 0
2016-12-31 13:58:52,037 INFO     RFM2Pi     Publishing: emonhub/rx/5/values 1389,785,2174,221.12,0,0,0,0,0,0,0
2016-12-31 13:58:52,056 INFO     RFM2Pi     Publishing: emonhub/rx/5/rssi 0
2016-12-31 13:58:52,060 DEBUG    RFM2Pi     1361 adding frame to buffer => [1483192731.988953, 5, 1389, 785, 2174, 221.12, 0, 0, 0, 0, 0, 0, 0]
2016-12-31 13:58:52,066 DEBUG    RFM2Pi     1361 Sent to channel(end)' : ToEmonCMS
2016-12-31 13:58:52,184 DEBUG    RFM2Pi     Discarding RX frame 'unreliable content'? 8 139 89 238 33 220 60 162 37 126 175 102 79 179 143 19 61 130 46 5 113 (-99)
2016-12-31 13:58:53,114 DEBUG    RFM2Pi     Discarding RX frame 'unreliable content'? 5 62 185 212 181 255 143 189 79 13 250 139 71 111 225 63 5 188 73 116 11 (-100)
2016-12-31 13:58:53,434 DEBUG    RFM2Pi     Discarding RX frame 'unreliable content'? 21 61 105 2 131 217 207 222 191 166 91 147 28 17 140 233 155 241 158 61 111 (-98)
2016-12-31 13:58:54,260 DEBUG    RFM2Pi     Discarding RX frame 'unreliable content'? 26 138 206 58 122 163 198 216 192 253 12 254 63 222 3 15 46 126 172 173 133 (-93)

?? I didn’t identify anything in particular.
I also try to import my backup feed does not imported “process not valid”

That’s emonhub.log, the issue is with emoncms, is there anything in emoncms.log?

makes me think when I first moved to phpfina etc on my hosted version. It was pointing to the wrong directories

Could it be there is some write refusal on the SD-card or lack of free space ?

Sorry,
here is

2016-12-31 12:09:31.794|WARN|phpmqtt_input.php|Starting MQTT Input script
2016-12-31 12:09:39.524|WARN|phpmqtt_input.php|Subscribing to: emon/#
2016-12-31 12:09:39.525|WARN|phpmqtt_input.php|Not connected, retrying connection
2016-12-31 12:09:39.527|WARN|phpmqtt_input.php|Connecting to MQTT server: Connection Accepted.: code: 0
2016-12-31 12:09:39.528|WARN|phpmqtt_input.php|Subscribed to topic: emon/#
2016-12-31 12:09:45.961|WARN|phpmqtt_input.php|Starting MQTT Input script
2016-12-31 12:09:47.125|WARN|phpmqtt_input.php|Subscribing to: emon/#
2016-12-31 12:09:47.126|WARN|phpmqtt_input.php|Not connected, retrying connection
2016-12-31 12:09:47.127|WARN|phpmqtt_input.php|Connecting to MQTT server: Connection Accepted.: code: 0
2016-12-31 12:09:47.128|WARN|phpmqtt_input.php|Subscribed to topic: emon/#
2016-12-31 14:05:53.506|ERROR|feed_model.php|EngineClass() Engine id '1' is not supported.
2016-12-31 14:19:19.259|ERROR|feed_model.php|EngineClass() Engine id '1' is not supported.
2016-12-31 14:19:19.550|ERROR|feed_model.php|EngineClass() Engine id '1' is not supported.

last row appears when i try to upload my backup