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

skywurz

Community Member
View Badges
Joined
Dec 15, 2019
Messages
96
Reaction score
66
Location
Bay Area CA
Rating - 0%
0   0   0
Nope. Not aware of. What version of reef-pi you are running? Any details on the setup will help. If we can reproduce it easily, that will speed up the bug fix, assuming it’s a software bug and not hardware or configuration induced issue
Sorry for the delay.

Im on 3.3
Im using analog float switches with pullup resistors. And some moisture probes with pull up and pull downs. All sensors work fine if i have just 1 added.

Also this morning i awoke to my ato malfunctioning. The disable and alert after 120 seconds didn't work.
 

skywurz

Community Member
View Badges
Joined
Dec 15, 2019
Messages
96
Reaction score
66
Location
Bay Area CA
Rating - 0%
0   0   0
Here is a screenshot
ATO Alert Bad.jpg
 

skywurz

Community Member
View Badges
Joined
Dec 15, 2019
Messages
96
Reaction score
66
Location
Bay Area CA
Rating - 0%
0   0   0
Thats not good. Let me test it out and report back.
Thank you!
I nuked my database and setup fresh on 3.3 because i was having ATO issues such as the whole module freezing once i got 3 - 4 units added.
If you need a copy of my database or logs let me know.
 

Badfish2too

Community Member
View Badges
Joined
Nov 12, 2018
Messages
83
Reaction score
65
Rating - 0%
0   0   0
I have been trying to look through old posts, but since I upgraded to 3.3 just now, after I add my ph driver I cant access connectors. It just keeps TypeError: Cannot read property 'name' of undefined I clear out the .db but it just does it again. Sometimes crashing. and losing the remote connection..Anyone else?
 
Last edited:
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 been trying to look through old posts, but since I upgraded to 3.3 just now, after I add my ph driver I cant access connectors. It just keeps TypeError: Cannot read property 'name' of undefined I clear out the .db but it just does it again. Sometimes crashing. and losing the remote connection..Anyone else?
the connector issue is a UI only issue that happens when you upgrade from 2.0 version without deleting database or if you delete a driver without deleting connector/associated equipment first. None the less, in all cases things should always reset if you delete the database and start over. Remote connection loss might be just due to the fact that reef-pi is not running, or else its something unrelated. Stop reef-pi, delete database, and start reef-pi again and if you encounter any error that way.. let us know
 

Des Westcott

Well-Known Member
View Badges
Joined
May 29, 2018
Messages
646
Reaction score
1,025
Location
Durban - South Africa
Rating - 0%
0   0   0
I got the Shelly 1PM today. It's smaller than I expected. Here's the insides if anyone else is curious. The antenna goes off to a flex pcb sticker on the top of the enclosure, so be careful if you plan to open one up.



1584319054268.png

Michael

That second picture broke me for a while. I couldn't figure out why the manufacturers would have special terminals made cut at an angle and why they would need it. Then I realised the top left corner of the blue terminal was actually out of frame of the photo :oops:
 

Badfish2too

Community Member
View Badges
Joined
Nov 12, 2018
Messages
83
Reaction score
65
Rating - 0%
0   0   0
the connector issue is a UI only issue that happens when you upgrade from 2.0 version without deleting database or if you delete a driver without deleting connector/associated equipment first. None the less, in all cases things should always reset if you delete the database and start over. Remote connection loss might be just due to the fact that reef-pi is not running, or else its something unrelated. Stop reef-pi, delete database, and start reef-pi again and if you encounter any error that way.. let us know
I did try to stop, reset database, and restart. It just keeps doing it. I might just start from scratch with the SD card and format that. But more detailed is, I start reef pi after the data reset. Activate pH on main settings. Then add the driver. Then add the connector (if it allows me, most of the time I just keep getting that error and I have to keep trying to get to that screen by waiting it starting over again), then once I get it to add the connector I enable it under the pH tab and then it crashes usually within a couple minutes. I can see the pH controller hooked up with i2cdetect
 

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,121
Rating - 0%
0   0   0
I did try to stop, reset database, and restart. It just keeps doing it. I might just start from scratch with the SD card and format that. But more detailed is, I start reef pi after the data reset. Activate pH on main settings. Then add the driver. Then add the connector (if it allows me, most of the time I just keep getting that error and I have to keep trying to get to that screen by waiting it starting over again), then once I get it to add the connector I enable it under the pH tab and then it crashes usually within a couple minutes. I can see the pH controller hooked up with i2cdetect
This may be due to a recent change in the driver system. Can you include log information?
Code:
sudo journalctl -fu reef-pi.service
 

