I bought a Raspberry PI Zero W this week and I am trying to user EmonSD Nov 16 and it is not working. It freezes at the beginning in the rainbow color screen. I have connected to a screen to check it.
Any idea instead of manually installation?
Could anyone install everything in the last SD Raspbian image?
Of course the April Raspbian image works perfectly.
The support for Pi Zero W wasn’t part of the OS when the image was built back in Nov 16’ so you may be able to install the emonSD to another Pi and do a full apt-get update and apt-get dist-upgrade to get the latest kernel and files required by the Zero W. The advantage of doing it this way is that you can set up wifi on the other Pi before transferring the SD card to the Zero W as it has no Ethernet to configure WiFi the “emoncms” way and I do not know
Alternatively you can build the image from scratch on the Zero W following this info
When starting with a blank Raspbian image remember to add a blank ssh file and a wpa_supplicant.conf file containing your WiFi SSID and PSK settings in the boot partition before moving it to the Pi Zero W. that way you won’t need to attach a screen and keyboard.
I have anew pi zero W I currently have the latest emonpi/base SD card image working on a pi3 if i put the SD card in the PI zero W it seems to boot then hangs first on stopping wifi if country not set.
If I put the card back in the pi3 all works fine and it auto connects to the wifi etc.
How can I transfer the SD card to the PI Zero and not lose all the data in the Pi 3. This is a very vanilla install for testing at present. Bit don’t want to have to recreate all the feeds etc.
Have you tried a vanilla Raspbian or DietPi image on the Zero to see if it boots?
I suspect the problem may be the ZeroW is a different ARM processor. If something was originally installed to the SD Image on a more capable processor, I think it will pull in different binaries that will be incompatible with the ZeroW. Might also be a kernel issue.
There is an open issue (although the driver may have been different at the time)
I have put together a build guide for a basic emoncms server on a DietPi base image. If you build direct onto the Pi Zero it should pick up the right binaries. If you want an RFM board that will need a little more work.
I guess technically I just need a very light server image with python, usb drivers for the USB to RS485 card etc.
I have not worked out how to install emoncms on the intranet (standard LAMP running on Ubuntu 18.04.x) to consume the data from the collection script. If there is a guide to installing it on your own LAMP server that would be good.
As there is no built in way of getting th edata from a USB to RS485 adaptor.