• 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
#41
root@RASPBIAN:~# pilight-daemon -V
pilight-daemon version 3.0, commit v3.0

setting
Code:
"log-level": 4,
        "pid-file": "/var/run/pilight.pid",
        "config-file": "/etc/pilight/config.json",
        "hardware-file": "/etc/pilight/hardware.json",
        "log-file": "/var/log/pilight.log",
        "send-repeats": 10,
        "receive-repeats": 1,
        "webserver-enable": 1,
        "webserver-root": "/usr/local/share/pilight",
        "webserver-port": 5002,
        "webserver-cache": 1,
        "whitelist": "",
        "update-check": 1,
        "standalone": 1

hardware
Code:
{
        "433gpio": {
                "sender": 0,
                "receiver": 1
        }
}

config
Code:
{
        "living": {
                "name": "Salon",
                "switcha": {
                        "name": "Television",
                        "protocol": [ "elro_hc" ],
                        "id": [{
                                "systemcode": 0,
                                "unitcode": 15
                        }],
                        "state": "off"
                },
                "switchb": {
                        "name": "Lampara Pie",
                        "protocol": [ "elro_hc" ],
                        "id": [{
                                "systemcode": 0,
                                "unitcode": 27
                        }],
                        "state": "off"
                },
                "switchd": {
                        "name": "Lampara Mesa",
                        "protocol": [ "elro_hc" ],
                        "id": [{
                                "systemcode": 0,
                                "unitcode": 29
                        }],
                        "state": "off"
                }
        },
        "lobby": {
                "name": "Entrada",
                "switchb": {
                        "name": "Lampara",
                        "protocol": [ "elro_hc" ],
                        "id": [{
                                "systemcode": 0,
                                "unitcode": 23
                        }],
                        "state": "off"
                }
        }
}

root@RASPBIAN:~# pilight-daemon -D

Code:
[Mar 27 14:51:19:974755] pilight-daemon: DEBUG: -- start parsed config file --
{
        "living": {
                "name": "Salon",
                "order": 1,
                "switcha": {
                        "name": "Television",
                        "order": 1,
                        "type": 1,
                        "uuid": "03C5-00-00-C5-000300",
                        "origin": "03C5-00-00-C5-000300",
                        "protocol": [ "elro_hc" ],
                        "id": [{
                                "systemcode": 0,
                                "unitcode": 15
                        }],
                        "state": "off",
                        "settings": {
                                "readonly": 0,
                                "states": "on,off"
                        }
                },
                "switchb": {
                        "name": "Lampara Pie",
                        "order": 2,
                        "type": 1,
                        "uuid": "03C5-00-00-C5-000300",
                        "origin": "03C5-00-00-C5-000300",
                        "protocol": [ "elro_hc" ],
                        "id": [{
                                "systemcode": 0,
                                "unitcode": 27
                        }],
                        "state": "off",
                        "settings": {
                                "readonly": 0,
                                "states": "on,off"
                        }
                },
                "switchd": {
                        "name": "Lampara Mesa",
                        "order": 3,
                        "type": 1,
                        "uuid": "03C5-00-00-C5-000300",
                        "origin": "03C5-00-00-C5-000300",
                        "protocol": [ "elro_hc" ],
                        "id": [{
                                "systemcode": 0,
                                "unitcode": 29
                        }],
                        "state": "off",
                        "settings": {
                                "readonly": 0,
                                "states": "on,off"
                        }
                }
        },
        "lobby": {
                "name": "Entrada",
                "order": 2,
                "switchb": {
                        "name": "Lampara",
                        "order": 1,
                        "type": 1,
                        "uuid": "03C5-00-00-C5-000300",
                        "origin": "03C5-00-00-C5-000300",
                        "protocol": [ "elro_hc" ],
                        "id": [{
                                "systemcode": 0,
                                "unitcode": 23
                        }],
                        "state": "off",
                        "settings": {
                                "readonly": 0,
                                "states": "on,off"
                        }
                }
        }
}
[Mar 27 14:51:19:976588] pilight-daemon: DEBUG: -- end parsed config file --
[Mar 27 14:51:19:976980] pilight-daemon: INFO: daemon listening to port: 52748
[Mar 27 14:51:19:986423] pilight-daemon: DEBUG: new thread webserver daemon, 1 thread running
[Mar 27 14:51:19:986909] pilight-daemon: DEBUG: new thread 433gpio, 2 threads running
[Mar 27 14:51:19:987262] pilight-daemon: DEBUG: new thread updater, 3 threads running
[Mar 27 14:51:19:987609] pilight-daemon: DEBUG: new thread broadcaster, 4 threads running
[Mar 27 14:51:19:987952] pilight-daemon: DEBUG: new thread sender, 5 threads running
[Mar 27 14:51:19:988302] pilight-daemon: DEBUG: new thread ssdp, 6 threads running
[Mar 27 14:51:19:988697] pilight-daemon: DEBUG: new thread socket, 7 threads running
[Mar 27 14:51:19:989498] pilight-daemon: INFO: webserver listening to port: 5002
[Mar 27 14:51:19:994240] pilight-daemon: DEBUG: new thread webserver broadcast, 8 threads running
[Mar 27 14:51:19:994786] pilight-daemon: DEBUG: new thread webserver client, 9 threads running
[Mar 27 14:51:19:995491] pilight-daemon: DEBUG: ssdp sent search
[ Mar 27 14:51:20:89392] pilight-daemon: DEBUG: no pilight ssdp connections found
[Mar 27 14:53:27:449491] pilight-daemon: DEBUG: could not connect to pilight-daemon
 
