adjusted shutdown timer
This commit is contained in:
2
main.py
2
main.py
@@ -7,7 +7,7 @@ load_dotenv()
|
|||||||
|
|
||||||
ntfy_token = os.environ['NTFY_Token']
|
ntfy_token = os.environ['NTFY_Token']
|
||||||
device_name = os.environ['device_name']
|
device_name = os.environ['device_name']
|
||||||
shutdown_timer = 10
|
shutdown_timer = 30
|
||||||
|
|
||||||
with serial.Serial(device_name, 115200, timeout=1) as ser:
|
with serial.Serial(device_name, 115200, timeout=1) as ser:
|
||||||
inverter_offline_counter = 0
|
inverter_offline_counter = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user