This file contains 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
# Example of reading sensor information from Home assistant | |
# and sending it to the brewers friend API | |
# | |
# Set this script to transmit data to Brewers friend every 30 minutes by adding | |
# this line to your crontab, | |
# | |
# */30 * * * * /usr/bin/python3 /<PATH TO YOUR SCRIPT>/send_to_brewersfriend.py | |
# | |
from requests import get, post |