Raspi GPIO as input to gateway
-
Hi new user, have successfully got raspi as mqtt gateway with domoticz working on same pi at basic level.
Question is this after some fruitless searching. I have a physical momentary switch connected to the pi, old project left over. I'd like to use that to trigger an event in domoticz that can then turn on a light elsewhere remotely. Any pointers would be appreciated how to make gateway 'see' the gpio event?
Cheers!
-
Hi,
Its possible to use arduino sketch in raspberry (see https://forum.mysensors.org/topic/6618/gateway-ethernet-raspberry-sensors/4)
i have make some test who work.
-
If You want domoticz to 'see' this gpio event then why wont You add this gpio directlty to domoticz ? It seems that passing it through the gateway is overcomplicated.
-
There is gpio support in domoticz, but I haven't tried if it works for buttons
-
Agh, thank you! I'm such a new user, I had no idea domoticz could see gpio directly. You have given me new research avenue, I really appreciate the replies.
-
There is a WIKI page on Domoticz site about GPIO
Suggested Topics
-
Over the air updates
General Discussion • 23 Mar 2014, 21:38 • ToSa 1 Mar 2015, 11:21 -
Sensor to detect marijuana vape/smoke
Hardware • 21 Jan 2025, 06:36 • Hellmark 25 Feb 2025, 20:56 -
Sleep mode for bmp280
Hardware • 20 Feb 2018, 13:24 • fishermans 5 Feb 2024, 18:30 -
hlk-pm01 are to noisy for rfm69?
Hardware • 5 Aug 2023, 21:16 • Tmaster 9 Aug 2023, 16:28 -
Does MySensors require Arduino Timer 2?
Hardware • 6 Jan 2024, 19:39 • OldSurferDude 11 Jan 2024, 04:39 -
Arduino Nano Every problem
Hardware • 1 Feb 2020, 09:18 • hakha4 5 Dec 2023, 02:21