The idea is to remove the prerequired step of obtaining MQTT credentials by a bash script. Python can do extraction logic. Environment variables MQTT_USERNAME and MQTT_PASSWORD will be changed to ECOFLOW_USERNAME and ECOFLOW_PASSWORD. I'd like to know the potential limitations of the number of mobile applications on EcoFlow's backend side since each new docker run will generate new MQTT credentials. Another option is to use MQTT_USERNAME and MQTT_PASSWORD in case the env vars are exists. Otherwise, MQTT credentials will be printed to STDOUT
The idea is to remove the prerequired step of obtaining MQTT credentials by a bash script. Python can do extraction logic. Environment variables
MQTT_USERNAME
andMQTT_PASSWORD
will be changed toECOFLOW_USERNAME
andECOFLOW_PASSWORD
. I'd like to know the potential limitations of the number of mobile applications on EcoFlow's backend side since each new docker run will generate new MQTT credentials. Another option is to useMQTT_USERNAME
andMQTT_PASSWORD
in case the env vars are exists. Otherwise, MQTT credentials will be printed toSTDOUT