Chapter 6Lighting the Weather
In Chapter 4, Networking a Temperature Monitor, we created a network-enabled temperature probe to report current temperature conditions. While we could use that same approach for monitoring outdoor temperatures as well, the Pico W would need to be shielded in a weather-resistant case. If the external temperatures became extreme, the Pico W might permanently fail. Fortunately, enough external temperature sensors are already monitoring outdoor weather conditions. We can simply poll available APIs for JSON payloads containing current weather condition values. But rather than simply report the number, we can use colored bulb lighting to visually indicate whether it’s cold, comfortable, or hot outside. We’ll send ...
Get Automate Your Home Using Go now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.