Reply
#42
And with a static port?
 
Reply
#43
"webserver-port": 5002? Or another port type?


Enviado desde mi iPhone con Tapatalk
 
Reply
#44
The other port: http://www.pilight.org/getting-started/settings/
 
Reply
#45
I've added

"port": 5000

and

sudo iptables -A INPUT -s 127.0.01 -j ACCEPT

root@RASPBIAN:~# pilight-daemon -D
Code:
[Mar 28 09:17:30:869760] pilight-daemon: DEBUG: -- start parsed config file --
{
        "living": {
                "name": "Salon",
                "order": 1,
                "switcha": {
                        "name": "Television",
                        "order": 1,
                        "type": 1,
                        "uuid": "03C5-00-00-C5-000300",
                        "origin": "03C5-00-00-C5-000300",
                        "protocol": [ "elro_hc" ],
                        "id": [{
                                "systemcode": 0,
                                "unitcode": 15
                        }],
                        "state": "off",
                        "settings": {
                                "readonly": 0,
                                "states": "on,off"
                        }
                },
                "switchb": {
                        "name": "Lampara Pie",
                        "order": 2,
                        "type": 1,
                        "uuid": "03C5-00-00-C5-000300",
                        "origin": "03C5-00-00-C5-000300",
                        "protocol": [ "elro_hc" ],
                        "id": [{
                                "systemcode": 0,
                                "unitcode": 27
                        }],
                        "state": "off",
                        "settings": {
                                "readonly": 0,
                                "states": "on,off"
                        }
                },
                "switchd": {
                        "name": "Lampara Mesa",
                        "order": 3,
                        "type": 1,
                        "uuid": "03C5-00-00-C5-000300",
                        "origin": "03C5-00-00-C5-000300",
                        "protocol": [ "elro_hc" ],
                        "id": [{
                                "systemcode": 0,
                                "unitcode": 29
                        }],
                        "state": "off",
                        "settings": {
                                "readonly": 0,
                                "states": "on,off"
                        }
                }
        },
        "lobby": {
                "name": "Entrada",
                "order": 2,
                "switchb": {
                        "name": "Lampara",
                        "order": 1,
                        "type": 1,
                        "uuid": "03C5-00-00-C5-000300",
                        "origin": "03C5-00-00-C5-000300",
                        "protocol": [ "elro_hc" ],
                        "id": [{
                                "systemcode": 0,
                                "unitcode": 23
                        }],
                        "state": "off",
                        "settings": {
                                "readonly": 0,
                                "states": "on,off"
                        }
                }
        }
}
[Mar 28 09:17:30:871558] pilight-daemon: DEBUG: -- end parsed config file --
[Mar 28 09:17:30:871956] pilight-daemon: INFO: daemon listening to port: 5000
[Mar 28 09:17:30:884050] pilight-daemon: DEBUG: new thread webserver daemon, 1 t                                                                                                                         hread running
[Mar 28 09:17:30:884529] pilight-daemon: DEBUG: new thread 433gpio, 2 threads ru                                                                                                                         nning
[Mar 28 09:17:30:884881] pilight-daemon: DEBUG: new thread updater, 3 threads ru                                                                                                                         nning
[Mar 28 09:17:30:885510] pilight-daemon: DEBUG: new thread broadcaster, 4 thread                                                                                                                         s running
[Mar 28 09:17:30:885869] pilight-daemon: DEBUG: new thread sender, 5 threads run                                                                                                                         ning
[Mar 28 09:17:30:886211] pilight-daemon: DEBUG: new thread ssdp, 6 threads runni                                                                                                                         ng
[Mar 28 09:17:30:886572] pilight-daemon: DEBUG: new thread socket, 7 threads run                                                                                                                         ning
[Mar 28 09:17:30:887277] pilight-daemon: INFO: webserver listening to port: 5002
[Mar 28 09:17:30:892118] pilight-daemon: DEBUG: new thread webserver broadcast,                                                                                                                          8 threads running
[Mar 28 09:17:30:892583] pilight-daemon: DEBUG: new thread webserver client, 9 t                                                                                                                         hreads running
[Mar 28 09:17:30:893668] pilight-daemon: DEBUG: ssdp sent search
[Mar 28 09:17:30:992829] pilight-daemon: DEBUG: no pilight ssdp connections foun                                                                                                                         d
[Mar 28 09:17:57:395527] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 38296
[Mar 28 09:17:57:964467] pilight-daemon: NOTICE: caching /usr/local/share/pilight/default/index.html
[Mar 28 09:17:58:348095] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 21144
[Mar 28 09:17:58:348625] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 59544
[Mar 28 09:17:58:349137] pilight-daemon: NOTICE: caching /usr/local/share/pilight/default/jquery-2.0.2.min.js
[Mar 28 09:17:58:359658] pilight-daemon: NOTICE: caching /usr/local/share/pilight/default/manifest.appcache
[Mar 28 09:17:58:675447] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 32664
[Mar 28 09:17:58:675832] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 12184
[Mar 28 09:17:58:677199] pilight-daemon: NOTICE: caching /usr/local/share/pilight/default/jquery.mobile-1.3.2.min.css
[Mar 28 09:17:58:686500] pilight-daemon: NOTICE: caching /usr/local/share/pilight/default/pilight.css
[Mar 28 09:17:58:702851] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 17048
[Mar 28 09:17:58:704909] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 34200
[Mar 28 09:17:58:705381] pilight-daemon: NOTICE: caching /usr/local/share/pilight/default/jquery.mobile-1.3.2.min.js
[Mar 28 09:17:58:724135] pilight-daemon: NOTICE: caching /usr/local/share/pilight/default/pilight.js
[Mar 28 09:17:58:776310] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 47512
[Mar 28 09:17:59:725032] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 48792
[Mar 28 09:17:59:758722] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 48536
[Mar 28 09:18:00:699651] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 51608
[Mar 28 09:18:00:822758] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 29848
[Mar 28 09:18:00:823235] pilight-daemon: NOTICE: caching /usr/local/share/pilight/default/apple-touch-icon-ipad.png
[Mar 28 09:18:00:862419] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 20376
[Mar 28 09:18:00:863527] pilight-daemon: NOTICE: caching /usr/local/share/pilight/default/ajax-loader.gif
[Mar 28 09:18:01:130239] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 31896
[Mar 28 09:18:01:374330] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 53144
[Mar 28 09:18:01:375211] pilight-daemon: NOTICE: caching /usr/local/share/pilight/default/apple-touch-icon-iphone-retina-display-hr.png
[Mar 28 09:18:01:662829] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 41368
[Mar 28 09:18:01:663952] pilight-daemon: NOTICE: caching /usr/local/share/pilight/default/favicon.ico
[Mar 28 09:18:04:266139] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 30360
[Mar 28 09:18:04:266546] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 8344
[Mar 28 09:18:04:270463] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 51864
[Mar 28 09:18:04:272749] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 59288
[Mar 28 09:18:04:423370] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 36504
[Mar 28 09:18:04:424512] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 10136
[Mar 28 09:18:04:425360] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 43416
[Mar 28 09:18:04:481800] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 35992
[Mar 28 09:18:04:751395] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 64152
[Mar 28 09:18:05:487263] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 44184
[Mar 28 09:18:06:251814] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 10904
[Mar 28 09:18:06:874926] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 59800
[Mar 28 09:18:06:895594] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 1688
[ Mar 28 09:18:07:70917] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 63640
[Mar 28 09:18:07:438955] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 21656
[Mar 28 09:18:53:841421] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 25752
[Mar 28 09:18:53:842143] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 18328
[Mar 28 09:18:53:843033] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 15256
[Mar 28 09:18:53:843954] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 49048
[ Mar 28 09:18:54:30023] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 2456
[Mar 28 09:18:54:187059] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 40856
[Mar 28 09:18:54:188205] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 8856
[Mar 28 09:18:54:427686] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 27288
[Mar 28 09:18:54:802256] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 2968
[Mar 28 09:18:55:835360] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 46744
[Mar 28 09:18:57:227220] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 17304
[Mar 28 09:18:57:294402] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 25496
[Mar 28 09:18:57:324655] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 24728
[Mar 28 09:18:57:390130] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 8600
[Mar 28 09:18:57:757152] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 37784
[Mar 28 09:18:57:859323] pilight-daemon: INFO: client connected, ip 150.214.223.238, port 56472
[Mar 28 09:19:38:262787] pilight-daemon: DEBUG: could not connect to pilight-daemon
 
Reply
#46
So this works?
 
Reply
#47
When I try to change a switch value in WebUI and then refresh with F5 the value rollback and then:

[Mar 28 09:19:38:262787] pilight-daemon: DEBUG: could not connect to pilight-daemon

And pilight go down.
 
Reply
#48
Like is said, i need time to test this myself. I have no clue what's wrong.
 
Reply
#49
Ok thanks! I'll try to test more things.
 
Reply
#50
I found time to test things.

Clear Raspbian install, pilight stable git, all settings similar to yours --> No issues
Clear Raspbian install, pilight development git, all settings similar to yours --> No issues
Clear Raspbian install, pilight stable apt, all settings similar to yours --> No issues
 
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)