Emoncms dashboard EV daily charge

@TrystanLea

Similar result:

Using username "pi".
[email protected]'s password:
Linux emonpi 5.4.51-v7+ #1333 SMP Mon Aug 10 16:45:19 BST 2020 armv7l

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.
Last login: Wed Aug 19 20:41:36 2020 from 192.168.1.71

pi@emonpi:~ $ sudo fsck.ext4 /dev/sda2
e2fsck 1.44.5 (15-Dec-2018)
rootfs: clean, 64468/252928 files, 425585/1024000 blocks

pi@emonpi:~ $ sudo fsck.ext2 /dev/sda3
e2fsck 1.44.5 (15-Dec-2018)
/dev/sda3 was not cleanly unmounted, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda3: 247/214016 files (18.2% non-contiguous), 377795/3417348 blocks

pi@emonpi:~ $


=== USB Emoncms import start ===
2020-11-14-15:29:02
Backup module version:
    "version"      : "2.2.6"
EUID: 1000
Reading /opt/emoncms/modules/backup/config.cfg....
Location of data databases: /var/opt/emoncms
Location of emonhub.conf: /etc/emonhub
Location of Emoncms: /var/www/emoncms

Scanning for USB card reader:
- Unmounted disk: /dev/disk/by-id/usb-Multi_Flash_Reader_058F091111B-0:0 at /dev/sda
-- Unmounted disk has correct number of partitions
-- Mounting old SD card boot partition
-- Mounting old SD card root partition
-- Mounting old SD card data partition
-- image version: emonSD-30Oct18
-- Emoncms mysql database found (old location)
-- Emoncms phptimeseries data directory found
-- Emoncms phptimeseries data directory found
-- Disk appears to be valid, continuing with import

