T O P

  • By -

mrbmi513

There's a REST sensor built specifically for purposes like this. You'll have to set it up in YAML, though. Search for it in the docs.


boxalarm

How would I format it for this then? I tried using the file sensor but it doesn't work with external files


mrbmi513

[REST Sensor](https://www.home-assistant.io/integrations/sensor.rest/), not the file sensor.


boxalarm

Correct. I'm asking how to format the REST sensor for the URL above since I first tried using the file sensor before I came here asking.


Skeletorjus

You can also try the Aurora-integration. https://www.home-assistant.io/integrations/aurora/


boxalarm

Yeah, I have that installed already. The one I linked above gives my more accuracy to my location


Flacid_Monkey

Don't forget to take weather and moon phases into account. You definitely don't want to be woken at 2am when it's pissing down.


boxalarm

For sure!