Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


freitasm

BDFL - Memuneh
79035 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

#301895 13-Oct-2022 08:04
Send private message

I am trying to get temperature and humidity information into Home Assistant so that I can integrate with Alexa.

 

Components:

 

  • Three Xiaomi temperature sensors flashed with custom firmware
  • ESP32 running Tasmota
  • Mosquitto MQTT as a Docker on Synology NAS
  • Home Assistant as a Docker on Synology NAS

Home Assistant can see Tasmota and load its data but it does not recognise the temperature sensors:

 

 

Tasmota seeing the Xiaomi sensors:

 

 

I feel something else is missing here. Any tips please?





Please support Geekzone by subscribing, or using one of our referral links: Mighty ApeSamsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup

 

My technology disclosure


Filter this topic showing only the reply marked as answer View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2
jnimmo
1096 posts

Uber Geek


  #2982167 13-Oct-2022 08:42
Send private message

I haven’t tried with Tasmota, but ESPHome works really nicely if you wanted to give that a try if you’re not tied to Tasmota, I imagine the Bluetooth Proxy would be what you’re after https://esphome.github.io/bluetooth-proxies/ 

We should really get a home automation meetup happening in WLG!


 
 
 

GoodSync. Easily back up and sync your files with GoodSync. Simple and secure file backup and synchronisation software will ensure that your files are never lost (affiliate link).
tchart
2367 posts

Uber Geek

ID Verified
Trusted

  #2982169 13-Oct-2022 08:45
Send private message

Dont have a direct answer for you but Im running Home Bridge on my Synology to get devices onto Home Kit. Ive had lots of success with Tuya devices and they show up in Home Bridge and Home Kit without any fuss.

 

Im running Netatmo with IFTTT at the moment but if I was replacing I'd probably gravitate to towards Tuya devices. There seem to be many Tuya wifi temperature sensors on Aliexpress (and even Dick Smith!)


freitasm

BDFL - Memuneh
79035 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #2982171 13-Oct-2022 08:54
Send private message

@jnimmo: I haven’t tried with Tasmota, but ESPHome works really nicely if you wanted to give that a try if you’re not tied to Tasmota, I imagine the Bluetooth Proxy would be what you’re after

 

 

Thanks, might have to give it a try if no one else replies with a Tasmota-specific answer.





Please support Geekzone by subscribing, or using one of our referral links: Mighty ApeSamsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup

 

My technology disclosure




davidcole
6011 posts

Uber Geek

Trusted

  #2982172 13-Oct-2022 09:06
Send private message

Do you have mqttexplorer  anywhere, or mosquitto_sub?

 

Also on the tasmota web page, have you got the mqtt page there to show us?  





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


shanes
257 posts

Ultimate Geek

Lifetime subscriber

  #2982173 13-Oct-2022 09:12
Send private message

freitasm:

 

@jnimmo: I haven’t tried with Tasmota, but ESPHome works really nicely if you wanted to give that a try if you’re not tied to Tasmota, I imagine the Bluetooth Proxy would be what you’re after

 

 

Thanks, might have to give it a try if no one else replies with a Tasmota-specific answer.

 

 

I'm using ESPHome as well, works well, and no need for MQTT, I can share a config if you need it.

 

On the Tasmota front, I'm sure I've seen a Bluetooth discovery check box in the Integration, is it checked?

 

 


davidcole
6011 posts

Uber Geek

Trusted

  #2982174 13-Oct-2022 09:13
Send private message

Unless you want to manuall create the sensors (which is fairly easy), this auto discovery option might help:

 

https://community.home-assistant.io/t/tasmota-xaomi-ble-temp-sensors/311314

 

The preceding posts in the thread to have some pointers to the manual mqtt config....but it would be based on what mqtt settings you had.

 

 





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


freitasm

BDFL - Memuneh
79035 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #2982176 13-Oct-2022 09:17
Send private message

Thanks. Leaving to the office now but will try these tonight.





Please support Geekzone by subscribing, or using one of our referral links: Mighty ApeSamsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup

 

My technology disclosure




freitasm

BDFL - Memuneh
79035 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #2982180 13-Oct-2022 09:23
Send private message

shanes:

 

freitasm:

 

@jnimmo: I haven’t tried with Tasmota, but ESPHome works really nicely if you wanted to give that a try if you’re not tied to Tasmota, I imagine the Bluetooth Proxy would be what you’re after

 

 

Thanks, might have to give it a try if no one else replies with a Tasmota-specific answer.

 

 

I'm using ESPHome as well, works well, and no need for MQTT, I can share a config if you need it.

 

On the Tasmota front, I'm sure I've seen a Bluetooth discovery check box in the Integration, is it checked?

 

 

Do you mean on Tasmota itself? Yes, that's how the sensors appear as per the screenshot. Or do you mean on the Home Assistant front? 





Please support Geekzone by subscribing, or using one of our referral links: Mighty ApeSamsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup

 

My technology disclosure


timmmay
20429 posts

Uber Geek

Trusted
Lifetime subscriber

  #2982185 13-Oct-2022 09:42
