reef-pi :: An opensource reef tank controller based on Raspberry Pi.

Good morning. If I want to access reef-pi from my phone or disconnect my display and mouse from it (reef pi ) and connect to it from my computer, should I be able to use the same address. 0.0.0.0:8080... or use the ip address assigned by the router? I ask because I cannot do either.

Ssh vnc ip and blue tooth are are enabled.

Please help Ashwinravi first..
Use the ip displayed in systems tab, not 0.0.0.0 , also this will only work within the home network
 
not sure what type of relay it is, it's sainsmart 8 channel as far as I know.
I assigned the heater to fans and fans to heater on the control and that seemed to have fixed the issue.

7e23586a98b6ce4e1014add677e6f283.jpg


7b3787764c3b8a4d3232bbce95889966.jpg
I think reef pi is doing what it’s expected to do, I’ll dig deeper tomorrow . Meanwhile you can create two feeds atbadafruit.io named heater and cooler, and reef pi will start sending telemetry data, you can use that to graph exactly when heater or cooler was turned on or off
 
That is what is funny. I can access my router screen. Don't know the password...but can't access a log in screen on reef pi. I will double check and get back later... make sure you get some sleep Ranjib.
 
I think reef pi is doing what it’s expected to do, I’ll dig deeper tomorrow . Meanwhile you can create two feeds atbadafruit.io named heater and cooler, and reef pi will start sending telemetry data, you can use that to graph exactly when heater or cooler was turned on or off
Thanks, please get some sleep. no hurry
 
I know this is trivial, but I have killed my ip connection on the raspberry pi. Reef pi thinks the jip address is 0.0.0.0:8080, not through assigned ip from the router. Any ideas
 
Hey Cary, using 0.0.0.0:8080 is the same as using localhost:8080, that can only be used on the local device. When connecting to it from another device make sure your using its assigned ip with the port at the end. (ie 192.168.1.149:8080)
 
Good morning. If I want to access reef-pi from my phone or disconnect my display and mouse from it (reef pi ) and connect to it from my computer, should I be able to use the same address. 0.0.0.0:8080... or use the ip address assigned by the router? I ask because I cannot do either.

Ssh vnc ip and blue tooth are are enabled.

Please help Ashwinravi first..

Cary,
Both for VNC and reef-pi it will be the IP address from the router.
For VNC just connect with the IP address.
If you want to connect to reef-pi through a browser on another device, it will be IP address with :8080 on the end (i.e. 192.168.0.106:8080)
 
Sorry I didn't originally post these, but I'm seeing the error on the lighting and camera pages.
Capture2.PNG
Capture1.PNG
Can you share the logs ? And a screen shot of the systems page ? What capabilities are enabled ?
 
Am I getting the error because I don't have them hooked up?

pi@reefpi:~ $ journalctl -u reef-pi.service
-- Logs begin at Thu 2016-11-03 10:16:42 PDT, end at Sat 2017-09-23 10:59:18 PDT. --
Sep 23 10:51:43 reefpi systemd[1]: Started raspberry pi based reef tank controller.
Sep 23 10:51:43 reefpi reef-pi[337]: 2017/09/23 10:51:43 DB: reef-pi.db
Sep 23 10:51:43 reefpi reef-pi[337]: 2017/09/23 10:51:43 WARNING: Temperature controller config not found. Using default confi
Sep 23 10:51:43 reefpi reef-pi[337]: 2017/09/23 10:51:43 WARNING: ATO config not found. Using default config
Sep 23 10:51:43 reefpi reef-pi[337]: 2017/09/23 10:51:43 ERROR: Failed to initialize lighting subsystem
Sep 23 10:51:43 reefpi reef-pi[337]: 2017/09/23 10:51:43 ERROR: Failed to start controller. Error: remote I/O error
Sep 23 10:51:43 reefpi reef-pi[337]: 2017/09/23 10:51:43 Starting http server at: 0.0.0.0:8080
Sep 23 10:51:55 reefpi reef-pi[337]: 2017/09/23 10:51:55 ERROR: Failed to detect ip for interface 'eth0. Error: Cant detect IP
Sep 23 10:53:28 reefpi reef-pi[337]: 2017/09/23 10:53:28 ERROR: Failed to detect ip for interface 'eth0. Error: Cant detect IP
Sep 23 10:53:45 reefpi reef-pi[337]: 2017/09/23 10:53:45 ERROR: Failed to detect ip for interface 'eth0. Error: Cant detect IP
Sep 23 10:54:05 reefpi reef-pi[337]: 2017/09/23 10:54:05 Reloading reef-pi controller
Sep 23 10:54:05 reefpi systemd[1]: Stopping raspberry pi based reef tank controller...
Sep 23 10:54:05 reefpi systemd[1]: Stopped raspberry pi based reef tank controller.
Sep 23 10:54:05 reefpi systemd[1]: Started raspberry pi based reef tank controller.
Sep 23 10:54:06 reefpi reef-pi[894]: 2017/09/23 10:54:06 DB: reef-pi.db
Sep 23 10:54:06 reefpi reef-pi[894]: 2017/09/23 10:54:06 WARNING: Temperature controller config not found. Using default confi
Sep 23 10:54:06 reefpi reef-pi[894]: 2017/09/23 10:54:06 WARNING: ATO config not found. Using default config
Sep 23 10:54:06 reefpi reef-pi[894]: 2017/09/23 10:54:06 ERROR: Failed to initialize lighting subsystem
Sep 23 10:54:06 reefpi reef-pi[894]: 2017/09/23 10:54:06 ERROR: Failed to start controller. Error: remote I/O error
Sep 23 10:54:06 reefpi reef-pi[894]: 2017/09/23 10:54:06 Starting http server at: 0.0.0.0:8080
Sep 23 10:54:06 reefpi reef-pi[894]: 2017/09/23 10:54:06 Reloading reef-pi controller
Sep 23 10:54:06 reefpi systemd[1]: Stopping raspberry pi based reef tank controller...
Sep 23 10:54:06 reefpi systemd[1]: Stopped raspberry pi based reef tank controller.
Sep 23 10:54:06 reefpi systemd[1]: Started raspberry pi based reef tank controller.
Sep 23 10:54:06 reefpi reef-pi[905]: 2017/09/23 10:54:06 DB: reef-pi.db
Sep 23 10:54:06 reefpi reef-pi[905]: 2017/09/23 10:54:06 WARNING: Temperature controller config not found. Using default confi
Sep 23 10:54:06 reefpi reef-pi[905]: 2017/09/23 10:54:06 WARNING: ATO config not found. Using default config
Sep 23 10:54:06 reefpi reef-pi[905]: 2017/09/23 10:54:06 ERROR: Failed to initialize lighting subsystem
Sep 23 10:54:06 reefpi reef-pi[905]: 2017/09/23 10:54:06 ERROR: Failed to start controller. Error: remote I/O error
Sep 23 10:54:06 reefpi reef-pi[905]: 2017/09/23 10:54:06 Starting http server at: 0.0.0.0:8080
Sep 23 10:54:10 reefpi reef-pi[905]: 2017/09/23 10:54:10 Reloading reef-pi controller
Sep 23 10:54:10 reefpi systemd[1]: Stopping raspberry pi based reef tank controller...
Sep 23 10:54:10 reefpi systemd[1]: Stopped raspberry pi based reef tank controller.
Sep 23 10:54:11 reefpi systemd[1]: Started raspberry pi based reef tank controller.
Sep 23 10:54:11 reefpi reef-pi[916]: 2017/09/23 10:54:11 DB: reef-pi.db
Sep 23 10:54:11 reefpi reef-pi[916]: 2017/09/23 10:54:11 WARNING: Temperature controller config not found. Using default confi
Sep 23 10:54:11 reefpi reef-pi[916]: 2017/09/23 10:54:11 WARNING: ATO config not found. Using default config
Sep 23 10:54:11 reefpi reef-pi[916]: 2017/09/23 10:54:11 ERROR: Failed to initialize lighting subsystem
Sep 23 10:54:11 reefpi reef-pi[916]: 2017/09/23 10:54:11 ERROR: Failed to start controller. Error: remote I/O error
Sep 23 10:54:11 reefpi reef-pi[916]: 2017/09/23 10:54:11 Starting http server at: 0.0.0.0:8080
Sep 23 10:54:11 reefpi reef-pi[916]: 2017/09/23 10:54:11 Reloading reef-pi controller

Capture3.PNG
 
Am I getting the error because I don't have them hooked up?



Capture3.PNG
Yup. Lighting is not working because you don’t have the pwm ic (pca9685 breakout board ) hooked up. Do you have camera as well not hooked up ?
 
Well that explains it! Sorry for wasting your time. Both those parts are still on the way.
No worries. Enable those modules once you have the hardware hooked up
 
Updated to 0.4...
I am having some issues with the Temp module. Previously I could have temp monitored but not controlling anything, now I am being forced to select the heater and cooler, not a big deal though. However, I am not being prompted for a device, just a pin number. I have set up my 8 controlled outlets on the system screen, and assigned them on the equipment tab. But all I get is this...
upload_2017-9-23_16-22-7.png


Also, to clarify pin assignment, if I wanted to have a device controlled by GPIO21 (pin position 40 on the connector) which pin am I calling within reef-pi? currently I am calling it as 21, is this correct?
 
Updated to 0.4...
I am having some issues with the Temp module. Previously I could have temp monitored but not controlling anything, now I am being forced to select the heater and cooler, not a big deal though. However, I am not being prompted for a device, just a pin number. I have set up my 8 controlled outlets on the system screen, and assigned them on the equipment tab. But all I get is this...
upload_2017-9-23_16-22-7.png


Also, to clarify pin assignment, if I wanted to have a device controlled by GPIO21 (pin position 40 on the connector) which pin am I calling within reef-pi? currently I am calling it as 21, is this correct?
Can you do a hard refresh (shift f5) in your browser? I think though you have updated to 0.4 browser is still using the 0.3 UI, due to cache.
0.4 uses equipments from drop down menu instead of raw PIN numbers as heater cooler
 
Also a thought I just had. Would it be possible to put a confirmation pop-up on the power off button. I would really hate to be checking remotely and accidentally turn off my whole control system with an errant click.
Good suggestion, I’ll get this for not the next release
 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%
Back
Top