I use HA for my home automation but also some weather stations and cameras. I’d like to publish some of these datas on my own internet website, hosted outside my LAN on Internet (wordpress based) but I don’t find an easy way to do that and none documentation about this. Any idea how to do that ? The best would be that HA pushes information to my website to reduce at maximum security issues or problems
Other than that you can run a local script which queries the HA API and pushes your data via REST or as file (FTP) or directly to your DB (if it is reachable outside the hosting environment)
Or you could push the sensor change via REST but then you need to add an action for every sensor you’d like to push
Setup destination server to allow MySQL connections from your HA external IP address. Setup automation to run mysql update query against destination DB.
Can web host accept SSH connections from your external IP/CNAME? If so, setup scheduled shell script to pull data from HA via CURL
I should have used the integration with google sheet an then add google script that you bublished as a webapp. Then enbedd this on your homepage or why not use google site and embedd this webapp.
Here one guide
Hi. Bit late perhaps, but I wanted the same thing and tested a while with the rss_feed_template integration and that gave me the idea to make my own html_page integration. I now have my 12 year old Ipad show some values
So it can be done.
By the way: I used the rss_feed_template to build my own one, with more fields. And that allowes me to show 2 different instanses on HA on the same old browser:
Thanks for your post but there is a confusion. I’m looking as subject of thread indicates it to publish HA datas on a public website not on some devices in LAN
+1, it’s the main issue. At a time I was thinking to get an automation export an image of a sensor value for example or as numbers in a text file and then retrieve that file through a cron on the website host to retrieve that file and then use it for display in website but it’s quite cumbersome