-
Notifications
You must be signed in to change notification settings - Fork 819
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
DT24 bluetooth Voltmeter #975
DT24 bluetooth Voltmeter #975
Conversation
Thanks, one last thing can you add also the model here please |
Could you add also the auto-discovery functions for this sensor please, here is an example: |
@NorthernMan54 we are planning to do some modifications on the BLE parts, do you think we could go further with this PR or should I integrate it like this? |
I have the home assistant discovery bits mostly complete and am just wrapping up my testing. I had been running things without discovery enabled, as my testing devices kept appearing in my production environment. And once I enabled discovery and the gatewaybt module caused my home automation to crash. I’m not running home assistant but homebridge with a plugin ( homebridge-tasmota) that leverages home assistant mqtt discovery messages to automatically integrate tasmota and other devices into Homebridge. And once I enabled openmqttgateway discovery with Bluetooth devices everything crashed on homebridge. And I’m adding some defensive code ( my homebridge code didn’t like the topic wild cards in the discovery message) to stabilize my setup and ensure device discovery is working. I’m about 90% complete |
Testing is in progress
This is my WIP which is 90% complete, and likely just needs some minor tweaks before publishing. I would recommend merging, and I will rebase myself for any further tweaks required. |
Agreed, the upcoming BLE changes will change a lot of this. If this is working as is, then merging now and updating it against the new base would make the most sense. |
Thanks |
Support for DT24 Bluetooth digital display DC Power APP Voltmeter
Ammeter Battery Capacity Tester Fuel Gauge voltage detector Meter
https://www.aliexpress.com/item/4000835324129.html?spm=a2g0o.productlist
.0.0.5aa96393c4qWIg&algo_pvid=dd8f4348-fad0-43e3-b3c0-e711180ed13e&algo_
expid=dd8f4348-fad0-43e3-b3c0-e711180ed13e-0&btsid=0bb062441622503466970
1271e3fb6&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_
For reference, these were the compiler definitions I used