[NodeRed], Shelly 2.5 tasmota shutter <-> Domoticz
Posted: Thursday 28 May 2020 21:15
Update 29-05-2020: Go to post 8, for the working flow. If only using domoticz/tasmota controle, no switch input on device
The flow on 29-05-2020 doesn't work when you use switch input on the device.
=================================================================================================
The Original post, where the thread started with;
I got very stuck with a shelly 2.5, which is flashed with tasmota en setup as shutter device.
It works on the webpage of the device. But can't control it by domoticz.
The tasmota has a domoticz setup page. But this doesn't work for the shutter.
When i use it for the shutter, the shutter closes and after that immediatly it opens.
Now i wanted to try it with node-red. I thoughed i found a good instruction how to use it.
Installed node-red and imported the flow. But got an error. Found out that the response of a JSON was not complete.
Changed it to 1 device which state is asked, but than other errors popped-up
But how to fix i don't know.
Therefor i googled for idea's how to start getting knowledge of node-red. But it is a pain in the ***
I can't find good examples which works with the basic of domoticz/out mqtt payload.
Found enough info, but i think it is to much info that i don't know where to start.
I am hoping somebody here knows how Node-red works and can help me.
It isn't that i am searching for a finished flow (but that wouldn't be a problem
), but to get me on the way to a solution.
What do i like to make:
- Shelly 2.5 puts it's state to mqtt. When controlled the state looks like this, and i want to update a domoticz dummy device with the position info
- When domoticz slider is changed, i want to that to position of the shelly is moved to the svalue of the dummy
Can somebody please help me, or give me some links where usefull information for this question can be found?
The flow on 29-05-2020 doesn't work when you use switch input on the device.
=================================================================================================
The Original post, where the thread started with;
I got very stuck with a shelly 2.5, which is flashed with tasmota en setup as shutter device.
It works on the webpage of the device. But can't control it by domoticz.
The tasmota has a domoticz setup page. But this doesn't work for the shutter.
When i use it for the shutter, the shutter closes and after that immediatly it opens.
Now i wanted to try it with node-red. I thoughed i found a good instruction how to use it.
Installed node-red and imported the flow. But got an error. Found out that the response of a JSON was not complete.
Changed it to 1 device which state is asked, but than other errors popped-up
But how to fix i don't know.
Therefor i googled for idea's how to start getting knowledge of node-red. But it is a pain in the ***
I can't find good examples which works with the basic of domoticz/out mqtt payload.
Found enough info, but i think it is to much info that i don't know where to start.
I am hoping somebody here knows how Node-red works and can help me.
It isn't that i am searching for a finished flow (but that wouldn't be a problem

What do i like to make:
- Shelly 2.5 puts it's state to mqtt. When controlled the state looks like this, and i want to update a domoticz dummy device with the position info
Code: Select all
stat/DZ_SH_A/RESULT : msg.payload : string[54]
"{"Shutter1":{"Position":64,"Direction":0,"Target":64}}"
Code: Select all
domoticz/out : msg.payload : string[272]
"{↵ "Battery" : 255,↵ "RSSI" : 12,↵ "description" : "",↵ "dtype" : "Light/Switch",↵ "id" : "0001426C",↵ "idx" : 540,↵ "name" : "Shelly-Aukje",↵ "nvalue" : 2,↵ "stype" : "Switch",↵ "svalue1" : "58",↵ "switchType" : "Blinds Percentage",↵ "unit" : 1↵}↵"