Stopping services..
Read MYSQL authentication details from settings.php
stopping mysql
Copying over mysql database from SD card (old structure)
'/media/old_sd_data/mysql/emoncms' -> '/var/lib/mysql/emoncms'
'/media/old_sd_data/mysql/emoncms/db.opt' -> '/var/lib/mysql/emoncms/db.opt'
'/media/old_sd_data/mysql/emoncms/app_config.frm' -> '/var/lib/mysql/emoncms/app_config.frm'
'/media/old_sd_data/mysql/emoncms/dashboard.frm' -> '/var/lib/mysql/emoncms/dashboard.frm'
'/media/old_sd_data/mysql/emoncms/app_config.MYI' -> '/var/lib/mysql/emoncms/app_config.MYI'
'/media/old_sd_data/mysql/emoncms/app_config.MYD' -> '/var/lib/mysql/emoncms/app_config.MYD'
'/media/old_sd_data/mysql/emoncms/device.frm' -> '/var/lib/mysql/emoncms/device.frm'
'/media/old_sd_data/mysql/emoncms/device.MYI' -> '/var/lib/mysql/emoncms/device.MYI'
'/media/old_sd_data/mysql/emoncms/device.MYD' -> '/var/lib/mysql/emoncms/device.MYD'
'/media/old_sd_data/mysql/emoncms/feeds.frm' -> '/var/lib/mysql/emoncms/feeds.frm'
'/media/old_sd_data/mysql/emoncms/feeds.MYI' -> '/var/lib/mysql/emoncms/feeds.MYI'
'/media/old_sd_data/mysql/emoncms/feeds.MYD' -> '/var/lib/mysql/emoncms/feeds.MYD'
'/media/old_sd_data/mysql/emoncms/graph.frm' -> '/var/lib/mysql/emoncms/graph.frm'
'/media/old_sd_data/mysql/emoncms/graph.MYI' -> '/var/lib/mysql/emoncms/graph.MYI'
'/media/old_sd_data/mysql/emoncms/graph.MYD' -> '/var/lib/mysql/emoncms/graph.MYD'
'/media/old_sd_data/mysql/emoncms/input.frm' -> '/var/lib/mysql/emoncms/input.frm'
'/media/old_sd_data/mysql/emoncms/input.MYI' -> '/var/lib/mysql/emoncms/input.MYI'
'/media/old_sd_data/mysql/emoncms/input.MYD' -> '/var/lib/mysql/emoncms/input.MYD'
'/media/old_sd_data/mysql/emoncms/postprocess.frm' -> '/var/lib/mysql/emoncms/postprocess.frm'
'/media/old_sd_data/mysql/emoncms/postprocess.MYI' -> '/var/lib/mysql/emoncms/postprocess.MYI'
'/media/old_sd_data/mysql/emoncms/postprocess.MYD' -> '/var/lib/mysql/emoncms/postprocess.MYD'
'/media/old_sd_data/mysql/emoncms/schedule.frm' -> '/var/lib/mysql/emoncms/schedule.frm'
'/media/old_sd_data/mysql/emoncms/schedule.MYI' -> '/var/lib/mysql/emoncms/schedule.MYI'
'/media/old_sd_data/mysql/emoncms/schedule.MYD' -> '/var/lib/mysql/emoncms/schedule.MYD'
'/media/old_sd_data/mysql/emoncms/setup.frm' -> '/var/lib/mysql/emoncms/setup.frm'
'/media/old_sd_data/mysql/emoncms/setup.MYI' -> '/var/lib/mysql/emoncms/setup.MYI'
'/media/old_sd_data/mysql/emoncms/setup.MYD' -> '/var/lib/mysql/emoncms/setup.MYD'
'/media/old_sd_data/mysql/emoncms/sync.frm' -> '/var/lib/mysql/emoncms/sync.frm'
'/media/old_sd_data/mysql/emoncms/sync.MYI' -> '/var/lib/mysql/emoncms/sync.MYI'
'/media/old_sd_data/mysql/emoncms/sync.MYD' -> '/var/lib/mysql/emoncms/sync.MYD'
'/media/old_sd_data/mysql/emoncms/rememberme.frm' -> '/var/lib/mysql/emoncms/rememberme.frm'
'/media/old_sd_data/mysql/emoncms/rememberme.MYI' -> '/var/lib/mysql/emoncms/rememberme.MYI'
'/media/old_sd_data/mysql/emoncms/rememberme.MYD' -> '/var/lib/mysql/emoncms/rememberme.MYD'
'/media/old_sd_data/mysql/emoncms/multigraph.frm' -> '/var/lib/mysql/emoncms/multigraph.frm'
'/media/old_sd_data/mysql/emoncms/multigraph.MYI' -> '/var/lib/mysql/emoncms/multigraph.MYI'
'/media/old_sd_data/mysql/emoncms/multigraph.MYD' -> '/var/lib/mysql/emoncms/multigraph.MYD'
'/media/old_sd_data/mysql/emoncms/dashboard.MYI' -> '/var/lib/mysql/emoncms/dashboard.MYI'
'/media/old_sd_data/mysql/emoncms/dashboard.MYD' -> '/var/lib/mysql/emoncms/dashboard.MYD'
'/media/old_sd_data/mysql/emoncms/users.frm' -> '/var/lib/mysql/emoncms/users.frm'
'/media/old_sd_data/mysql/emoncms/users.MYI' -> '/var/lib/mysql/emoncms/users.MYI'
'/media/old_sd_data/mysql/emoncms/users.MYD' -> '/var/lib/mysql/emoncms/users.MYD'
Setting database ownership
starting mysql
checking database
emoncms.app_config                                 OK
emoncms.dashboard                                  OK
emoncms.device                                     OK
emoncms.feeds                                      OK
emoncms.graph                                      OK
emoncms.input                                      OK
emoncms.multigraph                                 OK
emoncms.postprocess                                OK
emoncms.rememberme                                 OK
emoncms.schedule                                   OK
emoncms.setup                                      OK
emoncms.sync                                       OK
emoncms.users                                      OK
Updating Emoncms Database..
["CREATE TABLE `demandshaper` (`userid` int(11), `schedules` text) ENGINE=MYISAM"]
Archive old data folders
Copying PHPFina feed data
'/media/old_sd_data/phpfina' -> '/var/opt/emoncms/phpfina'
'/media/old_sd_data/phpfina/9.meta' -> '/var/opt/emoncms/phpfina/9.meta'
'/media/old_sd_data/phpfina/9.dat' -> '/var/opt/emoncms/phpfina/9.dat'
cp: error reading '/media/old_sd_data/phpfina/9.dat': Input/output error
'/media/old_sd_data/phpfina/10.meta' -> '/var/opt/emoncms/phpfina/10.meta'
cp: error reading '/media/old_sd_data/phpfina/10.meta': Input/output error
'/media/old_sd_data/phpfina/10.dat' -> '/var/opt/emoncms/phpfina/10.dat'
cp: error reading '/media/old_sd_data/phpfina/10.dat': Input/output error
'/media/old_sd_data/phpfina/14.meta' -> '/var/opt/emoncms/phpfina/14.meta'
cp: error reading '/media/old_sd_data/phpfina/14.meta': Input/output error
'/media/old_sd_data/phpfina/14.dat' -> '/var/opt/emoncms/phpfina/14.dat'
cp: error reading '/media/old_sd_data/phpfina/14.dat': Input/output error
'/media/old_sd_data/phpfina/12.meta' -> '/var/opt/emoncms/phpfina/12.meta'
cp: error reading '/media/old_sd_data/phpfina/12.meta': Input/output error
'/media/old_sd_data/phpfina/12.dat' -> '/var/opt/emoncms/phpfina/12.dat'
cp: error reading '/media/old_sd_data/phpfina/12.dat': Input/output error
'/media/old_sd_data/phpfina/5.meta' -> '/var/opt/emoncms/phpfina/5.meta'
cp: error reading '/media/old_sd_data/phpfina/5.meta': Input/output error
'/media/old_sd_data/phpfina/5.dat' -> '/var/opt/emoncms/phpfina/5.dat'
cp: error reading '/media/old_sd_data/phpfina/5.dat': Input/output error
'/media/old_sd_data/phpfina/6.meta' -> '/var/opt/emoncms/phpfina/6.meta'
cp: error reading '/media/old_sd_data/phpfina/6.meta': Input/output error
'/media/old_sd_data/phpfina/6.dat' -> '/var/opt/emoncms/phpfina/6.dat'
cp: error reading '/media/old_sd_data/phpfina/6.dat': Input/output error
'/media/old_sd_data/phpfina/7.meta' -> '/var/opt/emoncms/phpfina/7.meta'
cp: error reading '/media/old_sd_data/phpfina/7.meta': Input/output error
'/media/old_sd_data/phpfina/7.dat' -> '/var/opt/emoncms/phpfina/7.dat'
cp: error reading '/media/old_sd_data/phpfina/7.dat': Input/output error
'/media/old_sd_data/phpfina/8.meta' -> '/var/opt/emoncms/phpfina/8.meta'
cp: error reading '/media/old_sd_data/phpfina/8.meta': Input/output error
'/media/old_sd_data/phpfina/8.dat' -> '/var/opt/emoncms/phpfina/8.dat'
cp: error reading '/media/old_sd_data/phpfina/8.dat': Input/output error
'/media/old_sd_data/phpfina/15.meta' -> '/var/opt/emoncms/phpfina/15.meta'
cp: error reading '/media/old_sd_data/phpfina/15.meta': Input/output error
'/media/old_sd_data/phpfina/15.dat' -> '/var/opt/emoncms/phpfina/15.dat'
cp: error reading '/media/old_sd_data/phpfina/15.dat': Input/output error
'/media/old_sd_data/phpfina/16.meta' -> '/var/opt/emoncms/phpfina/16.meta'
cp: error reading '/media/old_sd_data/phpfina/16.meta': Input/output error
'/media/old_sd_data/phpfina/16.dat' -> '/var/opt/emoncms/phpfina/16.dat'
cp: error reading '/media/old_sd_data/phpfina/16.dat': Input/output error
'/media/old_sd_data/phpfina/17.meta' -> '/var/opt/emoncms/phpfina/17.meta'
cp: error reading '/media/old_sd_data/phpfina/17.meta': Input/output error
'/media/old_sd_data/phpfina/17.dat' -> '/var/opt/emoncms/phpfina/17.dat'
cp: error reading '/media/old_sd_data/phpfina/17.dat': Input/output error
'/media/old_sd_data/phpfina/18.meta' -> '/var/opt/emoncms/phpfina/18.meta'
cp: error reading '/media/old_sd_data/phpfina/18.meta': Input/output error
'/media/old_sd_data/phpfina/18.dat' -> '/var/opt/emoncms/phpfina/18.dat'
cp: error reading '/media/old_sd_data/phpfina/18.dat': Input/output error
'/media/old_sd_data/phpfina/19.meta' -> '/var/opt/emoncms/phpfina/19.meta'
cp: error reading '/media/old_sd_data/phpfina/19.meta': Input/output error
'/media/old_sd_data/phpfina/19.dat' -> '/var/opt/emoncms/phpfina/19.dat'
cp: error reading '/media/old_sd_data/phpfina/19.dat': Input/output error
'/media/old_sd_data/phpfina/21.meta' -> '/var/opt/emoncms/phpfina/21.meta'
cp: error reading '/media/old_sd_data/phpfina/21.meta': Input/output error
'/media/old_sd_data/phpfina/21.dat' -> '/var/opt/emoncms/phpfina/21.dat'
'/media/old_sd_data/phpfina/22.meta' -> '/var/opt/emoncms/phpfina/22.meta'
cp: error reading '/media/old_sd_data/phpfina/22.meta': Input/output error
'/media/old_sd_data/phpfina/22.dat' -> '/var/opt/emoncms/phpfina/22.dat'
'/media/old_sd_data/phpfina/23.meta' -> '/var/opt/emoncms/phpfina/23.meta'
cp: error reading '/media/old_sd_data/phpfina/23.meta': Input/output error
'/media/old_sd_data/phpfina/23.dat' -> '/var/opt/emoncms/phpfina/23.dat'
cp: error reading '/media/old_sd_data/phpfina/23.dat': Input/output error
'/media/old_sd_data/phpfina/24.meta' -> '/var/opt/emoncms/phpfina/24.meta'
cp: error reading '/media/old_sd_data/phpfina/24.meta': Input/output error
'/media/old_sd_data/phpfina/24.dat' -> '/var/opt/emoncms/phpfina/24.dat'
cp: error reading '/media/old_sd_data/phpfina/24.dat': Input/output error
'/media/old_sd_data/phpfina/25.meta' -> '/var/opt/emoncms/phpfina/25.meta'
cp: error reading '/media/old_sd_data/phpfina/25.meta': Input/output error
'/media/old_sd_data/phpfina/25.dat' -> '/var/opt/emoncms/phpfina/25.dat'
'/media/old_sd_data/phpfina/26.meta' -> '/var/opt/emoncms/phpfina/26.meta'
cp: error reading '/media/old_sd_data/phpfina/26.meta': Input/output error
'/media/old_sd_data/phpfina/26.dat' -> '/var/opt/emoncms/phpfina/26.dat'
'/media/old_sd_data/phpfina/27.meta' -> '/var/opt/emoncms/phpfina/27.meta'
cp: error reading '/media/old_sd_data/phpfina/27.meta': Input/output error
'/media/old_sd_data/phpfina/27.dat' -> '/var/opt/emoncms/phpfina/27.dat'
cp: error reading '/media/old_sd_data/phpfina/27.dat': Input/output error
'/media/old_sd_data/phpfina/28.meta' -> '/var/opt/emoncms/phpfina/28.meta'
cp: error reading '/media/old_sd_data/phpfina/28.meta': Input/output error
'/media/old_sd_data/phpfina/28.dat' -> '/var/opt/emoncms/phpfina/28.dat'
cp: error reading '/media/old_sd_data/phpfina/28.dat': Input/output error
'/media/old_sd_data/phpfina/29.meta' -> '/var/opt/emoncms/phpfina/29.meta'
cp: error reading '/media/old_sd_data/phpfina/29.meta': Input/output error
'/media/old_sd_data/phpfina/29.dat' -> '/var/opt/emoncms/phpfina/29.dat'
cp: error reading '/media/old_sd_data/phpfina/29.dat': Input/output error
'/media/old_sd_data/phpfina/30.meta' -> '/var/opt/emoncms/phpfina/30.meta'
cp: error reading '/media/old_sd_data/phpfina/30.meta': Input/output error
'/media/old_sd_data/phpfina/30.dat' -> '/var/opt/emoncms/phpfina/30.dat'
cp: error reading '/media/old_sd_data/phpfina/30.dat': Input/output error
'/media/old_sd_data/phpfina/31.meta' -> '/var/opt/emoncms/phpfina/31.meta'
cp: error reading '/media/old_sd_data/phpfina/31.meta': Input/output error
'/media/old_sd_data/phpfina/31.dat' -> '/var/opt/emoncms/phpfina/31.dat'
cp: error reading '/media/old_sd_data/phpfina/31.dat': Input/output error
'/media/old_sd_data/phpfina/32.meta' -> '/var/opt/emoncms/phpfina/32.meta'
cp: error reading '/media/old_sd_data/phpfina/32.meta': Input/output error
'/media/old_sd_data/phpfina/32.dat' -> '/var/opt/emoncms/phpfina/32.dat'
cp: error reading '/media/old_sd_data/phpfina/32.dat': Input/output error
'/media/old_sd_data/phpfina/33.meta' -> '/var/opt/emoncms/phpfina/33.meta'
cp: error reading '/media/old_sd_data/phpfina/33.meta': Input/output error
'/media/old_sd_data/phpfina/33.dat' -> '/var/opt/emoncms/phpfina/33.dat'
'/media/old_sd_data/phpfina/34.meta' -> '/var/opt/emoncms/phpfina/34.meta'
cp: error reading '/media/old_sd_data/phpfina/34.meta': Input/output error
'/media/old_sd_data/phpfina/34.dat' -> '/var/opt/emoncms/phpfina/34.dat'
'/media/old_sd_data/phpfina/35.meta' -> '/var/opt/emoncms/phpfina/35.meta'
cp: error reading '/media/old_sd_data/phpfina/35.meta': Input/output error
'/media/old_sd_data/phpfina/35.dat' -> '/var/opt/emoncms/phpfina/35.dat'
'/media/old_sd_data/phpfina/36.meta' -> '/var/opt/emoncms/phpfina/36.meta'
cp: error reading '/media/old_sd_data/phpfina/36.meta': Input/output error
'/media/old_sd_data/phpfina/36.dat' -> '/var/opt/emoncms/phpfina/36.dat'
'/media/old_sd_data/phpfina/37.meta' -> '/var/opt/emoncms/phpfina/37.meta'
cp: error reading '/media/old_sd_data/phpfina/37.meta': Input/output error
'/media/old_sd_data/phpfina/37.dat' -> '/var/opt/emoncms/phpfina/37.dat'
'/media/old_sd_data/phpfina/38.meta' -> '/var/opt/emoncms/phpfina/38.meta'
cp: error reading '/media/old_sd_data/phpfina/38.meta': Input/output error
'/media/old_sd_data/phpfina/38.dat' -> '/var/opt/emoncms/phpfina/38.dat'
'/media/old_sd_data/phpfina/39.meta' -> '/var/opt/emoncms/phpfina/39.meta'
cp: error reading '/media/old_sd_data/phpfina/39.meta': Input/output error
'/media/old_sd_data/phpfina/39.dat' -> '/var/opt/emoncms/phpfina/39.dat'
'/media/old_sd_data/phpfina/40.meta' -> '/var/opt/emoncms/phpfina/40.meta'
cp: error reading '/media/old_sd_data/phpfina/40.meta': Input/output error
'/media/old_sd_data/phpfina/40.dat' -> '/var/opt/emoncms/phpfina/40.dat'
cp: error reading '/media/old_sd_data/phpfina/40.dat': Input/output error
'/media/old_sd_data/phpfina/41.meta' -> '/var/opt/emoncms/phpfina/41.meta'
cp: error reading '/media/old_sd_data/phpfina/41.meta': Input/output error
'/media/old_sd_data/phpfina/41.dat' -> '/var/opt/emoncms/phpfina/41.dat'
cp: error reading '/media/old_sd_data/phpfina/41.dat': Input/output error
'/media/old_sd_data/phpfina/43.meta' -> '/var/opt/emoncms/phpfina/43.meta'
cp: error reading '/media/old_sd_data/phpfina/43.meta': Input/output error
'/media/old_sd_data/phpfina/43.dat' -> '/var/opt/emoncms/phpfina/43.dat'
cp: error reading '/media/old_sd_data/phpfina/43.dat': Input/output error
'/media/old_sd_data/phpfina/44.meta' -> '/var/opt/emoncms/phpfina/44.meta'
cp: error reading '/media/old_sd_data/phpfina/44.meta': Input/output error
'/media/old_sd_data/phpfina/44.dat' -> '/var/opt/emoncms/phpfina/44.dat'
cp: error reading '/media/old_sd_data/phpfina/44.dat': Input/output error
'/media/old_sd_data/phpfina/45.meta' -> '/var/opt/emoncms/phpfina/45.meta'
cp: error reading '/media/old_sd_data/phpfina/45.meta': Input/output error
'/media/old_sd_data/phpfina/45.dat' -> '/var/opt/emoncms/phpfina/45.dat'
cp: error reading '/media/old_sd_data/phpfina/45.dat': Input/output error
'/media/old_sd_data/phpfina/47.meta' -> '/var/opt/emoncms/phpfina/47.meta'
cp: error reading '/media/old_sd_data/phpfina/47.meta': Input/output error
'/media/old_sd_data/phpfina/47.dat' -> '/var/opt/emoncms/phpfina/47.dat'
cp: error reading '/media/old_sd_data/phpfina/47.dat': Input/output error
'/media/old_sd_data/phpfina/50.meta' -> '/var/opt/emoncms/phpfina/50.meta'
cp: error reading '/media/old_sd_data/phpfina/50.meta': Input/output error
'/media/old_sd_data/phpfina/50.dat' -> '/var/opt/emoncms/phpfina/50.dat'
cp: error reading '/media/old_sd_data/phpfina/50.dat': Input/output error
'/media/old_sd_data/phpfina/51.meta' -> '/var/opt/emoncms/phpfina/51.meta'
cp: error reading '/media/old_sd_data/phpfina/51.meta': Input/output error
'/media/old_sd_data/phpfina/51.dat' -> '/var/opt/emoncms/phpfina/51.dat'
cp: error reading '/media/old_sd_data/phpfina/51.dat': Input/output error
'/media/old_sd_data/phpfina/52.meta' -> '/var/opt/emoncms/phpfina/52.meta'
cp: error reading '/media/old_sd_data/phpfina/52.meta': Input/output error
'/media/old_sd_data/phpfina/52.dat' -> '/var/opt/emoncms/phpfina/52.dat'
cp: error reading '/media/old_sd_data/phpfina/52.dat': Input/output error
Copying PHPTimeSeries feed data
'/media/old_sd_data/phptimeseries' -> '/var/opt/emoncms/phptimeseries'
cp: cannot access '/media/old_sd_data/phptimeseries': Input/output error
'/media/old_sd_data/emonhub.conf' -> '/etc/emonhub/emonhub.conf'
cp: error reading '/media/old_sd_data/emonhub.conf': Input/output error
Flushing redis
OK
Restarting emonhub...
Restarting feedwriter...
Restarting emoncms MQTT...
2020-11-14-15:29:32
=== Emoncms import complete! ===

