Latest SD+HDD software?

so i wanted to spend the night to prep emoncms for the pi instead of feeding through the cable to the meter box...(to monitor the blinker)

 

http://emoncms.org/site/docs/raspberrypihdd

 

the links in there are wrong... at least for the DK ones...

 

it then links to https://github.com/emoncms/emoncms/tree/bufferedwrite

 

but i dont like buffered writes and the page that comes up are not nearly as clean.... but if this is the only page to follow i will have to make do

 

are the HDD image not supported and updated anymore?

 

boelle's picture

Re: Latest SD+HDD software?

what is the latest SD+HDD software?

boelle's picture

Re: Latest SD+HDD software?

is the latest still 23 of Feb 2014 ?

TrystanLea's picture

Re: Latest SD+HDD software?

Hello boelle, for HDD's I would recommend using the latest low write SD card image (emonSD-13-08-14.img.zip) and then applying the HDD modifications as detailed on the linked page on the low write SD card emoncms readme here: https://github.com/emoncms/emoncms/blob/bufferedwrite/readme.md

TrystanLea's picture

Re: Latest SD+HDD software?

Using the low write SD card image with a harddrive will still benefit the longevity of your harddrive. You can though if you wish switch to the full master branch of emoncms following the documentation page here: https://github.com/emoncms/emoncms/blob/bufferedwrite/docs/switchtofull.md

boelle's picture

Re: Latest SD+HDD software?

ok... makes a bit more sense now...

 

will the low write version spin down the hard drive? or how does it work on a harddrive?

TrystanLea's picture

Re: Latest SD+HDD software?

It will just reduce the write rate to the harddrive. By default it writes the data once a minute, in larger blocks than it would otherwise do. You could slow that write rate down even further if you wanted to (5, 10mins). There more on what its doing and the investigation I did here: https://github.com/openenergymonitor/documentation/blob/master/BuildingB...

boelle's picture

Re: Latest SD+HDD software?

ok.. will read up on it later....

 

but i wonder if you plan to make a SD+HDD version of this ? would be more easy for windows users :-D

and maybe add the spin down part as that would really prolong the life (bearings tend to break faster the more they run...)

 

just thoughts... :-D

boelle's picture

Re: Latest SD+HDD software?

so i got the image loaded and changed so it now runs of hdd...

 

but nothing happens when i visit the ip of the pi.... is there something i'm missing?

boelle's picture

Re: Latest SD+HDD software?

from ssh i issued 

 

localemoncms-enable

 

and 

 

rpi-rw

 

now i can get to emoncms with default login

 

but there is no option to config the RFM12 module... and if i try to create a user of the name "boelle" it says its allready there...

 

what did i do wrong?

boelle's picture

Re: Latest SD+HDD software?

now i cant login at all....

 

trying with: admin/raspberry and raspberry/raspberry

Eric_AMANN's picture

Re: Latest SD+HDD software?

pi/raspberry ?

boelle's picture

Re: Latest SD+HDD software?

will start a new thread so things are not mixed up

boelle's picture

Re: Latest SD+HDD software?

hehe... will try that one... but the docs said the other 2

boelle's picture

Re: Latest SD+HDD software?

hehe... will try that one... but the docs said the other 2

boelle's picture

Re: Latest SD+HDD software?

nope did not work

boelle's picture

Re: Latest SD+HDD software?

started new thread here on login issue: http://openenergymonitor.org/emon/node/5797

boelle's picture

Re: Latest SD+HDD software?

I decided to go for the full deal as i want to use the pi for more than just emoncms...

got to here: https://github.com/emoncms/emoncms/blob/master/docs/DebianInstall.md#install-pecl-modules-serial-redis-and-swift-mailer

it says: "For instructions, see the general Linux installation steps below."

 

only there are not any install steps below... or does it mean the section with git commands? in that case which one is serial?

as i use a hdd i dont care for redis etc...

boelle's picture

Re: Latest SD+HDD software?

almost there...

 

