A little automation for my tank

  • Thread starter Thread starter dragossh
  • Start date Start date
  • Tagged users Tagged users None

dragossh

New Member
View Badges
Joined
Oct 13, 2025
Messages
19
Reaction score
47
Location
Cyprus
What state or country do you live in
Other International
Rating - 0%
0   0   0
Decided to spend the entire day yesterday on bridging everything that's running on the reeftank.

After a lot of hacking around at all the devices - Maxpect gyres + Maxspect lights + jebao dosers + refugium lights + feeders + aquamedic pumps etc - managed to bring them all toghether under one management interface - and now i can basically automate everything thats happening on it, from moonlight phases to automatic dosing of kalk and afr.

Claude is great.

1791360803324.png


1791361096461.png

1791361189733.png
 
What are you using for the integration? Is this something custom Claude wrote?
 
What are you using for the integration? Is this something custom Claude wrote?
All of it custom


For the actual api part of each device I used openai astra
For each device give astra its model number, ip address on the lan - and the app thats used to manage the device - it will start sniffing the communication between your phone and the device while your're using it to switch between value/options.
Then ask it to make a full dcomuentation for each device.
Could have used claude for it too, but astra seemed to be more smooth on this step.

Give the documentation to claude to incorporate it with your management application thats running on a local raspberry pi for example. The management app was built with claude.

There will be some minor hurdles on the way, but if you've got at least some basic dev experience, should all take one day max.

The plan is to automate absoultely everything about it. Right now its only collecting PH using a dfrobot lab grade probe, and temperature + salinity(this is a bit finicky)
Planning to also automate dkh readings so it will have more data.
 
Looks very nice. I'm integrating stuff into home assistant whenever I need or have the time to do so. Some of the work requires network sniffing indeed. Luckily the manufacturers don't bother in encrypting the traffic. Have you come across a salinity meter that could be used online?
 
All of it custom


For the actual api part of each device I used openai astra
For each device give astra its model number, ip address on the lan - and the app thats used to manage the device - it will start sniffing the communication between your phone and the device while your're using it to switch between value/options.
Then ask it to make a full dcomuentation for each device.
Could have used claude for it too, but astra seemed to be more smooth on this step.

Give the documentation to claude to incorporate it with your management application thats running on a local raspberry pi for example. The management app was built with claude.

There will be some minor hurdles on the way, but if you've got at least some basic dev experience, should all take one day max.

The plan is to automate absoultely everything about it. Right now its only collecting PH using a dfrobot lab grade probe, and temperature + salinity(this is a bit finicky)
Planning to also automate dkh readings so it will have more data.
Very cool. I recently did something similar but decided to use Home assistant as the framework.

How is the DFRobot pH probe holding up and how long have you had it?
I am looking for EC and pH probes but it was my understanding that the lab grade probes aren't designed for continuous submersion and the industrial probes are a fair bit more expensive.
 
Very cool. I recently did something similar but decided to use Home assistant as the framework.

How is the DFRobot pH probe holding up and how long have you had it?
I am looking for EC and pH probes but it was my understanding that the lab grade probes aren't designed for continuous submersion and the industrial probes are a fair bit more expensive.
The PH probe is great - but correction - its the industrial grade one, rated for continuous immersion - have it for 5 months and still spot on with only one calibration.
The EC probe for saltwater though, its problematic - there is no industrial grade one from dfrobot that handles reeftank salt water levels, only the lab grade one thats made for periodic measurements. So after i built an entire automated system that lowers the probe at different intervals and measures, i found out that the error margin is way to high to actually detect a diference between 1.026 and 1.01 for example - so it was a useless spend of money.

edit: i may try my luck on a really analogues solution involving one of those plastic devices with a swingarm, a few pumps to fill/flush it, and a TOF sensor. got all the parts at home from diff projects, so will give it a go
 
Looks very nice. I'm integrating stuff into home assistant whenever I need or have the time to do so. Some of the work requires network sniffing indeed. Luckily the manufacturers don't bother in encrypting the traffic. Have you come across a salinity meter that could be used online?
the dfrobot one is crap and even the one thats supposed to be suited for seawater, in principal it is, but the accuracy is very low at the higher end of its band (where saltwater is) so it cant reliably tell the diff between 1.026 or 1.01, so its useless. will try other probes soon or maybe figure out a diff way to measure this
 
The PH probe is great - but correction - its the industrial grade one, rated for continuous immersion - have it for 5 months and still spot on with only one calibration.
The EC probe for saltwater though, its problematic - there is no industrial grade one from dfrobot that handles reeftank salt water levels, only the lab grade one thats made for periodic measurements. So after i built an entire automated system that lowers the probe at different intervals and measures, i found out that the error margin is way to high to actually detect a diference between 1.026 and 1.01 for example - so it was a useless spend of money.

edit: i may try my luck on a really analogues solution involving one of those plastic devices with a swingarm, a few pumps to fill/flush it, and a TOF sensor. got all the parts at home from diff projects, so will give it a go
Very interesting, thanks.

What about just using a K=10 probe like this? https://www.dfrobot.com/product-3099.html
 

DO YOU NAME THE ANIMALS IN YOUR REEF?

  • Every fish has a name

    Votes: 12 30.8%
  • Only the favorites or rascals get names

    Votes: 8 20.5%
  • My family names them

    Votes: 3 7.7%
  • They have nicknames, but I can’t promise they stick

    Votes: 3 7.7%
  • I use their species names, not personal names

    Votes: 6 15.4%
  • I tried, but I can’t keep track of the names

    Votes: 0 0.0%
  • Nothing in my reef has a name

    Votes: 4 10.3%
  • Other (Post in the comments)

    Votes: 3 7.7%
Back
Top
Home
Post thread…
Market
What's new