Emulated Hue - /config/.storage/emulated_hue.ids

So I had this ongoing annoying errors in log about non-existent devices in emulated hue.

I renamed the /config/.storage/emulated_hue.ids to /config/.storage/WASemulated_hue.ids, removed the emulated hue config from my configuration.yaml, rebooted homeassistant en put back the config in configuration.yaml.

To achieve “a clean slate” in emulated hue.

Now I have done this I get:

Logger: homeassistant.components.emulated_hue.hue_api
Source: components/emulated_hue/hue_api.py:291
Integration: Emulated Hue (documentation, issues)
First occurred: 18:20:33 (53 occurrences)
Last logged: 18:22:43

Unknown entity number: 44 not found in emulated_hue_ids.json
Unknown entity number: 47 not found in emulated_hue_ids.json
Unknown entity number: 35 not found in emulated_hue_ids.json
Unknown entity number: 48 not found in emulated_hue_ids.json
Unknown entity number: 40 not found in emulated_hue_ids.json

What do I need to do to start with a full clean slate?

This was not working for me. I encountered numerous errors with IDs, so I removed emulated_hue_ids.json / emulated_hue from config and restarted. Also all Alexa devices were removed.

The emulated_hue.ids is unfortunately not recreated. Alexa will find all devices again ang I still have this logging issue with “Unknown entity number not found in emulated_hue_ids.json” again. When is this file recreated?

Finally I issued a request to the API after restart: http://:80/api/pi/lights and voila: the ids file gets rewritten. Not fully reproducable though.

1 Like