Touchscreen or mouse to gpio

Moderator: leecollings

Post Reply
willem9136
Posts: 53
Joined: Friday 11 December 2020 15:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands Paesens
Contact:

Touchscreen or mouse to gpio

Post by willem9136 »

I have switch on my dashboard.
It’s easy to switch it on or off by using a Python JSON script.
Or use the touchscreen or mouse.
But how can I go from the touchscreen to a GPIO pin?
Python is no problem but I don’t know where to start.
User avatar
waltervl
Posts: 5149
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Touchscreen or mouse to gpio

Post by waltervl »

Use the GPIO integration. It will create switches connected to GPIO: https://www.domoticz.com/wiki/GPIO
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
willem9136
Posts: 53
Joined: Friday 11 December 2020 15:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands Paesens
Contact:

Re: Touchscreen or mouse to gpio

Post by willem9136 »

Works!
Thanks. Ok
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest