Home Assistant "webpage card"?
-
I only found one reference to Home Assistant in the forum, from 2018, so I'll ask here.
I'd like to include a Windy display in the main screen of my Home Assistant "smart home" panel. Ideally this would work both on the screen (i.e. a local webpage on my LAN), and in the app on my phone, which accesses my smart home either locally on the LAN or via a special web address through Nabu Casa's servers. I tried doing this using the standard web address, but of course that doesn't work as Windy prevents embedded use. I got an API key for the Forecast API, but I don't have a clue how to use it. I'll keep searching and reading the API docs, but any suggestions would be appreciated.I'm thinking that this might be useful for many others using Home Assistant or any other Smart Home systems with a local display on the wall, or on their TV.
Thanks in Advance! -
@gar37bic Following up, looking at the docs, it appears that the process might be as follows:
- Use the web server on your Raspberry Pi or other HA server, or any web server on your home LAN
- Add a web page in that local website and follow the instructions for setting up the embedded Windy API - this includes the Leaflet and Windy API libraries. This looks like the hard part.
- Use the WebPage card in HA / Lovelace or whatever front end you use to add a card with that local web page.
I have not done this yet, we shall see if I can get it working.