Always show time and info

Dm114

Well-known member
Pay attention to the constraint, because if the phone is charged after 22:00 the first trigger does not fired; if it is removed from the charge before 6:00 the second trigger does not fired
As I have no wireless charging device, do you think charging connection it off when charge is complete or does it remain in a stand by state like with wired chargers?
 

Dm114

Well-known member
It operates the same as a wired charger
Do you mean wireless connection is not interrupted when device is 100% charged?

Anyway you can use my last suggestion about triggers: it's safer (and "wiser") that the original ones, based on time. 😉
 

nickelbox

New member
Do you mean wireless connection is not interrupted when device is 100% charged?

Anyway you can use my last suggestion about triggers: it's safer (and "wiser") that the original ones, based on time. 😉

If I am reading your trigger correctly, it's discontinuing power to the phone from the wireless charger from 06:00 to 22:00?
 

Qarboz

Well-known member
How would I fix this?
It depends on what you attach more importance to.
That is, do you prefer the mode activate imperatively at 22:00 even if the charger is not connected, or should it activate only when the charger is connected? Or the mode activate when it's 22:00 or the charger is connected?
 

Dm114

Well-known member
If I am reading your trigger correctly, it's discontinuing power to the phone from the wireless charger from 06:00 to 22:00?
No, the 2nd trigger means (if you keep same actions and IF logic as earlier in this thread) that, whatever the time of day (even by night) if power is disconnected (picked up from the wireless charger of power outage) you'll set ...doze... to 0.
 

nickelbox

New member
No, the 2nd trigger means (if you keep same actions and IF logic as earlier in this thread) that, whatever the time of day (even by night) if power is disconnected (picked up from the wireless charger of power outage) you'll set ...doze... to 0.
Great. Should I put that before or after my current triggers?
 

Dm114

Well-known member

You still haven't deleted the global constraint "Power connected" in green at the bottom of the screen nor have gathered the 2 IF...ENDIF in one IF Trigger1... ELSE... ENDIF
 

nickelbox

New member

You still haven't deleted the global constraint "Power connected" in green at the bottom of the screen nor have gathered the 2 IF...ENDIF in one IF Trigger1... ELSE... ENDIF

Are you referring to this?

IF Trigger1 fires
SET ...doze... = 1
ELSE
SET ...doze... = 0
ENDIF

I removed the global constraint and attempted to correct my actions but am not sure what the next step is. Here is what I have currently:

Screenshot_20230809-073806 (1).png


Which option do I select to continue?



Screenshot_20230809-073800 (1).png
 

Endercraft

Moderator (& bug finder :D)
Screenshot_20230808-220732.png
You should use this but just remove the green constraint at the bottom.
Make sure you have the helper installed.
 

Dm114

Well-known member
Are you referring to this?

IF Trigger1 fires
SET ...doze... = 1
ELSE
SET ...doze... = 0
ENDIF

I removed the global constraint and attempted to correct my actions but am not sure what the next step is. Here is what I have currently:

View attachment 6378


Which option do I select to continue?



View attachment 6379
Yes exactly this:
IF Trigger1 fires
SET ...doze... = 1
ELSE
SET ...doze... = 0
ENDIF

Select End If statement, then Add action above with System setting = 1
Then select If statement, then Add else clause and, again System setting = 0.
 
Top