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
No hardware module configured
#1
I installed pilight, wired my switch up to GPIO, and pilight crashes on startup every time, does anyone have suggestions? The log shows this 
Code:
(/home/pilight/source/daemon-dev/daemon.c #3082) [Jun 23 16:46:43:606919] INFO: version v8.1.5
(/home/pilight/source/daemon-dev/libs/pilight/core/socket.c #168) [Jun 23 16:46:43:615100] INFO: daemon listening to port: 36827
(/home/pilight/source/daemon-dev/daemon.c #3230) [Jun 23 16:46:43:618456] NOTICE: there are no hardware modules configured
(/home/pilight/source/daemon-dev/libs/pilight/core/webserver.c #1889) [Jun 23 16:46:43:619684] INFO: secured webserver started on port: 443 (fd 14)
(/home/pilight/source/daemon-dev/libs/pilight/core/webserver.c #1892) [Jun 23 16:46:43:619754] INFO: regular webserver started on port: 80 (fd 15)
(/home/pilight/source/daemon-dev/libs/pilight/core/socket.c #577) [Jun 23 16:46:43:620738] INFO: new client, ip: 127.0.0.1, port: 48482
(/home/pilight/source/daemon-dev/libs/pilight/events/events.c #2137) [Jun 23 16:46:43:726902] NOTICE: no pilight ssdp connections found
(/home/pilight/source/daemon-dev/libs/pilight/core/socket.c #577) [Jun 23 16:46:43:727270] INFO: new client, ip: 127.0.0.1, port: 48484
(/home/pilight/source/daemon-dev/daemon.c #2588) [Jun 23 16:46:56:529913] INFO: Interrupt signal received. Please wait while pilight is shutting down
(/home/pilight/source/daemon-dev/daemon.c #2381) [Jun 23 16:46:56:533232] INFO: removed stale pid_file /var/run/pilight.pid

I found another thread (in this forum) about the same error message on google, does it relate in any way to my current situation? From what I understand, the issue the guy was having probably got resolved by now, right? It's named problem with GPIO_switch

Code:
{
       "devices": {
               "obergeschoss": {
                       "protocol": ["gpio_switch"],
                       "id": [{
                               "gpio": 15
                       }],
                       "state": "on",
                       "readonly": 1
               }
       },
       "rules": {},
       "gui": {
               "obergeschoss": {
                       "name": "Switch",
                       "group": ["Misc"],
                       "media": ["all"]
               }
       },
       "settings": {
               "log-level": 6,
               "pid-file": "/var/run/pilight.pid",
               "log-file": "/var/log/pilight.log",
               "standalone": 1,
               "webserver-enable": 1,
               "webserver-root": "/usr/local/share/pilight/webgui",
               "webserver-http-port": 80,
               "webserver-https-port": 443,
               "webserver-cache": 1,
               "whitelist": "",
               "gpio-platform": "raspberrypi4"
       },
       "hardware": {},
       "registry": {
               "webserver": {
                       "ssl": {
                               "certificate": {
                                       "location": "/etc/pilight/pilight.pem"
                               }
   
 
Reply
  


Messages In This Thread
No hardware module configured - by steffeneilers - 06-24-2020, 04:17 PM
RE: Error on startup - by curlymo - 06-24-2020, 05:36 PM
RE: Error on startup - by steffeneilers - 06-24-2020, 09:15 PM
Segmentation Fault - by steffeneilers - 06-25-2020, 08:22 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
  Trigger a configured switch from other computer by CLI beejayf 3 356 02-24-2020, 07:17 PM
Last Post: beejayf
  hardware module issues in nightly apartmedia 17 2,734 04-05-2019, 06:59 PM
Last Post: curlymo
  Basic testing pilight hardware dirk 5 1,505 06-07-2018, 06:09 PM
Last Post: curlymo
  [Solved] reach of pilight hardware PT-Biker 2 1,281 05-21-2018, 08:28 AM
Last Post: PT-Biker
  pilight works without connected hardware wanky 4 1,833 12-29-2017, 06:10 PM
Last Post: curlymo
  pilight does no longer start because of hardware error stratege-0815 2 1,422 12-27-2017, 11:16 PM
Last Post: stratege-0815
  no gpio-platform configured hansrijn2 2 4,800 06-03-2017, 10:01 PM
Last Post: hansrijn2
  Installing WiringX Python Module on Radxa Rock 8BitBob 5 1,708 04-20-2017, 07:20 PM
Last Post: curlymo
  Respond to hardware remotes? rajd 3 1,530 12-07-2016, 07:10 PM
Last Post: Laret
  Questions before destryoing hardware Blebbens 13 4,473 03-13-2016, 09:37 PM
Last Post: wo_rasp

Forum Jump:


Browsing: 1 Guest(s)