• 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
GPIO input -> starting a rule
#1
Hi,

I just consider to kick out WeMo off my house and use pilight instead.
But there is the WeMo Maker which can read other devices output (sensor function) to start actions.
Now my questions are:

1) Is it possible (in pilight) to use 2 or more GPIO pins for input (<5V) and
2) to start an action (a rule or toggle a swith) after that?

Example: If input is >5V then turn on a switch, if not then leave it or turn it off

Thanks for helping

Scooter
 
Reply
#2
Yes, the gpio_switch protocol can be used for that.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  Starting pilight on boot: "cannot bind to the SSDP multicast network" pilino1234 3 168 08-31-2019, 10:41 PM
Last Post: curlymo
  Raspberry PI, gpio-ir-tx and pilight not starting lordslash 5 717 06-11-2019, 05:19 PM
Last Post: curlymo
  pilight fails starting on boot Alex 5 625 06-09-2019, 06:02 PM
Last Post: curlymo
  Segmentation fault wth gpio-platform raspberrypi1b1 meloen 12 1,156 09-10-2018, 07:44 PM
Last Post: curlymo
  [SOLVED] Home Assistant switch gpio segalion 5 770 09-10-2018, 12:39 PM
Last Post: segalion
  Set color of label from rule Ulrich.Arnold 2 508 03-11-2018, 01:15 PM
Last Post: Ulrich.Arnold
  rule fails with ping state pinu 1 915 06-09-2017, 10:14 AM
Last Post: Niek
  pilight rule does not execute pinu 1 852 06-09-2017, 10:01 AM
Last Post: Niek
  no gpio-platform configured hansrijn2 2 4,018 06-03-2017, 10:01 PM
Last Post: hansrijn2
  Problem with a Switch rule viper2035 2 1,268 01-12-2017, 04:33 PM
Last Post: viper2035

Forum Jump:


Browsing: 1 Guest(s)