Not show Kwh in my electric

Hello
I just did a new installation and I have a problem in App My electric, not show Kwh yesterday show me but not today???
I don’t know if it has anything to do with the installation

Server Information

Server Information

Services

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

Emoncms

Server

  • OS :- Linux 4.19.75+
  • Host :- emonpi | emonpi | (127.0.0.1)
  • Date :- 2019-12-21 13:46:12 CET
  • Uptime :- 13:46:12 up 1 min, 0 users, load average: 1.05, 0.52, 0.19

Memory

  • RAM :- Used: 31.41%
    • Total :- 432.7 MB
    • Used :- 135.9 MB
    • Free :- 296.8 MB
  • Swap :- Used: 0.00%
    • Total :- 100 MB
    • Used :- 0 B
    • Free :- 100 MB
      Write Load Period

Disk

  • / :- Used: 3.08%
    • Total :- 58.28 GB
    • Used :- 1.8 GB
    • Free :- 54.08 GB
    • Write Load :- n/a
  • /boot :- Used: 20.94%
    • Total :- 252.05 MB
    • Used :- 52.78 MB
    • Free :- 199.27 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-12-21 13:46:11 (UTC 01:00‌​)
  • Stats :- Uptime: 79 Threads: 10 Questions: 146 Slow queries: 0 Opens: 24 Flush tables: 1 Open tables: 18 Queries per second avg: 1.848

Redis

  • Version :-
    • Redis Server :- 5.0.3
    • PHP Redis :- 5.1.1
  • Host :- localhost:6379
  • Size :- 24 keys (759.94K)
  • Uptime :- 0 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 Model Zero W Rev 1.1 - 512MB (Sony UK)

  • Serial num. :- 99D7734A

  • Temperature :- 40.08°C - 39.5°C

  • emonpiRelease :- emonSD-02Oct19

  • File-system :- read-write

Client Information

Client Information

HTTP

  • Browser :- Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
  • Language :- en-GB,en-US;q=0.9,en;q=0.8,es;q=0.7

Window

  • Size :- 1657 x 873

Screen

  • Resolution :- 1920 x 1080
LAST ENTRIES ON THE LOG FILE
2019-12-20 23:12:35.926|ERROR|index.php|Not Authenticated|device/list
2019-12-20 23:12:36.290|ERROR|index.php|Not Authenticated|input/list
2019-12-20 23:12:40.608|ERROR|index.php|Not Authenticated|device/list
2019-12-20 23:12:40.707|ERROR|index.php|Not Authenticated|input/list
2019-12-20 23:12:47.380|ERROR|index.php|Not Authenticated|device/list
2019-12-20 23:12:47.548|ERROR|index.php|Not Authenticated|input/list
2019-12-20 23:12:50.878|ERROR|index.php|Not Authenticated|device/list
2019-12-20 23:12:51.184|ERROR|index.php|Not Authenticated|input/list
2019-12-20 23:12:55.755|ERROR|index.php|Not Authenticated|device/list
2019-12-20 23:12:55.961|ERROR|index.php|Not Authenticated|input/list
2019-12-20 23:13:01.282|ERROR|index.php|Not Authenticated|device/list
2019-12-20 23:13:01.419|ERROR|index.php|Not Authenticated|input/list
2019-12-20 23:13:05.606|ERROR|index.php|Not Authenticated|device/list
2019-12-20 23:13:05.684|ERROR|index.php|Not Authenticated|input/list
2019-12-20 23:13:10.685|ERROR|index.php|Not Authenticated|device/list
2019-12-20 23:13:10.801|ERROR|index.php|Not Authenticated|input/list
2019-12-21 00:16:03.546|ERROR|index.php|Not Authenticated|app/view
2019-12-21 11:17:37.391|ERROR|index.php|Not Authenticated|app/view
2019-12-21 11:52:42.285|ERROR|index.php|Not Authenticated|app/view
2019-12-21 12:20:00.782|ERROR|index.php|Not Authenticated|user/view
2019-12-21 12:44:59.895|WARN|emoncms_mqtt.php|Not connected, retrying connection
2019-12-21 12:45:00.075|WARN|emoncms_mqtt.php|Connecting to MQTT server: Connection Accepted.: code: 0
2019-12-21 12:45:26.315|ERROR|index.php|Not Authenticated|app/view
2019-12-21 12:45:26.431|ERROR|index.php|Not Authenticated|app/view
2019-12-21 12:45:27.980|ERROR|index.php|Not Authenticated|app/view

Have you checked the configuration of the app - click on the spanner in top right.

Not sure what the problem is. Reboot?

I don’t think I reset it several times.

@TrystanLea can you help?

when press launch app
show this error

Delete the app and re activate it.

Is there data in the kWh feed when you look at it via the feeds page? testing here with an empty feed I cant seem to replicate, your configuration looks fine. If you “refresh feed size” on the feeds page do the feed sizes update to something sensible e.g more than zero or n/a?

when I hit refresh feeds a message comes out,

but increase the kWh

