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

@Ranjib

Unable to access Kaza HS303 via reef-pi

I get this error when trying to access is thru the reefpi GUI..

{"error":"Failed to update. Error: can't update 18 - can't get output pin"} | HTTP 500

I have the following version::

"sw_ver": "1.0.10 Build 200828 Rel.162602",
"hw_ver": "1.0",
"model": "KP303(US)",

Version: 4.1-11-g2f5dd6e2
Website: http://reef-pi.com
Github: https://github.com/reef-pi/reef-pi
Copyright © 2021 Ranjib Dey
Status
Current time: Sun Feb 14 15:24:05
Uptime: 4 days ago
IP: 10.167.15.10

EDIT*** seems to be only an issue with versions after the official 4.1 build.
Can you try reloading through command line and see if theres any error occurs
Code:
sudo systemctl restart reef-pi.service
sudo  journalctl -fu reef-pi.service
 
That will be awesome - The Sonoff devices are among the most accessible and affordable smartswitches here in SA.
I have went shelly exactly to avoid this :-) . I'll get some sonos and do the tasmota work. Thank you for calling this out
 
Hi
Is there a guide on how to setup MQTT in reef pi and communicate with home assistant, i did i search but came back empty.
Thanks
Configuration -> Telemetry -> Enable MQTT , specify mqtt broker details, address should be
Code:
host_ip:port

and other details (password, if any), and hit reload
 
Is there a way to do if/else statements in the macros?
No. Macros in reef-pi is not script/language based, its composed with other elements (Ato, temp controller, timers etc) which in turn encapsulate those (if/else ) logic
 
Looking for some help from the masses. I believe I’m having a DNS issue but my inexperience prevents me from finding a solution.

I’m building a Reef-Pi Setup (with Leviathan Hat). My current roadblock is that I cannot access the configuration site’s URL http://Leviathan.local or from the IP address 192.168.30.xx. The Pi in question is behind a vLAN but I’ve tried hardwiring it to the primary LAN and had the same problem.

I can ping the IP from multiple computer with my home network. Just cannot access said Pi via any web browser.

Current Network setup:
Unifi USG
Unifi Cloud Key 1
Multiple Unifi Switches
Multiple Unifi APs
Pi-Hole running on Raspberry Pi
(Which I can access via http://xxxx.local or via IP address from the Reef Pi browser.)

I have Google DNS and PiHole but to be honest I am having trouble understanding the problem and therefore cannot determine the solution.
whagt devices are these? do they run bonjour or any analogous mdns service? Does any other .local domain works? whats the hostname of the pi? is it leviathan? I have not setup Unifi devices so cant provide the details, but i'll start with investigating how mdns/.local domains work in there (if usg is blocking those multicast things).
 
Hi
Is there a guide on how to setup MQTT in reef pi and communicate with home assistant, i did i search but came back empty.
Thanks
@sfgabe is the only person i know who uses haas and reef-pi. I just posted some details on how to configure mqtt, for haas check their tutorial
 
I have went shelly exactly to avoid this :) . I'll get some sonos and do the tasmota work. Thank you for calling this out
Thanks Ranjib. Lots of people flash the Sonoff devices with Tasmota because it offers some better functionality. And Tasmota isn't only a Sonoff thing these days. It's being used quite a bit on other devices.
 
Is the buzzer as alarm implemented in the latest release? I’m building an auto water change system that will also control a solenoid to cut off the RODI when the water tank is full ( via float switch) but it would be even more fail proof if a human will also check the annoying sound.

I know it is maybe simple to have a script run at start that checks every X seconds using reef-pi API if the command to close the solenoid is issued and sound the buzzer but I’m useless at coding.
 
have you tried to temp disable pihole and see if it works? I know some apps on my phone wont load through pihole, so i have to 5 min disable launch and the it works even when pihole restarts.
Seems the Leviathan Image had an issue with the reef-pi software. I installed 4.1 via the terminal and now all is well.
 
Seems the Leviathan Image had an issue with the reef-pi software. I installed 4.1 via the terminal and now all is well.

I was about to say, I'm running all almost exactly same setup minus the cloud key (unifi controller runs off of a synology NAS, which also run pihole) and the only time had a hard time accessing my reefpi (which is a separate vlan) was when I jacked up firewall rules. :P
 
Has anybody tried tried out the new EZO isolated carrier boards for ph? They’re a lot cheaper than the “old style” ones but noticed they have an SMA connector instead of BNC. Would adapting SMA to BNC effect the performance?
 
