Page 1 of 1

Hydrometer API documentation

Posted: Tue Sep 24, 2024 6:24 pm
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.

Re: Hydrometer API documentation

Posted: Tue Sep 24, 2024 8:41 pm
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.

Re: Hydrometer API documentation

Posted: Fri Sep 27, 2024 8:14 am
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.