• 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
[Solved] No ssdp connection found
Can you check the output of the pilight daemon in debug mode to make sure that it starts properly? Most of these network related SSDP bugs should have been fixed in the recent releases...

Run
Code:
sudo pilight-daemon -D

and paste the output here (in code tags) after starting the pilight-receive command. Please also post your config (at least the settings section).
 
Reply
Yeah, for sure! Thanks for your help! Smile

The log:
Code:
pi@raspberrypi:~ $ pilight-receive
[ Nov 29 22:42:57:70259] pilight-receive: NOTICE: no pilight ssdp connections found
pi@raspberrypi:~ $ sudo pilight-daemon -D
[Nov 29 22:43:02:113450] pilight-daemon: INFO: version v8.0.4
[Nov 29 22:43:02:141486] pilight-daemon: INFO: daemon listening to port: 40495
[Nov 29 22:43:02:144154] pilight-daemon: ERROR: cannot bind to webserver port, address already in use?
[Nov 29 22:43:02:145497] pilight-daemon: ERROR: cannot bind to webserver port, address already in use?
[Nov 29 22:43:02:147684] pilight-daemon: DEBUG: new thread socket, 1 thread running
[Nov 29 22:43:02:149153] pilight-daemon: DEBUG: new thread sender, 2 threads running
[Nov 29 22:43:02:151229] pilight-daemon: DEBUG: new thread broadcaster, 3 threads running
[Nov 29 22:43:02:152054] pilight-daemon: DEBUG: new thread receive parser, 4 threads running
[Nov 29 22:43:02:152860] pilight-daemon: DEBUG: new thread events client, 5 threads running
[Nov 29 22:43:02:153680] pilight-daemon: DEBUG: new thread events loop, 6 threads running
[Nov 29 22:43:02:155087] pilight-daemon: INFO: new client, ip: 127.0.0.1, port: 49716
[Nov 29 22:43:02:155758] pilight-daemon: DEBUG: client fd: 11
[Nov 29 22:43:02:156765] pilight-daemon: DEBUG: client id: 1
[Nov 29 22:43:02:159365] pilight-daemon: DEBUG: ssdp sent search
[Nov 29 22:43:02:270167] pilight-daemon: NOTICE: no pilight ssdp connections found
[Nov 29 22:43:02:272159] pilight-daemon: INFO: new client, ip: 127.0.0.1, port: 49718
[Nov 29 22:43:02:273113] pilight-daemon: DEBUG: client fd: 13
[Nov 29 22:43:02:273708] pilight-daemon: DEBUG: client id: 2
[Nov 29 22:43:02:275546] pilight-daemon: DEBUG: socket write succeeded: {"action":"identify","options":{"config":1,"receiver":1},"media":"all"}

[Nov 29 22:43:02:277818] pilight-daemon: DEBUG: socket recv: {"action":"identify","options":{"config":1,"receiver":1},"media":"all"}
[Nov 29 22:43:02:279692] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}

[ Nov 29 22:43:03:78521] pilight-daemon: DEBUG: cpu: 0.000000%
[ Nov 29 22:43:06:82215] pilight-daemon: DEBUG: cpu: 0.114726%

config.json

Code:
{
        "devices": {},
        "rules": {},
        "gui": {},
        "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/webgui",
                "webserver-http-port": 5001,
                "webserver-https-port": 5002,
                "webserver-cache": 1,
                "gpio-platform": "none",
                "standalone": 1
        },
        "hardware": {},
        "registry": {
                "webserver": {
                        "ssl": {
                                "certificate": {
                                        "secure": 0,
                                        "location": "/etc/pilight/pilight.pem"
                                }
                        }
                },
                "pilight": {
                        "version": {
                                "current": "8.0.4"
                        }
                }
        }
}

interfaces

Code:
# interfaces(5) file used by ifup(8) and ifdown(8)

# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'

# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

allow-hotplug wlan0
iface lo inet loopback
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
 
Reply
You don't want to set standalone to 1 in this case, because this setting turns off the ssdp broadcast and discovery in the pilight-daemon. Set it to 0 (or remove it), then start the pilight daemon in debug mode again and only then start pilight-receive.
 
Reply
Woohoo! Good News! When i delete Standalone: 1, everythings works fine!
but i had to use the interfaces entries as described. might be a good addition in the wiki for the users who want to use wifi instead of lan.
 
Reply
Already found in the FAQ in the manual (the wiki is being phased out as general documentation).

https://manual.pilight.org/faq.html#fixi...ion-issues
 
Reply
Hi,

after rebooting my raspi, I'm getting the following message when I call pilight-send:

[Dec 23 13:03:38:380017] pilight-send: NOTICE: no pilight ssdp connections found

When I restart pilight service, all is working as expected. Can somebody give me a hint how to fix this? For me it looks like a dependency issue when starting pilight. 

Thanks!

EDIT: This is only a problem with pilight-send. Not when I'm using Homekit with homebridge or the web interface of pilight. This is something what I can't understand.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  Connection lost, trying to reconnect — loop apartmedia 5 500 03-16-2019, 09:41 AM
Last Post: curlymo
  [solved] Webgui 404-Error PT-Biker 2 931 11-11-2017, 09:49 AM
Last Post: PT-Biker
  [solved] Hardware not compatible ccc.ggg73 1 1,434 06-10-2017, 09:10 AM
Last Post: curlymo
  Standalone but SSDP brenner23 6 2,359 04-16-2017, 11:34 PM
Last Post: brenner23
  [Solved] pilight ssdp celle 6 8,017 02-23-2017, 03:22 PM
Last Post: gneandr
  Raspbian jessie - pilight 7 - no pilight ssdp connections found shirocko 20 16,017 01-29-2017, 10:23 PM
Last Post: gneandr
  [solved] No signal with raw data andies 6 2,895 12-25-2016, 09:11 AM
Last Post: andies
  pilight without internet connection terrar 5 3,161 08-12-2016, 09:47 PM
Last Post: terrar
  ssdp discovery clach04 5 4,742 05-23-2016, 04:23 PM
Last Post: pilino1234
  Found Bug? boukehaarsma 8 3,948 01-27-2016, 11:07 PM
Last Post: boukehaarsma

Forum Jump:


Browsing: 2 Guest(s)