Hi,
I’m using Hass Configurator with the official Add On on Hass.io with Version 0.2.0.
Everything works fine, except the information from the homeassistant_api are not loading into Hass Configurator Editor. The fields for Events, Entities and Services are empty.
Is your configuration for the API correct? It is when the dropdown-menus with the entities are populated. If they are, then I don’t know what could be causing the problems.
It should be possible to keep the default API (http://homeassistant:8123/api) since hassio has its own DNS. Besides that it is required that the password for the API is set in Home Assistant as well. So in your configuration.yaml you need to have something like:
Are you sure? I thought my “super long and safe password” is for the login for HASS Configurator? And the "homeassistant_password": "my_HA_password" is the api_password?
I’m confused
I tried with all passwords the same. But no success
homeassistant_password is the one you set for HASS. username and password is what you use to login to the configurator itself.
The logoutput tells us, that the configurator is not able to fetch the required data from the API. It should get the data from 192.168.x.x, but in the log it shows some external IP. Do you have an explanation for that? Did you change the API setting to your external IP?
To be honest: I have no idea what the problem can be. The config is looking good to me. And sinc I don’t use hassio myself, I have nothing to compare. Maybe someone reading along with a working hassio setup is able to help.
The main error is that the configurator fails to use the HASS API. Maybe look at the HASS logs for more information. Maybe even set the log level to debug to get more output.
Just to be clear.
I tried to access HASS Configurator Locally. Now I see this in the Log. Its a Local IP, but thats the IP of the devices accessing HASS Configurator (192.168.2.27) not the IP of Home Assistant (192.168.2.25)
for autorun, if you’re on a raspeberry PI i suggest you follow uption 2. works fine.
just bear in mind that the Hass-PoC-Configurator file should end with .service as oppossed to .systemd.
Once you creater follow the instruction on the enable command and it should work.
One thing just came to my mind: You have HASS configured to use SSL, correct? In that case you must also use SSL for the API. So instead of:: "homeassistant_api": "http://192.168.2.25:8123/api"
try "homeassistant_api": "https://192.168.2.25:8123/api"
The regular http-backend doesn’t exist anymore when you enable SSL.
Hi,
yes SSL is enabled.
I tried this before, too. But also no access.
Maybe with ssl its because, the Local IP doesn’t match the DNS of the Cert (duckdns.org). The local IP Adress is also marked as “unsafe” in the Browser.
Is it possible to disable SSL Auth for local access?
Have you tried setting the hass-API option to you duckdns hostname? If hass is exposed to the internet, then that should be working if your port forwarding is working as well.
PS: No, it’s not possible to disable SSL verification. The urllib.request.Request method has no flag for this.
sorry for late response.
Its also not working with the DNS Name
Maybe it has something to do with the SSL connection.
If I have time, I will try to test without SSL.
I post my results here.
Thx a lot for all the help!
all my errors are gone with ne new hass.io Addon Store Version auf Configurator (0.2.0-p3)
Now it works like a charm inclusiv the entity ID list.
Thx a lot for the hard work.
I’ve set up DuckDNS on my Hass.io setup but can no longer access the configuration panel. Everything was working fine before I set up DuckDNS. Tried adding SSL to true and adding the DuckDNS ip address in options.
Any advice?
EDIT i unded up settign 0.0.0.0/0 for known devices and it started working. Is there any other way to implement without exposing all the ips?