Sign inSign up

robostlund/shelly-for-hass-proxy

By robostlund

Updated about 5 years ago

Shelly For Hass Proxy

Image
1

10K+

robostlund/shelly-for-hass-proxy repository overview

Shelly For Hass Proxy Container

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.

Thanks to

Installation

Environment Variables

VariableDescriptionDefault
HASS_IPIP of your home assistant to forward packages to127.0.0.1
HASS_PORTPort for shelly in your home assistant5684
COAP_IPShelly CoAP multicast address224.0.1.187
COAP_PORTShelly CoAP multicast port5683
PROXY_DEBUGPrint debug logsno

Start ShellyForHassProxy container:

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
Home Assistant

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

Tag summary

Content type

Image

Digest

Size

17.3 MB

Last updated

about 5 years ago

docker pull robostlund/shelly-for-hass-proxy