KWGT forgets variables

420

Active member
After some time (it was 6 days this time) the variables that i passed to KWGT become empty, and it really messes up my widgets big time!

All i could find about this were these 2 questions from 2017;



I would like to ask if anyone else is having this problem, and if there is anything i can do to prevent this from happening?

I could go and edit my macro's in a way where they periodically re-send the variables, but i'd rather not have to do all that..
 

Dm114

Well-known member
After some time (it was 6 days this time) the variables that i passed to KWGT become empty, and it really messes up my widgets big time!

All i could find about this were these 2 questions from 2017;



I would like to ask if anyone else is having this problem, and if there is anything i can do to prevent this from happening?

I could go and edit my macro's in a way where they periodically re-send the variables, but i'd rather not have to do all that..
I also use KWGT and have no problem passing variables from MD. But I switch off my device every night and boot every morning. So, maybe it's the reason why I don't have any issue... 🤔
 

420

Active member
I also use KWGT and have no problem passing variables from MD. But I switch off my device every night and boot every morning. So, maybe it's the reason why I don't have any issue... 🤔
Hmm... thank you for sharing, i tried rebooting and it actually forgot another variable even though that one had been updated only hours before!

My phone has been giving me warnings lately that the memory is getting full, only 1,5GB left, maybe this has something to do with it...?


I've taken a screenshot to show the problem (sorry for my poor drawing skills :ROFLMAO: )

On the second light it should show the % of brightness and the current mode, and on the fan it should also show the current mode under it, and those 2 arrows should be green. (indicating that the swing is on)


Screenshot_20210913-073530.png
 

Dm114

Well-known member
Hmm... thank you for sharing, i tried rebooting and it actually forgot another variable even though that one had been updated only hours before!

My phone has been giving me warnings lately that the memory is getting full, only 1,5GB left, maybe this has something to do with it...?


I've taken a screenshot to show the problem (sorry for my poor drawing skills :ROFLMAO: )

On the second light it should show the % of brightness and the current mode, and on the fan it should also show the current mode under it, and those 2 arrows should be green. (indicating that the swing is on)


View attachment 958
For the brightness, I guess you send the value from MD to KWGT via a MD variable.
But for the fan mode, how do you collect the info in MD?

What you could do would be to check (with a pop-up message, for instance) what are the values of these variables when you notice they are not up-to-date in KWGT.
 

420

Active member
For the brightness, I guess you send the value from MD to KWGT via a MD variable.
But for the fan mode, how do you collect the info in MD?

What you could do would be to check (with a pop-up message, for instance) what are the values of these variables when you notice they are not up-to-date in KWGT.
How i get the fan mode is simply by only controlling it through macrodroid, everytime the macro runs it goes to the next mode. (see the screenshot below)

Yeah one of the posts in those links mentioned that tasker might be sending blank values to KWGT (I think your suggesting that macrodroid might be doing that aswell), but i already opened macrodroid to check the macrodroid variables and they were all correct, so I really don't think this can be macrodroid's fault.. Maybe i should see if i can post on that KWGT forum aswell..

One thing i came up with is changing the formula's for the lights/fan mode in KWGT, so they check if the KWGT variables are empty and can then say "ERROR" or something... Then i can atleast click on it and run the macro to change/update the KWGT variables.. :ROFLMAO:
 

Attachments

  • Screenshot_20210913-185206.png
    Screenshot_20210913-185206.png
    376.5 KB · Views: 8
Last edited:

Dm114

Well-known member
How i get the fan mode is simply by only controlling it through macrodroid, everytime the macro runs it goes to the next mode. (see the screenshot below)

Yeah one of the posts in those links mentioned that tasker might be sending blank values to KWGT (I think your suggesting that macrodroid might be doing that aswell), but i already opened macrodroid to check the macrodroid variables and they were all correct, so I really don't think this can be macrodroid's fault.. Maybe i should see if i can post on that KWGT forum aswell..

One thing i came up with is changing the formula's for the lights/fan mode in KWGT, so they check if the KWGT variables are empty and can then say "ERROR" or something... Then i can atleast click on it and run the macro to change/update the KWGT variables.. :ROFLMAO:
I agree with you, I don't think it's MD's fault...

Good luck for investigating!
 
  • Like
Reactions: 420
Top