fix: setpoint clamp, thread safety, error handling, real-time kWh counters; cleanup repo
This commit is contained in:
+3
-2
@@ -20,5 +20,6 @@ topic_bat_consumption = topic_base + 'actual_consumption'
|
||||
#battery packs
|
||||
topic_batpack_soc = topic_base + '{}_soc' + topic_state_postfix
|
||||
|
||||
broker="10.2.0.15"
|
||||
port=1883
|
||||
import os
|
||||
broker=os.environ.get("CHARGEMAN_MQTT_BROKER", "10.2.0.15")
|
||||
port=int(os.environ.get("CHARGEMAN_MQTT_PORT", "1883"))
|
||||
|
||||
Reference in New Issue
Block a user