New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use Sonoff Dual for Rolling Shutters ? #721
Comments
You shloud look at this : #519 |
Thanks, but i can't find a working information. When i use the "Module":"Shutter" i can't control the Switch with MQTT or with web command: |
Module Shutter? |
I'm also looking for a shutter like function to replace my thermostat. Only I need 3 states: 1 idle (no relay), 2 heating (relay1), cooling (relay2). In idle state you can turn on relay1 or relay2. If relay1 is on, you can't turn on relay2. You always need to go in 'idle' state first or you should be able to switch between heating/cooling. My dual is on his way so I didn't play with it yet. |
Try:
In this way you will never get both relays ON |
Only as long as you don't press button on device or in Web gui or don't send MQTT command for one relay. |
Hi, "backlog power1 OFF;power2 ON In this way you will never get both relays ON" works perfect.
|
In the web interface select CONFIGURATION then CONFIGURE MODULE |
Thanks for this information, but i can't find the DESIRED GPIO pin on the print layout I would be glad if I could get the information, where I can connect the DHT sensor to the SONOFF Dual. Only then can I adjust the sonoff_template.h to get the sensor values. |
Read https://github.com/arendst/Sonoff-Tasmota/wiki/Sonoff-Dual Use RX pin for DHT |
Forget using Rx or Tx on a Sonoff Dual! Serial interface is being used by relay control. That's also a good reason not to use a Dual for interlocked motor control as you'll someday loose communication between the esp8266 and the relay controller and both relays will be on. I suggest to use something different for interlocked motor control. |
Many thanks for the information, but does this mean that I CAN NOT USE the SONOFF DUAL for a roller shutter? **Or just no DHT sensor ??? ** I also suspect the Sonoff T1: 1-3 Gang WiFi & RF 86 Type UK Smart Wall Touch Light Switch is not suitable for this? I would like a solution better than SONOFF DUAL. But also this product has in no interlocked mode. |
I will release global interlock starting with version 5.5.2k |
5.6.0 20170818 * Fix Sonoff Pow intermittent exception 0 * Change Sonoff Pow sending Domoticz telemetry data only * Add Ai-Thinker RGBW led (AiLight) (experimental) * Add NeoPixelBus library to Sonoff Led for Hue support * Add user configurable GPIO4 and GPIO5 to module Sonoff Bridge * Add Sonoff B1 RGBCW led support with command Color RRGGBBCCWW (#676) * Add command CT 152..500 to Sonoff Led and Sonoff B1 to control Color Temperature * Add Cold-Warm slider to web page for Sonoff Led and Sonoff B1 * Add CT parameter to Hue * Add Sonoff T1 support (#582) * Add AnalogInput0 if configured as Analog Input to webpage (#697, #746) * Add command SetOption14 0|1 to enable interlock mode (#719, #721) * Fix Mitsubishi HVAC IR power controll (#740)
Thanks, is working perfect. |
5.6.1 20170818 * Change module list order in webpage * Fix Sonoff T1 1CH and 2CH configuration (#751) * * 5.6.0 20170818 * Fix Sonoff Pow intermittent exception 0 * Change Sonoff Pow sending Domoticz telemetry data only * Add Ai-Thinker RGBW led (AiLight) (experimental) * Add NeoPixelBus library to Sonoff Led for Hue support * Add user configurable GPIO4 and GPIO5 to module Sonoff Bridge * Add Sonoff B1 RGBCW led support with command Color RRGGBBCCWW (#676) * Add command CT 152..500 to Sonoff Led and Sonoff B1 to control Color Temperature * Add Cold-Warm slider to web page for Sonoff Led and Sonoff B1 * Add CT parameter to Hue * Add Sonoff T1 support (#582) * Add AnalogInput0 if configured as Analog Input to webpage (#697, #746) * Add command SetOption14 0|1 to enable interlock mode (#719, #721) * Fix Mitsubishi HVAC IR power controll (#740)
Yep. |
Perfect, so i can order this... my Configuration for HA is:
Only the state is not working ?? |
Hi, I'm trying interlock mode with v5.6.1 and I can set Option14 via web interface. @arendst is there any future release that will integrate this option in the configuration, in memory? |
After change Option14 send a |
Thank you for your reply. I'll try it! EDIT: I tried to send
Correctly when i switch Power2 On, Power1 goes OFF
But when i restart Sonoff, settings are lost (I tried in sequence both switch):
|
interlock works great, thanks for the new release. Assume It takes 60secs for the shutter to run from fully open (100%) to fully closed (0%) I know, this method is not 100% precise, as "down" will most likely run a bit faster than "up", due to different load, but it should be much better than triggering relays from an external source as there are random latencies in the communication path. Auto re-calibration is simple: What do you think about it? |
Fyi, neither pulsetime time will be retained after shutdown and restart |
pulsetime lets you say how long an output should remain on before it turns off.
|
I know it @davidelang , but if I set a pulse time or interlock mode I'd like to retain those settings even after Sonoff restart, without the need to set them again. As I said, I tried to send 'savedata' or also 'savedata 1' to save settings on memory, without any results. |
If the pulsetime values are lost on reboot, please file a bug to fix that rather
than asking for a different way to do the same thing.
|
I never asked a different way to do the same thing. I just added some informations to this issue that can be correlated. Anyway, I opened bug issue #776, then I closed it. Shame on me: i uploaded minimal firmware and i forgot to upload then the normal version. |
Hi All, Sending the comand
in Console does not enable intelock mode |
Shutters change their radius while winding which leads to a exponential time-distance correlation. I suggest the following procedure:
Step 4 can be used to approximate variables for a exponential function. |
I need some clarification, I installed the latest version of Tasmota 5.12.0 and I would like to command my shutters with a dual sonoff R2. The first question I ask is: Can I control the dual R2 sonoff with two external buttons? I have configured the sonoff as Motor C / AC Module but I see that in the settings I can not assign anything to the buttons 1 and 2 .... Is it correct? if I send the following command from console to test and see if relay 1 automatically deactivates relay 2 when it does not work: 22:33:06 CMD: power2 on only the power1 on command is working. Sorry for the stupid questions but they are at the beginning .... Thank you all for the support! |
Hi everyone, Ex. Just want to make sure, before flashing my precious Sonoff T1 :) |
To respond to my own question, The firmware also work when you physically push the buttons. I just flashed my T1 and I know have an interlocking mode which make it impossible to have both buttons "on" in the same time. |
sorry guys, i dont follow the interlock mode, i cant find it anywhere, and can someone please past the HA configuration so only one button is pressed at one time. |
@rflx18 |
Yeah, to be more precise, you can use the following command in the console: Make sure the that the device does not reset this option on reboot. Shutter motors don't like to have both directions activated at the same time. Page for commands: https://github.com/arendst/Sonoff-Tasmota/wiki/Commands |
Thank you so much!!!!
It's been a long time since I could not go on with the project of my
automated blinds.
I tried the command you said and it works great.
Now the last question ..... how do I fix this option so that if you
had to restart my sonoff r2 do not lose this setting?
Thanks in advance for your support!
2018-05-01 12:26 GMT+01:00 KristerBC <notifications@github.com>:
… Yeah, to be more precise, you can use the following command in the console:
SetOption14 1
It will activate the interlock mode
Make sure the that the device does not reset this option on reboot.
Shutter motors don't like to have both directions activated at the same
time.
Page for commands: https://github.com/arendst/Sonoff-Tasmota/wiki/Commands
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#721 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Aj5R2G5SQZdOKydfj5KKJTMfo2KJGUkYks5tuEZUgaJpZM4O0m5R>
.
|
Great that this thread could help you out. In general, I think it should save the option automatically even after a restart and even a firmware upgrade via the web interface. For me, all my 5 T1s have kept the option on, despite manual firmware updates and without power during multiple hours(mine's are integrated in the walls). I just wanted to point it out, because during the flash of the first device, I had it powered using my programmer through USB and it did loose the setting sometimes. |
How can I proceed now that I have managed to make the sonoff fuse switches work and manage via ip from my phone using the web interface. |
@KristerBC Are you using the T1 to control your shutters? I am currently planning to change my shutter controls at home to sonoff switches, and the price difference between the "normal" dual (http://sonoff.itead.cc/en/products/sonoff/sonoff-dual) Version and the Touch Dual Version (http://sonoff.itead.cc/en/products/residential/sonoff-t1-eu) is not that much. This would add the nice capability to control the shutters through web interface or a "manual" switch. Thanks! |
@GeeBee93 Yes! I am using the T1 dual touch switches to control my shutters and they work perfectly with the interlock option(Option14) activated. My thought was exactly the same. I did not want the shutters to be unusable, if my Google Home or router stopped working. Also, if you have guests, they should not have difficulties knowing how to open/close the shutters. |
Hello everyone. I just found this very useful post. You´ve taken my hopes up again with this great firmware! Thanks a lot! @opendore: take a look at Home Assistant, you cam implement it in a RPi 3, and control all of your domotics from there. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem. |
5.6.0 20170818 * Fix Sonoff Pow intermittent exception 0 * Change Sonoff Pow sending Domoticz telemetry data only * Add Ai-Thinker RGBW led (AiLight) (experimental) * Add NeoPixelBus library to Sonoff Led for Hue support * Add user configurable GPIO4 and GPIO5 to module Sonoff Bridge * Add Sonoff B1 RGBCW led support with command Color RRGGBBCCWW (arendst#676) * Add command CT 152..500 to Sonoff Led and Sonoff B1 to control Color Temperature * Add Cold-Warm slider to web page for Sonoff Led and Sonoff B1 * Add CT parameter to Hue * Add Sonoff T1 support (arendst#582) * Add AnalogInput0 if configured as Analog Input to webpage (arendst#697, arendst#746) * Add command SetOption14 0|1 to enable interlock mode (arendst#719, arendst#721) * Fix Mitsubishi HVAC IR power controll (arendst#740)
5.6.1 20170818 * Change module list order in webpage * Fix Sonoff T1 1CH and 2CH configuration (arendst#751) * * 5.6.0 20170818 * Fix Sonoff Pow intermittent exception 0 * Change Sonoff Pow sending Domoticz telemetry data only * Add Ai-Thinker RGBW led (AiLight) (experimental) * Add NeoPixelBus library to Sonoff Led for Hue support * Add user configurable GPIO4 and GPIO5 to module Sonoff Bridge * Add Sonoff B1 RGBCW led support with command Color RRGGBBCCWW (arendst#676) * Add command CT 152..500 to Sonoff Led and Sonoff B1 to control Color Temperature * Add Cold-Warm slider to web page for Sonoff Led and Sonoff B1 * Add CT parameter to Hue * Add Sonoff T1 support (arendst#582) * Add AnalogInput0 if configured as Analog Input to webpage (arendst#697, arendst#746) * Add command SetOption14 0|1 to enable interlock mode (arendst#719, arendst#721) * Fix Mitsubishi HVAC IR power controll (arendst#740)
Hi folks, does anyone use Shelly2 for shutter/blinds control?
@arendst THX for the fabulous work here! Would be nice to integrate shutter/blinds für Shelly2 basically, cause it seems the whole world are buying them :-) |
Yes is correct!
Il giorno sab 24 mar 2018 alle ore 18:17 KristerBC <notifications@github.com>
ha scritto:
… Hi everyone,
In addition to opendore's question, I would like to know if the new
firmware also affects the physical buttons on the switch ?
Ex.
If relay1 is on and I touch relay2 manually... with my fingers on the wall
switch, will it then automatically turn relay1 of and relay2 on?
Just want to make sure, before flashing my precious Sonoff T1 :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#721 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Aj5R2IV9bX93JgtyfJqgsRoEcP_LtUEzks5thn-ZgaJpZM4O0m5R>
.
|
Great stuff! Can somebody post their config (also maybe the Homeassistant automations) so I can create my own? Many thanks! |
Any updates on this one? Available in Homekit? |
@Swabeats This issue is very old. Please, check the docs (http://tasmota.com) because now Tasmota supports rolling shutters. Thanks. |
First of all, thank you for the great firmware. I flashed my sonoff dual
and am very pleased with how everything works.
I try to set the SwitchMode (shutter1up/shutter1down, shutter2up/shutter2down)
but i do not work. It very importent that never bouth relais will
be switched on at same time.
12:48:44 CMND: SwitchMode=2
12:48:44 MQTT: stat/SD001/RESULT = {"Command":"Unknown"}
Also the Web Command to nothing ?
http://sonoff/cm?cmnd=Power%20On
http://sonoff/cm?cmnd=Power1%20On
Any advice for the GPIOs for the Dual to add a DHT22 Sensor ?
The text was updated successfully, but these errors were encountered: