• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Done] Doorbell GPIO input (gpio_switch protocol)
We already have gpio_out as in the relay protocol.
It becomes really usefull if pilight works with events.
Something like: doorbell pressed, debounce -> event handler -> pilight_send <bell on>

Is it also posible to add more options to gpio_out (relay protocol)
I think it come in handy when it's possible to have a toggle function (on/off) and a pushbutton. (button pressed ->gpio active)
With a pushbutton there should also be settings like active high or active low (on =1 or on =0), and a delay time.
gpio_mswitch (momentary switch)?
sounds good!
I'm glad this subject comes back again :-)

Taptalked u see
Maybe what BenPi said,


thinking out loud:
with an variable option to delay (pushbutton or toggle) Toggle=0 meaning pushbutton. Toggle=5 meaning delay 5sec.
Like is said before. gpio_out is already supported in the relay protocol.
bump Wink

Something for the "Feature Request Thread..." ?
I scan this topic every now and then so no need.

Possibly Related Threads...
Thread Author Replies Views Last Post
  [Done] generic_label protocol diman87 2 3,467 03-26-2015, 08:15 PM
Last Post: curlymo
  [Done] Presence Detection (ping protocol) atahualpa 3 3,245 01-07-2015, 07:01 PM
Last Post: curlymo
  [Done] Datetime protocol, day of the week Niek 1 2,586 01-05-2015, 08:14 PM
Last Post: curlymo
  [Done] Interacting directly with GPIO (or i2c gpio-devices) keykiller 1 2,620 09-26-2013, 06:18 AM
Last Post: curlymo
  [Done] The generic weather protocol is not generic enough Tweakertje 4 3,812 09-25-2013, 08:16 PM
Last Post: curlymo

Forum Jump:

Browsing: 1 Guest(s)