pi@emonpi:/var/log $ service emonhub status ● emonhub.service - emonHub data multiplexer Loaded: loaded (/opt/openenergymonitor/emonhub/service/emonhub.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Sat 2022-11-12 14:44:19 EST; 4s ago Process: 884 ExecStartPre=/bin/mkdir -p ${LOG_PATH} (code=exited, status=0/SUCCESS) Process: 885 ExecStartPre=/bin/chown ${USER} ${LOG_PATH} (code=exited, status=0/SUCCESS) Process: 886 ExecStart=/usr/local/bin/emonhub/emonhub.py --config-file=/etc/emonhub/emonhub.conf --logfile=/var/log/emonhub/emonhub.log (code=exited, status=2) Main PID: 886 (code=exited, status=2)
Server Information # Server Information ## Services - **emonhub** :- **Activating** loaded activating auto-restart - **emoncms_mqtt** :- **Active** Running - **feedwriter** :- **Active** Running - sleep 300s 13 feed points pending write - **service-runner** :- **Active** Running - **redis-server** :- **Active** Running - **mosquitto** :- **Active** Running - **demandshaper** :- **Active** Running - **emonPiLCD** :- **Inactive** loaded inactive dead ## Emoncms - **Version** :- low-write 11.2.3 - **Git** :- - **URL** :- https://github.com/emoncms/emoncms.git - **Branch** :- * stable - **Describe** :- 11.2.3 - **Components** :- Emoncms Core v11.2.3 | App v2.6.7 | EmonHub Config v2.1.4 | Dashboard v2.3.3 | Device v2.2.0 | Graph v2.2.3 | Network Setup v1.0.2 | WiFi v2.1.1 | Backup v2.3.2 | DemandShaper v2.2.2 | Postprocess v2.2.5 | Sync v2.1.4 | Usefulscripts v2.3.9 | EmonScripts v1.5.3 | RFM2Pi v1.4.1 | Avrdude-rpi v1.0.0 | Emonhub v2.4.10 | EmonPi v2.9.5 ## Server - **CPU** :- 1 Threads(s) | 4 Core(s) | 1 Sockets(s) | Cortex-A72 | 180.00MIPS | - **OS** :- Linux 5.10.103-v7l+ - **Host** :- emonpi | emonpi | (192.168.1.176) - **Date** :- 2022-11-12 14:51:41 EST - **Uptime** :- 14:51:42 up 2:38, 1 user, load average: 0.38, 0.33, 0.27 ## Memory - **RAM** :- Used: 2.94% - **Total** :- 7.71 GB - **Used** :- 232.04 MB - **Free** :- 7.49 GB - **Swap** :- Used: 0.00% - **Total** :- 100 MB - **Used** :- 0 B - **Free** :- 100 MB ## Disk - **** :- - **/** :- Used: 58.91% - **Total** :- 4.07 GB - **Used** :- 2.4 GB - **Free** :- 1.48 GB - **Read Load** :- 2.43 B/s - **Write Load** :- -30.05 B/s - **Load Time** :- 244 days 23 hours 29 mins - **/mnt/usb0** :- Used: 5.00% - **Total** :- 56.35 GB - **Used** :- 2.82 GB - **Free** :- 50.67 GB - **Read Load** :- n/a - **Write Load** :- n/a - **Load Time** :- n/a - **/boot** :- Used: 19.11% - **Total** :- 252.05 MB - **Used** :- 48.17 MB - **Free** :- 203.88 MB - **Read Load** :- -0.39 B/s - **Write Load** :- -0 B/s - **Load Time** :- 244 days 23 hours 29 mins - **/var/opt/emoncms** :- Used: 2.81% - **Total** :- 54.13 GB - **Used** :- 1.52 GB - **Free** :- 49.86 GB - **Read Load** :- -130.71 B/s - **Write Load** :- -5 B/s - **Load Time** :- 244 days 23 hours 29 mins - **/var/log** :- Used: 5.50% - **Total** :- 50 MB - **Used** :- 2.75 MB - **Free** :- 47.25 MB - **Read Load** :- n/a - **Write Load** :- n/a - **Load Time** :- n/a ## HTTP - **Server** :- Apache/2.4.38 (Raspbian) HTTP/1.1 CGI/1.1 80 ## MySQL - **Version** :- 5.5.5-10.3.36-MariaDB-0+deb10u2 - **Host** :- 127.0.0.1 (127.0.0.1) - **Date** :- 2022-11-12 14:51:41 (UTC -05:00‌​) - **Stats** :- Uptime: 9522 Threads: 13 Questions: 17001 Slow queries: 0 Opens: 47 Flush tables: 1 Open tables: 40 Queries per second avg: 1.785 ## Redis - **Version** :- - **Redis Server** :- 5.0.14 - **PHP Redis** :- 5.3.4 - **Host** :- localhost:6379 - **Size** :- 586 keys (788.48K) - **Uptime** :- 0 days ## MQTT Server - **Version** :- Mosquitto 1.5.7 - **Host** :- localhost:1883 (127.0.0.1) ## PHP - **Version** :- 7.3.31-1~deb10u1 (Zend Version 3.3.31) - **Run user** :- User: www-data Group: www-data video systemd-journal Script Owner: pi - **Modules** :- apache2handlercalendar Core ctype curl date dom v20031129exif fileinfo filter ftp gd gettext hash iconv json v1.7.0libxml mbstring mosquitto v0.4.0mysqli mysqlnd vmysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $openssl pcre PDO pdo_mysql Phar posix readline redis v5.3.4Reflection session shmop SimpleXML sockets sodium SPL standard sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader xmlwriter xsl Zend OPcache zlib ## Pi - **Model** :- Raspberry Pi Model N/A Rev - () - **Serial num.** :- 10000000E91C8CAC - **CPU Temperature** :- 61.84°C - **GPU Temperature** :- 61.8°C - **emonpiRelease** :- emonSD-21Jul21 - **File-system** :- read-write
Client Information # Client Information ## HTTP - **Browser** :- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0 - **Language** :- en-US,en;q=0.5 ## Window - **Size** :- 1264 x 767 ## Screen - **Resolution** :- 1920 x 1080
pi@emonpi:/etc/emonhub $ more emonhub.conf ####################################################################### ####################### 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 = WARNING ### 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 = 110V # (UK/EU: 230V, US: 110V) # 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 = 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 = 2.1376,2.1376,1,0.0110144,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 = 2.1376,2.1376,1,1,0.0110144 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 = 2.1376,2.1376,1,1,0.0110144,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 = 2.1376,2.1376,1,1,0.0110144,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.0110144,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.0110144,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.0110144,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.01110,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