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.
do you have pca9685 wired ? i2c configured ?OK .. I broke it again.
I unplugged everything to reorganize wiring . Pi was shut off. I had forgotten some of the Connectors gpio numbers so i started the pi , Started reef-pi and nothing was showing in any tab . I went to settings and every update button was in red. When i tried to click on one nothing would happen.
So I wiped the pi . reinstalled fresh ..
Complete new setup . Went into settings to change user name and Same thing..
here is the error log.
Apr 21 18:53:38 raspberrypi systemd[1]: reef-pi.service: Service hold-off time over, scheduling restart.
Apr 21 18:53:38 raspberrypi systemd[1]: Stopped raspberry pi based reef tank controller.
Apr 21 18:53:38 raspberrypi systemd[1]: Started raspberry pi based reef tank controller.
Apr 21 18:53:38 raspberrypi reef-pi[3160]: 2018/04/21 18:53:38 DB: reef-pi.db
Apr 21 18:53:38 raspberrypi reef-pi[3160]: 2018/04/21 18:53:38 ERROR: Failed to initialize pca9685 driver
Apr 21 18:53:38 raspberrypi reef-pi[3160]: 2018/04/21 18:53:38 ERROR: Failed to initialize controller. Error:remote I/O error
Apr 21 18:53:38 raspberrypi systemd[1]: reef-pi.service: Main process exited, code=exited, status=1/FAILURE
Apr 21 18:53:38 raspberrypi systemd[1]: reef-pi.service: Unit entered failed state.
Apr 21 18:53:38 raspberrypi systemd[1]: reef-pi.service: Failed with result 'exit-code'.
Now if i try to log in i get this from browser
This site cant be reached.
I am not sure what i am doing to break it.. But i assume installing everything again would do the same...
Please help...
Not at all. Nothing was connected to the pi except the relay gpio wires.do you have pca9685 wired ? i2c configured ?
Did you enable the pca9685 by any chance ? From the error it looks like reef-pi is trying to initialize the pca9685 driver and failing on that. I would suggest nuke the db and start overNot at all. Nothing was connected to the pi except the relay gpio wires.
Or enable i2c, connect pca9685 and then restart reef-pi serviceDid you enable the pca9685 by any chance ? From the error it looks like reef-pi is trying to initialize the pca9685 driver and failing on that. I would suggest nuke the db and start over
I tried the db refresh from the troubleshooting .Or enable i2c, connect pca9685 and then restart reef-pi service
all those settings are store in db. So if the db is gone all settings are gone too, and that should return things to normal settings.I tried the db refresh from the troubleshooting .
sudo systemctl stop reef-pi.service
sudo rm -rf /var/lib/reef-pi/reef-pi.dbsudo
sudo systemctl start reef-pi.service
with no luck..
then i tried this
sudo apt-get remove reef-pi -y -f --purge
then reinstalled and same thing....
is there a file to see what is turned on and not ... ?
I feel really stupid.... The issue was a bad jumper pin to ground on the servo board . when reef-pi was loading its driver of course if the board is not powered on its not going to ..all those settings are store in db. So if the db is gone all settings are gone too, and that should return things to normal settings.
I done a quick search to get this product.. They make them in different sizesMorning chaps/etts
I have finally got around to installing my pi on to my new setup. I am using a RP 7" touch screen as my interface but I have a slight problem. the only place I could mount it was on the side panel of the tank cupboard. this is right next to the settee (Couch in US I think) this leaves it exposed to possible elbow touching or worse still the kids playing with it.
Is there a way to lock the pi so you need to put a password in to log on to it. like say on a pc where you need to enter a password after a shutdown or it comes out of sleep? Please
Pi is same as a PC. You can do a screen saver with password protection, that will auto kick in if no one is using it. You can also explicitly log out after you are done.Morning chaps/etts
I have finally got around to installing my pi on to my new setup. I am using a RP 7" touch screen as my interface but I have a slight problem. the only place I could mount it was on the side panel of the tank cupboard. this is right next to the settee (Couch in US I think) this leaves it exposed to possible elbow touching or worse still the kids playing with it.
Is there a way to lock the pi so you need to put a password in to log on to it. like say on a pc where you need to enter a password after a shutdown or it comes out of sleep? Please
The entire UI is driven by API. reef-pi is API first system (UI second) :-) . You should be able to control it from anything that allows making http callsOk, for iPhone, iPad users(sorry android users don’t know if there is an app like this) just found an app for the pi that is pretty cool and helps with Reef -Pi! It is called SimplePi and it is a paid app, not much. I already hav it setup to update, then upgrade the pi with two clicks. If needed, stop reef pi service erase db then start it again with one click. There is also one to remove reef pi for an upgrade then another to download and install the new one(you do have to put in the current version). It’s a time saver for me. Next I will try using the api commands to re-install the relay etc after a dB wipe and see how that goes.
Ok, using the CURL commands and this works great. Made a test outlet, then test equipment and it worked perfectly, @Ranjib you are the boss man! The api and curl commands work great! Since the outlets will stay the same on my system, after a dB wipe no more typing in and trying to remember what went where. Just a few clicks and that will be all done now!!!!
Thanks for going to all that trouble but not what I’m after. As you can see by the dodgy picture I need to keep it flush mounted.I done a quick search to get this product.. They make them in different sizes
https://www.amazon.com/Honeywell-CG...TF8&qid=1524403812&sr=8-6&keywords=lock+cover
This will protect the software and the display from physical damage
Sounds like just what I’m after. Can you point me in the right direction to make said changes. Is it in user setting/security or something like that?Pi is same as a PC. You can do a screen saver with password protection, that will auto kick in if no one is using it. You can also explicitly log out after you are done.
I dont know if you can configure it to show the dashboard but locked , i have to research a bit on that
I had to install something called xscreensaver i got it working but now I need a keyboard to put in my PW as the touch screen needs a keyboard app that I have to manually open. So that’s a bit of a bummer. On the plus side I’ve got every thing hooked up n running for nowThere should be some place to turn on a screen saver and require a password to unlock the screen. Let me do some looking