Introducing My NWS Outside Temperature Driver

Hi everyone, I wanted to share something I’ve been working on that might be useful to others. After spending some time tinkering with home automation, I decided to create a driver that pulls temperature data from the National Weather Service (NWS) API. The goal was to simulate an outdoor temperature sensor, which can then be used in various rules or automations within my smart home setup.

The driver uses the longitude and latitude configured in the hub settings to fetch weather data specific to your location. This means you need to make sure these settings are correctly configured before using the driver. I’ve included a link to the GitHub repository where you can find the code for importing purposes.

Once you’ve added the driver code, you can create a device that acts like a regular temperature sensor. I’ve attached an image below to give you a visual idea of how it looks in action. I hope this driver can be as helpful to others as it has been to me!

Let me know if you have any questions or suggestions for improvement. Happy automating! :blush: