• 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
raspberry pi 4 config.json
#1
i installed pilight v8.1.5-nightly-38458d69 and wiringPi 2.52 on my Raspberry PI 4 / Buster. The installation worked according to the instructions with no errors. 
If i switch with command pilight-send -p kaku_switch -i... nothing happens, also the pilight-receive command is not working. If i put this SD-Card in my PI3B+ everything works, sending and receiving. I use the same receiver and send-modul.
Code:
{
    "devices": {
        "Switch1": {
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 16657026,
                "unit": 0
            }],
            "state": "off"
        },
        "Switch2": {
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 16657026,
                "unit": 1
            }],
            "state": "off"
        }
    },
    "rules": {},
    "gui": {
        "Switch1": {
            "name": "Switch Nr 1",
            "group": [ "MeineSwitches" ],
            "media": [ "all" ]
        },
        "Switch2": {
            "name": "Switch Nr 2",
            "group": [ "MeineSwitches" ],
            "media": [ "all" ]
        }
    },
    "settings": {
        "log-level": 6,
        "pid-file": "/var/run/pilight.pid",
        "log-file": "/var/log/pilight.log",
        "standalone": 0,
        "webserver-enable": 1,
        "webserver-root": "/usr/local/share/pilight/webgui",
        "webserver-http-port": 5001,
        "webserver-https-port": 5002,
        "webserver-cache": 1,
        "whitelist": "",
        "gpio-platform": "raspberrypi3"
    },
    "hardware": {
        "433gpio": {
            "sender": 0,
            "receiver": 1
        }
    },
    "registry": {
        "webserver": {
            "ssl": {
                "certificate": {
                    "location": "/etc/pilight/pilight.pem"
                }
            }
        },
        "pilight": {
            "version": {
                "current": "8.1.5"
            }
        },
        "hardware": {
            "RF433": {
                "mingaplen": 4420,
                "maxgaplen": 72900,
                "minrawlen": 26,
                "maxrawlen": 400
            }
        }
    }
}


I attached my config.json. is maybe gpio-platform wrong? Thank you for your help.
 
Reply
#2
What could possibly be the first clue when running on a raspberry pi 4 and having raspberry pi 3 configured?!
 
Reply
#3
omg, i only looked at the supported GPIO platforms (on Configruation - Settings) and missed to try out raspberrypi4. now it worked fine. thank you!
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  ERROR: failed to read config. stack: 2 Stefan 6 209 02-03-2020, 09:37 PM
Last Post: curlymo
  Raspberry 4B installation error royw 3 285 12-05-2019, 10:58 AM
Last Post: royw
  pilight for Raspbian Buster (raspberry pi 4) ? starob 29 4,677 07-15-2019, 08:45 PM
Last Post: curlymo
  pilight7_oregon on Raspberry pi3 Tueftler1983 0 314 07-04-2019, 01:49 PM
Last Post: Tueftler1983
  Raspberry PI, gpio-ir-tx and pilight not starting lordslash 5 1,264 06-11-2019, 05:19 PM
Last Post: curlymo
Sad Raspberry Pi: "NOTICE: no pilight ssdp connections found" abusch 8 1,345 04-30-2019, 09:10 PM
Last Post: curlymo
  Config migration from pilight 7 .0 to 8.1.3 "Rules" Nonaamee 4 1,080 11-17-2018, 08:35 PM
Last Post: Nonaamee
  Problem with sending after plight (or raspberry?) update _Jens_ 5 2,331 09-08-2017, 03:14 PM
Last Post: pilino1234
Smile config, device uuid <-> id Twain 2 1,382 06-22-2017, 05:49 PM
Last Post: Twain
  pilight without LAN/WLAN on Raspberry Pi hoteloskar 7 2,459 04-30-2017, 06:27 PM
Last Post: hoteloskar

Forum Jump:


Browsing: 1 Guest(s)