Added ability to load topics from a configuration file in the root directory. Dew point calculation seems to be off though.

This commit is contained in:
2021-10-17 18:24:36 -04:00
parent 3f78a53014
commit d8734913e0
8 changed files with 255 additions and 84 deletions

View File

@@ -4,11 +4,5 @@
"MQTT_PORT": "1883",
"MQTT_IDENTIFIER": "dewPoint-controller",
"MQTT_USERNAME": "mqtt_user",
"MQTT_PASSWORD": "secret!",
"DEHUMIDIFICATION_STAGE_1_RELAY": "relays/dehumidification_1",
"DEHUMIDIFICATION_STAGE_2_RELAY": "relays/dehumidification_2",
"DEW_POINT_TOPIC": "sensors/dew_point",
"HUMIDIFICATION_RELAY": "relays/humidification",
"HUMIDITY_SENSOR": "sensors/humidity",
"TEMPERATURE_SENSOR": "sensors/temperature"
"MQTT_PASSWORD": "secret!"
}