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

OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
New install on Pi Zero v2.0. I'm able to calibrate doser pumps and run, but during schedule i'm getting error
May 09 17:44:04 pi reef-pi[213]: 2018/05/09 17:44:04 doser sub system: setting pwm pin: 8 at speed 42
May 09 17:44:04 pi reef-pi[213]: 2018/05/09 17:44:04 ERROR: dosing sub-system. Failed to control jack. Error: Item '' does not exist in bucket 'jacks'
From your error it looks like your dosing pump is not associated a with
using the pca9685 on pins 8,9,10,11 just making sure my choice of gpio pins wasn't the issues.

on another note is the any sort of donation or something setup to further this project
the error is related to the fact that the doser is missing a jack information. If possible can you delete it from the ui and recreate it.
I already found a separate bug on doser sub system, I’ll patch it tonight
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
using the pca9685 on pins 8,9,10,11 just making sure my choice of gpio pins wasn't the issues.

on another note is the any sort of donation or something setup to further this project
We don’t have any donation . You are helping the project by testing it out, that’s a big help
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
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
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
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
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
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
 

Greg456

New Member
View Badges
Joined
May 9, 2018
Messages
20
Reaction score
20
Rating - 0%
0   0   0
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
 

Greg456

New Member
View Badges
Joined
May 9, 2018
Messages
20
Reaction score
20
Rating - 0%
0   0   0
screen shot

Screenshot_2018-05-09_21-00-39.png
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
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
 

Greg456

New Member
View Badges
Joined
May 9, 2018
Messages
20
Reaction score
20
Rating - 0%
0   0   0
i am familiar with command line and linux. only OS i use outside of work. i have several headless systems
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
screen shot

Screenshot_2018-05-09_21-00-39.png
I mean the screen shot of the UI when you are defining the doser. Here is an example:
Jacks:
Screen Shot 2018-05-09 at 7.04.04 PM.png


Declaring doser
Screen Shot 2018-05-09 at 7.04.31 PM.png
Specifying dosing schedule
Screen Shot 2018-05-09 at 7.05.18 PM.png
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
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?
 

Erica-Renee

Valuable Member
View Badges
Joined
Oct 4, 2017
Messages
1,596
Reaction score
3,288
Location
lost
Rating - 0%
0   0   0
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
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
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.
 

Erica-Renee

Valuable Member
View Badges
Joined
Oct 4, 2017
Messages
1,596
Reaction score
3,288
Location
lost
Rating - 0%
0   0   0
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..
 

TOP 10 Trending Threads

WHAT AMOUNT OF LIVE ROCK AND SAND SHOULD BE PRIORITIZED FOR OPTIMAL BIODIVERSITY/FILTRATION?

  • 100% live rock + bagged sand

    Votes: 37 27.2%
  • 100% dry rock + 100% live sand

    Votes: 46 33.8%
  • 50/50 live/dry rock, 50/50 live/bagged sand

    Votes: 30 22.1%
  • 75% live rock, 25% live sand

    Votes: 13 9.6%
  • 25% live rock, 75% live sand

    Votes: 10 7.4%
Back
Top