• 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
  Raspberry PI, gpio-ir-tx and pilight not starting lordslash 5 540 06-11-2019, 05:19 PM
Last Post: curlymo
  pilight fails starting on boot Alex 5 473 06-09-2019, 06:02 PM
Last Post: curlymo
  Segmentation fault wth gpio-platform raspberrypi1b1 meloen 12 1,116 09-10-2018, 07:44 PM
Last Post: curlymo
  [SOLVED] Home Assistant switch gpio segalion 5 726 09-10-2018, 12:39 PM
Last Post: segalion
  Set color of label from rule Ulrich.Arnold 2 489 03-11-2018, 01:15 PM
Last Post: Ulrich.Arnold
  rule fails with ping state pinu 1 888 06-09-2017, 10:14 AM
Last Post: Niek
  pilight rule does not execute pinu 1 835 06-09-2017, 10:01 AM
Last Post: Niek
  no gpio-platform configured hansrijn2 2 3,927 06-03-2017, 10:01 PM
Last Post: hansrijn2
  Problem with a Switch rule viper2035 2 1,240 01-12-2017, 04:33 PM
Last Post: viper2035
  pilight not starting with edited config departet 4 1,682 08-12-2016, 09:52 PM
Last Post: departet

Forum Jump:


Browsing: 1 Guest(s)