Blocky triggered but not activated?

Moderator: leecollings

Post Reply
PABben
Posts: 48
Joined: Friday 31 January 2014 14:32
Target OS: Windows
Domoticz version:
Location: Norway
Contact:

Blocky triggered but not activated?

Post 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
Attachments
blocky doesnt work.jpg
blocky doesnt work.jpg (246.83 KiB) Viewed 575 times
User avatar
jvdz
Posts: 2189
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Blocky triggered but not activated?

Post by jvdz »

Are you sure you should test for "Click" in stead of "On"?
What does the log for that switch tell you?
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
PABben
Posts: 48
Joined: Friday 31 January 2014 14:32
Target OS: Windows
Domoticz version:
Location: Norway
Contact:

Re: Blocky triggered but not activated?

Post 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.
Attachments
blocky click.jpg
blocky click.jpg (125.45 KiB) Viewed 571 times
User avatar
jvdz
Posts: 2189
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Blocky triggered but not activated?

Post by jvdz »

Maybe you need to test the LEVEL sinds this seems to be a Selector switch.
Off = 0%; Click =10% ; etc.

Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
PABben
Posts: 48
Joined: Friday 31 January 2014 14:32
Target OS: Windows
Domoticz version:
Location: Norway
Contact:

Re: Blocky triggered but not activated?

Post 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 :shock:
Attachments
blocky fail again.jpg
blocky fail again.jpg (216.79 KiB) Viewed 551 times
PABben
Posts: 48
Joined: Friday 31 January 2014 14:32
Target OS: Windows
Domoticz version:
Location: Norway
Contact:

Re: Blocky triggered but not activated?

Post by PABben »

No blocky scripts have ever worked. I tried to disable then re-enable "EventSystem" but no changes
Attachments
eventsytem active.jpg
eventsytem active.jpg (25.76 KiB) Viewed 550 times
User avatar
jvdz
Posts: 2189
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Blocky triggered but not activated?

Post 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" ?
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
PABben
Posts: 48
Joined: Friday 31 January 2014 14:32
Target OS: Windows
Domoticz version:
Location: Norway
Contact:

Re: Blocky triggered but not activated?

Post 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...
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest