Page 1 of 1

Touchscreen or mouse to gpio

Posted: Sunday 31 October 2021 15:14
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.

Re: Touchscreen or mouse to gpio

Posted: Sunday 31 October 2021 15:37
by waltervl
Use the GPIO integration. It will create switches connected to GPIO: https://www.domoticz.com/wiki/GPIO

Re: Touchscreen or mouse to gpio

Posted: Monday 01 November 2021 20:39
by willem9136
Works!
Thanks. Ok