Page 1 of 2
IKEA Trådfri button input to blockly event
Posted: Tuesday 27 December 2022 22:48
by vfr7
I have some IKEA Trådfri buttons that I want to control my blockly event with. Let's say a simple set/reset function with two buttons in different places. One button to start and one button to stop. I use a simple outlet controlled by two buttons. What should I use in the blockley button input? If I use "On" or "Off" nothing happens.
Re: IKEA Trådfri button inpuyt to blockly event
Posted: Wednesday 28 December 2022 2:49
by solarboy
Which Zigbee system are you using ? zigbee2mqtt, Conbee or something else ?
Re: IKEA Trådfri button inpuyt to blockly event
Posted: Wednesday 28 December 2022 10:49
by vfr7
RPi with Zigate plugin board right now.
Re: IKEA Trådfri button input to blockly event
Posted: Wednesday 28 December 2022 11:07
by waltervl
Do you have a Domoticz switch device connected to that buttons?
Do you see something in the logs when you press a button on those devices?
For usage of those buttons in Zigate (now called ZigbeeforDomoticz) see wiki page
https://zigbeefordomoticz.github.io/wik ... with-plug-
Re: IKEA Trådfri button input to blockly event
Posted: Wednesday 28 December 2022 20:16
by vfr7
Aha! That I hadn't seen. No I have no switch device. I will read some more about this and maybe I can understand a little bit more. Thankyou very much so far.

Re: IKEA Trådfri button input to blockly event
Posted: Friday 20 January 2023 22:03
by vfr7
My installation went corrupt and I decided to start over from the beginning with updated components. I installed 2022-09-22-raspios-bullseye-armhf.img.xy and got it starting up nice with Domoticz installation. But now the problem start. I can't find the Zigate instructions I had used for my earlier installation and after some searching around it looks like the whole system is reworked into "Zigbee for Domoticz". Ok. I try to follow the guide for installing:
https://zigbeefordomoticz.github.io/wik ... bian-linux
but fails trying to find wiringpi as it is marked deprecated.
Now I'm totally confused and have no idea where to go further...

Re: IKEA Trådfri button input to blockly event
Posted: Saturday 21 January 2023 10:42
by waltervl
From the zigate website I found this
Code: Select all
cd /temp
wget https://project-downloads.drogon.net/wiringpi-latest.deb
sudo dpkg -i wiringpi-latest.deb
Re: IKEA Trådfri button input to blockly event
Posted: Saturday 21 January 2023 22:35
by vfr7
Thanx, Walter!
That helped a lot for wiringpi. Strange that the Wiki doesn't say anything about that.
Now I have another problem. When I choose serial port in the plugin settings, I can't choose serial 0 as it should be according to the Wiki installation description. The console for serial 0 is disabled according to the Wiki instructions. What am I doing wrong?
Re: IKEA Trådfri button input to blockly event
Posted: Sunday 22 January 2023 10:08
by vfr7
I remember now there was a problem that might have to do with this.
9. Set the accessability of the serial adapter to ‘No’ using raspi-config option P6 (Interfacing options / serial):
In my installation there is no P6 option. The 'P' options only go to 4. And since this has to do with serial I believe it hast to do with my problem. But why doesn't my installation coordinate with the Wiki? And what should I do instead?
Re: IKEA Trådfri button input to blockly event
Posted: Sunday 22 January 2023 11:59
by waltervl
The developer of the plugin (@pipiche) is notified of your issue so he hopefully will step in soon.
Re: IKEA Trådfri button input to blockly event
Posted: Sunday 22 January 2023 19:20
by pipiche
unfortunatly I have no idea. and the Zigate wiki (unfortunately in French) is not giving any alternatives
https://zigate.fr/documentation/parametrer-la-pizigate/
On the forum, the Zigate manufacturer is advising to use
https://project-downloads.drogon.net/wi ... latest.deb
https://zigate.fr/forum/topic/remplacement-wiringpi/ which was advise by @waltervl
Which type of PI do you have ?
Re: IKEA Trådfri button input to blockly event
Posted: Sunday 22 January 2023 19:23
by pipiche
Re: IKEA Trådfri button input to blockly event
Posted: Sunday 22 January 2023 22:37
by vfr7
Thankyou very much. There is one line I havn't seen before. It's the "enable_uart=1" line which seems to have something to do with my problem. I'll check into it a bit more.
Re: IKEA Trådfri button input to blockly event
Posted: Monday 23 January 2023 21:37
by vfr7
The "enable_uart=1" line in config solved the serial problem. Now I can add the Zigate hardware and it pops up in the hardware list.
Next to do is to start paring with "Permit join time" and clear old pairings with "Erase Persistent Data: True". But I can't find those settings. Where do I find them?
Re: IKEA Trådfri button input to blockly event
Posted: Monday 23 January 2023 21:56
by pipiche
Hope that helps ...

- Screenshot 2023-01-23 at 21.54.49.png (190.74 KiB) Viewed 2166 times
Re: IKEA Trådfri button input to blockly event
Posted: Monday 30 January 2023 20:11
by vfr7
Thanx. Ok. It has changed since the instruction was written. Maybe that instruction should also be changed then.
Now, I've probably succeeded emptying the old pairing list with the coordinator initialization.
Then put it in pairing mode. Do you mean that should be done thru the plugin dasboard?
I have tried accessing the dashboard settings by changing port 8080 against 9440 but can't get access to any page there.
Re: IKEA Trådfri button input to blockly event
Posted: Monday 30 January 2023 21:56
by pipiche
can you check the Logs/PluginZigbee-xx.log ?
Re: IKEA Trådfri button input to blockly event
Posted: Tuesday 31 January 2023 18:59
by vfr7
I cant find that file. Neither can "Locate". What's the complete path to it?
I have found "~/domoticz/plugins/Domoticz-Zigbee/Logs" but there is no "PluginZigbee-xx.log" file there. Do I have to enable it in some way?
Re: IKEA Trådfri button input to blockly event
Posted: Saturday 04 February 2023 20:59
by vfr7
Now I've assured I have the latest plugin version by running the update procedure at #12 in the installation instructions. Still can't access the plugin web page at port 9440.
Re: IKEA Trådfri button input to blockly event
Posted: Sunday 05 February 2023 10:50
by pipiche
Without any logs we cannot really help you