plant-badger/src/secrets_template.py

18 lines
539 B
Python

# Rename or copy to secrets.py and edit the values
# Wi-Fi
SSID = ""
PASS = ""
COUNTRY = ""
# Home Assistant
HA_ACCESS_TOKEN = ""
HA_BASE_URL = "http://home-assistant.local:8123/api"
HA_PLANT_ID = "plant.plant_name"
HA_PLANT_MOISTURE_SENSOR = "sensor.plant_name_moisture"
HA_PLANT_TEMPERATURE_SENSOR = "sensor.plant_name_temperature"
HA_PLANT_CONDUCTIVITY_SENSOR = "sensor.plant_name_conductivity"
HA_PLANT_ILLUMINANCE_SENSOR = "sensor.plant_name_illuminance"
REFRESH_INTERVAL_MINUTES = 60 # Max 255
ERROR_REFRESH_INTERVAL_MINUTES = 30