emonSD-03May16 Release

If you would rather send data to emoncms.org over http rather then https you can change the emoncmsorg interfaces to http this should use less bandwidth but will obviously be insecure.

Have much data have you measured that the system is consuming?

Just tested the 03-May16 emonSD image works great on a Pi Zero! Emoncms, nodeRED and openHAB all work fine with 70Mb RAM to spare. Performace is surprisingly fast! Amazing, $5 of computer

2 Likes

Hi, I have an EmonPI with a RPi2 (Emoncms Version low-write 9.6 | 2016.05.11, updated from image emonSD-29Mar16).
If I replaced the RPi2 with a RPI3, would I need to reinstall everything on a new mirco SD card or could I just put the micro SD card on the RPI3 (maybe not very recommended I suppose)?

The 29March16 image supports the RasPi3 so you could just pop the SD card into the Pi3 and it should work fine.

However, the 29March16 image was a release candidate image. Several issues were fixed in the 03May16 release. I would highly recomend moving the the 03May16 image. The backup / import module (that’s pre-installed on the March & May image) should make migration very easy:

1 Like

Trying to update from a very old emonhub oemgateway image on my RPi but I just can’t get this new image to boot on a RPi B with a 4GB SD card.

Image checksum on download is fine, but flashed twice to SD card and each time the Pi boots into Emergency Mode.

As a last resort I’ve flashed to the June 2015 image and all is fine. Has something broken RPi B Rev 2 compatibility? I have the Pi B Rev 2 Made in China.

Latest image should work fine on a Model B. I have tested on a Pi zero. My suspicion would be that the flashing to your 4GB card did not work. Some 4GB SD cards are smaller than others and the image does not fully flash. Have you got a Linux PC you can insert the flashed SD card in to test? You should see three partitions. Alternatively you could try flashing to a larger (8GB?) SD card to ensure there is plenty of space.

Hi Glyn,

Downloaded this image & burnt to a SD. But when I run on an EmonBase Pi 2 - & it starts fine, but there seems to be a number of issues:

  1. On the ‘backup’ screen it’s reporting “Can’t connect to redis database, phpredis is not installed, see readme for redis installation” - tried re-booting no success.

  2. When I tried to upload “backup” file (22MB) it hung and then dropped out with no update (looks like it timed out) - so on a EmonBase am I supposed to do it manually?

  3. Tried to Putty into the user account user:password pi:emonpi2016 no luck - if I can’t SSH then I can’t upload and doing 2 is a non-starter.

In addition have tried to update the EmonTX to v3.4 - this is dropping of the network - so is this sketch for the Discrete Sampling working I’ve gone through the forums and its really confusing is 2.6 works or doesn’t is that the EmonPi or a previous version of EmonTX. Is v3.4 now working, but the 60s ‘soft-reset’ has been removed. The initial debug looks fine - but after 4 to 6 hrs it stops sending information.

So which one and should it work or am I looking at a hardware fault?

Regards

Kotik

PS: I’m a fairly competent Linux/Embedded Systems hacker, but I’m getting lost trying to keep track of which GIT repository for which EmonTX & which EmonBase or EmonPi - & the links/articles from your main site are inconsistent.

Hi Kotik,

Sorry to hear you’re having trouble. There must be an issue with the what the image had been written to an SD card. I can confirm the image has been extensively tested on a Pi2 with no redis issues. The fact you cannot connect via ssh indicates there must be a fault. Can you try and write the image to another SD card and test with a Linux computer if all three partitions successfully mount. There should be a file called emonSD-03May16 in the /boot partition to indicate this is the correct image.

On first boot the image will auto-update to the latest version, please ensure the network is connected and wait about 5-10min for an update to complete on first boot only.

V2.5 is the current latest stable emonPi firmware. This will be updated automatically from the RaspberryPi when you boot the new image for the first time.

All current resources are listed on the resources page of the User Guide, follow this user guide to setup the new image:

HI Glyn,

Thanks for the fast response. Will try again to re-burn using the URL to download a new image etc.& not sure why that will fix a pi password problem for user pi, but to note on guide

emonSD Pre-built SD card
•EmonSD Download repository & changelog - links to a 404 page

Also just confirm is the emonTX v3.4 DiscreteSampling the working Firmware for the emonTX or should I use an earlier one?

Regards

Kotik

Which page did you find the dead link on, please let me know so I can fix it.

Yes emonTX v3.4 DiscreteSampling is the current firmware for the emonTxV3:

