Comments (22)
Setoption80 1
Not
Setoption80=1
from sonoff-tasmota.
Hi, yes it will work with all kind of ESP8266 like all the other functions. Regarding multiple shutters I will give it a try. I already know that there are sideeffects because not all user variables can be indexed and assigned to the correct shutter without making troumendous changes in the mastercode. Anyhow I assume that shutter with motors ON/OFF will work fine. Only the ones like Bigi uses with momentary motors that get their command through pulses are more than difficult.
from sonoff-tasmota.
Updated up to 4 shutter support. Crazy stuff. You can give it a try. Please see the wiki how to enable it. Default is ONE shutter.
from sonoff-tasmota.
Thanks ! 👍 I will try it later.
from sonoff-tasmota.
Maybe I do something wrong, I dont get it compiled
Error:
sketch\user_config.h:363:34: fatal error: user_config_override.h: No such file or directory
#include <user_config_override.h>
But I see this files in the Arduino IDE
from sonoff-tasmota.
You can comment this out if you don’t have your own configuration for compile
from sonoff-tasmota.
Now Tasmota is working :) But when I enter the Command: SETOPTION80=1
I get:
00:02:33 CMD: SETOPTION80=1
00:02:33 MQT: stat/RolloESP01/RESULT = {"Command":"Unknown"}
from sonoff-tasmota.
This is more than strange. Please check the information page if the update was really successful. Version and the Compiler time must be today evening
from sonoff-tasmota.
OMG 👍 Its working. Thanks ! I have set the SHUTTEROPENDURATION and SHUTTERCLOSEDURATION to 20 sec. But with a stopwatch I get 21 and something. Is that normal ?
from sonoff-tasmota.
No this is not as it should work. The time should be quite accurate, but let me double check. There are sometimes blocking procedures on the ESP that may cause the problem. We will not see this problem on the ESP32, but the 8266 with its single processor...
from sonoff-tasmota.
Thank you very much for this interesting observation. The Every50ms function from TASMOTA is based on the millis() function and this one gets halted during normal operation several times. E.g. to communicate with MQTT and other stuff.
This effect depends on several factors and is neither stable nor predictable. I started with a calibration, but because the process itself is not stable 2-3 sec per minute this does not solve the problem. Now there is a new implementation based on interrupts. This looks for me very accurate on all the time definitions.
from sonoff-tasmota.
Now its on point. Something else, I noticed that when you press a button (like they are on a Sonoff 4CH) and its not the one that is on at this moment, the other one truns off (thats great) but then the one you pressed truns on for half a sec. I think thats not very healthy for the motor.
from sonoff-tasmota.
Which mode did you use? With pulsetimer? The expected behavior is that the motor stop and go to the direction you indicated with the Switch. Please check if you have set SWITCHMODE to 4 or 3. The switch must be OFF not pressed and ON if pressed. If it operates the other way around what you see is likely. You have to set switchmode to all switches for the shutter.
from sonoff-tasmota.
I used this:
Normal Operation (relay1 OFF/DOWN, relay2 OFF/UP), SETOPTION14 1, SETOPTION81 1, No PULSETIME
So without Pulsetimer. (I have not set one)
00:06:18 CMD: pulsetime
00:06:18 MQT: stat/RolloESP01/RESULT = {"PulseTime1":"0 (Active 0)"}
I have set Switchmode 4. But it does still not change the direction. It just turns on for half a sec. I noticed the same if the shutter is closed for example. If you press the close button, it turns on for half a sec.
from sonoff-tasmota.
you have to look at the STATUS messages. There you can see the status of the SWITCHES. These must be OFF in normal mode and be ON if you press them. As mentioned before, the behavior you describe match to a switch being ON and going OFF during a press. Please provide a detailed log file if you cannot fix it. I will have a look at what and why happens.
from sonoff-tasmota.
22:49:36 MQT: tele/RolloESP01/STATE = {"Time":"2018-07-20T22:49:36","Uptime":"0T01:15:16","Vcc":3.556,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","POWER4":"OFF", "Wifi":{"AP":1, "SSId":"Home", "RSSI":46, "APMac":"82:2A:A8:D4:79:6D"}, "DeepSleep":0, "Heap":15280}
22:49:36 MQT: tele/RolloESP01/SENSOR = {"Time":"2018-07-20T22:49:36","SHUTTER-0":32,"SHUTTER-1":0}
22:53:39 MQT: stat/RolloESP01/RESULT = {"POWER1":"ON"}
22:53:39 MQT: stat/RolloESP01/POWER1 = ON
22:53:40 Shutter 0: Real Pos: 13800, Target 40000, source: Shutter, pos %: 32, direction: 1, rtcshutter: 8
22:53:41 Shutter 0: Real Pos: 15900, Target 40000, source: Shutter, pos %: 32, direction: 1, rtcshutter: 29
22:53:42 Shutter 0: Real Pos: 17900, Target 40000, source: Shutter, pos %: 32, direction: 1, rtcshutter: 49
22:53:43 Shutter 0: Real Pos: 19900, Target 40000, source: Shutter, pos %: 32, direction: 1, rtcshutter: 69
22:53:44 Shutter 0: Real Pos: 21900, Target 40000, source: Shutter, pos %: 32, direction: 1, rtcshutter: 89
22:53:45 Shutter 0: Real Pos: 23900, Target 40000, source: Shutter, pos %: 32, direction: 1, rtcshutter: 109
22:53:46 Shutter 0: Real Pos: 25900, Target 40000, source: Shutter, pos %: 32, direction: 1, rtcshutter: 129
22:53:46 MQT: stat/RolloESP01/RESULT = {"POWER1":"OFF"}
22:53:46 MQT: stat/RolloESP01/POWER1 = OFF
22:53:46 MQT: stat/RolloESP01/RESULT = {"POWER2":"ON"}
22:53:46 MQT: stat/RolloESP01/POWER2 = ON
22:53:46 MQT: stat/RolloESP01/RESULT = {"POWER2":"OFF"}
22:53:46 MQT: stat/RolloESP01/POWER2 = OFF
22:53:47 MQT: stat/RolloESP01/RESULT = {"POWER1":"OFF"}
22:53:47 MQT: stat/RolloESP01/POWER1 = OFF
If you need more detail, I can send a video.
from sonoff-tasmota.
In the beginning I see in the status line no information for switches. I expect here switch1 and switch2. Also there is nothing visible why at the end the relay goes on. Seriallog 5 may help to get more info. Please verify that in Configuration page you have assigned switch1 and 2 to a GPIO
from sonoff-tasmota.
One addition that might explain something. Is the shutter is closed alread and you hit the close switch for sure the motor will start because this is Tasmota Standard functionality I cannot jump in. The buttons are always first executed before my code come into action. The only thing I can do is switching off the relay immediately. As long as it is not fully closed or fully open everything should be fine. If you send the commands through MQTT or something there should be no side effect. This should work 100%. Maybe a swichtoption that decouple the switch from the relay will solve this issue. But this is something i need to test very intensive.
SwitchTopic=2 Seems to disable the junction between relay and switch. Maybe this is an idea.
from sonoff-tasmota.
Is there a way to command the shutters without the seperate toptics ? Something like: cmnd/homeassistant/action Message: UP/DOWN/STOP
from sonoff-tasmota.
You can use the standard command “backlog” and then send the different messages. How to use this is described in the Wiki of the original firmware
from sonoff-tasmota.
is'nt the backlog commend for sending multible commands at once ? Maybe I did not express myself correctly.
In your example for Homeassistatant you're using
cmnd/tapparellaStudio/shutteropen
cmnd/tapparellaStudio/shutterclose
cmnd/tapparellaStudio/shutterstop
But there is a MQTT Cover component in Home Assistant. Where you can only use one "command" topic for Up Down Stop.
Like cmnd/sonoff/shutter1 Message: UP
Maybe im just blind, but what do I need to enter for shutter1
from sonoff-tasmota.
cmnd/sonoff/shutter1/backlog Message: shutteropen
from sonoff-tasmota.
Related Issues (20)
- SetOption80 1 HangUp the Device HOT 13
- Can´t connect to WIFI after upload your Firmware HOT 2
- SHUTTER50PERCENT not work HOT 7
- Erratic Behaviour when Slow Blinds - includes fix HOT 1
- Dim the lights in the switch? HOT 6
- Shutter dead time support HOT 11
- Vcc in state HOT 3
- Alexa Dimming doesnt work HOT 4
- PCF8574 on master HOT 2
- PCF8574: ports on at startup HOT 9
- MQTT Report during movement HOT 1
- DeepSleep consumption HOT 1
- MQT: TLS connection error: 0 HOT 4
- Calibration 2nd shutter HOT 1
- Shutter with LC-TECH X2 in mode 1 allows changing direction without power removal HOT 5
- MQT: TLS connection error: 0 HOT 1
- Mq sensor
- Sonoff touch TX T3 Us
- upgrading from Sonoff-Tasmota 6.5.0.11 stb-1.5 by Theo Arends HOT 7
- Shutter - inverse mode - slider not correct HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sonoff-tasmota.