Refresh page if log window does not update.

After import is complete logout

Edit - reformatted text. BT, Moderator

=============================================
Tried again:

pi@emonpi:~ $ sudo fsck.ext4 /dev/sda2
e2fsck 1.44.5 (15-Dec-2018)
rootfs: clean, 64468/252928 files, 425585/1024000 blocks
pi@emonpi:~ $ sudo fsck.ext2 /dev/sda3
e2fsck 1.44.5 (15-Dec-2018)
/dev/sda3: clean, 247/214016 files, 377795/3417348 blocks
pi@emonpi:~ $

Also failed to configure feeds & inputs

Edit - reformatted text again . RW, Moderator
For future reference, when posting code or output, please put 3 ‘backticks’ (normally found at the [top left of the keyboard] (typing - How do I type the tick and backtick characters on Windows? - Super User)) on a line of their own before the code, and 3 more backticks on a line of their own after the code.

```
code
```

If it is something like php you can add a language identifier after the first 3 backticks so ```php or even ```text if you don’t want any language markup applied.

Sorry about this @BrianD, not sure why its giving those errors, were you able to access the data when running off the old image?

Is your new SD card the same size or larger than the original, does it have plenty of free space? enough for the data to copy over ok?

@TrystanLea The old image runs on a 16GB SD that came with the unit from you and it is running OK right now.

