Xiaomi Mi door sensor and Window Sensor not working after battery replacement

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Post Reply
willie-p
Posts: 34
Joined: Friday 12 July 2013 14:19
Target OS: Windows
Domoticz version:
Location: Netherlands
Contact:

Xiaomi Mi door sensor and Window Sensor not working after battery replacement

Post by willie-p »

Hi all,

I've replaced my battery of the Xiaomi Mi door sensor and window sensor and it is not working in Domoticz anymore.
In the Xiaomi Home app I see updates of open and closing, etc. but this doesn't reflect in Domoticz.

I've tried to turn on accept new hardware however this doesn't change anything.

Does anyone have an idea to solve this?

Thanks,
Will
willie-p
Posts: 34
Joined: Friday 12 July 2013 14:19
Target OS: Windows
Domoticz version:
Location: Netherlands
Contact:

Re: Xiaomi Mi door sensor and Window Sensor not working after battery replacement

Post by willie-p »

Needless to say, other devices with enough battery still respond well.
This is also the first time in 2 years that I had to replace the battery.

Cheers,
Will
User avatar
LouiS22
Posts: 433
Joined: Friday 27 February 2015 13:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Budapest, Hungary
Contact:

Re: Xiaomi Mi door sensor and Window Sensor not working after battery replacement

Post by LouiS22 »

Think you need to push the pair button, it will refresh the information. What zigbee dongle are you using?
willie-p
Posts: 34
Joined: Friday 12 July 2013 14:19
Target OS: Windows
Domoticz version:
Location: Netherlands
Contact:

Re: Xiaomi Mi door sensor and Window Sensor not working after battery replacement

Post by willie-p »

Hi Louis22,

Thank you for your response, however this is not how Domoticz has implemented Xiaomi hub.
That is why in app, which connect to the hub I see updates. Via IP address the information is shared with domoticz.
User avatar
LouiS22
Posts: 433
Joined: Friday 27 February 2015 13:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Budapest, Hungary
Contact:

Re: Xiaomi Mi door sensor and Window Sensor not working after battery replacement

Post by LouiS22 »

willie-p wrote: Thursday 11 June 2020 10:15 Hi Louis22,

Thank you for your response, however this is not how Domoticz has implemented Xiaomi hub.
That is why in app, which connect to the hub I see updates. Via IP address the information is shared with domoticz.
Ah, so you use it with the hub. I never used xiaomi's hub but opted to a zigbee dongle. Much better as I dont rely on Xiaomi's cloud (mostly privacy issues).
willie-p
Posts: 34
Joined: Friday 12 July 2013 14:19
Target OS: Windows
Domoticz version:
Location: Netherlands
Contact:

Re: Xiaomi Mi door sensor and Window Sensor not working after battery replacement

Post by willie-p »

The issue is solved.

The only change I made is re-enter the password in the "Hardware" menu and update the device.
For those who are new to this, with version 2, you leave the username empty.

I don't use the Xiaomi cloud, my firewall blocks any connection. I use only the internal IP.

Kind regards,
Will
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests