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
79254 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: Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup


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
1097 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!




tchart
2379 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
79254 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: Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup




davidcole
6029 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
258 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
6029 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
79254 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: Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup


 
 
 

Cloud spending continues to surge globally, but most organisations haven’t made the changes necessary to maximise the value and cost-efficiency benefits of their cloud investments. Download the whitepaper From Overspend to Advantage now.
freitasm

BDFL - Memuneh
79254 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: Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup


timmmay
20575 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
4973 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
20575 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
4973 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
842 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
2052 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
3324 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 »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









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.