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

Thanks Ranjib, it's working now but the max temperature in the control cannot do anything to it.
Did you try clicking the edit button, that should allow you to update max temp and all other details
 
I've tried 3 installations on v2.0 with same issue, I'm using the raspberry pi zero w with reef-pi-2.0.0-beta-pi0.deb
So all these three issues are exactly related to the doser ?

Can you try this, from command line (if you are familiar with command line linux )
Code:
curl -u reef-pi:reef-pi http://10.0.0.10/api/doser/pumps

change the -u reef-pi:reef-pi to appropriate username & password you are using. And also change the IP from 10.0.0.10 with your pi's IP.
This command should give you the details of your dosing pump (details that are not visible in the UI), we can fix it from there
 
For example here is the output on my dev setup (not at home, so no access to my reef-pi builds right now)
The api command has syntax of
Code:
curl -u username:password  http://reef-pi-IP/api/doser/pumps

To list all the dosers

Code:
curl -u reef-pi:reef-pi http://localhost:8080/api/doser/pumps
This gives me a list of dosers (i have only one defined right now)
Code:
[{"id":"1","name":"Two Part - CaCO3","jack":"1","pin":0,"regiment":{"enable":true,"schedule":{"day":"*","hour":"1,9,17","minute":"1","second":"1"},"duration":15,"speed":0}}]
To delete a specific doser, we make the api call with specific ID (obtained from the previous command)
Code:
curl -u reef-pi:reef-pi -X DELETE http://localhost:8080/api/doser/pumps/1
You can now re-create the doser, make sure to choose Jack and pin correctly.

I am sharing this as I figured out that deleting doser from UI is broken due to a bug.
It will be very helpful if you can re-create the pump from the UI and take screen shot (and share it) when you specify the jack and pin details
 
pi@pi:~ $ curl -u reef-pi:reef-pi http://192.168.1.100/api/doser/pumps

[{"id":"1","name":"D1","jack":"1","pin":8,"regiment":{"enable":true,"schedule":{"day":"*","hour":"*","minute":"*","second":"*/4"},"duration":2,"speed":42}},{"id":"2","name":"D2","jack":"1","pin":9,"regiment":{"enable":false,"schedule":{"day":"","hour":"","minute":"","second":""},"duration":0,"speed":0}},{"id":"3","name":"D3","jack":"1","pin":10,"regiment":{"enable":false,"schedule":{"day":"","hour":"","minute":"","second":""},"duration":0,"speed":0}},{"id":"4","name":"D4","jack":"1","pin":11,"regiment":{"enable":false,"schedule":{"day":"","hour":"","minute":"","second":""},"duration":0,"speed":0}}]
pi@pi:~ $

all doser pins where selected correctly. I have noticed problems with removing from UI, but i write a clean copy of raspbian and delete browser data each install
 
screen shot

Screenshot_2018-05-09_21-00-39.png
 
So, you have declared 4 dosers. All are connected to a single jack, and the jack has 4 pins. Do you have the jack defined? whats the output of
Code:
curl -u reef-pi:reef-pi http://10.0.0.10/api/jacks

I am asking this because the original error was about missing jack
 
i am familiar with command line and linux. only OS i use outside of work. i have several headless systems
 
i am familiar with command line and linux. only OS i use outside of work. i have several headless systems
Thats a relief :-) appreciate being patience during the troubleshooting.

The original error inidicated that the dosing pump had no jack associated with it,
Code:
ERROR: dosing sub-system. Failed to control jack. Error: Item '' does not exist in bucket 'jacks'

the empty quote '' indicates this. But your api response is showing that the pumps have a jack set (ID: 1). Do you see the same error again?
 
I have the same issue with delete button on dosers.. at the moment its not a issue for me as i am building circuit boards for other parts.

Relay circuit it complete . Today I am going to build the temp circuits and experiment on what cable length can work . I need two temp sensors 20 feet of cable away from where i want to put the reef-pi controller
 
I have the same issue with delete button on dosers.. at the moment its not a issue for me as i am building circuit boards for other parts.

Relay circuit it complete . Today I am going to build the temp circuits and experiment on what cable length can work . I need two temp sensors 20 feet of cable away from where i want to put the reef-pi controller
Thats pretty long. I have tested as far as 6 feet only.
 
Thats pretty long. I have tested as far as 6 feet only.

If its to long i wonder if the signal could be amplified, Or would it (my best guess) Use a pi-zero as a separate controller for my RODI -Water change stuff.

I will test today or tomorrow and let you know if it worked that far..
 
Thats pretty long. I have tested as far as 6 feet only.
On main raspberry pi forum, some folks have recommended p
If its to long i wonder if the signal could be amplified, Or would it (my best guess) Use a pi-zero as a separate controller for my RODI -Water change stuff.

I will test today or tomorrow and let you know if it worked that far..
Official raspberry pi forum has some mentions of wire length as long as 15m, but different installation have different tunings (from 5v power rails to lower resistors, to using dedicated one wire driver using i2c -> one wire breakout board).
https://www.raspberrypi.org/forums/viewtopic.php?t=109723
 
On main raspberry pi forum, some folks have recommended p

Official raspberry pi forum has some mentions of wire length as long as 15m, but different installation have different tunings (from 5v power rails to lower resistors, to using dedicated one wire driver using i2c -> one wire breakout board).
https://www.raspberrypi.org/forums/viewtopic.php?t=109723

I tested it with a piece of cat 5 cable about 14 feet long and it appears to be working. I have 4 sensors . 1 at 14 ft 3 at the 2-3 feet what ever the cable was that come on them ...Will let it run a few days and see if its stable ....
 

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%

New Posts

Back
Top