Reef Factory kH Keeper Plus Exporting Data to Home Assistant

adrycapyacl

New Member
View Badges
Joined
Jul 29, 2024
Messages
1
Reaction score
0
Location
spain
Rating - 0%
0   0   0
Hello! i was talking with them a month ago, and they told me they don't have API to export data and won´t have this feature in the future.

i have imported my KH keeper data in my homme assitant through selenium scrapping, and a python app, y export the website data and i imported to home assitant database to influxdb.

i know they use a firebase database to save the data , i am not a programmer but should be easy to create a integration for HA with firebase API i´m try to develop. but maybe someone with more experience could develop it
 

ffiren

Community Member
View Badges
Joined
Oct 26, 2020
Messages
40
Reaction score
55
Location
Perth, WA
Rating - 0%
0   0   0
OK... so I wasn't going to mess about with running a web browser in the background!

This was a bit of a pig to reverse engineer as I am also not a developer.

The server-side web page is useless as the values are not in the initial HTML. It's written into the DOM after the page loads using a binary WebSocket frame. It's populated from a WebSocket callback that parses a binary payload.

Running 'curl --compressed -s http://<IP>/start.html -o start.html' gives you what you need...

I eventually realised that there seems to be a difference between client-side logic that uses internal state and actual network telemetry.

The bottom line is that these devices are using canvas-only rendering from a non-numeric state.

That's ****** manufacturer behaviour to specifically prevent 3rd party integration!

OCR from the webpage is the only viable solution using the likes of selenium/playwright and headless chromium.

I bought this in a sale as redundancy for my home made salinity monitor - it was a painful journey!

Mine is more accurate, uses a better probe and is cheaper whilst fully integrating in to HA though ESPHome


**EDIT**

FWIW, no good commercial options exist because using EC to determine salinity is fundamentally flawed IMO! I'm still happy with my probe and it was months and months of work getting the code correct. Mine is far faster to respond that the Reef Keeper which makes me think they are applying excessive filtering to smooth out the noise! Buyer beware!
 
Last edited:

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 26.6%
  • 100% dry rock + 100% live sand

    Votes: 48 33.6%
  • 50/50 live/dry rock, 50/50 live/bagged sand

    Votes: 32 22.4%
  • 75% live rock, 25% live sand

    Votes: 15 10.5%
  • 25% live rock, 75% live sand

    Votes: 10 7.0%
Back
Top