# Hue-emulator.service failed after reboot

**URL:** https://diyhue.discourse.group/t/hue-emulator-service-failed-after-reboot/90
**Category:** Support
**Created:** [March 9, 2020, 5:59pm UTC](https://diyhue.discourse.group/t/hue-emulator-service-failed-after-reboot/90 "2020-03-09T17:59:54Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![DaNaca](https://avatars.discourse-cdn.com/v4/letter/d/f0a364/32.png) [@DaNaca](https://diyhue.discourse.group/u/DaNaca)
#### Post date: [March 9, 2020, 5:59pm UTC](https://diyhue.discourse.group/t/hue-emulator-service-failed-after-reboot/90/1 "2020-03-09T17:59:54Z")

</div>

I have diyHue running on a Pi 3B+ in Raspbian with deCONZ and everything was working well (with Yeelights, Hue Lights/switches, IKEA Lights/switches, etc.).  
Today I had to do a regular reboot and after that the hue-emulator.service is no longer working, systemctl says “activating” for a while and then “failed”. Restarting the service doesn’t help. I have no idea how to troubleshoot this and have no control over my lights, any ideas?

---

<div class="post-metadata">

### Author: ![DaNaca](https://avatars.discourse-cdn.com/v4/letter/d/f0a364/32.png) [@DaNaca](https://diyhue.discourse.group/u/DaNaca)
#### Post date: [March 9, 2020, 6:11pm UTC](https://diyhue.discourse.group/t/hue-emulator-service-failed-after-reboot/90/2 "2020-03-09T18:11:43Z")

</div>

Update: I also did an uninstall of diyHue, a reboot and a reinstall, but the service still won’t start.

---

<div class="post-metadata">

### Author: ![Mevel](https://yyz2.discourse-cdn.com/free1/user_avatar/diyhue.discourse.group/mevel/32/34_2.png) [@Mevel](https://diyhue.discourse.group/u/Mevel)
#### Post date: [March 10, 2020, 2:03pm UTC](https://diyhue.discourse.group/t/hue-emulator-service-failed-after-reboot/90/3 "2020-03-10T14:03:25Z")

</div>

Please provide the debug output. Manually start the emulator with additional argument `--debug`

`sudo ./HueEmulator3.py --debug`

---

<div class="post-metadata">

### Author: ![DaNaca](https://avatars.discourse-cdn.com/v4/letter/d/f0a364/32.png) [@DaNaca](https://diyhue.discourse.group/u/DaNaca)
#### Post date: [March 10, 2020, 3:15pm UTC](https://diyhue.discourse.group/t/hue-emulator-service-failed-after-reboot/90/4 "2020-03-10T15:15:49Z")

</div>

Thank you for the reply. I have already uninstalled diyHue and did a docker install, so I can’t debug my problem anymore. I imported the config.json from the previous installation and everything works again, the same as before. I do hope the docker installation won’t also fail after a reboot in the future, but so far so good 😅

---

<div class="post-metadata">

### Author: ![Mevel](https://yyz2.discourse-cdn.com/free1/user_avatar/diyhue.discourse.group/mevel/32/34_2.png) [@Mevel](https://diyhue.discourse.group/u/Mevel)
#### Post date: [March 10, 2020, 3:16pm UTC](https://diyhue.discourse.group/t/hue-emulator-service-failed-after-reboot/90/5 "2020-03-10T15:16:52Z")

</div>

I am not sure if docker has the mqtt implementation yet. But the library issue is fixed now upon install stage.

---

<div class="post-metadata">

### Author: ![DaNaca](https://avatars.discourse-cdn.com/v4/letter/d/f0a364/32.png) [@DaNaca](https://diyhue.discourse.group/u/DaNaca)
#### Post date: [March 11, 2020, 4:15pm UTC](https://diyhue.discourse.group/t/hue-emulator-service-failed-after-reboot/90/6 "2020-03-11T16:15:47Z")

</div>

> [@Mevel](#):
>
> I am not sure if docker has the mqtt implementation yet.

I’m not sure what the _mqtt implementation_ means or what _the library issue_ is or was?

Since moving to a docker installation, I can no longer connect to the diyHue bridge with the official Hue app because it doesn’t register clicking the “Activate” button. In Hue Essentials it does. Does this have anything to do with that? Other than that (and [a Timezone problem](https://diyhue.discourse.group/t/timezone-incorrect/91)) I haven’t noticed a difference so far.
