Skip to content

robinostlund/docker-shelly-for-hass-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

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

About

Docker image running shelly proxy

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published