and in the my electric I think must be two bar instead one? yesterday and today ? the system date looks ok, Sun Dec 22 11:31:18 CET 2019

and when I press the configuration icon(key) it shows me this error

thank you

I also tried but it didn’t work.

Looks like the error in the app has cleared now?

Did you create and delete a virtual feed on the feeds page to get the Config icon error? I’ve been able to replicate it in that relatively edge case. I have created an issue here Configure icon does not disapeer after deleting virtual feed · Issue #1488 · emoncms/emoncms · GitHub to note that this needs fixing.

The bug where the selected feed buttons such as config remained after the feed has been deleted is now fixed in the latest master branch - and will be merged to stable soon.

1 Like

Hi,

I am experiencing a similar issue with a new installation.
I had to reconfigure the app daily (4th time today) to get the KWh use for the day to display on the app.
When saving the app configuration, I get the error below:
image

I reconfigured the feeds yesterday as below just in case but the issue remains:

These are the feeds currently in emoncms:

Server Information

Server Information

Services

  • emonhub :- Active Running
  • emoncms_mqtt :- Active Running
  • feedwriter :- Active Running - sleep 300s 200 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.75-v7+
  • Host :- emonpi | emonpi | (192.168.0.64)
  • Date :- 2020-04-28 07:54:21 BST
  • Uptime :- 07:54:21 up 3 days, 1:20, 0 users, load average: 0.21, 0.12, 0.10

Memory

  • RAM :- Used: 19.82%
    • Total :- 975.62 MB
    • Used :- 193.38 MB
    • Free :- 782.25 MB
  • Swap :- Used: 0.00%
    • Total :- 100 MB
    • Used :- 0 B
    • Free :- 100 MB
      Write Load Period

Disk

  • / :- Used: 46.75%
    • Total :- 3.92 GB
    • Used :- 1.83 GB
    • Free :- 1.9 GB
    • Write Load :- 900.37 B/s (3 days 1 mins)
  • /var/opt/emoncms :- Used: 0.04%
    • Total :- 9.98 GB
    • Used :- 4.12 MB
    • Free :- 9.47 GB
    • Write Load :- 30.04 B/s (3 days 1 mins)
  • /boot :- Used: 20.55%
    • Total :- 252.05 MB
    • Used :- 51.79 MB
    • Free :- 200.25 MB
    • Write Load :- 0 B/s (3 days 1 mins)
  • /var/log :- Used: 11.08%
    • Total :- 50 MB
    • Used :- 5.54 MB
    • Free :- 44.46 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 :- 2020-04-28 07:54:20 (UTC 01:00‌​)
  • Stats :- Uptime: 264033 Threads: 13 Questions: 282571 Slow queries: 0 Opens: 46 Flush tables: 1 Open tables: 40 Queries per second avg: 1.070

Redis

  • Version :-
    • Redis Server :- 5.0.3
    • PHP Redis :- 5.0.2
  • Host :- localhost:6379
  • Size :- 93 keys (839.38K)
  • Uptime :- 3 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 :- 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.0.2Reflection session shmop SimpleXML sockets sodium SPL standard sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader xmlwriter xsl Zend OPcache zlib

Pi

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

  • Serial num. :- 61EEC975

  • Temperature :- 38.09°C - 37.6°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/81.0.4044.122 Safari/537.36
  • Language :- en-GB,en;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6

Window

  • Size :- 2173 x 1318

Screen

  • Resolution :- 2189 x 1460

Thanks @Lucas, did the app work to start with? and how long after initial configuration did the error re-appear? I tried creating a new MyElectric app here with a fresh kWh feed and it seems to be working for me.

Hi @TrystanLea, the app work for the first day and then stop. I assume that it fails at 23:59:59 when going into the next day.

Thanks @Lucas does this happen when you leave the app open, but disappears if you refresh the page?

Hi Tristan,

No.

The data is displaying correctly the whole day after re-configuring it.
I did have to delete the feed and reinstate it yesterday for the app to work.
I have just noticed that the Used_Kwh feed is showing 0B (see screenshot above), which would suggest that the log for that specific feed is somehow missing. However, if I create a graph, the data is present (note that the feed was recreated around 5pm yesterday):


Let me know if you like me to delete the feed and try again.
I have re-configured my electric a couple of hours ago and the Kwh is still missing:

Yesterday I created another my electric app using another feed created from another power input.
Same issue occurred. App works fine on day 1 but Kwh shows 0 from day 2.


The my electric app created the day before yesterday is now showing the total consumption for the day before that.
So to recap: App created on day 1 (works as expected) => day 2 Kwh is showing 0.0 Kwh => day 3 Kwh is showing day 2 total consumption:

As of today, a new list of 15 inputs have appeared from nowhere…

Any suggestion on how I can resolve these issues please?

Hello @Lucas have you configured the timezone setting on the My Account page? This needs to match your browsers timezone. This could be the reason for the issue.

To see the updated feed size you need to click on ‘Refresh feed size’ at the bottom of the feed list page.