Now i want to set e rule to create the interlock.
Can you help me?
Glad I could help for the big problem!
What do you understand by an āinterlockā?
Both switches can be switched on/off with a single switch - item?
Unless you want to have the single switches as well, connecting both devices to one relay would do the job out off the box.
I explain you
I want to use the sonoff to command a blind.
I set from the tasmota the interlock ( i am not able to have both switches on).
-
Now iām not sure if is better to set interlock by the rule or by tasmota of sonoff.
-
Now i have a problem with the stat:
I have both switch off.
I switch on the 1.
Then i switch on the 2 and switch1 go off automatically
Then i switch on the switch1 and the switch2 on the sonoff go correcrltly to off but on openhab i donāt see the change
Please explain the functionality you want to achieve.
It is unclear if you want to the switches interlocked in order that only one of them is in ON.in this case the situation as written ( both are off) will not happen.
I want to raise or lower the shutter.
So i can have both to off but no both to on
At the moment from openhab i command the switches of the sonoff. The commands arrive correcrltly to the sonoff but the state in openhab is not always correct.
That might be a problem of the used state-topic. Tasmota sends a āstateā after each state-change, mostly the used state-topic subscribed to is this one. Additionally Tasmota sends a āteleā topic every 5 (default!) minutes, which includes the state of the relays. You could use that or even both messages to show the correct actual state.
For the problem to setup the switches for a blind Iād use a rule ( or two) triggering on the change of each relay to ON. But that is my personell opinion.
But iām not experience with the rules
You should recognize the amount of time and effort that @opus has spent to help with your original issue, not to mention the add-ons. Use the heart icon (by clicking on it) to give a like and show your appreciation.
Go to the post that answered/provided the solution to the original issue and click the square box to mark the topic as solved. This will help anyone else that may have similar issues find a quick solution.
Next, start reading the documentation on how to use rules. Start with something easy and once you have it working then move in the direction needed for whatever youāre wanting to do. If you have a rule that doesnāt work then start a new topic and post what you have. Someone will be glad to help but not many people will just simply write all your rules for you.
@fzonno Iām not trying to be mean in any way so please donāt misinterpret any of the above as so. This is a great community and helping each other is what itās all about. Just remember weāre all volunteers here and something as simple as a like (that heart icon) goes a long way. Closing this topic and starting a new one helps others find solutions easier. Example, if a topic has 150 post with multiple questions and answers itās unlikely that others will read beyond the first solution.
Thanks
Iām glad at Opus but to mark the post as resolved iām able to resolve the state.
Anyway I show my appreciation to Opius of course
I done it
Is it result?
You can click the icon on any post in any topic and once itās clicked you will see it turn red if your the one that clicked it. If itās grey with a number then someone else has given the post a like but you can still give it a like as well. When more likes are given on a post you will see the number increase.
If you look at your post above you will see that I gave it a like.
You can also click your picture (the green F in your case) and see the number of likes youāve received and give.
ok ok I have done
Iām not understand why the state doesnāt work if i set the interlock from Tasmota
Iām curious. How do set the interlock?
by the command āinterlock 1ā
Iām sorry but I donāt know this feature. Please ask in the Tasmota forum or GitHub.