MQTT -Roller Shutter TASMOTA Dual R2

Everything about esp8266 and more.

Moderator: leecollings

Post Reply
skorc11
Posts: 12
Joined: Wednesday 24 October 2018 9:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

MQTT -Roller Shutter TASMOTA Dual R2

Post by skorc11 »

Hello,
i have dual R2 with tasmota FW- stefanbode patch.

Shutters are working and now i would like to send MQTT commands .

I created blinds percentage device .

Default Domoticz command :

10:02:12 MQT: stat/sonoff_dual_R2/RESULT = {"Command":"Unknown"}
10:02:45 Shutter unknown
10:02:45 MQT: stat/sonoff_dual/RESULT = {"Command":"Unknown"}

I have to send the percentage to shutterposition1 as a command- MQTT

Is this possible ?

U
Last edited by skorc11 on Sunday 11 November 2018 11:47, edited 1 time in total.
skorc11
Posts: 12
Joined: Wednesday 24 October 2018 9:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Roller Shutter TASMOTA Dual R2 MQTTupdate

Post by skorc11 »

Hello,

tasmota FW with StefanB patch is now working- based on svalue- slider is ok.

"idx":156,"nvalue":0,"svalue":"56","Battery":58,"RSSI":5

But NVALUE is always 0.

it should be 0,2,1.

nValue 0 and sValue 0 ==>> Closed
nValue 2 and sValue 2-99 ==>> partially opened
nValue 1 and sValue 100 ==>> Opened

Nvalue reads relay it is not as dimmer.. (1 when releay is ON-blind moving 0 when stopped)

Is it possible to change this in any way ?

U
salvacalatayud
Posts: 112
Joined: Monday 26 June 2017 21:16
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Spain
Contact:

Re: MQTT -Roller Shutter TASMOTA Dual R2

Post by salvacalatayud »

I'm interested in this project. But I even don't know how to install this firmware.

Anyone can help?

Thanks in advance
skorc11
Posts: 12
Joined: Wednesday 24 October 2018 9:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: MQTT -Roller Shutter TASMOTA Dual R2

Post by skorc11 »

Hello,

stefanbode is still working on FW.. I will post when it is done. Till now manual control with MQTT position is working perfect.
U
salvacalatayud
Posts: 112
Joined: Monday 26 June 2017 21:16
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Spain
Contact:

Re: MQTT -Roller Shutter TASMOTA Dual R2

Post by salvacalatayud »

skorc11 wrote:Hello,

stefanbode is still working on FW.. I will post when it is done. Till now manual control with MQTT position is working perfect.
U
Great news then.

Yesterday I flashed my sonoff touch and worked, after that unpluged it and today plugged again but it doesn't connect to wifi...

Enviado desde mi Mi A2 mediante Tapatalk

salvacalatayud
Posts: 112
Joined: Monday 26 June 2017 21:16
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Spain
Contact:

Re: MQTT -Roller Shutter TASMOTA Dual R2

Post by salvacalatayud »

My sonoff are t1 2ch, can't work for now.

I'll be waitning for it
salvacalatayud
Posts: 112
Joined: Monday 26 June 2017 21:16
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Spain
Contact:

Re: Roller Shutter TASMOTA Dual R2 MQTTupdate

Post by salvacalatayud »

skorc11 wrote: Sunday 11 November 2018 8:12 Hello,

tasmota FW with StefanB patch is now working- based on svalue- slider is ok.

"idx":156,"nvalue":0,"svalue":"56","Battery":58,"RSSI":5

But NVALUE is always 0.

it should be 0,2,1.

nValue 0 and sValue 0 ==>> Closed
nValue 2 and sValue 2-99 ==>> partially opened
nValue 1 and sValue 100 ==>> Opened

Nvalue reads relay it is not as dimmer.. (1 when releay is ON-blind moving 0 when stopped)

Is it possible to change this in any way ?

U
What kind of blind are you using to send % to the sonoff? I've tried with blinds percentaje and doesn't work
salvacalatayud
Posts: 112
Joined: Monday 26 June 2017 21:16
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Spain
Contact:

Re: MQTT -Roller Shutter TASMOTA Dual R2

Post by salvacalatayud »



I use node red to translate domoticz to tasmota mqtt, it sends a mqtt command, tasmota sends a status position, and node red updates the position back to Domotcz by http, then the shutter moves again to a diferent position, small movements. This happens a few times and then stops.

Any idea of how to deal with this?

Enviado desde mi Mi A2 mediante Tapatalk



AchilleTalon
Posts: 12
Joined: Wednesday 17 February 2021 9:28
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Contact:

Re: MQTT -Roller Shutter TASMOTA Dual R2

Post by AchilleTalon »

Sorry to "revive" an old topic, but apparently I can't send PMs yet.
I use domoticz and Shelly"s 2.5 with tasmota to control blinds, but I wasn't able to find a proper setup for tasmota (the "configure Domoticz" section): I'm still stuck with virtual buttons and a blockly script.
Could you please share the way you setup your tasmota module?
Thanks in advance.
User avatar
waltervl
Posts: 5149
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: MQTT -Roller Shutter TASMOTA Dual R2

Post by waltervl »

This plugin supports standard Shelly devices https://github.com/enesbcs/Shelly_MQTT

Tasmoticz perhaps also supports shutters (it is on the roadmap) https://github.com/joba-1/Tasmoticz
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
AchilleTalon
Posts: 12
Joined: Wednesday 17 February 2021 9:28
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Contact:

Re: MQTT -Roller Shutter TASMOTA Dual R2

Post by AchilleTalon »

waltervl wrote: Wednesday 26 May 2021 1:30 This plugin supports standard Shelly devices https://github.com/enesbcs/Shelly_MQTT

Tasmoticz perhaps also supports shutters (it is on the roadmap) https://github.com/joba-1/Tasmoticz
Thanks. I'll look into it. Shelly_MQTT seems to work fine for "standard" devices, but I'd like to use an already flashed Shelly 2.5 (already installed, I'd like not to have to take it out, reflash it, then put it back): Tasmoticz will hopefully be the solution.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest