Community
OpenEnergyMonitor

Community

Log emonPi remotely - doesn’t work for me again

Tags: #<Tag:0x00007fc9249a5cf0>

Log emonPi remotely - doesn’t work for me again

After a few days of enthusiasm that my local emonPi could now send data to emoncms.org, the system fails again.

Therefore, I re-open the case, as previously marketed as resolved.

I still do not know why it came to work, and therefore I do not know why it again fails.

emonPi / EmonHub / config:
[[Emoncmsorg]]
Type = EmonHubEmoncmsHTTPInterfacer
[[[Init_settings]]]
[[[Runtimesettings]]]
pubchannels = ToRFM12,
subchannels = ToEmonCMS,
url = https://emoncms.org
apikey = f4bb5f82d224170504c491e6xxxxxxxx
send data = 1 # Enable sending data to Emoncms.org
send status = 1 # Enable sending WAN IP to Emoncms.org MyIP> https://emoncms.org/myip/list
send interval = 30 # Bulk send interval to Emoncms.org in seconds

emonhub.log: [link]
EmonPi / EmonHub / Config

I see that there are no logins in emonhub.log showing that data is being sent to emoncms.org? Is it correct ?

My account name on emoncms.org is “Bielefeldt”

The problem must be in my emonPi, which uses firmware: emonSD-26Oct17

Has configured an ESP8266 that sends temperature data to emoncms.org on the same account and it can fine deliver its data to emoncms.org.

Therefore, the problem must be in eminPi.

But why could it work for a few days, and then suddenly fail again ?

emoncms.org feeds

Graph with ESP sensor feed (Ok), temp and Humidity feed that dosn’t work
ESP_feed

Power Feed graph from emonPi on emoncms.org
Power_feed

Can you post the emonhub log file please.

Can you please click on the button ‘copy as markdown’ next to ‘Server Information’ on the Admin page, and paste it here (no further formatting required).

emonhub.log: [link]
EmonPi / EmonHub / Config

I don’t understand what you mean by the Admin page
Is that the account page?
EmonPi?
emomcms.org?
What kind of information do you want to add?

On the EmonPi

then click on here

image

Server Information
Emoncms Version low-write 9.8.31 : 2018.06.21
Modules Administration : App v1.1.1 : Backup v1.1.4 : EmonHub Config v1.0.0 : Dashboard v1.3.0 : Device v1.1.0 : EventProcesses : Feed : Graph v1.2.0 : Input : postprocess : CoreProcess : Schedule : setup : sync : Time : User : Visualisation : WiFi v1.3.0
Buffer loading…
Writer Daemon is running with sleep 60s
Server OS Linux 4.9.35-v7+
Host emonpi emonpi (127.0.1.1)
Date 2019-11-25 11:11:17 UTC
Uptime 11:11:17 up 13:49, 0 users, load average: 0,54, 0,32, 0,25
HTTP Server Apache/2.4.10 (Raspbian) HTTP/1.1 CGI/1.1 80
MySQL Version 5.5.57-0+deb8u1
Host localhost (127.0.0.1)
Date 2019-11-25 11:11:17 (UTC 00:00‌​)
Stats Uptime: 49755 Threads: 2 Questions: 8270 Slow queries: 0 Opens: 61 Flush tables: 1 Open tables: 54 Queries per second avg: 0.166
Redis Version 2.8.17
Host localhost:6379 (127.0.0.1)
Size 323 keys (576.32K)
Uptime 0 days
MQTT Version 1.4.14
Host localhost:1883 (127.0.0.1)
Pi Model Raspberry Pi 2 Model B Rev 1.1 - 1 GB (Sony UK)
SoC Broadcom BCM2835
Serial num. 179367C5
Temperature CPU: 39.01°C - GPU: 38.5’C
Release emonSD-26Oct17
File-system Current: read-write - Set root file-system temporarily to read-write, (default read-only)
Memory RAM Used: 27,28% Total: 970,93 MB Used: 264,84 MB Free: 706,1 MB
Disk Mount Stats
/ Used: 59,29% Total: 3,33 GB Used: 1,97 GB Free: 1,19 GB
/home/pi/data Used: 40,72% Total: 968,33 MB Used: 394,35 MB Free: 523,99 MB
/boot Used: 36,35% Total: 59,95 MB Used: 21,79 MB Free: 38,16 MB
PHP Version 5.6.30-0+deb8u1 (Zend Version 2.6.0)
Modules apache2handler : bcmath : bz2 : calendar : Core v5.6.30-0+deb8u1 : ctype : curl : date v5.6.30-0+deb8u1 : dba : dio v0.0.4RC4 : dom v20031129 : ereg : exif v1.4 $Id: 1c8772f76be691b7b3f77ca31eb788a2abbcefe5 $ : fileinfo v1.0.5 : filter v0.11.0 : ftp : gettext : hash v1.0 : iconv : json v1.3.6 : libxml : mbstring : mcrypt : mhash : mosquitto v0.3.0 : mysql v1.0 : mysqli v0.1 : openssl : pcre : PDO v1.0.4dev : pdo_mysql v1.0.2 : Phar v2.0.2 : posix : readline v5.6.30-0+deb8u1 : redis v2.2.7 : Reflection v$Id: 5f15287237d5f78d75b19c26915aa7bd83dee8b8 $ : session : shmop : SimpleXML v0.1 : soap : sockets : SPL v0.2 : standard v5.6.30-0+deb8u1 : sysvmsg : sysvsem : sysvshm : tokenizer v0.1 : wddx : xml : xmlreader v0.1 : xmlwriter v0.1 : Zend OPcache v7.0.6-devFE : zip v1.12.5 : zlib v2.0
Client Information
HTTP Browser Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
Screen Resolution 1920 x 1200
Window Size 1695 x 1238

