Page 1 of 1
Blocky triggered but not activated?
Posted: Saturday 24 October 2020 17:25
by PABben
I have a Xiaomi wireless switch and a dummy switch. (I've made it this simple to exclude as many other factors as possible).
When i click the button it appears in the log as "EventSystem: Event triggered <name of script>_1 but nothing happens.
What am i doing wrong here?
Version: 2020.2
Build Hash: b63341bc0
Rpi 4
Re: Blocky triggered but not activated?
Posted: Saturday 24 October 2020 17:29
by jvdz
Are you sure you should test for "Click" in stead of "On"?
What does the log for that switch tell you?
Re: Blocky triggered but not activated?
Posted: Saturday 24 October 2020 17:44
by PABben
Thx for reply

The log is saying "Click", "Double Click" and so on. On my old server (version 4.10717) it is working fine with the same script.
Re: Blocky triggered but not activated?
Posted: Saturday 24 October 2020 18:12
by jvdz
Maybe you need to test the LEVEL sinds this seems to be a Selector switch.
Off = 0%; Click =10% ; etc.
Jos
Re: Blocky triggered but not activated?
Posted: Saturday 24 October 2020 23:34
by PABben
I created a virtual trigger switch so i ended with 2 dummy-switches.
Still same result.
It cannot get it any more basic than this so what happens when i am to include more than 2 switches

Re: Blocky triggered but not activated?
Posted: Saturday 24 October 2020 23:39
by PABben
No blocky scripts have ever worked. I tried to disable then re-enable "EventSystem" but no changes
Re: Blocky triggered but not activated?
Posted: Sunday 25 October 2020 11:35
by jvdz
Just tried a similar basic test on my VM test machine and that works fine on the latest Beta build, so have no idea what is going wrong on your system.
Maybe try creating another test dummy switch to set by the script in stead of "Testbryter" ?
Re: Blocky triggered but not activated?
Posted: Sunday 25 October 2020 13:33
by PABben
No good. It seems to be a problem with the eventsystem or blocky system it self.
I gave up (again), reinstalled (7th time :S ) and now it's working fine. For now...