--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/c71d641b-d2c8-4f44-b52b-babf419924d8n%40googlegroups.com.
dump out all the Option flags?
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/CANgsbDUQgxxOXFeBqP9%2B3mW49heejxygb_KQBkhx95Zcu2XuKQ%40mail.gmail.com.
There isn’t a rules1 ? command. The command without a parameter lists the rule so
Rule0 will list all rules
Rule1 will list the content of rule1
Regards
Phil K
Sent from Mail for Windows 10
From: smill...@gmail.com
Sent: 28 January 2021 13:53
To: TasmotaUsers
Subject: Re: Display Tasmota Rules??
Yes, "rules1 ?" worked for me. Thank you. I did not try the other variants yet. It would be helpful if these were listed in the documentation on the web. I was using the link
I don't find the ? option detailed there.
I am copying and pasting my rules from a text file into the console. The problem is I suspect my at least one of my rules might be too long. When I run "rule2 ?" it prints most of the rule and then prints a ". It does not have all the text. Still need to troubleshoot that. I tried trimming down this rule, but so far have not been able to get it to fire. It is a spare time at home project and my time is kind of short now, so I don't get alot of time to debug.
Thanks for the help.
On Wednesday, January 27, 2021 at 6:13:35 PM UTC-6 knowles...@gmail.com wrote:
A good idea is to write the rules into notepad (or another text editor) and then copy and paste into Console. You can easily tweak the rules and can spot obvious typos .
You can also type rule0 to get a list of all rules and/or list individual rules and copy and paste into notepad to fix errors.
Regards
Phil K
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/e5c5e1d0-a08b-4006-bc46-8efe7d125614n%40googlegroups.com.
The rules ‘float’ in that the space can be allocated across rulesets and, with compression, unless your rules are very long you shouldn’t run out of space. If the text is very long you could use rule1+ to append part of rule to a previous one.
From: smill...@gmail.com
Sent: 28 January 2021 13:53
To: TasmotaUsers
Subject: Re: Display Tasmota Rules??
Yes, "rules1 ?" worked for me. Thank you. I did not try the other variants yet. It would be helpful if these were listed in the documentation on the web. I was using the link
I don't find the ? option detailed there.
I am copying and pasting my rules from a text file into the console. The problem is I suspect my at least one of my rules might be too long. When I run "rule2 ?" it prints most of the rule and then prints a ". It does not have all the text. Still need to troubleshoot that. I tried trimming down this rule, but so far have not been able to get it to fire. It is a spare time at home project and my time is kind of short now, so I don't get alot of time to debug.
Thanks for the help.
On Wednesday, January 27, 2021 at 6:13:35 PM UTC-6 knowles...@gmail.com wrote:
A good idea is to write the rules into notepad (or another text editor) and then copy and paste into Console. You can easily tweak the rules and can spot obvious typos .
You can also type rule0 to get a list of all rules and/or list individual rules and copy and paste into notepad to fix errors.
Regards
Phil K
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/e5c5e1d0-a08b-4006-bc46-8efe7d125614n%40googlegroups.com.