Local DNS Server on SynologyNAS to enable a proxy server for TSUN integration in HomeAssistant
April 6th, 2026 9:13 PM | by Alfred Markus Paar | Posted in Computer, Haus, SmartHome, Synology
Local DNS-Server on Synology NAS:
- Container Manager > Project > “Erstellen”:
- Projetname: adguardhome
- Pfad: /volume1/docker/adguardhome
- Select docker-compose.yml erstellen:
-
version: "3.8" services: adguardhome: image: adguard/adguardhome container_name: adguardhome network_mode: host restart: unless-stopped volumes: - /volume1/docker/adguardhome/work:/opt/adguardhome/work - /volume1/docker/adguardhome/conf:/opt/adguardhome/conf environment: - TZ=Europe/Vienna
-
TSUN Gen3 Proxy on Synology NAS:
- Container Manager > Registrierung > Search for : “sallius” and download “sallius/tsun-gen3-proxy” image
- Container Manager > Image > select “sallius/tsun-gen3-proxy” > Ausführen
- Containername: “tsun-gen3-proxy”
- Volumes:
- /docker/tsun-gen3-proxy/config > /home/tsun-proxy/config
- /docker/tsun-gen3-proxy/log> /home/tsun-proxy/log
- Environmental Variables:
- UID: (the one of admin)
- GID: (the one of admin)
- Netzwerk: host
- Create /volume1/docker/tsun-gen3-proxy/config/config.toml
- Copy/paste from the template: https://github.com/s-allius/tsun-gen3-proxy?tab=readme-ov-file#proxy-configuration
- ensure the following settings are in:
- [server]
host = “0.0.0.0”
port = 8899 - [mqtt]
host = ‘<NAS-IP>’
port = 1883
user = ‘tsun’
passwd = ‘tsun’ - fill in also serial no of interverter and datalogger:
- [inverters.”Y47….”] and monitor_sn = 2xxx
- Note: make sure to re-write the toml file to follow the […] notations!
- [server]
Router (FRITZ!Box 7590 AX) Setup:
- login to the router
- navigate to DNS-Server settings: Internet > Zugangsdaten > DNS-Server
- DNSv4-Server: “andere DNSv4-Server verwendenden”: <NAS-IP>
- keep DNSv6-Server settings as is
HomeAssitant Setup:
- Einstellungen > Geräte&Dienste > Integration hinzufügen > MQTT with <NAS-IP> (if not already done)
- “tsun-proxy von Stefan Allius” with some entities should automatically show up on MQTT device
Tagged DNS, Docker, HomeAssistant, NAS, Proxy, SmartHome, Synology, TSUN
Leave a Reply