Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emulated Hue config error #50

Open
ahouse3761 opened this issue May 16, 2022 · 3 comments
Open

Emulated Hue config error #50

ahouse3761 opened this issue May 16, 2022 · 3 comments
Labels
question Further information is requested

Comments

@ahouse3761
Copy link

Hi, new to HA and have it up and running. I tried to use the emulated hue integration using the following in my configuration.yaml file:

emulated_hue:
host_ip: 192.168.1.35
listen_port: 80
advertise_ip: 10.0.0.10
advertise_port: 8080
off_maps_to_on_domains:
- script
- scene
expose_by_default: false
exposed_domains:
- light
entities:
light.den_art_2b_8c_f7:
name: "Den art"

But I get an error on restart that I cannot interpret:

Logger: homeassistant.setup
Source: C:\Users\tahou\Home Assistant\HassWP_2022.5.3\python-3.9.10.amd64\lib\site-packages\homeassistant\setup.py:245
First occurred: 5:30:33 PM (1 occurrences)
Last logged: 5:30:33 PM

Error during setup of component emulated_hue
Traceback (most recent call last):
File "C:\Users\tahou\Home Assistant\HassWP_2022.5.3\python-3.9.10.amd64\lib\site-packages\homeassistant\setup.py", line 235, in async_setup_component
result = await task
File "C:\Users\tahou\Home Assistant\HassWP_2022.5.3\python-3.9.10.amd64\lib\site-packages\homeassistant\components\emulated_hue_init
.py", line 137, in async_setup
listen = create_upnp_datagram_endpoint(
File "C:\Users\tahou\Home Assistant\HassWP_2022.5.3\python-3.9.10.amd64\lib\site-packages\homeassistant\components\emulated_hue\upnp.py", line 73, in create_upnp_datagram_endpoint
ssdp_socket.setsockopt(
OSError: [WinError 10022] An invalid argument was supplied

Any help appreciated.
Regards,
Allen

@ahouse3761
Copy link
Author

Is this the wrong place to ask for help with this? I tried the general forum and got no response.
Thx,
Allen

@Darkstarxx
Copy link

Darkstarxx commented May 24, 2022 via email

@AlexxIT AlexxIT added the question Further information is requested label Jul 26, 2022
@AlexxIT
Copy link
Owner

AlexxIT commented Jul 26, 2022

This is very complicated python API. Very likely it doesn't supported in Windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants