Hi
I have a Raspberry Pi 3 with a Hass.io Image and 2 Xiaomi Sensors i can see it but it shows me just the battery an this is 200%
Can me help please anyone
Hi
I have a Raspberry Pi 3 with a Hass.io Image and 2 Xiaomi Sensors i can see it but it shows me just the battery an this is 200%
Can me help please anyone
It looks like either the gattool is not running or is not getting back valid data. I have no idea how you would go about getting it running on hass.io tho’
I find this fix https://github.com/home-assistant/hassio-build/commit/f830dc8219494cfb1cac38bdc4d76de985f414c2 on this topic Mi Flora plant sensor but i don’t know how to use it
You can’t use it, it’s already in the docker file, so it should be working. You need to get some info on how hass.io works with BLE. I don’t think you can run bluetoothctl which would tell you if the BLE was working. Maybe move the sensors nearer to the PI, replace the batteries or at least remove and replace the batteries - to reset the sensors (if the light on top comes on when the battery goes back in the sensor should be working)?
Hm the sensors are 10cm next to the raspberry .
And the bluetooth plugin is installed, too.
Can you read the sensors from the app?
Yes i can…
You probably need to unpair them from your phone as I think that Hass.io can’t read them if they are paired with your phone?
Hmm ita not paired when i start the hass.io or you mean general? So my bluetooth on the phone is off when i start the hass.io server or you mean i delete it in the app und my iphone?
I would try removing them from your phone, however I suspect that’s not what’s causing them not to work.
I can not be the only one with this problem. I try pimatic , openhab and now hone hass.io but nothing is working i will just can see the sensor withou bluetooth turn on of my iphone
Can you show what you have for the plant sensor in the code, please use the </> button leaving a blank line either side of the code after selecting it when pasting it in here.
I have this in the configuration.yaml
# Example configuration.yaml entry
sensor:
- platform: miflora
mac: 'xx:xx:xx:xx:xx:xx'
name: Flower 1
force_update: false
median: 3
monitored_conditions:
- moisture
- light
- temperature
- conductivity
- battery
Can you show both please and use the code block as I stated above please!
indent preformatted text by 4 spaces # Example configuration.yaml entry
sensor 1:
sensor 2:
Preformatted text
Your mac: appears to have a comma in it at the start? Shouldn’t be enclosed with anything xx:xx…xx
I guess that’s only a copy-and-paste issue.
The MAC needs to be quoted.
Errrm mine isn’t and my four work perfectly But it could be different for Hass.io
- platform: miflora
mac: C4:7C:8D:61:7C:2B
name: MiFlora Trailing Plant Bathroom
force_update: true
timeout: 60
cache: 60*60
median: 1
monitored_conditions:
- moisture
- light
- temperature
- conductivity
- battery