-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support MQTT or Home Assistant #8
Comments
also requested by @glenrobertson |
I hear Home Assistant has some time series features as well so maybe that will also help with #3 |
yes, automatically with graphing, many ways to show data, etc |
This would be an extremely powerful addition. +1 |
It might be worth taking a look at the Aranet4's HA implementation as it actually uses Bluetooth (I think BLE specifically), granted this is only the HA half of that. https://github.com/home-assistant/core/tree/dev/homeassistant/components/aranet It would be ideal to have this data accessible via both Wi-Fi and Bluetooth but I can understand if pursuing one option first would be simpler. |
@runty @glenrobertson If you are OK with forgoing display support in the interim, I have crafted an ESPHome config that allows you to run Bitclock with ESPHome firmware, sending data straight to Home Assistant. https://github.com/manedfolf/bitclock/blob/esphome/bitclock-esphome/bitclock-esphome.yaml It does not support the included display at this time since ESPHome doesn't have component support for the 2.71in Pervasive Displays E2271KS0C1 e-ink display. It would be possible to craft a custom component/driver for ESPHome, but that is admittedly not something I readily know how to do. It would still be very cool to be able to do custom screens directly within ESPHome. Granted, all of that is well outside of the scope of this project/repo so I have no expectation of support on this unless it piques the developer's interest. ![]() |
@manedfolf nice work! Pretty amazing you can do that with just a few lines in a YAML file |
@manedfolf One thing to note is if you use direct sensor readings I assume you'll lose the "fudge factors" to correct temp + humidity. bitclock/bitclock-fw/main/tasks/sht4x.c Lines 148 to 164 in d957f64
bitclock/bitclock-fw/main/tasks/sht4x.c Lines 178 to 192 in d957f64
|
@babldev I can’t speak to the actual code behind it, but I believe the library does include configuration options for some kind of compensations |
@dogshapedangel I like the esphome solution you have! Before I discovered that, I put together these changes that will report data over MQTT in the homeassistant discovery message format: #13 It would just need some changes to the web UI as well to accept an MQTT url. |
This would also make it easy to import into other home platforms
The text was updated successfully, but these errors were encountered: