This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from time import sleep | |
import weatherhat | |
from Adafruit_IO import Client, Feed, Dashboard, RequestError, AdafruitIOError | |
import json | |
import paho.mqtt.client as mqtt | |
import paho.mqtt.publish as publish | |
sensor = weatherhat.WeatherHAT() |
NewerOlder