The new SD is also 16GB and only has the image I downloaded from you a few days ago.

I started again from scratch but this time using a 32GB SD and everything appears to have worked.

So back to the original issue I shall let you know how it goes.

Thank you to @TrystanLea for his patience although for once it was not finger trouble on my part. :slightly_smiling_face:

I think we can close this thread now.

1 Like

Great to hear that its working!

1 Like

Hi @BrianD,

I know this post is quite old, but I got my EmonEVSE installed today. I want to create a useful dashboard, and found your post. did you get your dashboard sorted out, and would you be willing to share the configuration? How did you display a cumulative EV, do you need to create new feeds, that are not part of the default setup?

I’d be grateful for any pointers.

Hi @allen

I am probably the last person to ask for advice, but you are more than welcome to share the little that I know.

Yes, I have a working system with a bunch of widgets that provide useful information but the one thing I really would like to see is a measure of the energy (kWh) in this charging session. This continues to elude me and even the energy displayed on the EVSE box does not always look quite right.

I shall have a look at the configuration info’ to see how I can share it.

I don’t know if there is an easy way to ‘dump’ the widget configuration information but I could simply image each widget config details as required. Let me know what if anything is of interest. The widgets look much the same as I posted at the top of the thread.

There is a way to transfer dashboard configurations, but of course it would rely on my feed names being the same as your. However, it might give me an idea of how you created your dashboard. If you go to the dashboard, go into edit mode and click the top-left cog in the toolbox. A dialog box opens, and if you scroll to the bottom you get an input box that contains all the content of the dashboard (see my picture). If you could copy all that and either paste it here, or email it to me (or PM), I’d be grateful.

Here you go:

<div id="2" class="heading" style="position: absolute; margin: 0px; top: 180px; left: 60px; width: 140px; height: 60px;"> EV Power</div>
<div id="4" class="dial" style="position: absolute; margin: 0px; top: 440px; left: 220px; width: 160px; height: 160px;" 
feedid="43" max="20" scale="0.001" units_dropdown="kW" units="kW" decimals="3" offset="" type="6" graduations="1" 
unitend="0" displayminmax="0" minvaluefeed="5" maxvaluefeed="5" timeout="" errormessagedisplayed="">
<canvas id="can-4" width="160" height="160"></canvas>
<div id="can-4-tooltip-1"></div>
<div id="can-4-tooltip-2"></div>
</div>
<div id="5" class="heading" style="position: absolute; margin: 0px; top: 580px; left: 240px; width: 160px; height: 60px;">Grid power</div>
<div id="6" class="dial" style="position: absolute; margin: 0px; top: 240px; left: 40px; width: 160px; height: 160px;" feedid="41" max="6" 
scale=".001" units_dropdown="kW" units="kW" decimals="-1" offset="" type="4" graduations="1" unitend="0" 
displayminmax="0" minvaluefeed="5" maxvaluefeed="5" timeout="" errormessagedisplayed="">
<canvas id="can-6" width="160" height="160"></canvas>
<div id="can-6-tooltip-1"></div>
<div id="can-6-tooltip-2"></div>
</div>
<div id="7" class="heading" style="position: absolute; margin: 0px; top: 380px; left: 80px; width: 100px; height: 60px;">Solar</div>
<div id="9" class="heading" style="position: absolute; margin: 0px; top: 580px; left: 440px; width: 120px; height: 60px;">Voltage</div>
<div id="10" class="dial" style="position: absolute; margin: 0px; top: 40px; left: 220px; width: 160px; height: 160px;" feedid="32" max="10" scale="" 
units_dropdown="" units="" decimals="-1" offset="" type="13" graduations="1" unitend="0" 
displayminmax="0" minvaluefeed="32" 
maxvaluefeed="32" timeout="" errormessagedisplayed="">
<canvas id="can-10" width="160" height="160"></canvas>
<div id="can-10-tooltip-1"></div>
<div id="can-10-tooltip-2"></div>
</div>
<div id="11" class="heading" style="position: absolute; margin: 0px; top: 180px; left: 260px; width: 100px; height: 60px;">EV State</div>
<div id="14" class="paragraph" style="position: absolute; margin: 0px; top: 20px; left: 40px; width: 540px; height: 60px;">1: NC 2: Connected 3: Charging 4: Error 254: Sleep 255: Disabled</div>
<div id="16" class="dial" style="position: absolute; margin: 0px; top: 440px; left: 40px; width: 160px; height: 160px;" feedid="14" 
max="20" scale="0.001" units_dropdown="kW" units="kW" decimals="-1" offset="" type="2" graduations="1" unitend="0" 
displayminmax="0" minvaluefeed="5" maxvaluefeed="5" timeout="" errormessagedisplayed="">
<canvas id="can-16" width="160" height="160"></canvas>
<div id="can-16-tooltip-1"></div>
<div id="can-16-tooltip-2"></div>
</div>
<div id="17" class="heading-center" style="position: absolute; margin: 0px; top: 580px; left: 40px; width: 160px; height: 60px;">House power</div>
<div id="18" class="dial" style="position: absolute; margin: 0px; top: 40px; left: 580px; width: 160px; height: 160px;" feedid="29" max="10000" scale="0.1" units_dropdown="kWh" units="kWh" decimals="-1" offset="" type="10" graduations="1" 
unitend="0" displayminmax="0" minvaluefeed="5" maxvaluefeed="5" timeout="" errormessagedisplayed=""><canvas id="can-18" width="160" height="160"></canvas>

