- Joined
- Dec 16, 2018
- Messages
- 1,189
- Reaction score
- 2,811
Reef Pi 2.0, and Raspian Stretch Lite 4.14Version?
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.
Reef Pi 2.0, and Raspian Stretch Lite 4.14Version?
.Hi all,
Hoping this is the right place to post a question. I just downloaded the reef-pi UI and was going though the initial testing. the outlet test worked fine but when I moved on to the dimming test I had this error message when I was setting up the "TestJack":
{"error":"Failed to update. Error: open /sys/class/pwm/pwmchip0/export: no such file or directory"} | HTTP 500
I went ahead and created a light and associate the jack with it but there was no way to "update" and the led did nothing. Tried several times on both pin 0 (18) and 1 (19) without any luck.
Hope someone can help.
Thanks
Welcome to reef2reef :-), would love to know more about your setupHi all,
Hoping this is the right place to post a question. I just downloaded the reef-pi UI and was going though the initial testing. the outlet test worked fine but when I moved on to the dimming test I had this error message when I was setting up the "TestJack":
{"error":"Failed to update. Error: open /sys/class/pwm/pwmchip0/export: no such file or directory"} | HTTP 500
I went ahead and created a light and associate the jack with it but there was no way to "update" and the led did nothing. Tried several times on both pin 0 (18) and 1 (19) without any luck.
Hope someone can help.
Thanks
Some build up is expected. Since reef-pi stores all the stats (usage data) in memory. This gives performance boost (as disk read is slow) and longevity (sd cards are weakest link in the pi hardware). I was worried about the size of data we store in reef-pi. It was 3 hours of current (highest granularity) and 7 days of historical (hourly average) in the beginning. I changed that to 3 days of current and 30 days of historical. This is one of my guess for culprits. But nothing is confirmed till i spend some time in profilingI agree with your 8 day assessment that is about what I had on mine when it restarted reef-pi, although I have a cron running now but memory does appear to be building daily, will know more tomorrow from the chart.
Here is my build info:
3 temp sensors (in use 60sec each), 2 pi pwm jacks for lights set to auto, 8 outlets with one in use, 2 timers for an additional light
Here is my hardware info:
Rpi 3 A+, 512Mb mem, same cpu less usb and no network adapter
Software:
Raspbian stretch(4.14) lite headless, no gui ( I don't need no stinking gui), reef-pi-2.0-pi3.deb, no other tweaks that I can think off
Here is my memory information it is increasing but that in and of itself is normal for linux, but it doesnt appear obviously to be freeing it up like it should when needed:
![]()
![]()
Hi all,
Hoping this is the right place to post a question. I just downloaded the reef-pi UI and was going though the initial testing. the outlet test worked fine but when I moved on to the dimming test I had this error message when I was setting up the "TestJack":
{"error":"Failed to update. Error: open /sys/class/pwm/pwmchip0/export: no such file or directory"} | HTTP 500
I went ahead and created a light and associate the jack with it but there was no way to "update" and the led did nothing. Tried several times on both pin 0 (18) and 1 (19) without any luck.
Hope someone can help.
Thanks
Some build up is expected. Since reef-pi stores all the stats (usage data) in memory. This gives performance boost (as disk read is slow) and longevity (sd cards are weakest link in the pi hardware). I was worried about the size of data we store in reef-pi. It was 3 hours of current (highest granularity) and 7 days of historical (hourly average) in the beginning. I changed that to 3 days of current and 30 days of historical. This is one of my guess for culprits. But nothing is confirmed till i spend some time in profiling
.
did you add the pwm setting for dtoverlay in /boot/config.txt ? https://learn.adafruit.com/reef-pi-installation-and-configuration/raspberry-pi-configuration . You have to reboot after this,
wow, thanks for the quick response :)
I get this after saving to config.txt... 'config.txt' already exists. Overwrite? when I select yes, I get an error message saying "can't open file to write"...?
You should never feel bad in reporting things that can impact others, in fact I thank you for reporting this as this helps us making sure reef-pi is up for the job. I’ll be prioritizing work when I get overwhelmed, but this is not that day :-) .
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.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...
Following you also. But think this may be over my head.Some recent photos from Instagram.
Fluval spec 3. Same equipment as imagitarium. This is older . And zoa, paly dominant
https://www.instagram.com/p/BQcku8SB8kd/
Close-up
https://www.instagram.com/p/BQcipIkBZMc/