Send private message

I can't help with Tasmota, but I have some Xiaomi temperature sensors working fine. I've written two tutorials that might be useful:

 

 

 

With the external Bluetooth with the external antenna the Xiaomi sensors work well through three walls across maybe 10m.


rscole86
4957 posts

Uber Geek

Moderator
Trusted
Lifetime subscriber

  #2982226 13-Oct-2022 11:44
Send private message

I moved from stock firmware and a custom esp integration, to custom firmware and esphome Bluetooth proxy a month ago, and it's working well.

https://pvvx.github.io/ATC_MiThermometer/TelinkMiFlasher.html

https://esphome.github.io/bluetooth-proxies/

This removes the need for a mqtt server/client on HA for me.


timmmay
20429 posts

Uber Geek

Trusted
Lifetime subscriber

  #2982230 13-Oct-2022 11:54
Send private message

I tried the ESP32 bluetooth to WiFi proxy, it didn't extend range at all for me with one central WiFi access point compared with using a good quality USB Bluetooth adpater.


rscole86
4957 posts

Uber Geek

Moderator
Trusted
Lifetime subscriber

  #2982236 13-Oct-2022 12:02
Send private message

Whereas I'm seeing a drastic improvement. But that could be due to the custom firmware too. I've gone from no updates for (sometimes) hours, to max 5 minutes between updates.

huckster
836 posts

Ultimate Geek

ID Verified
Lifetime subscriber

  #2982244 13-Oct-2022 12:36
Send private message

Tasmota does have a Home Assistant auto-discovery option for HA & MQTT.

 

https://tasmota.github.io/docs/Home-Assistant

 

I have set up a few devices over the years using this - but once it's done, you don't touch it again, so the precise steps escape me for now.

 

Most recently, as I have a few ESP32 things I am tinkering with, I have been using ESP Home with that integration. It has made me think of converting some Tasmota devices tbh.

 

 


Ge0rge
2023 posts

Uber Geek

Trusted
Lifetime subscriber

  #2982252 13-Oct-2022 13:26
Send private message

davidcole:

Do you have mqttexplorer  anywhere, or mosquitto_sub?


Also on the tasmota web page, have you got the mqtt page there to show us?  



Second this - I run tasmota on multiple sensors with HA and the first step I've found needed is making sure the mqtt data is flowing. MqttExplorer works a treat, and will allow you to see that the topics are being sent.

I manually add all my sensors, it becomes much easier once you've got a couple up and running.

openmedia
3292 posts

Uber Geek

Trusted

  #2982256 13-Oct-2022 13:37
Send private message

Currently using ESPHome for my Xiaomi sensors - a mix of the older round ones and the newer square ones with the custom firmware.

 

As my HomeAssistant is running in a Podman Container image I'm using 2 x ESP32 devices to cover the house for data capture and it typically works very well.

 

Considering a move to the new BT Proxy based approach, but what I've got is very reliable and being able to see the sensor data via the ESP32 web frontend is really useful.

 

I don't use the EPSHome HA addon for my builds as I can run the tools locally under Linux.





Generally known online as OpenMedia, now working for Red Hat APAC as a Technology Evangelist and Portfolio Architect. Still playing with MythTV and digital media on the side.


 1 | 2
Filter this topic showing only the reply marked as answer View this topic in a long page with up to 500 replies per page Create new topic





News and reviews »

Logitech Introduces New G522 Gaming Headset
Posted 21-May-2025 19:01


LG Announces New Ultragear OLED Range for 2025
Posted 20-May-2025 16:35


Sandisk Raises the Bar With WD_BLACK SN8100 NVME SSD
Posted 20-May-2025 16:29


Sony Introduces the Next Evolution of Noise Cancelling with the WH-1000XM6
Posted 20-May-2025 16:22


Samsung Revelas Its 2025 Line-up of Home Appliances and AV Solutions
Posted 20-May-2025 16:11


Hisense NZ Unveils Local 2025 ULED Range
Posted 20-May-2025 16:00


Synology Launches BeeStation Plus
Posted 20-May-2025 15:55


New Suunto Run Available in Australia and New Zealand
Posted 13-May-2025 21:00


Cricut Maker 4 Review
Posted 12-May-2025 15:18


Dynabook Launches Ultra-Light Portégé Z40L-N Copilot+PC with Self-Replaceable Battery
Posted 8-May-2025 14:08


Shopify Sidekick Gets a Major Reasoning Upgrade, Plus Free Image Generation
Posted 8-May-2025 14:03


Microsoft Introduces New Surface Copilot+ PCs
Posted 8-May-2025 13:56


D-Link A/NZ launches DWR-933M 4G+ LTE Cat6 Wi-Fi 6 Mobile Hotspot
Posted 8-May-2025 13:49


Synology Expands DiskStation Lineup with DS1825+ and DS1525+
Posted 8-May-2025 13:44


JBL Releases Next Generation Flip 7 and Charge 6
Posted 8-May-2025 13:41









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.







GoodSync is the easiest file sync and backup for Windows and Mac