-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Shutter Code Stat Message and Rules #6535
Comments
The rules issue Sonoff-Tasmota 6.6.0.14 by Theo Arends 21:59:01 CMD: rule1 Sonoff-Tasmota 6.6.0.14 stb-1.11 by Theo Arends 21:58:44 CMD: rule1 |
Please, complete the template. What is your issue? |
The issue with the stat message from the merged code is incorrect. 21:53:48 MQT: stat/myplace/house/master_bed1/RESULT = {"ShutterClose2":0} The issue with Rule on the merged code is it doesn't trigger. |
is this in the Tasmota branch being enhanced with the shutter feature or in Stefan's fork? |
Yes Mike. I'll work on it once I find the time... |
Fix ShutterClose Index display (#6535)
Regarding rules, the message has changed so you will need to update your rule to trigger on the correct message syntax. Original message:
New message:
So just update your rule to handle the new message syntax. |
I can see it now and the rules are confirmed as working, thanks. 23:28:45 MQT: tele/myplace/house/master_bed1/RESULT = {"Shutter1":{"Position":100,"direction":0}} |
Great! Closing this issue as it has been fixed. |
The stat message is fixed? I'll recompile and test. |
BUG DESCRIPTION
A clear and concise description of what the bug is.
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
FAILURE TO COMPLETE THE REQUESTED INFORMATION WILL RESULT IN YOUR ISSUE BEING CLOSED
Backlog Template; Module; GPIO
:Backlog Rule1; Rule2; Rule3
:Status 0
:(Please use
weblog 4
for more debug information)TO REPRODUCE
Steps to reproduce the behavior:
The issue with the stat message from the merged code is incorrect.
21:53:48 MQT: stat/myplace/house/master_bed1/RESULT = {"ShutterClose2":0}
vs
21:53:24 MQT: stat/myplace/house/master_bed2/RESULT = {"shutterclose1":0}
The issue with Rule on the merged code is it doesn't trigger.
EXPECTED BEHAVIOUR
A clear and concise description of what you expected to happen.
Stat message is correct
Rules Trigger
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
ADDITIONAL CONTEXT
Add any other context about the problem here.
Sonoff-Tasmota 6.6.0.14 by Theo Arends
21:53:48 CMD: shutterclose1
21:53:48 SHT: Start shutter in direction -1
21:53:48 MQT: stat/myplace/house/master_bed1/RESULT = {"POWER2":"ON"}
21:53:48 MQT: stat/myplace/house/master_bed1/POWER2 = ON
21:53:48 MQT: stat/myplace/house/master_bed1/RESULT = {"ShutterClose2":0}
Sonoff-Tasmota 6.6.0.14 stb-1.11 by Theo Arends
21:53:24 CMD: shutterclose
21:53:24 Start shutter in direction -1
21:53:24 MQT: stat/myplace/house/master_bed2/RESULT = {"POWER2":"ON"}
21:53:24 MQT: stat/myplace/house/master_bed2/POWER2 = ON
21:53:24 MQT: stat/myplace/house/master_bed2/RESULT = {"shutterclose1":0}
(Please, remember to close the issue when the problem has been addressed)
The text was updated successfully, but these errors were encountered: