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.
I think I understand what’s happening , it should work as expected after you reboot pi.Hi all. I'm running through the tutorial and am not able to get the testjack lighting control to work. I have updated the config file with the 2 channel line and believe I have set up the overall config correctly. However, when I try to add a test jack I get the following message:
{"error":"Failed to create. Error: write /sys/class/pwm/pwmchip0/pwm0/period: invalid argument"} | HTTP 500
This seems to be a server side error.
Could anyone assist?
Has anyone tried to set up different lighting profiles for the same fixtures. I haven't been able to find a way to do this yet but wanted to see if my approach is incorrect. I use the diurnal for all of my 9 channels across 3 fixtures. The thought was to create a photograph mode for the lights in which I may define a preset fixed value. I created the channel assignment for this new mode under jacks. Then head to the lighting subsystem and assign my mode. I don't think this will work though properly after looking through journalctl -u reef-pi I see that this new addition is still outputting a value when assigned to 0 which I understand that once its created in lighting it's a constant output. Has anyone devised a way to do this? I looked at a macro to turn of pieces of the lighting subsystem but the sandbox is too shallow there. If there is a 0 value that's outputting while my daily diurnal is running I'm sure there will be a conflict.
This is a tricky problem, as during the start of the power outage reef-pi was supposed to keep the outlet on, while when power came back reef-pi has no clue what the state should be , as the timer has crashed , and the last known state was on. I am open for suggestions here,I've just noticed a strange aberation......
We are experiencing "rolling blackouts" here, and power goes out for 2 hours at a time once or twice a day - depending on your schedule.
I have a timer set up in Reef-Pi that adds Kalkwasser every hour (and my ATO does the rest). The timer is set to run on every "01" minute. Our rolling blackouts seem to start and stop pretty near exactly on the hour. I've noticed a couple of times that when the Reef-Pi starts up, the timer seems to be running, but does not turn off as it is supposed to. I can go in manually and turn the equipment off.
As a work-around, I have now set the timer to run on the "30" minute.
But it would seem that if the Reef-Pi loses power during a timed operation, it does not remember to reset the equipment status to orignal when power is restored.
I am also going to install a small UPS for my Reef-Pi to keep the Pi alive for a few hours in the event of a power outage. Not the equipment, just the Pi. Should also help with this issue.
following :)
This is a tricky problem, as during the start of the power outage reef-pi was supposed to keep the outlet on, while when power came back reef-pi has no clue what the state should be , as the timer has crashed , and the last known state was on. I am open for suggestions here,
Add a “fallback” option to outlets? Options are on/off/last.
If this can be implemented easily, this would be my vote as well!Add a “fallback” option to outlets? Options are on/off/last.
Welcome :-)following :)
And how reef-pi will know it has to fallback ? Like detect there was an abrupt shutdown? And what this means got input and other type of outputs (like pwm /jack )Add a “fallback” option to outlets? Options are on/off/last.
And how reef-pi will know it has to fallback ? Like detect there was an abrupt shutdown? And what this means got input and other type of outputs (like pwm /jack )
As a hardware guy, id say a mini UPS to keep the pi up...ive already added a real time clock...maybe a next project for me ;)Exactly that why I was thinking of writing the state to the database, gets complicated if its running a macro since it's transitive depending on how long its supposed to run. I dunno something similar to a journal entry for a journaled hard drive, gets replayed when it boots back up. It's an interesting one to think about, not sure what teh best approach might be at the moment.