• 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


Webserver unavailable after default installation
#1
Hi @ all,

i got a problem after default apt-get installation of pilight.
The webserver is unknown/not working. The service status is running.

I am using an Raspberry Pi1 with the 2017-02-16-raspbian-jessy Image.

installation is working without some errors. also the manually Installation by git is running without some errors but both ways i got same problem with webserver/webgui.

Could someone give me solutions or does someone had the same problem!?
 
Reply
#2
How are you trying to access the webgui? The default options present a HTTP (so no SSL encryption) webgui on port 5001 of the device.

Also, try stopping the pilight daemon running it in debug mode, then you'll see when a client connects to the webgui, or where something is going wrong:

Code:
sudo service pilight stop
sudo pilight-daemon -D
 
Reply
#3
My default config.jason looks like this:
Code:
{
        "devices": { },
        "gui": { },
        "rules": { },
        "settings": {
                "log-level": 6,
                "pid-file": "/var/run/pilight.pid",
                "log-file": "/var/log/pilight.log",
                "webserver-enable": 1,
                "webserver-root": "/usr/local/share/pilight/",
                "webserver-http-port": 5001,
                "webserver-cache": 1,
                "whitelist": ""
        },
        "hardware": {
                "433gpio": {
                        "sender": 0,
                        "receiver": 1
                }
        },
        "registry": { }
}

The Output of deamon looks like:
Code:
pi@homeboxpi:~ $ sudo pilight-daemon -D
[Mar 07 10:35:50:976727] pilight-daemon: INFO: version 2794d33
[Mar 07 10:35:50:979638] pilight-daemon: DEBUG: ssdp sent search
[ Mar 07 10:35:51:90360] pilight-daemon: INFO: no pilight daemon found, daemonizing
[ Mar 07 10:35:51:93195] pilight-daemon: INFO: daemon listening to port: 41605
[Mar 07 10:35:51:100021] pilight-daemon: ERROR: hardware not supported
[Mar 07 10:35:51:103465] pilight-daemon: DEBUG: new thread socket, 1 thread running
[Mar 07 10:35:51:105669] pilight-daemon: DEBUG: new thread ssdp, 2 threads running
[Mar 07 10:35:51:108804] pilight-daemon: DEBUG: new thread sender, 3 threads running
[Mar 07 10:35:51:111115] pilight-daemon: DEBUG: new thread broadcaster, 4 threads running
[Mar 07 10:35:51:117333] pilight-daemon: INFO: new client, ip: 127.0.0.1, port: 42488
[Mar 07 10:35:51:119389] pilight-daemon: DEBUG: garbage collected wiringX library
[Mar 07 10:35:51:121543] pilight-daemon: ERROR: could not initialize 433gpio hardware module
[Mar 07 10:35:51:122781] pilight-daemon: DEBUG: garbage collected event operator library
[Mar 07 10:35:51:123750] pilight-daemon: DEBUG: freed options struct
......
......

Does hardware not supported means that the raspberry is too old??
a 433 Sender module is connected at the right gpio!
 
Reply
#4
FMPOV you have a network setup problem. After long time running Wheezy I moved to Jessie Light and found a similar problem as yours. After some research I fixed the problem with a different network setup.
Follow this link to see how my installation was made successful, you find also the "resource" why to change and finally also a log how to backup the initial installation for later use.
Hope it helps.
 
Reply
#5
@crashoverride01 Please use code tags to format the code and program output in your post, otherwise I can't really read it Smile

Exactly which version of pilight are you running? Use
Code:
pilight-daemon --version
and post the output here.

@gneandr I doubt it - what makes you think it's a network problem? His pilight daemon is crashing because wiringX claims the hardware isn't supported. No network involved here Smile
 
Reply
#6
@pilino1234
Following my Version output

Code:
sudo pilight-daemon --version
pilight-daemon version 2794d33

@gneandr
I tried your guide but got same problem.

Last lines of the pilight.log
Code:
[Mar 07 14:13:50:430168] pilight-daemon: INFO: version 2794d33
[Mar 07 14:13:50:534754] pilight-daemon: INFO: no pilight daemon found, daemonizing
[Mar 07 14:13:50:535917] pilight-daemon: INFO: daemon listening to port: 38677
[Mar 07 14:13:50:608408] pilight-daemon: ERROR: hardware not supported
[Mar 07 14:13:50:610320] pilight-daemon: INFO: new client, ip: 127.0.0.1, port: 49288
[Mar 07 14:13:50:621455] pilight-daemon: ERROR: could not initialize 433gpio hardware module

and output by daemon
Code:
sudo pilight-daemon -D
[Mar 07 14:16:06:416826] pilight-daemon: INFO: version 2794d33
[Mar 07 14:16:06:419834] pilight-daemon: DEBUG: ssdp sent search
[Mar 07 14:16:06:524756] pilight-daemon: INFO: no pilight daemon found, daemonizing
[Mar 07 14:16:06:527949] pilight-daemon: INFO: daemon listening to port: 40603
[Mar 07 14:16:06:534405] pilight-daemon: ERROR: hardware not supported
[Mar 07 14:16:06:539429] pilight-daemon: DEBUG: garbage collected wiringX library
[Mar 07 14:16:06:541522] pilight-daemon: ERROR: could not initialize 433gpio hardware module
[Mar 07 14:16:06:543445] pilight-daemon: DEBUG: garbage collected event operator library
[Mar 07 14:16:06:545964] pilight-daemon: DEBUG: new thread socket, 1 thread running
[Mar 07 14:16:06:546588] pilight-daemon: DEBUG: new thread ssdp, 2 threads running
[Mar 07 14:16:06:548445] pilight-daemon: DEBUG: new thread sender, 3 threads running
[Mar 07 14:16:06:552249] pilight-daemon: DEBUG: new thread broadcaster, 4 threads running
[Mar 07 14:16:06:557755] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:559476] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:561332] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:562664] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:563658] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:565015] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:566113] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:566425] pilight-daemon: DEBUG: garbage collected event action library
[Mar 07 14:16:06:566664] pilight-daemon: DEBUG: garbage collected event function library
[Mar 07 14:16:06:566882] pilight-daemon: DEBUG: garbage collected events library
[Mar 07 14:16:06:568579] pilight-daemon: INFO: new client, ip: 127.0.0.1, port: 59256
[Mar 07 14:16:06:572019] pilight-daemon: DEBUG: client fd: 6
[Mar 07 14:16:06:573464] pilight-daemon: DEBUG: client id: 1
[Mar 07 14:16:06:569847] pilight-daemon: INFO: removed stale pid_file /var/run/pilight.pid
[Mar 07 14:16:06:576002] pilight-daemon: DEBUG: garbage collected fcache library
[Mar 07 14:16:06:577453] pilight-daemon: DEBUG: garbage collected sha256cache library
[Mar 07 14:16:06:578519] pilight-daemon: DEBUG: garbage collected webserver library
[Mar 07 14:16:06:579121] pilight-daemon: DEBUG: garbage collected datetime library
[Mar 07 14:16:06:581893] pilight-daemon: DEBUG: garbage collected ssdp library
[Mar 07 14:16:06:582546] pilight-daemon: DEBUG: garbage collected options library
[Mar 07 14:16:06:584820] pilight-daemon: DEBUG: client disconnected, ip 127.0.0.1, port 40603
[Mar 07 14:16:06:586591] pilight-daemon: DEBUG: garbage collected socket library
[Mar 07 14:16:06:588392] pilight-daemon: DEBUG: garbage collected config devices library
[Mar 07 14:16:06:589011] pilight-daemon: DEBUG: garbage collected config rules library
[Mar 07 14:16:06:589229] pilight-daemon: DEBUG: garbage collected config gui library
[Mar 07 14:16:06:590260] pilight-daemon: DEBUG: garbage collected config settings library
[Mar 07 14:16:06:590532] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:590744] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:590956] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:591165] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:592168] pilight-daemon: DEBUG: garbage collected config hardware library
[Mar 07 14:16:06:592742] pilight-daemon: DEBUG: garbage collected config registry library
[Mar 07 14:16:06:592960] pilight-daemon: DEBUG: garbage collected config library
[Mar 07 14:16:06:593127] pilight-daemon: DEBUG: protocol ping
[Mar 07 14:16:06:594192] pilight-daemon: DEBUG: stopped protocol threads
[Mar 07 14:16:06:594459] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:594770] pilight-daemon: DEBUG: protocol arping
[Mar 07 14:16:06:596658] pilight-daemon: DEBUG: stopped protocol threads
[Mar 07 14:16:06:596917] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:597110] pilight-daemon: DEBUG: protocol generic_webcam
[Mar 07 14:16:06:597309] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:597496] pilight-daemon: DEBUG: protocol generic_weather
[Mar 07 14:16:06:597705] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:598733] pilight-daemon: DEBUG: protocol generic_switch
[Mar 07 14:16:06:599306] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:599518] pilight-daemon: DEBUG: protocol generic_screen
[Mar 07 14:16:06:600528] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:600767] pilight-daemon: DEBUG: protocol generic_label
[Mar 07 14:16:06:600974] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:601158] pilight-daemon: DEBUG: protocol generic_dimmer
[Mar 07 14:16:06:601360] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:602409] pilight-daemon: DEBUG: protocol raw
[Mar 07 14:16:06:602978] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:603965] pilight-daemon: DEBUG: protocol pilight_firmware
[Mar 07 14:16:06:604217] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:604525] pilight-daemon: DEBUG: protocol pilight_firmware
[Mar 07 14:16:06:605646] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:606195] pilight-daemon: DEBUG: protocol relay
[Mar 07 14:16:06:607185] pilight-daemon: DEBUG: ran garbage collector
[Mar 07 14:16:06:607433] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:607624] pilight-daemon: DEBUG: protocol lm76
[Mar 07 14:16:06:607823] pilight-daemon: DEBUG: stopped protocol threads
[Mar 07 14:16:06:608017] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:609009] pilight-daemon: DEBUG: protocol lm75
[Mar 07 14:16:06:609573] pilight-daemon: DEBUG: stopped protocol threads
[Mar 07 14:16:06:609792] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:609958] pilight-daemon: DEBUG: protocol gpio_switch
[Mar 07 14:16:06:610126] pilight-daemon: DEBUG: stopped protocol threads
[Mar 07 14:16:06:611162] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:611399] pilight-daemon: DEBUG: protocol ds18s20
[Mar 07 14:16:06:611600] pilight-daemon: DEBUG: stopped protocol threads
[Mar 07 14:16:06:611798] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:611983] pilight-daemon: DEBUG: protocol ds18b20
[Mar 07 14:16:06:613084] pilight-daemon: DEBUG: stopped protocol threads
[Mar 07 14:16:06:613650] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:613855] pilight-daemon: DEBUG: protocol dht22
[Mar 07 14:16:06:614899] pilight-daemon: DEBUG: stopped protocol threads
[Mar 07 14:16:06:615164] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:615354] pilight-daemon: DEBUG: protocol dht11
[Mar 07 14:16:06:615551] pilight-daemon: DEBUG: stopped protocol threads
[Mar 07 14:16:06:615752] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:616858] pilight-daemon: DEBUG: protocol bmp180
[Mar 07 14:16:06:617441] pilight-daemon: DEBUG: stopped protocol threads
[Mar 07 14:16:06:618463] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:618702] pilight-daemon: DEBUG: protocol xbmc
[Mar 07 14:16:06:618907] pilight-daemon: DEBUG: stopped protocol threads
[Mar 07 14:16:06:619104] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:619291] pilight-daemon: DEBUG: protocol wunderground
[Mar 07 14:16:06:620650] pilight-daemon: DEBUG: stopped protocol threads
[Mar 07 14:16:06:620968] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:622119] pilight-daemon: DEBUG: protocol sunriseset
[Mar 07 14:16:06:622373] pilight-daemon: DEBUG: stopped protocol threads
[Mar 07 14:16:06:622577] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:622762] pilight-daemon: DEBUG: protocol program
[Mar 07 14:16:06:622959] pilight-daemon: DEBUG: stopped protocol threads
[Mar 07 14:16:06:623159] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:624172] pilight-daemon: DEBUG: protocol openweathermap
[Mar 07 14:16:06:624877] pilight-daemon: DEBUG: stopped protocol threads
[Mar 07 14:16:06:625131] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:625327] pilight-daemon: DEBUG: protocol lirc
[Mar 07 14:16:06:626373] pilight-daemon: DEBUG: stopped protocol threads
[Mar 07 14:16:06:626585] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:626748] pilight-daemon: DEBUG: protocol datetime
[Mar 07 14:16:06:626923] pilight-daemon: DEBUG: stopped protocol threads
[Mar 07 14:16:06:627105] pilight-daemon: DEBUG: ran garbage collector
[Mar 07 14:16:06:627306] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:628362] pilight-daemon: DEBUG: protocol cpu_temp
[Mar 07 14:16:06:628955] pilight-daemon: DEBUG: stopped protocol threads
[Mar 07 14:16:06:629954] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:630192] pilight-daemon: DEBUG: protocol x10
[Mar 07 14:16:06:630394] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:630629] pilight-daemon: DEBUG: protocol tfa30
[Mar 07 14:16:06:631924] pilight-daemon: DEBUG: ran garbage collector
[Mar 07 14:16:06:632567] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:632803] pilight-daemon: DEBUG: protocol tfa
[Mar 07 14:16:06:632996] pilight-daemon: DEBUG: ran garbage collector
[Mar 07 14:16:06:634036] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:634273] pilight-daemon: DEBUG: protocol teknihall
[Mar 07 14:16:06:634466] pilight-daemon: DEBUG: ran garbage collector
[Mar 07 14:16:06:634842] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:635877] pilight-daemon: DEBUG: protocol techlico_switch
[Mar 07 14:16:06:636577] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:636817] pilight-daemon: DEBUG: protocol tcm
[Mar 07 14:16:06:637764] pilight-daemon: DEBUG: ran garbage collector
[Mar 07 14:16:06:638064] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:638261] pilight-daemon: DEBUG: protocol silvercrest
[Mar 07 14:16:06:638461] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:638645] pilight-daemon: DEBUG: protocol selectremote
[Mar 07 14:16:06:639603] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:639877] pilight-daemon: DEBUG: protocol secudo_smoke_sensor
[Mar 07 14:16:06:640419] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:641473] pilight-daemon: DEBUG: protocol sc2262
[Mar 07 14:16:06:641729] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:641921] pilight-daemon: DEBUG: protocol rsl366
[Mar 07 14:16:06:642119] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:642304] pilight-daemon: DEBUG: protocol rev3_switch
[Mar 07 14:16:06:643269] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:643476] pilight-daemon: DEBUG: protocol rev2_switch
[Mar 07 14:16:06:645203] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:645491] pilight-daemon: DEBUG: protocol rev1_switch
[Mar 07 14:16:06:645697] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:645879] pilight-daemon: DEBUG: protocol rc101
[Mar 07 14:16:06:646127] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:647158] pilight-daemon: DEBUG: protocol quigg_screen
[Mar 07 14:16:06:647740] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:648720] pilight-daemon: DEBUG: protocol quigg_gt9000
[Mar 07 14:16:06:648970] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:649158] pilight-daemon: DEBUG: protocol quigg_gt7000
[Mar 07 14:16:06:649357] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:649540] pilight-daemon: DEBUG: protocol quigg_gt1000
[Mar 07 14:16:06:650569] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:651144] pilight-daemon: DEBUG: protocol pollin
[Mar 07 14:16:06:652096] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:652485] pilight-daemon: DEBUG: protocol oregon_21
[Mar 07 14:16:06:652736] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:652932] pilight-daemon: DEBUG: protocol ninjablocks_weather
[Mar 07 14:16:06:653118] pilight-daemon: DEBUG: ran garbage collector
[Mar 07 14:16:06:654142] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:654810] pilight-daemon: DEBUG: protocol mumbi
[Mar 07 14:16:06:655836] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:656078] pilight-daemon: DEBUG: protocol logilink_switch
[Mar 07 14:16:06:656278] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:656463] pilight-daemon: DEBUG: protocol impuls
[Mar 07 14:16:06:657458] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:658011] pilight-daemon: DEBUG: protocol heitech
[Mar 07 14:16:06:658224] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:659205] pilight-daemon: DEBUG: protocol ev1527
[Mar 07 14:16:06:659459] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:659648] pilight-daemon: DEBUG: protocol eurodomest_switch
[Mar 07 14:16:06:659827] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:659990] pilight-daemon: DEBUG: protocol elro_800_switch
[Mar 07 14:16:06:662242] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:662844] pilight-daemon: DEBUG: protocol elro_800_contact
[Mar 07 14:16:06:663070] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:663260] pilight-daemon: DEBUG: protocol elro_400_switch
[Mar 07 14:16:06:663462] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:663648] pilight-daemon: DEBUG: protocol elro_300_switch
[Mar 07 14:16:06:663856] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:664043] pilight-daemon: DEBUG: protocol ehome
[Mar 07 14:16:06:664240] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:664429] pilight-daemon: DEBUG: protocol daycom
[Mar 07 14:16:06:664756] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:665852] pilight-daemon: DEBUG: protocol conrad_rsl_switch
[Mar 07 14:16:06:666154] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:666344] pilight-daemon: DEBUG: protocol conrad_rsl_contact
[Mar 07 14:16:06:666548] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:666734] pilight-daemon: DEBUG: protocol cleverwatts
[Mar 07 14:16:06:666932] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:667963] pilight-daemon: DEBUG: protocol clarus_switch
[Mar 07 14:16:06:668214] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:668518] pilight-daemon: DEBUG: protocol beamish_switch
[Mar 07 14:16:06:669827] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:670067] pilight-daemon: DEBUG: protocol auriol
[Mar 07 14:16:06:670257] pilight-daemon: DEBUG: ran garbage collector
[Mar 07 14:16:06:670459] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:671918] pilight-daemon: DEBUG: protocol arctech_switch_old
[Mar 07 14:16:06:672179] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:672376] pilight-daemon: DEBUG: protocol arctech_switch
[Mar 07 14:16:06:672897] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:673135] pilight-daemon: DEBUG: protocol arctech_screen_old
[Mar 07 14:16:06:673341] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:673529] pilight-daemon: DEBUG: protocol arctech_screen
[Mar 07 14:16:06:673734] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:674865] pilight-daemon: DEBUG: protocol arctech_motion
[Mar 07 14:16:06:675166] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:675364] pilight-daemon: DEBUG: protocol arctech_dusk
[Mar 07 14:16:06:675560] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:675742] pilight-daemon: DEBUG: protocol arctech_dimmer
[Mar 07 14:16:06:676835] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:677065] pilight-daemon: DEBUG: protocol arctech_contact
[Mar 07 14:16:06:677642] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:677861] pilight-daemon: DEBUG: protocol alecto_wx500
[Mar 07 14:16:06:678898] pilight-daemon: DEBUG: ran garbage collector
[Mar 07 14:16:06:679165] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:679364] pilight-daemon: DEBUG: protocol alecto_wsd17
[Mar 07 14:16:06:679555] pilight-daemon: DEBUG: ran garbage collector
[Mar 07 14:16:06:679751] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:680765] pilight-daemon: DEBUG: protocol alecto_ws1700
[Mar 07 14:16:06:681320] pilight-daemon: DEBUG: ran garbage collector
[Mar 07 14:16:06:681543] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:682531] pilight-daemon: DEBUG: protocol process
[Mar 07 14:16:06:682772] pilight-daemon: DEBUG: freed options struct
[Mar 07 14:16:06:682958] pilight-daemon: DEBUG: garbage collected protocol library
[Mar 07 14:16:06:683143] pilight-daemon: DEBUG: garbage collected ntp library
[Mar 07 14:16:06:684674] pilight-daemon: DEBUG: stopping socket thread
[Mar 07 14:16:06:685312] pilight-daemon: DEBUG: stopped thread socket, 3 threads running
[Mar 07 14:16:06:696514] pilight-daemon: DEBUG: stopping ssdp thread
[Mar 07 14:16:06:696836] pilight-daemon: DEBUG: stopped thread ssdp, 2 threads running
[Mar 07 14:16:06:707185] pilight-daemon: DEBUG: stopping sender thread
[Mar 07 14:16:06:707505] pilight-daemon: DEBUG: stopped thread sender, 1 thread running
[Mar 07 14:16:06:717850] pilight-daemon: DEBUG: stopping broadcaster thread
[Mar 07 14:16:06:718170] pilight-daemon: DEBUG: stopped thread broadcaster, 0 threads running
[Mar 07 14:16:06:728576] pilight-daemon: DEBUG: garbage collected threads library
[Mar 07 14:16:06:728869] pilight-daemon: DEBUG: garbage collected wiringX library
[Mar 07 14:16:06:729070] pilight-daemon: DEBUG: garbage collected dso library
DEBUG: garbage collected log library