<div id="can-18-tooltip-1"></div>
<div id="can-18-tooltip-2"></div>
</div>
<div id="19" class="heading-center" style="position: absolute; margin: 0px; top: 180px; left: 600px; width: 100px; height: 60px;">EV Cumulative</div>
<div id="20" class="dial" style="position: absolute; margin: 0px; top: 240px; left: 220px; width: 160px; height: 160px;" feedid="47" max="5" scale="0.001" units_dropdown="kW" units="kW" decimals="-1" offset="" type="4" graduations="1" 
unitend="0" displayminmax="0" minvaluefeed="5" maxvaluefeed="5" timeout="" errormessagedisplayed=""><canvas id="can-20" width="160" height="160"></canvas>
<div id="can-20-tooltip-1"></div>
<div id="can-20-tooltip-2"></div>
</div>
<div id="21" class="heading" style="position: absolute; margin: 0px; top: 380px; left: 240px; width: 100px; height: 60px;">Diverted</div>
<div id="22" class="dial" style="position: absolute; margin: 0px; top: 240px; left: 400px; width: 160px; height: 160px;" feedid="50" max="-100" scale="1" units_dropdown="dB" units="dB" decimals="-1" offset="" type="1" graduations="1" 
unitend="0" displayminmax="0" minvaluefeed="5" maxvaluefeed="5" timeout="" errormessagedisplayed=""><canvas id="can-22" width="160" height="160"></canvas>
<div id="can-22-tooltip-1"></div>
<div id="can-22-tooltip-2"></div>
</div>
<div id="23" class="heading" style="position: absolute; margin: 0px; top: 380px; left: 440px; width: 100px; height: 60px;">EV wifi</div>
<div id="24" class="dial" style="position: absolute; margin: 0px; top: 240px; left: 580px; width: 160px; height: 160px;" feedid="51" max="-100" scale="1" units_dropdown="dB" units="dB" decimals="-1" offset="" type="1" graduations="1" 
unitend="0" displayminmax="0" minvaluefeed="5" maxvaluefeed="5" timeout="" errormessagedisplayed=""><canvas id="can-24" width="160" height="160"></canvas>
<div id="can-24-tooltip-1"></div>
<div id="can-24-tooltip-2"></div>
</div>
<div id="25" class="heading" style="position: absolute; margin: 0px; top: 380px; left: 620px; width: 100px; height: 60px;">Pi wifi</div>
<div id="26" class="dial" style="position:absolute; margin: 0; top:440px; left:580px; width:160px; height:160px;" feedid="52" max="100" scale="1" units_dropdown="°C" units="°C" decimals="-1" offset="" type="2" graduations="1" 
unitend="0" displayminmax="0" minvaluefeed="5" maxvaluefeed="5" timeout="" errormessagedisplayed=""><canvas id="can-26" width="160" height="160"></canvas>
<div id="can-26-tooltip-1"></div>
<div id="can-26-tooltip-2"></div>
</div>
<div id="27" class="heading" style="position: absolute; margin: 0px; top: 580px; left: 620px; width: 100px; height: 60px;">Arduino</div>
<div id="30" class="kwhperiod" style="position: absolute; margin: 0px; top: 120px; left: 960px; width: 120px; height: 60px; 
color: rgb(0, 0, 255); font: bold 18px / 60px Arial Black; text-align: center;" feedid="29" periodlength="1" periodmultiplier="" periodsago="" periodoffset="" 
periodquantise="1" kwhperdayconversion="0" uselastyear="0" prepend="" append="" decimals="-1" colour="0000ff" font="9" fstyle="2" fweight="1" size="14" 
timeout="70" errormessagedisplayed="No data" align="center">0</div>
<div id="31" class="thermometer" style="position: absolute; margin: 0px; top: 60px; left: 760px; width: 160px; height: 120px;" 
titlethermometer="EV Temp" colourlabel="000000" font="9" fstyle="2" fweight="0" feedid="30" min="-10" max="100" scale="" units_dropdown="°C" units="°C" unitend="0" decimals="-1" offset="" graduations="1" gradnumber="6" 
displayminmax="1" minvaluefeed="30" maxvaluefeed="30" colourminmax="000000" timeout="60" errormessagedisplayed="No data"><canvas id="can-31" width="160" height="120"></canvas>
<div id="can-31-tooltip-1"></div>
<div id="can-31-tooltip-2"></div>
</div>
<div id="32" class="jgauge" style="position: absolute; margin: 0px; top: 40px; left: 400px; width: 160px; height: 160px;" feedid="28" scale="" max="50" min="0" units="Amps" timeout="60" errormessagedisplayed="No data"><canvas id="can-32" width="160" height="160"></canvas>
</div>
<div id="33" class="jgauge" style="position: absolute; margin: 0px; top: 40px; left: 40px; width: 160px; height: 160px;" feedid="27" scale="0.001" max="10" min="0" units="kW" timeout="60" errormessagedisplayed="No data"><canvas id="can-33" width="160" height="160"></canvas>
</div>
<div id="34" class="jgauge" style="position: absolute; margin: 0px; top: 440px; left: 400px; width: 160px; height: 160px;" feedid="45" scale="" max="300" min="0" units="Volts" timeout="" errormessagedisplayed=""><canvas id="can-34" width="160" height="160"></canvas>
</div>
<div id="43" class="thermometer" style="position: absolute; margin: 0px; top: 460px; left: 760px; width: 160px; height: 120px;" 
titlethermometer="Arduino" colourlabel="000000" font="9" fstyle="2" fweight="0" feedid="52" min="0" max="100" scale="" units_dropdown="°C" units="°C" 
unitend="0" decimals="-1" offset="" graduations="1" gradnumber="5" displayminmax="0" minvaluefeed="52" maxvaluefeed="52" colourminmax="000000" timeout="" errormessagedisplayed="">
<canvas id="can-43" width="160" height="120"></canvas>
<div id="can-43-tooltip-1"></div>
<div id="can-43-tooltip-2"></div>
</div>
<div id="44" class="heading" style="position: absolute; margin: 0px; top: 80px; left: 920px; width: 240px; height: 60px;">EV Daily charge Wh</div>

