Emonsd Dashboard reporting error

Just noticed this. Was taking a look at my dashboard to see how much my monthly usage was on my OpenEVSE charger.

When I put my mouse over the month it is reporting the total at the next months.

Unless I am mistaking it’s operation.

Server Information

Server Information

Services

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

Emoncms

Server

  • OS :- Linux 4.19.75-v7+
  • Host :- emonpi | emonpi | (192.168.1.24)
  • Date :- 2020-01-14 00:51:13 UTC
  • Uptime :- 00:51:13 up 59 days, 6:06, 0 users, load average: 0.10, 0.07, 0.08

Memory

  • RAM :- Used: 25.31%
    • Total :- 975.62 MB
    • Used :- 246.91 MB
    • Free :- 728.71 MB
  • Swap :- Used: 0.00%
    • Total :- 100 MB
    • Used :- 0 B
    • Free :- 100 MB
      Write Load Period

Disk

  • / :- Used: 46.93%
    • Total :- 3.92 GB
    • Used :- 1.84 GB
    • Free :- 1.89 GB
    • Write Load :- n/a
  • /boot :- Used: 20.55%
    • Total :- 252.05 MB
    • Used :- 51.79 MB
    • Free :- 200.26 MB
    • Write Load :- 0 B/s (59 days 5 hours 56 mins)
  • /var/opt/emoncms :- Used: 1.59%
    • Total :- 9.98 GB
    • Used :- 162.34 MB
    • Free :- 9.31 GB
    • Write Load :- n/a
  • /var/log :- Used: 37.59%
    • Total :- 50 MB
    • Used :- 18.8 MB
    • Free :- 31.2 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-01-14 00:51:12 (UTC 00:00‌​)
  • Stats :- Uptime: 5119569 Threads: 16 Questions: 13098151 Slow queries: 0 Opens: 46 Flush tables: 1 Open tables: 40 Queries per second avg: 2.558

Redis

  • Version :-
    • Redis Server :- 5.0.3
    • PHP Redis :- 5.0.2
  • Host :- localhost:6379
  • Size :- 446 keys (1.03M)
  • Uptime :- 59 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 3 Model B+ Rev 1.3 - 1GB (Sony UK)

  • Serial num. :- 3BD68E61

  • Temperature :- 53.69°C - 53.2°C

  • emonpiRelease :- emonSD-17Oct19

  • File-system :- read-only

Client Information

Client Information

HTTP

  • Browser :- Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
  • Language :- en-US,en;q=0.9

Window

  • Size :- 1351 x 669

Screen

  • Resolution :- 1366 x 768

@emrys - one for you?

Hello @Ryan_S have you set your timezone on the My Account page? Testing here looks to be working ok.

I’ll double check that when I get home. I’m pretty sure I did, but maybe forgot when I reinstalled a couple months ago.

1 Like

Took a look under my profile. Timezone is set correctly.

Thanks, ok, could you show all the options that you have set in the configuration panel for the widget?
What kind of source feed are you using? is it a cumulative kWh feed or daily kWh feed?
Are you using delta mode for the bar graph?

Figure a picture of the settings works.


Thanks @Ryan_S do you by any chance have a cumulative kWh feed of the OpenEVSE consumption (created using power_to_kwh rather than kWh/d)? This is now the recommended approach to generating daily, monthly etc graphs, see the guide here: Calculating Daily kWh - Guide | OpenEnergyMonitor

You can use the post process module (pre installed on the emonSD image) to create a cumulative kWh feed from historic power data if you have not already got a suitable feed.

I actually am creating mine from the amps output from OpenEVSE. I didn’t like the Wh output and just decided to calculate it from the amps multiplied by the house Voltage readings provided by IotaWatt.


Don’t mind the duplicate in there. One was a debugging item I was using and just left it.

That’s fine, looks like you have a Power to kWh feed as process number 8, if you use that with the delta mode in the bar graph it should give the best results: Calculating Daily kWh - Guide | OpenEnergyMonitor

Voltage multiplied by current yields Volt-Amps, (VA) i.e apparent power vice real power.
To get real power, you must take into account the power factor, as well. (V x I x PF)

If the load is resistive i.e. no reactive components, the Power factor will be 1
and Watts will be equal to VA.

1 Like

Plus, if two different devices are being used, there’s no guarantee whatever that the two quantities are measured at the same instant - so there is another source of uncertainty.

Very true. Unfortunately I don’t believe the OpenEVSE reports the pf back, so I was just aiming for a general total energy consumption. (though I only pay rates based on real power) Unless of course the OpenEVSE total Wh report does include pf in it. If that’s the case, then I would consider seeing if I could parse out what the days energy usage was from it. I just couldn’t seem to find a way to get EmonCMS to do that.