Reef Factory kH Keeper Plus Exporting Data to Home Assistant

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
 
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

https://community.home-assistant.io...nsor-with-integrated-temperature-probe/930263
**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

HOW MUCH DOES A FISH’S FEEDING REQUIREMENTS AFFECT YOUR STOCKING DECISIONS?

  • A lot! - I avoid fish that require frequent or specialized feeding

    Votes: 12 28.6%
  • Quite a bit, but an automatic feeder can change my answer

    Votes: 6 14.3%
  • It depends on whether my nutrient export can handle it

    Votes: 6 14.3%
  • It depends on how badly I want the fish

    Votes: 10 23.8%
  • Not much. I’m willing to adjust my routine

    Votes: 9 21.4%
  • Not at all. Feeding demands don’t limit my stocking choices

    Votes: 8 19.0%
  • I usually learn about the demanding feeding schedule after buying the fish!

    Votes: 2 4.8%
  • I haven’t really considered this before

    Votes: 3 7.1%
  • Something else (see my comments in the thread)

    Votes: 1 2.4%
Back
Top
Home
Post thread…
Market
What's new