Ok, guessing still doesn’t work with the dash? Might need someone more familiar with the rpi as I’m on an osx box. I had some issues with certs getting mine up so I thought I might be able to help but it looks like you’re running into some other issues. Here is a small synopsis of my struggles in case anyone stumbles across this.
osx
python3.6
openssl 1.0.2l
Originally had certificate verify failed. [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
Could get around that with the no verify option but I didn’t like that. Figured out it had to do with how python can’t get the root certs from the mac os anymore. Had to install certifi (it pulls the os certs into a file) but still had the issue. I had to manually add the missing letsencrypt link cert (#2 in the cert chain) into the CA bundle. Doing this I was able to get past the first certificate error.
Ran into another certificate error farther upstream (same exception as above though). Turns out I had the public key instead of the fullchain as my cert option in HASS. After fixing that I’m able to run appdaemon dash as normal.
This server runs hass/appdaemondash/web/dns etc. it’s my main externally accessible server. I have a dns entry that redirects the external url to the internal server’s ip so that I don’t have to switch mobile devices to use different wan/lan urls/ips.
Kind of a mind dump, but hopefully it helps someone since I was stuck for about two days figuring it out.
Whew, I had to go back and read Rene’s original email to get that quote in context. It had me really scared for a minute. The only reason AD would quit working is if it used an external link to get to HA. As long as the connection is on local network, everything keeps working except for components that use cloud based services. Right.
right.
if AD connect to HA locally it will keep working even without internet.
@rpitera do you need internet for your lights, your garage door, your camera’s, your sensors, etc.?
HA shouldnt fail if internet is down, just some functions that are on the net should fail.
everything else should work as normal.
weather prediction, RSS feeds, yeah they break down with the internet.
but if you speak about lights, security, camerás you want them to keep running and you want to be able to access them even when the internet is down.
and that is all possible when you connect AD to HA locally and when you open HA with a local link when you are at home.
Well, it was good for me but now I can’t connect at all. And I have everything in the configs set back to what it was originally. I just removed the entry suggested above from my host file and am rebooting again in hopes that things will go back to where they were.
I should have just stuck to what was working instead of comparing my setup to yours. That was my first mistake and I should have known better.
UPDATE: Removing the host entry and rebooting brought me back to normal again. Thank God.
It’s odd that you guys have to bounce off the external dns servers and then come back in through from the WAN. I just double checked using nslookup and when inside my network my url resolves to my internal ip using my internal dns server. From outside my LAN it resolves to my outside ip as it should.
Try removing the password/https from HASS and see if you can get it to connect using http (to prove it out)
Try running appdaemon with --commtype SSE flag enabled. I had issues with websockets and cert issues with lets encrypt until i imported the missing CA in the link as I mentioned above. Before I did that I was able to get it up and running using the SSE flag.
The token is changing in Home Assistant and the widget get blank…
Would it be possible to simply reference the entity in state of the entity_picture ?
My Dash: