New SD Image - no inputs from EmonTX on EmonPi

Ok,

Thank you Borpin, I have exported all Emoncms data of old SD card (following backup procedure) and I have performed a fresh installation of emoncms on a new SD card

Now app and services are running as expected. But I have just one issue after do the process. My system has emonPi + emonTx V3 and EmonTx does not report any input… I have not clear what is the process to restart it or reconfigure, any clue?

Thanks for everyone for your support!

Hi @chivakaa.

Can I confirm that the Input is not appearing on the ‘Inputs’ page?

Can you post the emonhub log and config please. Easiest is to attach the files. I have bumped your trust level so that should be OK.

Than you Borpin,

Sorry for later response, Xmas, two children… anyway following all details.

Under inputs page, emonpi works fine but EmonTX v3 does not show any value (attached view).

Also, attached config file and logs file

Config file: /opt/openenergymonitor/emonhub/conf/emonhub.conf
Log file: /var/log/emoncms/emoncms.log

Upss not authorized upload files (emonhub.conf & emoncms.log), error:

Sorry, the file you are trying to upload is not authorized (authorized extensions: jpg, jpeg, png, gif, zip, tar, ino, ico, txt, pdf, sch, brd, odt, gz, mp4, mov, ods, csv, doc, webm, bin, hex).

Hello @chivakaa could you copy here /var/log/emonhub/emonhub.log, try renaming as .txt for upload.

I’m wondering why there is no emonhub entry (nor Wi-Fi) on the left menu. Looks like a bad install/flash.

image

Can you click on the button Copy as Markdown next to Server Information on the Admin page and paste here please (no further formatting required).

1 Like

Thank you @TrystanLea & @borpin

Renamed both files to .txt and attached.

emoncms.txt (2.4 MB)
emonhub.conf.txt (7.5 KB)

Regarding Wi-Fi interface, yes you are in right that is not present on emoncms menu, but interface is up and running (configured by Network Manager Text User Interface (NMTUI)).

Wired interface works with static configuration and Wi-Fi with DHCP. Both are connected and listening on TCP 22.

Following information details provided from Copy as Markdown button

Server Information

Server Information

Services

  • emonhub :- Active Running
  • emoncms_mqtt :- Active Running
  • feedwriter :- Active Running - sleep 300s 259 feed points pending write
  • service-runner :- Active Running
  • emonPiLCD :- Active Running
  • redis-server :- Active Running
  • mosquitto :- Active Running
  • demandshaper :- Active Running

Emoncms

Server

  • OS :- Linux 4.19.86-v7+
  • Host :- emonpi | emonpi | (192.168.1.22)
  • Date :- 2020-01-12 11:06:59 CET
  • Uptime :- 11:06:59 up 5 days, 4 min, 3 users, load average: 1.00, 0.83, 0.80

Memory

  • RAM :- Used: 32.57%
    • Total :- 975.61 MB
    • Used :- 317.77 MB
    • Free :- 657.84 MB
  • Swap :- Used: 3.50%
    • Total :- 100 MB
    • Used :- 3.5 MB
    • Free :- 96.5 MB
      Write Load Period

Disk

  • / :- Used: 19.42%
    • Total :- 23.4 GB
    • Used :- 4.55 GB
    • Free :- 17.86 GB
    • Write Load :- 3.92 KB/s (0 mins)
  • /repo :- Used: 35.47%
    • Total :- 8.67 GB
    • Used :- 3.07 GB
    • Free :- 5.13 GB
    • Write Load :- n/a
  • /usr/local :- Used: 8.70%
    • Total :- 975.9 MB
    • Used :- 84.87 MB
    • Free :- 823.83 MB
    • Write Load :- n/a
  • /var/opt/emoncms :- Used: 0.05%
    • Total :- 8.06 GB
    • Used :- 3.77 MB
    • Free :- 7.65 GB
    • Write Load :- 0 B/s (0 mins)
  • /boot :- Used: 20.69%
    • Total :- 252.05 MB
    • Used :- 52.14 MB
    • Free :- 199.91 MB
    • Write Load :- 0 B/s (0 mins)
  • /var/log :- Used: 100.00%
    • Total :- 50 MB
    • Used :- 50 MB
    • Free :- 0 B
    • 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 :- 2020-01-12 11:06:59 (UTC 01:00‌​)
  • Stats :- Uptime: 432269 Threads: 14 Questions: 3865960 Slow queries: 0 Opens: 49 Flush tables: 1 Open tables: 43 Queries per second avg: 8.943

Redis

  • Version :-
    • Redis Server :- 5.0.3
    • PHP Redis :- 5.1.1
  • Host :- localhost:6379
  • Size :- 157 keys (859.77K)
  • Uptime :- 5 days

MQTT Server

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

PHP

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

Pi

  • Model :- Raspberry Pi 3 Model B Rev 1.2 - 1GB (Sony UK)

  • Serial num. :- 4E0CF92A

  • Temperature :- 49.93°C - 50.5°C

  • emonpiRelease :- emonSD-02Oct19

  • File-system :- read-write

Client Information

Client Information

HTTP

  • Browser :- Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.4 Safari/605.1.15
  • Language :- en-gb

Window

  • Size :- 1307 x 935

Screen

  • Resolution :- 1792 x 1120

Thanks for you comments.

My point is, it should be present if you used a new Image. It suggests the new image did not initialise correctly especially as the emonhub menu item is missing as well.

The fact that something is not right, suggests to me there may be deeper problems with the setup. The module list should look like this on a standard Image.

I think you will be better off trying a new base image again. It is not unheard of for the initialisation to fail - usually because the device is rebooted before the updates have completed.

Thanks @chivakaa, looks like your emonSD release is emonSD-02Oct19 which is strange, it should be emonSD-17Oct19, I’d suggest starting again with a new download of the 17th of October image:
emonSD pre built SD card Download & Change Log · openenergymonitor/emonpi Wiki · GitHub