Has anybody tried tried out the new EZO isolated carrier boards for ph? They’re a lot cheaper than the “old style” ones but noticed they have an SMA connector instead of BNC. Would adapting SMA to BNC effect the performance?
Nope. Not tried yet. There should not be any detectable performance difference for our case. BNC are more rugged , bigger in size and allow at most 1-3k (radio) frequency, while sma is smaller, more fragile compared to bnc , but allow less water intrusion and can handle 10-25k frequency . For our use case I don’t expect to see any detectable difference
 
Has anyone looked at the nicrew hyperreef lights Amazon Link? I have one and It's been ok, manual control but they have an option to be controlled by 10v pwm. Here is the screenshot with some information:

nicrew-10v.png


What I am curious about is I have a @Michael Lane mars aqua adapter that I am not using and I believe it is based on 10v, was wondering if I could use that to control the light - Mars-Aqua Since I'm not the best with electronic stuff was curious what folks think about the success of working.

Thanks :)
 
Has anyone looked at the nicrew hyperreef lights Amazon Link? I have one and It's been ok, manual control but they have an option to be controlled by 10v pwm. Here is the screenshot with some information:

nicrew-10v.png


What I am curious about is I have a @Michael Lane mars aqua adapter that I am not using and I believe it is based on 10v, was wondering if I could use that to control the light - Mars-Aqua Since I'm not the best with electronic stuff was curious what folks think about the success of working.

Thanks :)
Should work
 
Hi all,

I have a question. I have a test install 4.1, on Raspberry Pi 4 Model B Rev 1.2
I am currently just playing around to test what it can/cannot do.

I have found 2 issues alarming, but maybe it is just me.

1.
I have set up an output to pin 21 (just a led with a resistor)
added a file input (config / drivers - file content is just one number)
added the driver to analog input and outlet accordingly
Set up an equipment using outlet (could turn on and of LED )
Set up 2 macros to turn off and on LED equipment
then went and set up a PH type sensor using this input and control 2 macros so when it is high LED on else OFF

Started to change the values and all seems to be fine at first but noticed that when the value is on the or between the Lower or Upper Threshold the LED blinks with the frequency of the "Check Frequency" in my case ever 5 sec

This means it gives a pulse every time it cheeks it but why?

2. I have started to turn on functions so I can do more tests. but there is no way to turn them off. You untick it and it comes back. Not to mention the above setup started to receive constant on status as random values on the chart started to appear above the Upper Threshold which I presume triggered the TURN on macro.

Any idea why?
 
Hi all,

I have a question. I have a test install 4.1, on Raspberry Pi 4 Model B Rev 1.2
I am currently just playing around to test what it can/cannot do.

I have found 2 issues alarming, but maybe it is just me.

1.
I have set up an output to pin 21 (just a led with a resistor)
added a file input (config / drivers - file content is just one number)
added the driver to analog input and outlet accordingly
Set up an equipment using outlet (could turn on and of LED )
Set up 2 macros to turn off and on LED equipment
then went and set up a PH type sensor using this input and control 2 macros so when it is high LED on else OFF

Started to change the values and all seems to be fine at first but noticed that when the value is on the or between the Lower or Upper Threshold the LED blinks with the frequency of the "Check Frequency" in my case ever 5 sec

This means it gives a pulse every time it cheeks it but why?

2. I have started to turn on functions so I can do more tests. but there is no way to turn them off. You untick it and it comes back. Not to mention the above setup started to receive constant on status as random values on the chart started to appear above the Upper Threshold which I presume triggered the TURN on macro.

Any idea why?
The 2nd issue might be related to the issue with enabling and disabling Prometheus as the workaround for that issue actually fixed the web interface and the constant on status

The 1st issue remains the same
 
Is there any way to obtain the equipment values (ex temp/ph) from reef-pi command line while the system is running? db commands seems to require the service to be stopped. Thanks.
 
Is there any way to obtain the equipment values (ex temp/ph) from reef-pi command line while the system is running? db commands seems to require the service to be stopped. Thanks.
Telemetry should do this but I haven’t tested that yet. Anyone with actual experience in this?
 

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 54.8%
  • Nah, I'll keep mine a secret...(Don't be like that, share with the class!)

    Votes: 28 45.2%
Back
Top
Home
Post thread…
Market
What's new