I finally decided to abandon plans to use the 'low write load' version of emoncms as I found it didn't co-exist too well alongside other software, such as samba & minidlna so I've gone back to emoncms git 'master' version.
Followed the linux installation guide to the letter, followed by the raspberrypi module instructions on github. But found that none of the inputs were being picked up by emoncms, and the led on the rfm12pi hardware remained unlit. A check via my browser showed that the the group/frequency & baseID details are correct and the 'RFM12 to Pi interface script is up and running' is indicated.
If I run;
$ sudo service rfm12piphp restart log
it restarts ok, but also reports
$ PHP Warning: Module 'dio' already loaded in Unknown on line 0
and if I tail the log, I see;
Fatal error: Call to a member function fetch_object() on a non-object in /var/www/emoncms/Modules/raspberrypi/raspberrypi_model.php on line 29
DATA RX:> 15i
DATA RX:> 15i
A hardware test was made by fitting a different SD card containing the 'low write load' version, and my inputs appeared and updated as normal, so it appears to be a software fault.
Paul
Re: v8.3.5 git installation guide [Sorted]
Hi Paul
Did you configure access to the serial UART by changing the /boot/cmdline.txt and /etc/inittab? I don't see it in the guides.
Paul
Re: v8.3.5 git installation guide [Sorted]
Err, no, I followed the installation guide.
When I get home tonight, I'll do some digging to find out what needs changing in both files, unless of course the installation guide is updated first...
Thanks again Paul
edit - Presumably these are the changes needed (from another forum post)
edit /boot/cmdline.txt
dwc_otg.lpm_enable=0 console=tty1 root=/dev/sda2 rootfstype=ext4 elevator=deadline rootwait
edit /etc/inittab to allow raspberrypi module access to the serial port by commenting out the last line so it reads
# T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
Re: v8.3.5 git installation guide [Sorted]
That's it!
Re: v8.3.5 git installation guide [Sorted]
All works well now thanks to pb66, but the installation guide needs updating.......
Paul
Re: v8.3.5 git installation guide [Sorted]
I've just made some amendments to the installation guide, (via git) so hopefully it will be updated shortly.
Paul