Hydrometer API documentation

You have questions or need help around BierBot Bricks - this is the right place.
Post Reply
User avatar
JoDaNl
Posts: 23
Joined: Wed Mar 01, 2023 10:49 am

Hydrometer API documentation

Post by JoDaNl »

Hi Bernhard,

I'm doing some development work some some weeks now. I'm have extended my BookesBrick with and graphical LCD screen and am fiddling around with a prototype of a bluetooth based Hydrometer (like an iSpindel).
The BookesBrick with act as a gateway and send hydrometer data to the backend.
As such my question : is these some documentation available of the Hydrometer API ?

Regards,
Jos.
User avatar
Bernhard
Site Admin
Posts: 263
Joined: Sun Jan 23, 2022 3:53 pm
Location: Munich - Germany

Re: Hydrometer API documentation

Post by Bernhard »

Hey Jos,

I'll enhance the docs tomorrow for you. In the meantime you could check the open source iSpindel implementation for Bricks support.

Cheers,
Bernhard.
User avatar
Bernhard
Site Admin
Posts: 263
Joined: Sun Jan 23, 2022 3:53 pm
Location: Munich - Germany

Re: Hydrometer API documentation

Post by Bernhard »

So you can check the iSpindel code here https://github.com/universam1/iSpindel/ ... l.cpp#L792

Specifically relevant is to set the following fields
- sender.add("s_number_wort_0", Gravity); // I recommend °P, but you can chance to SG in the Bricks' settings
- sender.add("s_number_tilt_0", Tilt);

optional but helpful (in the future :))
- sender.add("s_number_voltage_0", Volt);
- sender.add("s_number_wifi_0", WiFi.RSSI());

Cheers,
Bernhard.
Post Reply