[Edited for format - Moderator (RW)]

1 Like

As a file attachment:
dashboard.txt (8.3 KB)

1 Like

Thanks for that @BrianD. Can I ask whether you solved the issue with displaying the daily energy value. I can see a value that is displayed on the EV charger


But how can I get that on a dashboard, or even use it in other calculations? For example it would be good to work out how much has actually come from solar energy, and how much from the grid (and therefore the cost). Like you I am trying to use the Power to kWh widget, but can’t get it to make any sense. The feeds I am using are the standard ones generated when I installed the evse.
image

No, I did not succeed in displaying the daily energy value. Also, I am not convinced the value shown on the EVSE is correct but that may be another problem.

Any progress you make with this will be interesting for me so please keep us posted.

Interesting that you say that about the value being correct. My car gives a slightly different value to it.

One thing I just noticed. I setup the default feeds from the EVSE input and this was the one of the power:


But why use a hardcoded voltage of 230, when there is a voltage input? Any ideas why the realtime voltage isn’t used?

1 Like

@BrianD I don’t know if this is of any use. But I managed to get a graph of the daily energy.
I followed the instructions on this page Calculating Daily kWh - Guide | OpenEnergyMonitor. However, I would like it as a single value that I could display on the dashboard, and not a graph. Again, these values don’t quite add up with what my car thinks, so I’m not sure which is more accurate.

No, I mean it’s not correct. Badly worded on my part, sorry.

My ev is a Tesla model 3. What do you have?

I have a VW ID.3, only a few weeks old, and loving it!

VW make good cars. I had two petrol golfs which were excellent.

I think the explanation for a large discrepancy between my car and EVSE regarding the session energy measurement is that I will have sometimes unplugged and used the car at a time when the EVSE is sleeping. This will cause the car to zero its session to zero but the EVSE will not detect that the session finished so will add the energy value in the next session. A quick test today has confirmed this.

Very small discrepancies are due to the granularity of the car measurement being 1kWh.

For VW this is their first properly built EV (not just a converted car like the eGolf or eUP), so there are going to be some teething problems, but overall it seems like a great little car.

I have created a couple of new feeds to test other was of calculating the energy. The default way is this:

But I have also created these now:

Now I just need some sun to test it out (well for the Eco mode).