Could you post the whole of the emonhub.cfg file please.

Emonhub appears to be not trying to send the data to emoncms.org.

Are you able to SSH into the EmonPi?

If so please post the output from the command

ping emoncms.org

(Ctl C to end).

I just need to spend some time making an SSH for emon Pi. Coming back soon with the result.

The whole emonhub.cfg

#######################################################################
#######################      emonhub.conf     #########################
#######################################################################
### emonHub configuration file, for info see documentation:
### https://github.com/openenergymonitor/emonhub/blob/emon-pi/conf/emonhub.conf
#######################################################################
#######################    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       #######################
#######################################################################

[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
        calibration = 230V                      # (UK/EU: 230V, US: 110V)
        quiet = true                            # Disable quite mode (default enabled) to enable RF packet debugging, show packets which fail crc
        # interval =  0                         # Interval to transmit time to emonGLCD (seconds)
        

[[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 = f4bb5f82d224170504c491e6xxxxxxxx  (The xxxxxxxx is for security reason)
        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: https://github.com/openenergymonitor/emonhub/blob/emon-pi/conf/emonhub.conf

[[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, 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
       
[[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

[[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

I edited it to make it more readable.

For future reference, when posting code or bash output, put in 3 ‘backticks’ (found at the top left of the keyboard normally) on a line on their own, then the code, then 3 more backticks on a line following the code.

    ```
    code
    ```

If it is something like php you can add a language identifier that after the first 3 backticks so ```php

emonpi respond very slowly
When I answer the question: Login as: pi
it will be 27 sec before it answers
[email protected]’s password

Here is the whole communication:

login as: pi
[email protected]'s password:

╔═════════════════════════════════════════════════ ═════════════════════╗
║ ooooooooo. o8o ║
88 `888` Y88. `` ''
║ .ooooo. ooo. .Island Island. .Island Island. .ooooo. ooo. .Island Island. 888 .d88 'oooo ║
88 d88 '`88b` 888P "Y88bP" Y88b d88 "` 88b `888P" Y88b 888ooo88P' `888 ║
║ 888ooo888 888 888 888 888 888 888 888 888 888 ║
║ 888 .o 888 888 888 888 888 888 888 888 888 ║
║ `Y8bod8P 'o888o o888o o888o` Y8bod8P' o888o o888o o888o o888o ║
╚═════════════════════════════════════════════════ ═════════════════════╝

The programs included with the Debian GNU / Linux system are free software;
the exact distribution terms for each program are described in the
individual files in / usr / share / doc / * / copyright.

Debian GNU / Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

The file system is in Read Only (RO) mode. If you need to make changes,
use the command 'rpi-rw' to put the file system in Read Write (RW) mode.
Use 'rpi-ro' to return to RO mode. The / home / pi / data directory is always in RW mode.

pi @ emonpi (ro): ~ $ ping emoncms.org
**ping: unknown host emoncms.org**  (thats bad)
emonpi pi @ (r): ~ $

Yes, it is a network issue so not a specific EmonPi issue.

Is it Hardwired or WiFi?

Either way, please reboot the router and then restart the EmonPi

Now I have restarted my Zyxel Zywall 110 router.

Below is a screen shot from my Windows 10 showing that it is restarting and that it is again connected to emoncms.org.

Subsequently, I rebooted emonPi.
Wait a few minutes

Login with SSH
Ping til emoncms.org

EmonPi%20Ping

It is still very slow to respond when I log in

There is something wrong with that emonPi
Can I update it to the latest emonSD from October 2019?

It still works fine with showing energy consumption and outside temperature locally.
We have a Renault Zoe electric car, therefore the great energy consumption

That suggests something is not right.

I wonder if the SD card is starting to fail. Odd problems like this can sometimes be the first sign.

Yes, best way is to get a new card, run the backup from the old system and then import the backup file onto the new system.

NOTE you must be very patient when booting the new card for the first time. It takes quite a while to do all the required updates. restarting the Pi because it appears to have ‘hung’ will be bad for the system.

  • I’m backing up my emonPi
  • Adds a new emonSD to a new card
  • When it is up and running again after some time, I return my backup and test for the whole run, incl. emoncms.org, ping e.t.c.

Thank you for your troubleshooting assistance. It has been of great help.

1 Like

Now I have a new installation running with emonSD-17Oct19. All data is put in place and it runs as it should.

At SSH for emonPi, I can now ping emoncms.org.

emonHub log link:
emonhub_25-11-2019_2.log

emonHub Config link
emonhub-config.txt

Server information

Server Information # Server Information ## Services
  • emonhub :- Active Running
  • emoncms_mqtt :- Active Running
  • feedwriter :- Active Running - sleep 300s 41 feed points pending write
  • service-runner :- Active Running
  • emonPiLCD :- Active Running
  • redis-server :- Active Running
  • mosquitto :- Active Running
  • demandshaper :- Active Running

Emoncms

  • Version :- low-write 10.1.13
  • Modules :- Administration | App v2.0.9 | Backup v2.1.7 | EmonHub Config v2.0.4 | Dashboard v2.0.5 | DemandShaper v1.1.0 | Device v2.0.3 | EventProcesses | Feed | Graph v2.0.6 | Input | Postprocess v2.1.2 | CoreProcess | Schedule | Network Setup v1.0.0 | sync | Time | User | Visualisation | WiFi v2.0.2
  • Git :-

Server

  • OS :- Linux 4.19.75-v7+
  • Host :- emonpi | emonpi | (192.168.1.70)
  • Date :- 2019-11-25 16:36:49 UTC
  • Uptime :- 16:36:49 up 16 min, 1 user, load average: 0.16, 0.31, 0.25

Memory

  • RAM :- Used: 19.59%
    • Total :- 975.63 MB
    • Used :- 191.13 MB
    • Free :- 784.49 MB
  • Swap :- Used: 0.00%
    • Total :- 100 MB
    • Used :- 0 B
    • Free :- 100 MB
      Write Load Period

Disk

  • / :- Used: 46.50%
    • Total :- 3.92 GB
    • Used :- 1.82 GB
    • Free :- 1.91 GB
    • Write Load :- n/a
  • /var/opt/emoncms :- Used: 1.66%
    • Total :- 9.98 GB
    • Used :- 169.44 MB
    • Free :- 9.31 GB
    • Write Load :- n/a
  • /boot :- Used: 20.55%
    • Total :- 252.05 MB
    • Used :- 51.79 MB
    • Free :- 200.25 MB
    • Write Load :- n/a
  • /var/log :- Used: 4.21%
    • Total :- 50 MB
    • Used :- 2.11 MB
    • Free :- 47.89 MB
    • Write Load :- n/a

HTTP

  • Server :- Apache/2.4.38 (Raspbian) HTTP/1.1 CGI/1.1 80

MySQL

  • Version :- 5.5.5-10.3.17-MariaDB-0+deb10u1
  • Host :- localhost:6379 (127.0.0.1)
  • Date :- 2019-11-25 16:36:48 (UTC 00:00‌​)
  • Stats :- Uptime: 981 Threads: 15 Questions: 2639 Slow queries: 0 Opens: 66 Flush tables: 1 Open tables: 40 Queries per second avg: 2.690

Redis

  • Version :-
    • Redis Server :- 5.0.3
    • PHP Redis :- 5.0.2
  • Host :- localhost:6379
  • Size :- 357 keys (910.24K)
  • Uptime :- 0 days

MQTT Server

  • Version :- Mosquitto 1.5.7
  • Host :- localhost:1883 (127.0.0.1)

PHP

  • Version :- 7.3.9-1~deb10u1 (Zend Version 3.3.9)
  • Modules :- apache2handler | calendar v7.3.9-1~deb10u1 | Core v7.3.9-1~deb10u1 | ctype v7.3.9-1~deb10u1 | curl v7.3.9-1~deb10u1 | date v7.3.9-1~deb10u1 | dom v20031129 | exif v7.3.9-1~deb10u1 | fileinfo v7.3.9-1~deb10u1 | filter v7.3.9-1~deb10u1 | ftp v7.3.9-1~deb10u1 | gd v7.3.9-1~deb10u1 | gettext v7.3.9-1~deb10u1 | hash v7.3.9-1~deb10u1 | iconv v7.3.9-1~deb10u1 | json v1.7.0 | libxml v7.3.9-1~deb10u1 | mbstring v7.3.9-1~deb10u1 | mosquitto v0.4.0 | mysqli v7.3.9-1~deb10u1 | mysqlnd vmysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $ | openssl v7.3.9-1~deb10u1 | pcre v7.3.9-1~deb10u1 | PDO v7.3.9-1~deb10u1 | pdo_mysql v7.3.9-1~deb10u1 | Phar v7.3.9-1~deb10u1 | posix v7.3.9-1~deb10u1 | readline v7.3.9-1~deb10u1 | redis v5.0.2 | Reflection v7.3.9-1~deb10u1 | session v7.3.9-1~deb10u1 | shmop v7.3.9-1~deb10u1 | SimpleXML v7.3.9-1~deb10u1 | sockets v7.3.9-1~deb10u1 | sodium v7.3.9-1~deb10u1 | SPL v7.3.9-1~deb10u1 | standard v7.3.9-1~deb10u1 | sysvmsg v7.3.9-1~deb10u1 | sysvsem v7.3.9-1~deb10u1 | sysvshm v7.3.9-1~deb10u1 | tokenizer v7.3.9-1~deb10u1 | wddx v7.3.9-1~deb10u1 | xml v7.3.9-1~deb10u1 | xmlreader v7.3.9-1~deb10u1 | xmlwriter v7.3.9-1~deb10u1 | xsl v7.3.9-1~deb10u1 | Zend OPcache v7.3.9-1~deb10u1 | zlib v7.3.9-1~deb10u1

Pi

  • Model :- Raspberry Pi 2 Model B Rev 1.1 - 1GB (Sony UK)

  • Serial num. :- 179367C5

  • Temperature :- 39.55°C - 39.5°C

  • emonpiRelease :- emonSD-17Oct19

  • File-system :- read-write

Client Information

Client Information

HTTP

  • Browser :- Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
  • Language :- da-DK,da;q=0.9,en;q=0.8,en-US;q=0.7

Window

  • Size :- 1680 x 946

Screen

  • Resolution :- 1920 x 1200

Unfortunately, input feeds still do not come to emoncms.org

I’ve checked that the APIkey is correct, and that’s it.

Don’t have more pointers for why it doesn’t work.

But now I have a new configuration on a new SD card :slight_smile:

This is the error;

2019-11-25 16:21:17,311 ERROR    MainThread Unable to create 'emoncmsorg' interfacer: cannot concatenate 'str' and 'int' objects

What data are you passing? Can only be numbers I think.

I’m not an experienced emonPi user.
Can you help me on my way to what this means and how it can be remedied?

I can see it in the log, but I don’t know what needs to be changed for it to work.

I’m out of ideas - not my specialty.

@pb66, @TrystanLea can you help?

Strange, can’t quite see why that error is happening, the config looks fine.

Could you try:

  1. restarting emonhub

  2. Replacing the emoncmsorg section with (with your api key):

    [[emoncmsorg2]]
    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

1 Like

Hi Trystan Lea

I don’t see what the difference is on the 2 configurations, but the thing is that it works.

Now I have all my feeds in emoncms.org :slight_smile:

Thanks for the help and the sharp look.

Could you take a look at my post about creating additional users at emoncms.org?