@glyn.hudson
It’s Resources - Guide | OpenEnergyMonitor > Software Resources > emonSD Pre-built SD card > EmonSD Download repository & changelog (https://github.com/openenergymonitor/emonpi/Docs/emonSD-pre-built-SD-card-Download-&-Change-Log)

Thanks fixed :thumbsup:

Upgraded emonpi to Pi3 and did a complete fresh install of the emonSD-03May16 release. Did a backup (before the upgrade), did the install, ran the update per the instructions, made sure everything seemed to be running (which it did), then ran the import from my backup.

That went well so I copied the relevant parts of my emonhub.conf (attached)emonhub.conf.txt (5.0 KB)

Rebooted, everything seemed to come online just fine except only two of my nodes showed up. The first node (5) is the local emonpi and another node that reads my garage temps showed up. All the rest of my nodes did not show up for some reason. I have looked at all the log files (syslog, emoncms.log, messages & emonhub.log), but I can see no errors at all that would point me in the direction as to why the rest of my nodes are not showing up.

All nodes were working fine prior to the upgrade.

I was hoping someone could point me in the right direction.

Thanks

----UPDATE----

Looks like I just needed to restart all of my nodes physically (which is weird). Once I did that, all of them are showing up now.

Hi I also upgraded my emonpi from RPi2 to RPi3 and switched to the emonSD-03May16 release. Restored my emonhub from the backup and my openhab configuration files from a backup copy and everything is working fine.

Great Job.

Thanks

1 Like

Thanks, good to hear :blush:

Good work setting everything up. :+1:

3 posts were split to a new topic: Install OpenHAB2 on emonSD / emonPi

Hy Everybody!

I’m new in the Openenergy forum, this is my first post.

I need your help, and I’mnot sure that this isthe right topic to ask, so sorry in advance if I ask on a wrong topic.
I bought Emon TXV2.2 board I build succesfully, & RFM69Pi 433Mhz Raspberry Pi Base Station Receiver Board. Now it measure Current and Voltage on CT1 . Now before I change firmware to send the data via RF I wan’t to prepare my Raspberry to receive and store the datas from the Emon tx.
I try to build the emonSd card by myself.
I have few question abouth that.
I use old Emon Pi B version, I prepared (8Gb) SD card I mounted the latest :emonSD-03May16- RELEASE to the card.
It looks that it’s installed automatically after I power up my PI.
After I try to follow the Installation guide strickly step by step: emonpi/SD-card-build.md at master · openenergymonitor/emonpi · GitHub

,but I’m lost.
The first thing what I did sucesfully to make the step 1. the update.
After I wan’t to continue step 2. (Enable root filesystem read-only mode) ,
but it seems to me that after the update (1. step) the 3.rd data partition already created, and severall step was done during the update (step1).
My first question, is it true that not all the step have to be done after the step 1. (upgrade) ?
If yes, where can I found step by step actual Installation guide?
What are the following steps,please help me.

Thanks for your support in advance.
byHunber…

A pre-built version of the SD card can be downloaded:

It will work fine with the Model B Pi.

Dear Glyn,

What further steps need to make after the Sd card build, and updated as a Step 1.shows on the SD-card-build.md? After the update done do I need to proceed all the steps or few have to be skip?
If yes which one need to proceed and which is don’t need?

“The first thing what I did sucesfully to make the step 1. the update.
After I wan’t to continue step 2. (Enable root filesystem read-only mode) ,
but it seems to me that after the update (1. step) the 3.rd data partition already created, and severall step was done during the update (step1).
My first question, is it true that not all the step have to be done after the step 1. (upgrade) ?
If yes, where can I found step by step actual Installation guide?
What are the following steps,please help me.”

Thank you in advance for your help.

By Hunber…

It was not a big deal like I tought before,now my Emon TX board is send the Measured data to the PI and I can see on EMON CMS andon emoncms.org.

Now I don’t understand why the EmonTX measure and send such a values.
I connected only CT1 the current sensor and the AC adapter + DC 5vfor the board.
I uploaded thto my EmonTX v2 the latest emonTx_CT123_Voltage.ino firmware.

I have the following feeds :
Emon TX1 power1 : value :70 real power it looks real and ok now on my test setup (measure only my pc).
Emon TX1 power2 : value : 0 ok in Arduino I set to not active this ch.
Emon TX1 power3 : value :0 : ok in Arduino I set to not active this ch.
Emon TX1 power4 : 24510: 0 It have to be an RMS Voltage?
Emon TX1 rssi: value : -36 what’s that value ?

Thanks for your help in advance.