SHvanBommel
Well-Known Member
- Joined
- Nov 5, 2007
- Messages
- 548
- Reaction score
- 57
this is rad. so you can either use the seed studio or adafruit sensors?
this is rad. so you can either use the seed studio or adafruit sensors?
One weakness in the RaspberryPi platform is the sdcard storage scheme. It's not what I would consider robust. I had a card totally die last December, and today the sdcard in my "production" system that runs my tap list, ferm fridge, carb fridge and keezer gagged up a bad block that panicked the kernel on reboot. It needed a fresh format and a re-imaging.
No doubt there are other ways RaspberryPints could have been implemented, but I'm fine with the way the team went because the result is actually fairly elegant, the gui can be customized without heroics, and phpMyAdmin lets you tweak the database when necessary.
In any case, I don't think it matters what method is/was used wrt sdcard volatility, a write is a write. That said, I don't attribute the card failures with the R'Pints application, or frankly any user-level code.
I don't keep any of our peecees running 24/7 these days as they're so quick to wake up from S3. But I suppose I could mirror critical files on one of the other three RPi systems that do run 24/7.
And in the short term, that may prove to be the most viable solution, as it turns out a change to a critical Google Drive API back in April rendered Grive non-functional and the author has been MIA. In the subsequent half-hour of looking around I've found various, non-elegant alternatives. More research is needed.
As for the speed thing, you'd be amazed how nicely R'Pints runs on an RPi2. Screen updates are done in a blink where the Model B and B+ might take a couple/few seconds. And you get the real-time tap list update instead of waiting for a refresh timer to expire...
Cheers!
I bought a Pi2 for this but then noticed the header was different for the alamode, what did you do to get it to work?
thanks!
$ sudo mkdir -p /media/readyshare/rpints
//192.168.1.251/USB_Storage/rpints /media/readyshare/rpints cifs user=guest,domain=CORP,password=,sec=ntlm
$ sudo mount -a
pi@rpints ~ $ ls -l /media/readyshare/rpints/
total 20208
-rwxr----- 1 root root 18874368 Jun 19 21:34 ibdata1
-rwxr--r-- 1 root root 1812480 Jun 19 21:34 tempdata.db
pi@rpints ~ $
sudo service mysql stop
cp /var/lib/mysql/ibdata1 /media/readyshare/rpints
cp /var/www/tempdata.db /media/readyshare/rpints
sudo service mysql start
$ sudo crontab -e -u root
5 0 * * * /home/pi/backup.sh > /dev/null 2>&1
$ dpkg -s cifs-utils
Package: cifs-utils
Status: install ok installed
$ sudo apt-get update
$ sudo apt-get install cifs-utils
I was scouring the web today looking for example flow meter code for another project and I noticed one project that seems to be quite marketable. Then I started looking at the features and screenshots they have posted and I noticed a bit of similarity with rpints. Actually I'm pretty sure these guys just changed some cosmetic stuff and basically took rpints and ran with it.
Http://kegberry.kegbot.org
LOL! You have no idea how many paths I've followed looking for the Holy Grail that is a low power display state.
The original R'Pints thread is laced with the long sordid history.
What type of display are you using - HDMI or DVI?
And are you executing the tvservice commands from a remote terminal?
If you can provide the literal commands you're using I think I can cobble up a pir_run script to use them.
Don't leave anything out wrt parameters, etc...
Cheers!