Hi there!
Anyone knows its possible to access data using a Bluetooth gateway (like the Xiaomi bed lamp) instead of connecting directly to the sensor through Bluetooth?
Cheers!
Hi there!
Anyone knows its possible to access data using a Bluetooth gateway (like the Xiaomi bed lamp) instead of connecting directly to the sensor through Bluetooth?
Cheers!
I am running on a QNAP Docker, what other alternatives are there to integrate this?
@dolezsa would it still need a gateway ?
I would really like to use a couple of these, but I understand it needs a bluetooth gateway of some sort.
I don’t feel like buy the xiaomi lamp, is there anything else that can do it, or do I not need it at all (the bluetooth gateway that is)
Thanks for the help !
Regards
S
How did you get this nice graph?
I have just added the sensor to HA and it’s working fine. But it fills my log with:
Update of sensor.mitemp_bt_temperature is taking over 10 seconds
Is it possible to get raid of this error?
Same here… tons of errors about this…
I’ve also gotten the sensor to work with Hass.IO on a Pi3, but the log is filled with errors (mainly update of sensor took more than 10 seconds).
However, I’m unable to log the data in an automation. states.sensor.<sensor name>.state
provides me with nothing (not None, but just a blank string I think).
Hi, currently it is not possibile. The sensor timeout can’t be set at configuration level, but will be in future
Hi! I’ts really easy, but you have to set up InfluxDb and Grafana Complete guide on setting up Grafana/InfluxDB with Home assistant using official Docker images
A plus with this approach is that you can remove your Home Assistant history (purge keep days on recorder component), and only get the last week for debugging purpose.
Yes, I’m using the official one, inserted code snippet at the end of this post.
I’m using a bit of a non-default (I guess) setup though. I have a VM (under Proxmox) and a Pi3, both running Hass.IO. Pi3 only runs Octoprint addon and Bluetooth, everything else (including automations) I’d like to run on the VM. MQTT Statestream and eventstream is used to send data from Pi3 to VM (tried both separatly, now they both run).
The data is stored in a Google Spreadsheet using IFTTT, so I guess that’s another point of failure, but that part works for my other temperature sensors (Xiaomi Aqara).
I’ll try to place the automation on the Pi3, and see if that’s where the issue is.
sensor:
- platform: mitemp_bt
mac: !secret mi_temp_mac
name: Hallway
force_update: true
median: 1
monitored_conditions:
- temperature
- humidity
- battery
I have three of this sensor connected to home assistant. Everything works fine except one thing. The range… If the sensor and raspberry is in the same room Everything works well but if I move the sensor in the other room, nothing doesn’t work. There is way to solve this problem? Maybe a BLE extender or I don’t know what?
No idea for range extension?
@mr-varga
I had the same issue with bluetooth range and could not sort it. I’m now using a second RPI3 (works with Pi Zero as well) with HASS.io to improve the coverage. The 2nd RPI is sending the data via MQTT to the main RPI. I’m currently using this for device_tracker but it should work for other bluetooth solutions as well.
I have te Xiaomi Temp sensor as well.
Dear xx_Nexus_xx,
I followed this homeassistant guide:
Thanks a lot , I was thinking too complicated … not aware its already sorted
Hi there.
I use mitemp_bt with the Xiaomi sensor. It works well, WHEN the temperature is 10 degrees and above. As soon as it goes under 10, temperature reading is locked on 10 or what ever the last reading was, and humidity lock’s up as well. Battery looks similar.
When the temperature rises above 10, readings resume. Looks the same in the HA overview.
I tried this with 2 different HA setups, and 2 different sensors. Same problem every time.
Am I the only one?
Tried with the official docker image, and Hass.io on a RPI 3
Tried median: 1 & 3
sensor:
- platform: mitemp_bt
mac: 'XXX'
name: Room
force_update: true
median: 1
monitored_conditions:
- temperature
- humidity
- battery
I’m having the same issue with no reading below 10 degress
I’m having the same issue as @thesailor. I checked with the Mi Home app and the sensor is connected and operating as expected (it was reading 8.0degC and 71.6% humidity), but with the HomeAssistant app the values are frozen at temps below 10degC. I even tried moving my Pi3 next to the sensor to test if the range was affected at low temperatures but the values still won’t read. Suspect there’s a single digit temp issue but not even sure where the code base is to have a look - hopefully I can find it later tonight.