• 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
Reset of GPIO ports / Detection of mobile phone
Hello my English is not so good, i write in German:

kann mir jemand sagen wieso sich die GPIO Ports zurücksetzen wenn ich versuche über die Konsole einen einzelnen Status zu ändern ...

ich habe eine Cronjob der prüft ob mein Handy da ist, und anschließend trägt er den Status in pilight ein

/usr/local/bin/pilight-control -d Handy_Normen -s on

leider setzt er dabei alle anderen GPIOs wieder zurück auf ursprünglichen Wert (unabhängig davon was in pilight gerade die Schalterstellung darstellt !!)

hat einer eine Idee ?

Translated by google

can anyone tell me how to reset the GPIO ports when I try on the console to change a single state ...

I have a cron job that checks whether my phone is there, and then it transmits the status in a pilight

/ Usr / local / bin / pilight-control -d Handy_Normen -s on

unfortunately he relies all other GPIOs back to the original value (regardless of what is just the switch position in pilight !!)

has an idea?
The "Experiences&Questions" subforum is not the correct thread for this type of questions, i have moved your question to teh subforum "Core Program".

To detect the presence of an IP device, you can use the ping or arping protocol and use rules.
To change the status within pilight, you can use rules.

To get more information start with the WIKI.
On the first page you will find the link to the pilight manual.

In the pilight manual read the chapter for Eventing (also available in german).

In the WIKI, go to Protocols and read the details for the ping / arping protocol located in the network section.
You can use the ping protocol to check if your mobile phone's IP address responds and you can use rules to define further actions.

Please enter the term ping and use the search function of this sub-forum.
You will find more information from other users.

Possibly Related Threads...
Thread Author Replies Views Last Post
  ERROR: The Broadcom 2835 GPIO 0 is not set to output mode stuckinger 10 3,115 05-07-2019, 09:11 PM
Last Post: curlymo
Bug Bug report: WIFI dongle stops when gpio_switch.gpio = 20 woutput 16 8,730 01-03-2018, 10:11 PM
Last Post: zackdvd
  AdHoc network with 2 Raspberry and 2 GPIO transmitter not working webdandy 29 12,293 09-06-2017, 02:39 PM
Last Post: wseifert
  development, orangepi pc+, "no gpio-platform configured" Twain 1 2,992 06-01-2017, 05:51 PM
Last Post: curlymo
  Possible problem leaving ports open when connecting with python Tommybear1979 1 1,896 06-10-2016, 12:00 PM
Last Post: pilino1234
  invalid gpio range koos147 2 2,726 11-02-2015, 08:40 AM
Last Post: woutput
  GPIO for other application koos147 1 2,278 10-31-2015, 08:08 PM
Last Post: pilino1234
Information avrdude gpio error aaafred 1 2,463 05-04-2014, 10:44 AM
Last Post: curlymo
  [Fixed] GPIO at second (clientized) node isn't triggered easy12 12 10,647 04-28-2014, 02:13 PM
Last Post: curlymo

Forum Jump:

Browsing: 1 Guest(s)