Hi,
i am not sure if this will be an useful topic, and could be quite "long" and "complex" so let me ask if someone is intrested or not before i start.
i have a reef master spa from kamoer, a device that test 6 params.
what i did to make it more "cool" (from an engineer point of view lol) is to integrate it with home assistant.
the topic will cover this part
1. setup an esp32 ov5640 auto focus camera
2. provide you an stl that you can print to attach the esp32 board, including a shader to avoid glare and reflection on lcd display
3. a python program that get the image from esp32, extract the 6 values, do some basic validation of those values, and send them to your home assistant.
at this point the possibilities are quite a lot...
what i personal did is
A. kh + ca + mg is now controlled by dosing pump, that run 1h after every test, auto-adjusting the level of the liquid before dosing (yes, i can provide the yml to get basic idea on it)
B. dosing vodka if no3 is above a certain value
C. dosing lantanum chloride if po4 is above certain level
to make sure don't make the tank explode, A+B+C have some sanity check to understand if the value of the sensor is updated (ie: kamoer is working, extracting software is working, camera software is working)
extracting software use easyocr lib, that's supposed to use AI (buzzword used!!) and is quite effective on extracting value, it also do some little trick including post processing image to better extract number. Also it cross validate number on a certain range, to make sure reef master doesn't get nuts. And it can run on docker.
So again, it will take a bit of time to go thru all this topic, there are some 'tech' things and i am not sure who is intrested on a topic that's more on the software development side rather than on reefing, but if anyone is itnrested just write here and i'll post all the info i have, including the code & stl
i am not sure if this will be an useful topic, and could be quite "long" and "complex" so let me ask if someone is intrested or not before i start.
i have a reef master spa from kamoer, a device that test 6 params.
what i did to make it more "cool" (from an engineer point of view lol) is to integrate it with home assistant.
the topic will cover this part
1. setup an esp32 ov5640 auto focus camera
2. provide you an stl that you can print to attach the esp32 board, including a shader to avoid glare and reflection on lcd display
3. a python program that get the image from esp32, extract the 6 values, do some basic validation of those values, and send them to your home assistant.
at this point the possibilities are quite a lot...
what i personal did is
A. kh + ca + mg is now controlled by dosing pump, that run 1h after every test, auto-adjusting the level of the liquid before dosing (yes, i can provide the yml to get basic idea on it)
B. dosing vodka if no3 is above a certain value
C. dosing lantanum chloride if po4 is above certain level
to make sure don't make the tank explode, A+B+C have some sanity check to understand if the value of the sensor is updated (ie: kamoer is working, extracting software is working, camera software is working)
extracting software use easyocr lib, that's supposed to use AI (buzzword used!!) and is quite effective on extracting value, it also do some little trick including post processing image to better extract number. Also it cross validate number on a certain range, to make sure reef master doesn't get nuts. And it can run on docker.
So again, it will take a bit of time to go thru all this topic, there are some 'tech' things and i am not sure who is intrested on a topic that's more on the software development side rather than on reefing, but if anyone is itnrested just write here and i'll post all the info i have, including the code & stl
