Forums

MQTT Bridge

MQTT Bridge

Hi folks,

Just got my Solar/Powerwall setup, and starting to hack things together.

I noticed many folks want the same control outside the app - so I spent some time today trying to see how this all works.

Feel free to check out:
https://hub.docker.com/r/terafin/mqtt-tesla-bridge/

I'm just doing this per personal fun/usage, but happy to take feedback/pull requests etc :) (It's still very rough, only 6 hours and counting)

Long short:
• Can set reserve mode via MQTT
• Can set reserve % via MQTT
• Can be updated with stats via MQTT

vlad_kalish | 13. huhtikuu 2018

I tried your docker image (with correct values for env vars), but it didn't work:
sudo docker run terafin/mqtt-tesla-bridge -e TOPIC_PREFIX="/tesla" -e TESLA_USERNAME="bob@joe.com" -e TESLA_PASSWORD="***" -e MQTT_HOST="mqtt://mymqtt.local.address"
docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"-e\": executable file not found in $PATH": unknown.

I am new to using docker images, so perhaps I am not doing something correctly?

vlad_kalish | 24. huhtikuu 2018

Ok, I learned how to use docker images.
Seems like you are not sharing what exactly you are copying from PWD to /usr/node_app:

COPY . /usr/node_app