I think that the problem could be the old Raspberry!?
 
Reply
#7
Hmm, I'm not sure how this version number came about, pilight uses v7.0 for the latest stable and something like v7.0-173-gf73a46b for the latest development version. What steps did you follow to install pilight?
It's definitely not an issue of old hardware, pilight started out when only the Raspberry Pi 1 was available, and it has been supported forever.
 
Reply
#8
Ok, so it's not a network problem.
Just checked the source code. That message "hardware not supported" can only be found in the source wiringX.c and further more it seems it is within a #ifndef _WIN32 compile part. That confuses me because you said you are running a Raspberry. So you use Windows on it?

If you are on Raspberry/Jessie maybe you can check for the platform, at prompt do this :
Code:
~ $ python
Python 2.7.3 (default, Mar 18 2014, 05:13:23)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> platform.uname()[1] + " -- " + str(platform.platform()).replace("'","")
'raspberrypi -- Linux-3.18.11-v7+-armv7l-with-debian-7.8'
>>> exit()
What is your platform string?

To what pilino1234 said, I expect it's a problem with wiring or the 433 device
 
Reply
#9
@pilino1234
i removed all pilight`s and reinstalled the stable with
Code:
apt-get install pilight

now the version info looks like
Code:
sudo pilight-daemon --version
pilight-daemon version v7.0

output of the daemon
Code:
sudo pilight-daemon -D
[Mar 07 15:03:26:920733] pilight-daemon: INFO: version v7.0
[Mar 07 15:03:26:922967] pilight-daemon: DEBUG: ssdp sent search
[ Mar 07 15:03:27:34725] pilight-daemon: INFO: no pilight daemon found, daemonizing
[ Mar 07 15:03:27:37451] pilight-daemon: INFO: daemon listening to port: 43229
[ Mar 07 15:03:27:42532] pilight-daemon: ERROR: hardware not supported
[ Mar 07 15:03:27:45243] pilight-daemon: DEBUG: new thread socket, 1 thread running
[ Mar 07 15:03:27:47438] pilight-daemon: DEBUG: new thread ssdp, 2 threads running
[ Mar 07 15:03:27:44443] pilight-daemon: DEBUG: garbage collected wiringX library
[ Mar 07 15:03:27:52764] pilight-daemon: ERROR: could not initialize 433gpio hardware module
[ Mar 07 15:03:27:54660] pilight-daemon: DEBUG: garbage collected event operator library

platform info
Code:
sudo uname -a
Linux homeboxpi 4.9.13+ #974 Wed Mar 1 20:04:40 GMT 2017 armv6l GNU/Linux
 
Reply
#10
@gneandr
There's a n in #ifndev, meaning that this block of code is only applicable to platforms where _WIN32 is not defined... Also, just run "uname -a" in a shell to get the same information but a lot faster Wink
But that's all beside the point, there is no question that Raspbian, both wheezy and jessie, are supported on a Raspberry Pi 1. It's just that wiringX does not recognize the hardware, which may have something to do with the weird version number that @crashoverride01 is reporting.

wiringX is just a low-level library for allowing software like pilight have a uniform API to access GPIO and other buses on a lot of different platforms (see http://www.wiringx.org for more details). wiringX neither knows nor cares about what is attached to the pins, so that doesn't matter at all.


@crashoverride01
Ok, now the version number looks normal again. I don't know why wiringX does not recognize your hardware... What's the output of "uname -a"?

I suggest you try to install the latest nightly and see if that works better, see the Installation manual page . In step 3, it mentions adding a second repository - do this.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  Webserver/GUI not running / no access Sisko4 2 1,499 03-21-2017, 03:05 PM
Last Post: pilino1234

Forum Jump:


Browsing: 1 Guest(s)