satrik / esp32_ble_inkbird

Inkbird BLE BBQ Thermometer Webserver with some nice features
6 stars 3 forks source link

HomeAssistant integration #3

Closed trynqz closed 3 years ago

trynqz commented 3 years ago

Hi, I managed to use your dev branch, it works great with my IBT-6x via ESP32 wroom-32U. I got all the probes accessible via WIFI and WWW. Thanks for your great work. Can you please advice, how I can integrate received data with homeAssistant? I would like to track probe values and make use of them doing further automations...like turn of the smoker heater if the set temperature value is reached. This is my first Arduino and ESP32 tryouts, so sorry if this is low level question :)

satrik commented 3 years ago

hi @trynqz, sorry I've absolutely no experience with HomeAssistant and I've never used it. but if you access /probes of the esp, you get the "raw values" in JSON format and I think this integration could be what you need.

trynqz commented 3 years ago

HI, thanks for your comment. It was 100% accurate. I'm struggling little bit with converting 6552 to 0/off value. When I'll finish, I'll post the setup, maybe someone else will be interested. Still it works PERFECT, and gave me prety cool setup to automate the smoker :)

trynqz commented 3 years ago

Hi, so this is a big moment... for me :) it finally worked. Below I paste HomeAssistant config. In order to have nice statistisc graph I'm converting 6552 value to 0. I use inkbird only when smoking hot, so value "0" means "off" for me, and it never happens in real life.

configuration.yaml ` sensor:

konfiguracja interfejsu do odczytu wskazań temperatury z termometru BT inkBird poprzez ESP32

Lovelace code:

` type: horizontal-stack cards:

`

obraz

trynqz commented 3 years ago

@satrik thanks for this integration!!

satrik commented 3 years ago

@trynqz looks really nice! You should check if you can parse the json and generate the templates dynamically according to the number of probes provided by the esp. I think there should be something like a foreach or for in loop which can do this. This would make it easier to use for other devices with more/less probes 🙂

trynqz commented 2 years ago

Thanks. One question, how do you handle inkbird battery state? My observation is, that batteries like to die, not at the begining of cooking, when there is time to prepare, but just about when the meat is almost ready... It would be great to program some sort notification, aspecially now when I do not need to use BBQ go app. Regards Rafał

śr., 24 lis 2021, 15:13 użytkownik satrik @.***> napisał:

@trynqz https://github.com/trynqz looks really nice! You should check if you can parse the json and generate the templates dynamically according to the number of probes provided by the esp. I think there should be something like a foreach or for in loop which can do this. This would make it easier to use for other devices with more/less probes 🙂

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/satrik/esp32_ble_inkbird/issues/3#issuecomment-977916662, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASJFECEKT3HVKEQTYOPDVYDUNTXKFANCNFSM5HCPF2EA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

satrik commented 2 years ago

the code don't handle it at all because it doesn't make sense for me to know the current state in percent. in my case it's quite simple, if the esp isn't reachable, i assume the battery is empty 😄

but if you need this feature, it shouldn't be hard to implement it yourself as there are a lot of other projects which use this feature.

trynqz commented 2 years ago

Not reachable = dead is best simple solution, but sometimes when I do beef ribs and they stay in the smoker during the night, it would be great just to prepare myself for battery change before I go to sleep.

I'm copy/paste hacker ... Not even close to be possible to do any implementation myself. If you could in some future add it, maybe as an addition to other implementation changes, I will be more than grateful. If not - I will just changed batteries more often.

czw., 25 lis 2021, 12:01 użytkownik satrik @.***> napisał:

the code don't handle it at all because it doesn't make sense for me to know the current state in percent. in my case it's quite simple, if the esp isn't reachable, i assume the battery is empty 😄

but if you need this feature, it shouldn't be hard to implement it yourself as there are a lot of other projects which use this feature.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/satrik/esp32_ble_inkbird/issues/3#issuecomment-979095182, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASJFECG2QH4PLA7NIPXJTW3UNYJPJANCNFSM5HCPF2EA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.