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

Hi I’m curious about the current status of Tuya/Smart Life and IFTTT integration.

My current automation is 100% Smart Life. It’s limited, so I’d like to start up a ReefPi, but also avoid buying or building a power bar, since I essentially already have one. I’m also not a developer, just a user who can tinker a bit.

Thanks
I have only tested the Mqtt data emission. Tasmota development and testing is done by community. I have not tried it. I personally use Kasa hs300
 
Hi @Ranjib! Are you planning to do any kind of PWM control also for equipment? I was thinking about controlling the speed of a cooling fan by a temperature sensor (not only ON/OFF control but speed control) or maybe create a macro to start a pwm capable out at a certain value when a condition is triggered (for example turn on an led light at 55% when water temp reaches 28°C). Can be useful to someone else? Thank you! :)
I have thought about this multiple times in past and there was no compelling reason to prioritize the work. While it’s correct that we can theoretically control the fan speed, it was still not clear if the specifics (pid controller ) for sensor value to pwm duty cycle will be generic for different cases. At the same time my existing temperature controller that just turns on off , works quiet well, I can also control the speed manually, but for the entire operation if need be.
Meanwhile , i am working on bringing the light control under macro, with that we should be able to do the scenario you mentioned. If you have any other relevant use case that may need this feature, do let us know
 
Wanted to install the dev environment, but got hung up on make install after cloning the git repository:

~/gospace/src/github.com/reef-pi/reef-pi(master*) » make install
make go-get
make[1]: Entering directory '/home/name/gospace/src/github.com/reef-pi/reef-pi'
go get -u golang.org/x/tools/cmd/goimports
go: downloading golang.org/x/tools v0.1.6
go: downloading golang.org/x/sys v0.0.0-20210923061019-b8560ed6a9b7
go: downloading golang.org/x/mod v0.5.1
go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
go get: installing executables with 'go get' in module mode is deprecated.
To adjust and download dependencies of the current module, use 'go get -d'.
To install using requirements of the current module, use 'go install'.
To install ignoring the current module, use 'go install' with a version,
like 'go install example.com/cmd@latest'.
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.
make[1]: Leaving directory '/home/name/gospace/src/github.com/reef-pi/reef-pi'
yarn
00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one.
Makefile:47: recipe for target 'install' failed
make: *** [install] Error 1


I'm not one to tinker with makefiles and the suggested commands in that error don't work on their own. Anyone know what i have to do?
 
Wanted to install the dev environment, but got hung up on make install after cloning the git repository:

~/gospace/src/github.com/reef-pi/reef-pi(master*) » make install
make go-get
make[1]: Entering directory '/home/name/gospace/src/github.com/reef-pi/reef-pi'
go get -u golang.org/x/tools/cmd/goimports
go: downloading golang.org/x/tools v0.1.6
go: downloading golang.org/x/sys v0.0.0-20210923061019-b8560ed6a9b7
go: downloading golang.org/x/mod v0.5.1
go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
go get: installing executables with 'go get' in module mode is deprecated.
To adjust and download dependencies of the current module, use 'go get -d'.
To install using requirements of the current module, use 'go install'.
To install ignoring the current module, use 'go install' with a version,
like 'go install example.com/cmd@latest'.
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.
make[1]: Leaving directory '/home/name/gospace/src/github.com/reef-pi/reef-pi'
yarn
00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one.
Makefile:47: recipe for target 'install' failed
make: *** [install] Error 1


I'm not one to tinker with makefiles and the suggested commands in that error don't work on their own. Anyone know what i have to do?
Let’s not use this thread for developer environment setup. Use slack or GitHub for those things .
 
Hi @Ranjib! Are you planning to do any kind of PWM control also for equipment? I was thinking about controlling the speed of a cooling fan by a temperature sensor (not only ON/OFF control but speed control) or maybe create a macro to start a pwm capable out at a certain value when a condition is triggered (for example turn on an led light at 55% when water temp reaches 28°C). Can be useful to someone else? Thank you! :)

I do that now..it's on and off, but it works just fine.
 
Add each time with a comma.
doser.png
 
Hi everyone, a little while ago I gave a sneak peak of a touchscreen client that I have developed for reef-pi. I had intended to release the code sooner, but we welcomed our first child over the summer and life became rather busy. I have now uploaded the code to a GitHub repository: https://github.com/natbird/kivy-reef

I have created a separate thread for release announcements and discussion so as not to clog up the main reef-pi thread: https://www.reef2reef.com/threads/k...i-announcements-and-discussion-thread.865824/

I have plans to add some more features to the current code and in the longer term it should be possible to port the code to Android/iOS as an app since Kivy is cross-platform.

Here is a screenshot of the home screen of the current version:
1634246661021.png
 

Attachments

  • 1634246670258.png
    1634246670258.png
    82 KB · Views: 91
  • 1634246680458.png
    1634246680458.png
    84 KB · Views: 88
Hi everyone, a little while ago I gave a sneak peak of a touchscreen client that I have developed for reef-pi. I had intended to release the code sooner, but we welcomed our first child over the summer and life became rather busy. I have now uploaded the code to a GitHub repository: https://github.com/natbird/kivy-reef

I have created a separate thread for release announcements and discussion so as not to clog up the main reef-pi thread: https://www.reef2reef.com/threads/k...i-announcements-and-discussion-thread.865824/

I have plans to add some more features to the current code and in the longer term it should be possible to port the code to Android/iOS as an app since Kivy is cross-platform.

Here is a screenshot of the home screen of the current version:
1634246661021.png
Whoa that’s super nice :-) . Thank you for sharing. I’ll check it out. I was thinking of mobile app, but was leaning towards react native. Kivy looks very promising.
thank you again , really appreciate it .

Congrats on the first kid :-0) . family first, kid and mom needs your time more than ever now . We’ll be right here
 
Thanks @Ranjib and @zee_zout for the help!
I managed to install the development environment in the virtual box, running Ubuntu!
I'm using it for testing and configuration!
Now I have a question for setting the timers, I understand how cron works, I can already schedule to turn a device on or off on a specific day and time, but I can't make the same device turn on for a few hours, or minutes, and turn off again, only once a day, like the lamp, turn on at 13:00 and off at 23:00, every day!
Or the booster pump, stop for 30 minutes, from 19:00 to 19:30 for example, and continue operating normally!
Can't do this with only one timer setting?
Do I have to use two timers?
One to turn on and one to turn off?
 
Hi. How many doser and temp probes is possibile to connect simultaneously?
Hi, the Pi has 23 pins you can work with, if you want to run lots of ds18b20's it's best to use separate pins for the sensors but you can run multiple ds18b20's on a single pin. You can also connect a pca9685 module easily and add 16 more outputs for dosing pumps, won't work with ds18b20. I think that should probably be more than enough, if not add another pca9685. :) Here's a guide to DIY the dosing pumps.

https://learn.adafruit.com/reef-pi-guide-5-dosing-controller
 
Hi all! anyone has tryed to use a current sensor mybe with ADS1015 ADC?
It should work with the right current sensor but you would need to add supporting code for it, reef-pi would only show the analog value. You would need to have a side script run, do the math and send the watts to reef-pi via the file driver. Reef-pi will work with the Kasa HS103, HS110 and HS300, a couple of these put out watts.
 
No native support for current sensor. You can use it with file driver as rob mentioned. We have native support for ads1115, general purpose ADC.
 
Is there a way to use reef-pi on a pi zero to control 4 or more 12v dosing pumps? I’ve read about pca9685 but it only supports up to 6V.
Pi zero will only control the dosers in this build
 
Is there a way to use reef-pi on a pi zero to control 4 or more 12v dosing pumps? I’ve read about pca9685 but it only supports up to 6V.
Pi zero will only control the dosers in this build
You can use a L293d chips to convert the 5v output from pca9685 to 12v
 
Is there a way to use reef-pi on a pi zero to control 4 or more 12v dosing pumps? I’ve read about pca9685 but it only supports up to 6V.
Pi zero will only control the dosers in this build
If you just want to turn the pump on/off you can use the Pi pins as is with a mosfet like these.

https://www.amazon.com/s?k=mosfet+module&ref=nb_sb_noss_2
The pca9685 only goes up to 5v but don't confuse that, it can't be used to power anything, it's only low powered signal. You would still need a module like above to handle the current of whatever you control.
 

TOP 10 Trending Threads

ARE YOU READY TO CONFESS TO CRAZIEST, DUMBEST, FUNNIEST THING YOU’VE EVER DONE IN REEFING?

  • Yeah, I'll confess! (Share your story in the comments!)

    Votes: 34 53.1%
  • Nah, I'll keep mine a secret...(Don't be like that, share with the class!)

    Votes: 30 46.9%
Back
Top
Home
Post thread…
Market
What's new