This is a docker container image running ShellyForHASS proxy for Home Assisant component ShellyForHass
If you are running your Shelly devices on different VLAN or running Home Assistant in an emulated network environemnt on docker you can use this container to forward CoAP messages to ShellyForHASS Plugin.
- StyraHem.se for an awesome component to Home Assistant
- Shelly.cloud for awesome products
Variable | Description | Default |
---|---|---|
HASS_IP | IP of your home assistant to forward packages to | 127.0.0.1 |
HASS_PORT | Port for shelly in your home assistant | 5684 |
COAP_IP | Shelly CoAP multicast address | 224.0.1.187 |
COAP_PORT | Shelly CoAP multicast port | 5683 |
PROXY_DEBUG | Print debug logs | no |
Important to use --net host
$ docker run -dt \
--name shellyforhassproxy \
--hostname shelly_proxy \
--net host \
-e HASS_IP=127.0.0.1 \
-e HASS_PORT=5684\
-e COAP_IP=224.0.1.187 \
-e COAP_PORT=5683 \
-e PROXY_DEBUG=yes \
-l com.centurylinklabs.watchtower.enable='true' \
robostlund/shelly-for-hass-proxy:latest
If you are running Home Assistant in a docker container with network mode bridge, then you need to set HASS_PORT to like 5684 and add port to your Home Assistant container like: 5684:5683/udp