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 -
Sleep mode for bmp280
Hardware • 20 Feb 2018, 13:24 • fishermans 5 Feb 2024, 18:30 -
Does MySensors require Arduino Timer 2?
Hardware • 6 Jan 2024, 19:39 • OldSurferDude 11 Jan 2024, 04:39 -
Best VOC sensor for detecting a wide range of VOC's?
Hardware • 26 Oct 2023, 23:59 • NeverDie 18 Nov 2023, 01:41 -
Best time of year to buy higher quality small project solar panels?
Hardware • 10 Jun 2021, 19:19 • NeverDie 30 Aug 2024, 14:01 -
Arduino Nano Every problem
Hardware • 1 Feb 2020, 09:18 • hakha4 5 Dec 2023, 02:21