Badfish2too

Community Member
View Badges
Joined
Nov 12, 2018
Messages
83
Reaction score
65
Rating - 0%
0   0   0
This was right after fresh DBwipe and added drivers and then pH sensor, then connector, then went to pH tab to add and crash

-- Logs begin at Mon 2020-03-16 01:51:40 CDT. --
Mar 16 14:56:11 20gal reef-pi[1937]: github.com/reef-pi/reef-pi/controller/device_manager.New(0x2108730, 0x7, 0x2108737, 0x5, 0x2108740, 0xa, 0x1000000, 0x10101, 0x101, 0x10100, ...)
Mar 16 14:56:11 20gal reef-pi[1937]: /Users/ranjib/gocode/src/github.com/reef-pi/reef-pi/controller/device_manager/device_manager.go:64 +0xbc
Mar 16 14:56:11 20gal reef-pi[1937]: github.com/reef-pi/reef-pi/controller/daemon.New(0x6a1fb4, 0x3, 0x210e580, 0x1b, 0x0, 0x0, 0x0)
Mar 16 14:56:11 20gal reef-pi[1937]: /Users/ranjib/gocode/src/github.com/reef-pi/reef-pi/controller/daemon/reef_pi.go:53 +0x2dc
Mar 16 14:56:11 20gal reef-pi[1937]: main.daemonize(0x210e580, 0x1b)
Mar 16 14:56:11 20gal reef-pi[1937]: /Users/ranjib/gocode/src/github.com/reef-pi/reef-pi/commands/daemon.go:15 +0x3c
Mar 16 14:56:11 20gal reef-pi[1937]: main.main()
Mar 16 14:56:11 20gal reef-pi[1937]: /Users/ranjib/gocode/src/github.com/reef-pi/reef-pi/commands/main.go:94 +0x1e4
Mar 16 14:56:11 20gal systemd[1]: reef-pi.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Mar 16 14:56:11 20gal systemd[1]: reef-pi.service: Failed with result 'exit-code'.
 

BenB

Active Member
View Badges
Joined
Jun 11, 2019
Messages
118
Reaction score
152
Rating - 0%
0   0   0
This was right after fresh DBwipe and added drivers and then pH sensor, then connector, then went to pH tab to add and crash

-- Logs begin at Mon 2020-03-16 01:51:40 CDT. --
Mar 16 14:56:11 20gal reef-pi[1937]: github.com/reef-pi/reef-pi/controller/device_manager.New(0x2108730, 0x7, 0x2108737, 0x5, 0x2108740, 0xa, 0x1000000, 0x10101, 0x101, 0x10100, ...)
Mar 16 14:56:11 20gal reef-pi[1937]: /Users/ranjib/gocode/src/github.com/reef-pi/reef-pi/controller/device_manager/device_manager.go:64 +0xbc
Mar 16 14:56:11 20gal reef-pi[1937]: github.com/reef-pi/reef-pi/controller/daemon.New(0x6a1fb4, 0x3, 0x210e580, 0x1b, 0x0, 0x0, 0x0)
Mar 16 14:56:11 20gal reef-pi[1937]: /Users/ranjib/gocode/src/github.com/reef-pi/reef-pi/controller/daemon/reef_pi.go:53 +0x2dc
Mar 16 14:56:11 20gal reef-pi[1937]: main.daemonize(0x210e580, 0x1b)
Mar 16 14:56:11 20gal reef-pi[1937]: /Users/ranjib/gocode/src/github.com/reef-pi/reef-pi/commands/daemon.go:15 +0x3c
Mar 16 14:56:11 20gal reef-pi[1937]: main.main()
Mar 16 14:56:11 20gal reef-pi[1937]: /Users/ranjib/gocode/src/github.com/reef-pi/reef-pi/commands/main.go:94 +0x1e4
Mar 16 14:56:11 20gal systemd[1]: reef-pi.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Mar 16 14:56:11 20gal systemd[1]: reef-pi.service: Failed with result 'exit-code'.
I think after adding the driver you first have to restart. I do that when adding a PCA9586 driver, otherwise I get errors.
 

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,121
Rating - 0%
0   0   0
This was right after fresh DBwipe and added drivers and then pH sensor, then connector, then went to pH tab to add and crash

-- Logs begin at Mon 2020-03-16 01:51:40 CDT. --
Mar 16 14:56:11 20gal reef-pi[1937]: github.com/reef-pi/reef-pi/controller/device_manager.New(0x2108730, 0x7, 0x2108737, 0x5, 0x2108740, 0xa, 0x1000000, 0x10101, 0x101, 0x10100, ...)
Mar 16 14:56:11 20gal reef-pi[1937]: /Users/ranjib/gocode/src/github.com/reef-pi/reef-pi/controller/device_manager/device_manager.go:64 +0xbc
Mar 16 14:56:11 20gal reef-pi[1937]: github.com/reef-pi/reef-pi/controller/daemon.New(0x6a1fb4, 0x3, 0x210e580, 0x1b, 0x0, 0x0, 0x0)
Mar 16 14:56:11 20gal reef-pi[1937]: /Users/ranjib/gocode/src/github.com/reef-pi/reef-pi/controller/daemon/reef_pi.go:53 +0x2dc
Mar 16 14:56:11 20gal reef-pi[1937]: main.daemonize(0x210e580, 0x1b)
Mar 16 14:56:11 20gal reef-pi[1937]: /Users/ranjib/gocode/src/github.com/reef-pi/reef-pi/commands/daemon.go:15 +0x3c
Mar 16 14:56:11 20gal reef-pi[1937]: main.main()
Mar 16 14:56:11 20gal reef-pi[1937]: /Users/ranjib/gocode/src/github.com/reef-pi/reef-pi/commands/main.go:94 +0x1e4
Mar 16 14:56:11 20gal systemd[1]: reef-pi.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Mar 16 14:56:11 20gal systemd[1]: reef-pi.service: Failed with result 'exit-code'.
This looks like an error that was introduced in 3.3. It has been corrected, but we have not cut a new release yet. In the meantime, I recommend downgrading to the previous version.
 

Michael Lane

Well-Known Member
View Badges
Joined
Aug 11, 2018
Messages
677
Reaction score
1,121
Rating - 0%
0   0   0
This was right after fresh DBwipe and added drivers and then pH sensor, then connector, then went to pH tab to add and crash

-- Logs begin at Mon 2020-03-16 01:51:40 CDT. --
Mar 16 14:56:11 20gal reef-pi[1937]: github.com/reef-pi/reef-pi/controller/device_manager.New(0x2108730, 0x7, 0x2108737, 0x5, 0x2108740, 0xa, 0x1000000, 0x10101, 0x101, 0x10100, ...)
Mar 16 14:56:11 20gal reef-pi[1937]: /Users/ranjib/gocode/src/github.com/reef-pi/reef-pi/controller/device_manager/device_manager.go:64 +0xbc
Mar 16 14:56:11 20gal reef-pi[1937]: github.com/reef-pi/reef-pi/controller/daemon.New(0x6a1fb4, 0x3, 0x210e580, 0x1b, 0x0, 0x0, 0x0)
Mar 16 14:56:11 20gal reef-pi[1937]: /Users/ranjib/gocode/src/github.com/reef-pi/reef-pi/controller/daemon/reef_pi.go:53 +0x2dc
Mar 16 14:56:11 20gal reef-pi[1937]: main.daemonize(0x210e580, 0x1b)
Mar 16 14:56:11 20gal reef-pi[1937]: /Users/ranjib/gocode/src/github.com/reef-pi/reef-pi/commands/daemon.go:15 +0x3c
Mar 16 14:56:11 20gal reef-pi[1937]: main.main()
Mar 16 14:56:11 20gal reef-pi[1937]: /Users/ranjib/gocode/src/github.com/reef-pi/reef-pi/commands/main.go:94 +0x1e4
Mar 16 14:56:11 20gal systemd[1]: reef-pi.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Mar 16 14:56:11 20gal systemd[1]: reef-pi.service: Failed with result 'exit-code'.
I've published reef-pi 3.3.1, which includes a fix for this issue.

