Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
We could, but then that will incur disk I/O, which is another performance issue (CPU). I am shipping a feature that will allow customizing the retention period. It will help us identify if this is the actual cause. If so, I'll think of next steps.I was thinking about that this morning. Couldn't we store on the SD card? I'm running a 64gb card. I have space. That would free up memory quite a bit. Maybe have it archive every 12 hours or so.
Did you made a hard restart of reef-pi (or it got killed by memory pressure), that may cause loss of stats as it was in memory@Ranjib I I confirmed the doser timer is working. I watched it dump 5ml at 7 this morning. The doser dashboard however is not updating. Which is strange because it used to update. I did a reboot last night to rule that out. In the pic alk is updating showing last dose yesterday at 1900. Alk adjustment has not updated since the 21st.
I am glad you shared this. I have only one probe failed on me in past 2-3 years, among the dozen I use. Its funny, becuase couple of my probes are really cheap, and not the black powder coated, they didn't even rust.I am fighting a temp probe fail issue as well. Appears now that the jump wire or wires from the socket to the pi hat pins were loose. In soldered the pins and soldered the leads direct to the pi hat and so far, so good. I as well thought my sensors, that are new, were bad.
Did you made a hard restart of reef-pi (or it got killed by memory pressure), that may cause loss of stats as it was in memory
I can cut it tonight, or do some more testing and release it later this weekend. This is such a trick software questionRanjib
How close are you to releasing 2.2 or 2.3?
You are not over your head. It is just your head is not in the clouds like these geniuses.
The problem you are having is that the config.txt is a system file and is protected from accidental changes. It won't save changes for a normal user. To get around this open terminal and use the command "sudo nano /boot/config.txt". make the change then save by pressing ctrl X then yes to save.
"sudo" gives you admin rights and allows the file to be changed. "nano" is a text editor you can run from the terminal window.
I only know all this because I spent 30 minutes banging my head into a wall on why I couldn't change the file. The knot on my head grew new brain cells and I finally understood.
WRT storing data to disk, since flash memory is the weakest link, why not make that either a configurable option (every X hrs), to free up memory? Long term, maybe storing on google drive or something similar...
I was thinking about that this morning. Couldn't we store on the SD card? I'm running a 64gb card. I have space. That would free up memory quite a bit. Maybe have it archive every 12 hours or so.
I have 4 usb slots I could useI saw these postings this morning but unable to post from work, actually I would like being able to write to disk also, although I wouldn't write to the SD card I would write to a network share (NFS to be exact). I think this would be nice so if you do restart the reef-pi it reads the file and picks up from where it left off. I would also like to know if you can backup the database file and restore to a new installation so you don't have to re-configure things.
Great discussions as always, just thought I would weigh in.
yes. you can just scp/copy the /var/lib/reef-pi/reef-pi.db file. That file and the reef-pi version running on it should be sufficient a recreate a reef-pi setup instantly (given the circuit is in place).I saw these postings this morning but unable to post from work, actually I would like being able to write to disk also, although I wouldn't write to the SD card I would write to a network share (NFS to be exact). I think this would be nice so if you do restart the reef-pi it reads the file and picks up from where it left off. I would also like to know if you can backup the database file and restore to a new installation so you don't have to re-configure things.
Great discussions as always, just thought I would weigh in.
Thought I'll share my controller memory/cpu charts.
Here is the first one, the ph monitor, runs nothing but ph monitoring and health check, backed my pi zero. Memory increases very little, and very slow (expected)
here is the pico tank controller , powerd by the baseboard from @theatrus, running on pi zero, controlling ato, temperature controller, 6 equipment and kessil. very little memory usage increase
Here is the nano tank controller, running pi zero, controlling couple of temperature (one just monitoring room temperature) controllers, equoment, bunch of timers (like nighly skimmer on/off). This one shows some memory growth, though I have restarted it couple of time in past week, paying attention to this one now..
I just added the ability to control stats retention, if tuning that impacts this memory growth, then I know what to do next, else I have to do some profiling work