# Hue motion sensor not coming online after battery replacement

**URL:** https://community.homey.app/t/hue-motion-sensor-not-coming-online-after-battery-replacement/110730
**Category:** Questions & Help
**Tags:** zigbee, homey-pro, hue
**Created:** [May 30, 2024, 11:35am UTC](https://community.homey.app/t/hue-motion-sensor-not-coming-online-after-battery-replacement/110730 "2024-05-30T11:35:52Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Arguineguin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arguineguin/32/18220_2.png) [@Arguineguin](https://community.homey.app/u/Arguineguin)
#### Post date: [May 30, 2024, 11:35am UTC](https://community.homey.app/t/hue-motion-sensor-not-coming-online-after-battery-replacement/110730/1 "2024-05-30T11:35:52Z")

</div>

I have a Hue motion sensor that ran out of battery a month ago. After a battery replacement yesterday it is not coming online.

How can I get the device to connect without having to remove it and re-add it (which of course will break all the flows)!?

Thanks

---

<div class="post-metadata">

### Author: ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)
#### Post date: [May 30, 2024, 11:43am UTC](https://community.homey.app/t/hue-motion-sensor-not-coming-online-after-battery-replacement/110730/2 "2024-05-30T11:43:18Z")

</div>

Just re-add it without removing it prior to that.

The zone activity systen is just there for cases like this.  
No flow will break when you happen to remove and add sensors. And you can replace your sensor with an (completely) other one without needing to fix the flows.

> ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/1/117a82f68439f737aaee829ae5e05b24fa774cbb.png)

> **[Using Zone Activity](https://support.homey.app/hc/en-us/articles/360026209853-Using-Zone-Activity)**
>
> Zone Activity enables Homey users to view and respond to activity in their homes. For example, when someone enters the Hallway Zone, a motion sensor or door/contact sensor can detect this, making t...

---

<div class="post-metadata">

### Author: ![Arguineguin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arguineguin/32/18220_2.png) [@Arguineguin](https://community.homey.app/u/Arguineguin)
#### Post date: [May 30, 2024, 12:27pm UTC](https://community.homey.app/t/hue-motion-sensor-not-coming-online-after-battery-replacement/110730/3 "2024-05-30T12:27:21Z")

</div>

Thanks Peter. Re-adding does not help, the device does not come back to life in the app.

Any other tricks I could try before removing and adding the device back?

Good point regarding the zone system though, maybe I should convert my flows to use zones. I’d need to set the window sensors to not be excluded from the zones.

---

<div class="post-metadata">

### Author: ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)
#### Post date: [May 30, 2024, 12:49pm UTC](https://community.homey.app/t/hue-motion-sensor-not-coming-online-after-battery-replacement/110730/4 "2024-05-30T12:49:12Z")

</div>

Have you tried to repair the sensor (long press on the device tile → wheel → maintenance)?  
You must wake up the sensor during the repair process.  
You can also try to do the repair process near the Homey.

@Peter_Kawa, interesting how you come from the problem of an empty battery to zone activity. Should he now buy a new sensor every time the battery is empty? The main thing is that the flow doesn’t have to be changed? 😂  
(Just kidding)

Btw, there is a script available to repair all the advanced flows if a device must be deleted and re-added:

[[HOW-TO][Pro][Cloud] - Tool to FIX (advanced) flows after removing and re-adding devices](https://community.homey.app/t/how-to-pro-cloud-tool-to-fix-advanced-flows-after-removing-and-re-adding-devices/65018)

---

<div class="post-metadata">

### Author: ![Arguineguin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arguineguin/32/18220_2.png) [@Arguineguin](https://community.homey.app/u/Arguineguin)
#### Post date: [May 30, 2024, 1:38pm UTC](https://community.homey.app/t/hue-motion-sensor-not-coming-online-after-battery-replacement/110730/5 "2024-05-30T13:38:26Z")

</div>

Thanks Dirk, I can’t find “Maintenance” anywhere on the device screen even if clicking the wheel 🤔

Is there an option for this I have not enabled somewhere?

---

<div class="post-metadata">

### Author: ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)
#### Post date: [May 30, 2024, 2:30pm UTC](https://community.homey.app/t/hue-motion-sensor-not-coming-online-after-battery-replacement/110730/6 "2024-05-30T14:30:00Z")

</div>

Yeah it just was an advice to avoid flow fixing every next time there’s a sensor problem 🥳

Martijn’s ‘flow fix’ script is very neat of course, but I was more thinking in a way to prevent things from breaking down, than having to fix things

---

<div class="post-metadata">

### Author: ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)
#### Post date: [May 30, 2024, 3:52pm UTC](https://community.homey.app/t/hue-motion-sensor-not-coming-online-after-battery-replacement/110730/7 "2024-05-30T15:52:28Z")

</div>

> [@Arguineguin](#):
>
> How can I get the device to connect without having to remove it and re-add it

With what protocol is this device connected to Homey? Using Hue bridge or directly?  
And what have you tried already?

---

<div class="post-metadata">

### Author: ![Arguineguin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arguineguin/32/18220_2.png) [@Arguineguin](https://community.homey.app/u/Arguineguin)
#### Post date: [May 30, 2024, 8:59pm UTC](https://community.homey.app/t/hue-motion-sensor-not-coming-online-after-battery-replacement/110730/8 "2024-05-30T20:59:38Z")

</div>

Hi Dijker,

It is connecting over the zigbee protocol.

I have tried

- Removing the battery and replacing it
- Restarted the “Hue without the bridge” app
- Added the device again (as suggested above) without removing it first - short press on the device’s reset button
- Added the device again without removing it first - long press on the reset button

Also looked for “Maintenance” in the app…

All to no avail.

Trying my luck here as this has to be a common issue…?

Edit: I have the “Early 2019” edition.

---

<div class="post-metadata">

### Author: ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)
#### Post date: [May 30, 2024, 10:27pm UTC](https://community.homey.app/t/hue-motion-sensor-not-coming-online-after-battery-replacement/110730/9 "2024-05-30T22:27:10Z")

</div>

> [@Arguineguin](#):
>
> - Added the device again (as suggested above) without removing it first - short press on the device’s reset button
> - Added the device again without removing it first - long press on the reset button

Sorry, but I need a more detailed picture.

What does that mean exactly: Short press and long press the button?

This is what should be the procedure

1. add a new device
2. select Hue w/o bridge app
3. select the right Hue motion sensor
4. follow zigbee instructions
5. hit “Add”, “Connect” or whatever it’s called, and push the sensor’s pair button (or reset buttton as you call it) shortly every other second, repeatedly,  
**until** a popup appeared “device is already added”
6. hit ‘OK’ and restart the Hue w/o bridge app
7. sensor should now be online again
8. when this doesn’t work, grab another battery, make sure it’s fresh and brand new, and start at 1.) again
9. and / or put the sensor very close, a cm, to Homey and start at 1.) again

* * *

> [@Arguineguin](#):
>
> Also looked for “Maintenance” in the app…

This is an alternative way, not needed when you perform the “Add new device” instructions above.

But, to explain about why you can’t find it in the app anyways, it’s not in the _app_, but it’s the sensor’s _device tile_ as Dirk explained

> [@DirkG](#):
>
> long press on the device tile → wheel → maintenance)

There you’ll find a “Try to repair” button.  
But then you’d have to push the actual sensor’s pair button as well.  
(while battery operated devices are in “sleep mode” when not busy. In that state, Homey’s zigbee pair system can’t reach them).

I hope this gets you a bit further, Christian.

---

<div class="post-metadata">

### Author: ![Arguineguin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arguineguin/32/18220_2.png) [@Arguineguin](https://community.homey.app/u/Arguineguin)
#### Post date: [May 31, 2024, 6:17am UTC](https://community.homey.app/t/hue-motion-sensor-not-coming-online-after-battery-replacement/110730/10 "2024-05-31T06:17:12Z")

</div>

> [@Peter\_Kawa](#):
>
> restart the Hue w/o bridge app

Hi Peter, this is what did the trick!

I have re-added the device numerous times and also restarted the app, but this time it has actually worked.

Thanks for the detailed explanation 👌

---

<div class="post-metadata">

### Author: ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)
#### Post date: [May 31, 2024, 1:03pm UTC](https://community.homey.app/t/hue-motion-sensor-not-coming-online-after-battery-replacement/110730/11 "2024-05-31T13:03:07Z")

</div>

Cool! Thanx for the heads up!
