forked from arendst/Tasmota
-
Notifications
You must be signed in to change notification settings - Fork 40
Domoticz integration
roondar edited this page Jul 24, 2019
·
5 revisions
( I suppose you already have a MQTT server installed, like mosquitto )
- You need to create a dummy Shutter module
- After we flash Tasmota, you need to configure the Sonoff DualR2 like this
- Nothing to add on Domoticz parameters.
- Module config:
- MQTT parameters:
-
You need to have Docker on your server. Follow the official guide and pick up your distribution https://docs.docker.com/install/linux/docker-ce/ After that you'll have docker command avaible.
-
Next you'll need have docker-compose command Follow this ghuide https://docs.docker.com/compose/install/
-
Install git command, it's depend of your distribution
cd shutter-domoticz
- Edit shutter.yml
- In mqtt section, you have to change host and port of Mosquito
mqtt:
host: '192.168.1.254'
port: 1883
- In shutters section, you need to add all your shutters with mqtt name and domoticz id (like in my example)
shutters:
- vr_salon: 1213
- Edit docker-compose.yml to change shutter.yml bold path TIP: you can use "pwd" command to know where you are.
volumes:
- '**/path/to/shutter.yml**:/usr/src/app/shutter.yml'
- Start your container
docker-compose up --build -d
It should be work.
To be completed