in emocms i'm now greeted with: No data has been recieved from the RFM12Pi in the last 30s. Check if the Pi interface script is running, if not you may need to configure cron

 

running: Powered by openenergymonitor.org | v8.3.2

 

EDIT: used this guide: https://github.com/Dave-McCraw/pkg-emoncms/blob/master/docs/install.md

 

skipped:

sudo apt-get install  redis-server

sudo pecl install redis swift/swift

sudo sh -c 'echo "extension=redis.so" > /etc/php5/apache2/conf.d/20-redis.ini'

sudo sh -c 'echo "extension=redis.so" > /etc/php5/cli/conf.d/20-redis.ini'
 

boelle's picture

Re: Latest SD+HDD software?

running sudo service rfm12piphp start dont throw any errors.... but still it does not seem to be running from inside emoncms

 

i have done the edit so the serial port is free

boelle's picture

Re: Latest SD+HDD software?

got output from minicom and the led on the RFM module is blinking...

will try and see if script is running

boelle's picture

Re: Latest SD+HDD software?

added 

*/1 * * * * root cd /usr/share/emoncms/www/Modules/raspberrypi && php raspberrypi_run.php

to crontab but did not help...

 

still in raspberry pi under emoncms:

No data has been recieved from the RFM12Pi in the last 30s. Check if the Pi interface script is running, if not you may need to configure cron

boelle's picture

Re: Latest SD+HDD software?

pi@raspberrypi /usr/share/emoncms/www/Modules/raspberrypi $ sudo service rfm12piphp start
Log is turned off
Starting RPI

 

still the same in emoncms...

 

 

boelle's picture

Re: Latest SD+HDD software?

pi@raspberrypi /usr/share/emoncms/www/Modules/raspberrypi $ sudo service rfm12piphp stop
Log is turned off
Stopping RPI:  (raspberrypi_run.php was not running...)
stopped

 

 

so its not starting.... but why?

 

boelle's picture

Re: Latest SD+HDD software?

probed at bit more in to it:

 

 sudo php raspberrypi_run.php
PHP Fatal error:  Class 'EmonLogger' not found in /usr/share/emoncms/www/Modules/user/user_model.php on line 34

Fatal error: Class 'EmonLogger' not found in /usr/share/emoncms/www/Modules/user/user_model.php on line 34

pb66's picture

Re: Latest SD+HDD software?

Hi boelle

How did you install the RFM2Pi interface? via git or apt-get ? you have definatly only installed one, correct ?

i have done the edit so the serial port is free

Have you done both the edits so the serial port is free, inittab and cmdline.txt ?

No data has been recieved from the RFM12Pi in the last 30s. Check if the Pi interface script is running, if not you may need to configure cron

The cron entry is not required in most cases, there should be a init file to start the service at start up.

EmonCMS's raspberrypi module and the emoncms-module-rfm2pi have both been retired as emonhub is intended to replace all previous options and simplifies things greatly.

Paul

boelle's picture

Re: Latest SD+HDD software?

hi

via apt-get

yes both done so serial free

its not running...

look at my last 2 mails before this one... also i got output from minicom...

boelle's picture

Re: Latest SD+HDD software?

emocms admin

 

LOG4PHP INSTALLED: no

 

could it be that?

boelle's picture

Re: Latest SD+HDD software?

oh yes... remember that i dont run the lowwrite version anymore if that makes a difference...

boelle's picture

Re: Latest SD+HDD software?

what things could i test to clear out possible faults at my end?

boelle's picture

Re: Latest SD+HDD software?

so nothing i really can do to check if i screwed up on my part?

boelle's picture

Re: Latest SD+HDD software?

got it at last.... i was prop told before but emonhub is now the bit that gets the data and passes it on.

now i just need to figure why bargraphs have 3 buttons with / in front and not the wire framework like other graphs

 

http://energymonitor-dk.dns4e.net/emoncms/boelle/

boelle's picture

Re: Latest SD+HDD software?

will do a new thread on that...

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.