Only one of two rules executed on System#Init #22102
Answered
by
shaman79
shaman79
asked this question in
Support request
-
Hi there,
The problem is that only first rule is getting executed as per serial log:
What am I missing here? |
Beta Was this translation helpful? Give feedback.
Answered by
shaman79
Sep 9, 2024
Replies: 1 comment 4 replies
-
Why not:
#define USER_RULE1 "ON System#Init DO Backlog: ThermostatModeSet 1 ;
SensorInputSet
1 ENDON"
El El vie, 6 set. 2024 a la(s) 07:34, shaman79 ***@***.***>
escribió:
… Hi there,
I have built Tasmota for thermostat using the recommended overrides as
follows:
`
#define USER_RULE1 "ON System#Init DO ThermostatModeSet 1 ENDON"
#define USER_RULE2 "ON System#Init DO SensorInputSet 1 ENDON"
#define USER_BACKLOG "Rule1 1; Rule1 4; Rule2 1; Rule2 4"
`
The problem is that only first rule is getting executed as per serial log:
12:23:10]00:00:00.619 RSL: POWER = OFF [12:23:10]00:00:00.743 RUL:
SYSTEM#INIT performs 'ThermostatModeSet 1' [12:23:10]00:00:00.751 RSL:
RESULT = {"ThermostatModeSet1":1} [12:23:10]00:00:00.040 WIF: WifiManager
active for 3 minutes
What am I missing here?
—
Reply to this email directly, view it on GitHub
<#22102>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACXBW4OOQAEA6ZR5LZD55EDZVGAMFAVCNFSM6AAAAABNYJ5TWCVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZXGE2DKNRUGU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It was a bit of trial snd error, but this works: