Closed AHub88 closed 2 years ago
Next time please use the issue template. Which version do you have? Gen1 or 2?
If you have a gen 2 did you try the pyloxone beta?
I have a Gen2.
I've tried to install the beta over HACS, but it didn't work. I can't find the integration. There is only the PyLoxone (Master).
It is a complete different git repo. See your last post on issue number 104.
@AHub88 did you test it?
Unfortunately, I use Home Assistant with VMware. Therefore I don't know exactly how to replace the files. My Linux skills are not the best...
@AHub88 Did you get to the loxone web interface? You know the port of the loxone?
@AHub88 Did it already worked?
No it doesn't work. I have access to the web interface. The port is http (80) and https (443).
@AHub88 try a different port than 80. SSL access will not work (443). I changed mine to 8080 and connect via local access. So for host for example 192.168.1.20 and for port 8080. Of course you must change it first on the loxone itself.
I had in the past users which had problems on port 80. I never used port 80.
Now I've set in Loxone the port 8080 and restarted the server.
Unfortunately, the same problem. I can't connect over Home Assistant.
When I manually try the url 192.168.XX.XX:8080/jdev/cfg/apiKey over my browser, I get the right JSON.
@AHub88 can you give your VM where your home assistant is running a different IP. If you have to many failed connection attempts your IP will be banned and you 2ill get no explicit error message. I had this also in the past.
No it's working! There was a strange firewall setting in our network. THX for your support :)
Home Assistant can now establish a connection. However, errors occur when loading the entities :(
See Screen
Logger: homeassistant.components.switch
Source: custom_components/loxone/__init__.py:71
Integration: Schalter (documentation, issues)
First occurred: 20:15:01 (1 occurrences)
Last logged: 20:15:01
Error while setting up loxone platform for switch
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/loxone/switch.py", line 22, in async_setup_entry
miniserver = get_miniserver_from_config_entry(hass, config_entry)
File "/config/custom_components/loxone/__init__.py", line 71, in get_miniserver_from_config_entry
return hass.data[DOMAIN][config_entry.entry_id]
KeyError: '4e09fd6b9d3747fc841eca09528760d6'
@AHub88 Ok it seams your are using a old version of the pyloxone component. This error should not raise in the newest version. Please update to the newest version.
Now it works ! THX for the good support.
Hi,
I have followed the instructions, but unfortunately fail at the last point.
When I try to connect PyLoxone with Loxone, I get an error message.
"Error setting up entry PyLoxone for loxone".
I've tried the local IP (with port 80 and 443) and the dns.loxonecloud.com address. Both do not work.
But the IP can be pinged successfully.
Andi