Core: Emulated Hue spamming logs when using non-default port

Created on 21 Oct 2017  Â·  13Comments  Â·  Source: home-assistant/core

Make sure you are running the latest version of Home Assistant before reporting an issue.

You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:

Home Assistant release (hass --version):
0.55.2

Python release (python3 --version):
3.6

Component/platform:
Emulated Hue

Description of problem:
After changing the default port on emulated hue to 8090, it is spamming the logs
`
Home Assistant
0.55.2

Path to configuration.yaml: /config

Developed by a bunch of awesome people.

Published under the Apache 2.0 license
Source: server — frontend-ui

Built using Python 3, Polymer 2.0.1, Icons by Google and MaterialDesignIcons.com.

The following errors have been logged this session:

2017-10-20 23:04:05 WARNING (SyncWorker_1) [homeassistant.components.emulated_hue] Alexa type is deprecated and will be removed in a future version
2017-10-20 23:04:55 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:04:55 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:04:55 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:04:55 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:04:55 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:04:55 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:04:55 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:04:55 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:04:55 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:04:55 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:06 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:06 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:06 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:06 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:06 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:06 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:06 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:06 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:06 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:06 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:16 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:16 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:16 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:16 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:16 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:16 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:16 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:16 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:16 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:16 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:26 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:26 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:26 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:26 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:26 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:26 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:26 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:26 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:26 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.
2017-10-20 23:05:26 WARNING (MainThread) [homeassistant.components.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hidden' in your configuration file.`

Expected:

Problem-relevant configuration.yaml entries and steps to reproduce:




    1. 2.
  1. 3.

Traceback (if applicable):


Additional info:

Most helpful comment

Looks like this was fixed over here. Can you confirm? https://github.com/home-assistant/home-assistant/pull/9894

All 13 comments

There was a recent change from using emulated_hue to emulated_hue_hidden in your customize.yaml. You need to update all of them to reflect this new naming convention. e.g.

emulated_hue_hidden: true

I am getting this same SPAM and I have changed ALL instances of the Emulated_hue to the correct wording. You can verify in my repo : https://github.com/CCOSTAN/Home-AssistantConfig/search?utf8=%E2%9C%93&q=emulated_hue%3A&type=

I don't know where else to look to resolve this issue.

Running on 0.56.2 currently on RPI.

@CCOSTAN You are still using emulated_hue in many places. You need to change all of those to emulated_hue_hidden.

@arsaboo - No.. Those top 2 packages are disabled (not yaml endings) and the 3rd one is just a text file. I don't have any instances of emulated_hue in the yaml files..

@CCOSTAN Wondering if those files are also included. Can you comment out or change those files as well? I am not getting any more warnings.

Yes.. let me just delete them actually.

OK .. looks like this might have fixed it! So weird.. It should have ignored it.. but the errors are gone now. Thanks @arsaboo!

*Edit - Still not fixed. I guess the check is on a delay so it wasn't apparent immediately *

I am having the same error. have tried everything i can think of to include uninstalling/reinstalling, replacing the 'customize.yaml' and commenting out 'emulated_hue' from my config. The only fix was commenting 'emulated_hue' out which is obviously not the answer. If anyone can put a second set of eyes on my yaml files to see what i am missing would be much appreciated.

running 0.56.2 on ubuntu 16.04

Thanks

P.S. This is the first time i uploaded a repo not sure it is going to the right location, when i clicked the link to confirm it is working it sends me to a 404. Cutting and pasting the link in the address bar however works for me. Not sure what to do for that.

https://github.com/mudfinger/HA-Config

Spoke too early.. they are back..

Oct 26 14:49:13 Carlo-Pi hass[23656]: 2017-10-26 14:49:13 WARNING (MainThread) [homeassistant.compo
nents.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hid
den' in your configuration file.
Oct 26 14:49:13 Carlo-Pi hass[23656]: 2017-10-26 14:49:13 WARNING (MainThread) [homeassistant.compo
nents.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hid
den' in your configuration file.
Oct 26 14:49:13 Carlo-Pi hass[23656]: 2017-10-26 14:49:13 WARNING (MainThread) [homeassistant.compo
nents.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hid
den' in your configuration file.
Oct 26 14:49:13 Carlo-Pi hass[23656]: 2017-10-26 14:49:13 WARNING (MainThread) [homeassistant.compo
nents.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hid
den' in your configuration file.
Oct 26 14:49:13 Carlo-Pi hass[23656]: 2017-10-26 14:49:13 WARNING (MainThread) [homeassistant.compo
nents.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hid
den' in your configuration file.
Oct 26 14:49:13 Carlo-Pi hass[23656]: 2017-10-26 14:49:13 WARNING (MainThread) [homeassistant.compo
nents.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hid
den' in your configuration file.
Oct 26 14:49:13 Carlo-Pi hass[23656]: 2017-10-26 14:49:13 WARNING (MainThread) [homeassistant.compo
nents.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hid
den' in your configuration file.
Oct 26 14:49:13 Carlo-Pi hass[23656]: 2017-10-26 14:49:13 WARNING (MainThread) [homeassistant.compo
nents.emulated_hue] 'emulated_hue' is deprecated. Please rename 'emulated_hue' to 'emulated_hue_hid
den' in your configuration file.

This is definitely a bug in my opinion. My repo is free of the old emulated_hue. @arsaboo

Agreed...there is a delay between when starting HA and the messages start spamming that may lead one to believe it is working properly.

Plus i have stripped my config to the bare bones, removed all custom yaml files (replacing with blanks) and by simply adding 'emulated_hue' into the config, and that will be all that it needs to start the spam fest.

Here is the only code I added:

emulated_hue:
host_ip: 192.168.8.249
expose_by_default: false

light:
platform: hue
host: 192.168.8.128
allow_unreachable: true
allow_hue_groups: false
allow_in_emulated_hue: false

Unless something is conflicting between the two, idk what else it could be other than a bug.

I am having this same issue. I literally only have "emulated_hue" in only two places in my own repo. One here in my configuration.yaml file to enable it and and another here in my customize.yaml file to expose one switch.

I'm guessing that when the emulated hue component loads it is scanning all of the devices looking for "emulated_hue_hidden" and if it is not found it is incorrectly assuming that it has the deprecated value. Looks like it was PR #9382 that did it. @rbflurry want to take a look at it?

Looks like this was fixed over here. Can you confirm? https://github.com/home-assistant/home-assistant/pull/9894

Confirmed Fixed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

piitaya picture piitaya  Â·  3Comments

bdraco picture bdraco  Â·  3Comments

Elmardus picture Elmardus  Â·  3Comments

sogeniusio picture sogeniusio  Â·  3Comments

kirichkov picture kirichkov  Â·  3Comments