Display Air Quality Report from AIRNOW.gov
This requests data from Airnow API.
##Preview
#include <WiFi.h> | |
#include <ESPmDNS.h> | |
#include <WiFiUdp.h> | |
#include <ArduinoOTA.h> | |
const char* ssid = "WIFI_SSID"; | |
const char* password = "WIFI_PASSWORD"; | |
const char * udpAddress = "192.168.10.6"; //IP TO SEND UDP Packets with Reading. (UDP so there is no need of a connection state) |
[root@ny4lpoms2] ~ # puppet agent --test | |
Info: Retrieving plugin | |
Info: Loading facts in /var/lib/puppet/lib/facter/postgres_default_version.rb | |
Info: Loading facts in /var/lib/puppet/lib/facter/iptables_version.rb | |
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb | |
Info: Loading facts in /var/lib/puppet/lib/facter/ip6tables_version.rb | |
Info: Loading facts in /var/lib/puppet/lib/facter/openlldp.rb | |
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb | |
Info: Loading facts in /var/lib/puppet/lib/facter/os_maj_version.rb | |
Info: Loading facts in /var/lib/puppet/lib/facter/gateway.rb |