The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.3.14-1~deb10u1 (Linux)
File Line Function
/showthread.php 895 errorHandler->error

  • 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
Bug report: WIFI dongle stops when gpio_switch.gpio = 20

In my search for the correct pin numbers to be used by pilight on my RPi 1 B+, I found the following bug.
I try to read a digital input (from a smoke sensor), so I use gpio_switch.
My config.json is minimal for now to pinpoint this bug:
"devices": {
                "smoke": {
                        "protocol": [ "gpio_switch" ],
                        "id": [{
                                "gpio": -1
                        "state": "off"
no rules, only this one gui element, default settings, hardware with pins = -1, default registry, version 7.0.

When I change the gpio pin to 20 and reboot my RPi, everything looks normal until further in the boot sequence (I guess this by looking at the green blinking LED of the RPi) the blue LED of the WIFI dongle stops blinking. From then on I can no longer connect to my RPi and I had to remove the SD card to change the setting back to gpio pin -1 to be able to connect remotely over WIFI again. I did this twice to confirm it reproduced.

lsusb says about the WIFI dongle (when it is working Wink)
Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter

and lshw says:
description: Wireless interface
physical id: 1
bus info: usb@1:1.4
logical name: wlan0
serial: 00:13:ef:20:0b:11
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=rtl8192cu ip= multicast=yes wireless=IEEE 802.11bg

Let me know if more info is needed.

Best regards,

Messages In This Thread
Bug report: WIFI dongle stops when gpio_switch.gpio = 20 - by woutput - 10-03-2015, 09:20 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
  433nano stops receiving robertkrause 62 11,127 01-13-2021, 11:15 AM
Last Post: Fagtreag
  433nano stops receiving with FHEM RichiG 1 584 03-27-2020, 07:36 PM
Last Post: curlymo
  ERROR: The Broadcom 2835 GPIO 0 is not set to output mode stuckinger 10 3,134 05-07-2019, 09:11 PM
Last Post: curlymo
  communication between main daemon and clientized daemon stops tomk 29 7,236 05-06-2019, 08:57 PM
Last Post: curlymo
  AdHoc network with 2 Raspberry and 2 GPIO transmitter not working webdandy 29 12,347 09-06-2017, 02:39 PM
Last Post: wseifert
  development, orangepi pc+, "no gpio-platform configured" Twain 1 2,995 06-01-2017, 05:51 PM
Last Post: curlymo
  Reset of GPIO ports / Detection of mobile phone NormBot 1 2,042 09-02-2016, 08:30 AM
Last Post: wo_rasp
Bug Bug report: double free or corruption (!prev) diman87 16 7,939 03-09-2016, 11:10 AM
Last Post: diman87
Bug Bug report: segmentation fault using rule with AFTER woutput 3 3,653 11-22-2015, 12:27 PM
Last Post: woutput
  invalid gpio range koos147 2 2,731 11-02-2015, 08:40 AM
Last Post: woutput

Forum Jump:

Browsing: 1 Guest(s)