diff --git a/MYsecretsSample.yaml b/MYsecretsSample.yaml index 051c833..7f5c0da 100644 --- a/MYsecretsSample.yaml +++ b/MYsecretsSample.yaml @@ -1,8 +1,8 @@ MAIN: HOST: 10.10.90.10 # Broker IP Address Here PORT: 1883 # This needs to be a number, usually 1883 as the MQTT port for tcp access - USER: username # MQTT Username Here - PWD: password # MQTT User Password Here + USER: "username" # MQTT Username Here + PWD: "password" # MQTT User Password Here LOOP: 50 # This needs to be a number. Time in seconds for each loop. There are 6 sensors so each sensor will update ~this X 6. DEVICE_NAME: "TargetDevice" # CamelChaseCase friendlier name for device (Shorter is better, Device_ID will be added) AREA: "Basement" # The Default Home Assistant Area. Should match existing area in HA. diff --git a/ThermoPIFurnace.service b/ThermoPIFurnace.service index 687cd08..4ad4446 100644 --- a/ThermoPIFurnace.service +++ b/ThermoPIFurnace.service @@ -5,7 +5,7 @@ After=multi-user.target network.target [Service] User=pi Type=simple -ExecStart=/usr/bin/python3 /opt/ThermoPI-Furnace/furnace.py +ExecStart=/usr/bin/python3 /opt/ThermoPI-Furnace/furnace.py > /dev/null 2>&1 KillSignal=SIGINT Restart=always RestartSec=10