Please open console of the browser and make a screenshot
This looks awesome! Excited to give it a try
https://community.home-assistant.io/t/websocket-in-hass-io/23332/22
Seems like Hass.io users have a problem with websocket
It definitely works locally with hassio. Did you consider abandoning the idea of exposing HA via HTTPS and going the VPN way?
… its working OK with Hass.io for me. In the thread you mentioned there is a small html snippet that tests your websocket connection. Does that work OK for you ?
Thanks @resoai … going to enjoy playing with this.
I do realise that a lot of people will be struggling to configure a dashboard for the first time and the readme is not very helpful at the moment. If people will find the project useful I hope that somebody could help me to create a decent guide for it.
I think an absolutely minimal override_config as well as the fuller all options config might help people - so they know the connection is working. It might be less intimidating. Although actually all I had to edit was the IP address for my HA and the password (in double quotes) and it shows blank pages with First Group and Second Group so that worked to prove connection.
what did you put for wsUrl: ?and are you using duckdns?
I am putting a LAN IP address in but I do also use DuckDNS. Just got to nip out for lunch but I will give it a try via DuckDNS and update back here.
If your HomeAssistant install is behind SSL, make sure you use wss://
at the beginning of the websocket line, instead of ws://
have you got the password in double quotes? “password”
serverUrl: “https://myhostname.ddns.net”,
wsUrl: “wss://myhostname.ddns.net/api/websocket”,
password: “password”,
Thank you! that solved it for me!
serverUrl: "https://domain.com/",
wsUrl: "wss://domain.com/api/websocket",
password: "examplePassword",
Worked for me.
Would be nice with some more dummy code examples for stuff like
Adding a media_player
Adding a sensor
Adding a scene
Adding a light.device
Adding a switch.device
Embedding a camera feed
I have sooo much stuff in my HA repository today, so would be nice to be able to implement some of these and then push this to a touchpad dashboard. Would probably make the wife happier.
The plan is to provide example of each tile type in the description but I simply have no time to do this at the moment. I shall be adding examples whenever I can.
nope same errors I had the password in double quotes but didnt have the comma. I have followed the way you showed with double quotes and comma but I still get the same errors.
UPDATE:
It works now had to clear my cache on my browser.
Thanks a lot everyone.
I see no reason why it can’t be made to look like this but it is a grid by design so it would be a bit unnatural to do it.