still pretty new to the concepts of HA, I am trying to monitor a web page for changes, specifically I want to know when a new firmware for my inverter is published.
I found some code in the net and pasted it to my configuration.yaml (60 seconds are just for testing)
I tried the python code on the commandline of my linux workstation and it works.
However, nothing in log viewer and the device does not show up in developer tools.
How could I test the sensor, or maybe manually make it run? In other words: how to find out why the sensor is not showing up?
Best regards and thanks in advance,
Otto
Thanks a LOT! Working now.
But my question stays the same, as I also want to learn how to find such mistakes in my config. In this case there was no error in the config, nothing in log viewer, it just did not work. How can I debug things like this?
Best regards and thanks again,
Otto
Just one more question.
I added an automation for this sensor if it changes. Now this automation runs every time I am restarting HA. (how) is it possible to make the value of a sensor like this “persistent”?
Wow! Thanks a lot! Just played around a little thing with wget and thought of doing something like that in a python script. But if this can be done within HA, it is much better
Yes. I know. scraping sites is a very lame thing. if the page architecture changes you are getting troubles…
I have been scraping several pages ages ago. but since that dynamic stuff everything has become pretty difficult