https://github.com/reef-pi/reef-pi/releases/tag/3.3.1
 

Ikk

New Member
View Badges
Joined
Oct 14, 2019
Messages
21
Reaction score
14
Rating - 0%
0   0   0
New to reef-pi. Can I get some help in connecting the Kasa HS300 to the reef pi. I downloaded the driver but I am not sure how to identify each of the power plugs and provide them names.

Thanks in advances
 

ahnuts72

Community Member
View Badges
Joined
Sep 24, 2018
Messages
30
Reaction score
50
Rating - 0%
0   0   0
Hey all I'm about to start my controller build(Ill star a thread as soon as the boards i had made get here)but i thought i would post this here so anyone could see it.
I purchased this light for my aquarium Phlizon-Dimmable-Decoration-Saltwater-Freshwater/dp/B074DRJK18/ref=sr_1_5?crid=1PWPDGSW7IQQ2 ( Freshwater at the moment) these are the long thin ones but they have the 16 inch ones as well and disassembled it to see what i would need to control it and low and behold after looking at the driver it uses 3.3 volt pwm to control dimming i also fed 3.3 volt dc into the control wire since they are just using a potentiometer and it works with straight dc as well i went up to 4.5 volts and no harm as far as i can tell.
I have hooked it up straight to the pca outputs and working great.
And it is immaculately constructed as far as wiring goes.
The 12 volt driver is being used for the fans.
The lights will also turn on and of with just the pwm signal they will turn on at 6% on my setup and they turn completely off below that.
u do seem to lose a tiny bit off brightness at the top end just going to 3.3 volt so i may look into trying it up to 5 volts after i find the data sheet on the drivers i have some level converters i may try to get it up a little
IMG_20200317_165900_0.png
IMG_20200317_165909_9.png
IMG_20200317_165918_1.png
IMG_20200317_165923_4.png
 
Last edited:

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
Hey all I'm about to start my controller build(Ill star a thread as soon as the boards i had made get here)but i thought i would post this here so anyone could see it.
I purchased this light for my aquarium Phlizon-Dimmable-Decoration-Saltwater-Freshwater/dp/B074DRJK18/ref=sr_1_5?crid=1PWPDGSW7IQQ2 ( Freshwater at the moment) these are the long thin ones but they have the 16 inch ones as well and disassembled it to see what i would need to control it and low and behold after looking at the driver it uses 3.3 volt pwm to control dimming i also fed 3.3 volt dc into the control wire since they are just using a potentiometer and it works with straight dc as well i went up to 4.5 volts and no harm as far as i can tell.
I have hooked it up straight to the pca outputs and working great.
And it is immaculately constructed as far as wiring goes.
The 12 volt driver is being used for the fans.
The lights will also turn on and of with just the pwm signal they will turn on at 6% on my setup and they turn completely off below that.
u do seem to lose a tiny bit off brightness at the top end just going to 3.3 volt so i may look into trying it up to 5 volts after i find the data sheet on the drivers i have some level converters i may try to get it up a little
IMG_20200317_165900_0.png
IMG_20200317_165909_9.png
IMG_20200317_165918_1.png
IMG_20200317_165923_4.png
Thanks so much for this. I wantef to buy 2 of these because of the spectrum for a freshwater planted. With 3.3v pwm control they will hook up to my reef pi easily!!!
 

TOP 10 Trending Threads

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

  • 100% live rock + bagged sand

    Votes: 38 27.3%
  • 100% dry rock + 100% live sand

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

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

    Votes: 14 10.1%
  • 25% live rock, 75% live sand

    Votes: 10 7.2%
Back
Top