Skip to content
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

Use with Bidge ESP32 and ESPHome #50

Closed
mcgnai opened this issue Jan 10, 2022 · 3 comments
Closed

Use with Bidge ESP32 and ESPHome #50

mcgnai opened this issue Jan 10, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@mcgnai
Copy link

mcgnai commented Jan 10, 2022

I would like to ask for an aid to be able to use this project by integrating it with a bridge made with an ESP32 and connected with Home assistant via ESPHome. it's possible?

@mcgnai mcgnai added the enhancement New feature or request label Jan 10, 2022
@lolouk44
Copy link
Owner

Thanks for your interest. An official ESPHome integration already exists:
https://esphome.io/components/sensor/xiaomi_miscale.html

@mcgnai
Copy link
Author

mcgnai commented Jan 10, 2022

Thanks for the answer, I have already seen the official integration of ESPHome but you can only extract two values ​​(weight and impedance) while with your integration it is possible to extract many more values ​​(BMI, water, visceral fat, etc.). I thought you could change the parameters of HCI_DEV (Bluetooth Device) which is set to hci0 in your package and replace it with the ble_client component used by ESPHome. do you think it is possible?

@lolouk44
Copy link
Owner

I thought you could change the parameters of HCI_DEV (Bluetooth Device) which is set to hci0 in your package and replace it with the ble_client component used by ESPHome. do you think it is possible?

no that wouln't work.
My code is based on a docker container running linux, HCI0 is location of the Bluetooth radio on a Linux system. ESPHome is based on a completely different base/OS.

Check this out instead: https://github.com/dckiller51/bodymiscale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants