I'm not interested in using MQTT as I don't need the status through the API, I'm only interested in using some charge commands so I tried running with DISABLE_MQTT=true
But it simply does not start, reading the code [1] shows that if MQTT is disabled it calls log.Fatalf this essentially logs and calls os.Exit(1) meaning disabling MQTT makes the applicationn unuseable, can you clarify if that is the intended behavior? If so maybe remove DISABLE_MQTT? otherwise change the log.Fatalf call.
I'm not interested in using MQTT as I don't need the status through the API, I'm only interested in using some charge commands so I tried running with
DISABLE_MQTT=true
But it simply does not start, reading the code [1] shows that if MQTT is disabled it calls
log.Fatalf
this essentially logs and callsos.Exit(1)
meaning disabling MQTT makes the applicationn unuseable, can you clarify if that is the intended behavior? If so maybe removeDISABLE_MQTT
? otherwise change thelog.Fatalf
call.[1] https://github.com/tobiasehlert/teslamateapi/blob/97541b3981e15b229d8c3b5a62aef141e468be22/src/webserver.go#L62C7-L62C13