• 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 484 06-11-2019, 05:19 PM
Last Post: curlymo
  pilight fails starting on boot Alex 5 424 06-09-2019, 06:02 PM
Last Post: curlymo
  Segmentation fault wth gpio-platform raspberrypi1b1 meloen 12 1,057 09-10-2018, 07:44 PM
Last Post: curlymo
  [SOLVED] Home Assistant switch gpio segalion 5 692 09-10-2018, 12:39 PM
Last Post: segalion
  Set color of label from rule Ulrich.Arnold 2 471 03-11-2018, 01:15 PM
Last Post: Ulrich.Arnold
  rule fails with ping state pinu 1 878 06-09-2017, 10:14 AM
Last Post: Niek
  pilight rule does not execute pinu 1 816 06-09-2017, 10:01 AM
Last Post: Niek
  no gpio-platform configured hansrijn2 2 3,899 06-03-2017, 10:01 PM
Last Post: hansrijn2
  Problem with a Switch rule viper2035 2 1,224 01-12-2017, 04:33 PM
Last Post: viper2035
  pilight not starting with edited config departet 4 1,642 08-12-2016, 09:52 PM
Last Post: departet

Forum Jump:


Browsing: 1 Guest(s)