Think it's RaspberryPints/RaspberryPintsWhat is the default db username and password?
Think it's RaspberryPints/RaspberryPintsWhat is the default db username and password?
Think it's RaspberryPints/RaspberryPints
How can I test that my DB uname and pass are correct? I assume if they are wrong, that could cause a 0
try visiting yourRpintsIP/phpmyadmin and see if you can login
...better yet
/var/www/html/includes/config.php i think is where that info is kept.
Oh boy! I need to pass you on to the next level of customer service.
HEY! That's pointing to Fermentrack!
also...I believe you need sudo privileges to do the sql dump. so it needs to be:
0 1 * * * sudo /usr/bin/mysqldump -uRasberryPints -pRasberryPints raspberrypints > /home/pi/DB_Backup/raspberrypints-$(date +\%F).sql
(that will run the job at 1am every day)
if you want to have it run at 10:15pm then it would look like
15 22 * * *
I just checked in a change to fix this and prevent deleted fermenters from showing.Ive removed 2 fermenters I had in my fermenters list but they still show rotating with the clock? How do I remove them?
ha! says you! that's a little over my head, but I'll dig some more and try...There is nothing built into RPints to manage VLC when Rpints is running but you certainly can create a script to start VLC on pi start
View attachment 736973
the saved files will fluctuate but they aren’t that big.
it looks like you have the job written correctly, and you wrote the job using ‘sudo crontab -e’?
I guess make sure you have mysqldump in the /usr/bin/ directory.
If I update will I lose all my settings again?I just checked in a change to fix this and prevent deleted fermenters from showing.
You can rerun the installer to update or hit the get latest Rpints on the install page to update
Thanks for taking the time to reply, I have done this (I think) but haven’t noticed any change to the screen when I reboot the pi. I am a complete beginner with this so have probably done something wrong. Could I have entered the settings in the wrong place of the config.txt file?I had to do a little digging to find the settings. I did not test them myself
Using elevated privilege's (i.e. sudo vim or sudo nano)
Modify /boot/config.txt
change or add these settings:
hdmi_cvt=1024 600 60 3 0 0 0
hdmi_group=2
hdmi_mode=87
then reboot
I just comitted the fix for this, if you update Rpints it should look betterbut when I turn the title bar off (my preferred layout) all but one of the title headings turns off and the screen is misaligned.
I Updated the script to not mess with settings that are already set but it may have a bug in it i havent caught yet.If I update will I lose all my settings again?
Depends on if the settings appear multiple times in the config file. If they do, usually the last entry is used so if you put those at the beginning then your settings wouldnt be usedCould I have entered the settings in the wrong place of the config.txt file?
I updated as normal anyway and everything seems ok. Thanks again.I Updated the script to not mess with settings that are already set but it may have a bug in it i havent caught yet.
you can modify the install script to have it not run the database update.
in util/installRaspberryPints delete
mysql ${MYSQL_CMD} -D ${MYSQL_DB_NAME} -s -L < ${WWWPATH}/sql/update.sql > /dev/null 2>&1;
from line 1706
then
sudo chmod +x /var/www/html/util/installRaspberryPints
sudo ./var/www/html/util/installRaspberryPints
that will update the files without the database. But it will also overwrite the file so i suggest moving it out of the directory before running so you can use it again later
Looks great ... thanks!I just comitted the fix for this, if you update Rpints it should look better
So, I re-entered these settings at the bottomDepends on if the settings appear multiple times in the config file. If they do, usually the last entry is used so if you put those at the beginning then your settings wouldnt be used
It was set to ‘ON’do you have all rows showing the same Height?
View attachment 737787
did you do a screen refresh after setting it to off? it doesnt automatically refresh.it doesn’t seem to have done anything.
Thanks, no I hadn’t. I’ve switched it back off and done a reboot. There is a slight change….but I’m still only getting not quite 3 of the 6 taps displayed on the screen, and still got the white stripe down the right hand side.did you do a screen refresh after setting it to off? it doesnt automatically refresh.
It looks like the descriptions dont have enough width to display properly. either turn them off or remove other columns (then refresh). There isnt much that can be done with that small width. You also try having the tap list be in vertical mode..but I’m still only getting not quite 3 of the 6 taps displayed on the screen, and still got the white stripe down the right hand side
Haaha mine plays a homer simpson beer mm beer clip and refreshes my taplist haha mqtt has a ton of possibilitiesAh cool, I thought maybe it would send temp, pours, beer stats etc to a mqtt server! Get the speakers to play cheering sounds everytime one pours a beer etc
Ok tried your new file and good thing is that the logs isn't showing any errors or "to slow" messages. The downside... nothing is showing in the UI either. It just stays at the same values. Tried adding a 1 to the ratio, leaving them empty, adding weights, removing weights etc. but no change
View attachment 720787
sorry I'm slow to respond but for some reason my homebrew talk notifications were going to my junk mail folder but if you are still stuck let me know! I wrote code for the photon and hacked pints to MQTT and sent my work to @RandR+ I just now realized he integrated it into his script. I am stoked you are the man!!!!I've been trying to feel my way through all of this. One thing I noticed in the flowmonitor script was what appears to be a call to flash a .ino file. I've tried to:
1. Load into Particle IDE, but it throws an error looking for a file thats not there.
2. I put the Photon in to DFU mode, connected to the pi, rebooted, and tried:
a. restarted flowmonitor from the RPints console
b. manually ran the python script from the CLI
Still no luck.
Anyone that can point me in the right direction, I'd really appreciate it. Getting this Photon working is the last piece of the puzzle I need to get working.
Many thanks!