stjohnjohnson / smartthings-mqtt-bridge

Bridge between SmartThings and MQTT
https://hub.docker.com/r/stjohnjohnson/smartthings-mqtt-bridge/
MIT License
363 stars 242 forks source link

Doc improvement #174

Open johntdyer opened 5 years ago

johntdyer commented 5 years ago

On my machine I had to use the mac of the container not eth0. This wasnt really clear in the instructions so I thought it might be worth updating the docs.. I used the following command to get the MAC

docker inspect --format='{{.NetworkSettings.MacAddress}}' mqtt-bridge
andrewsayre commented 5 years ago

I assume you're talking about the config in the SmartApp? I guess it depends on how you've setup the network in docker and your containers. In my case, I have a private bridge network for mqtt-bridge, so using the container's mac won't work. I have to use the host's mac per the instructions.

Can you share how you've setup the container? I'm sure it can help others, but want to make sure the scenario it applies to is identified.