• 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
Running pilight offline
#1
Hi!
I want to be able to use my pilight without any network connection. However, I keep getting the
Code:
no pilight ssdp connections found
when it is not connected to network.
When I disable it completely, with the standalone setting, I still get the same error. Do I really need to use sspd if I want to use the Pi offline?
I've checked the wiki regarding the sspd problem but nothing works.
 
Reply
#2
Sorry that i'm not able to guess what your were doing when you got this message...
 
Reply
#3
(07-15-2015, 07:15 PM)curlymo Wrote: Sorry that i'm not able to guess what your were doing when you got this message...
Not sure how to explain it.. Sorry.
I have a raspberry pi running pilight V6. I got it hooked up to a touchscreen which I use to control a relayboard connected to the pi.

When I have my Raspberry Pi connected to internet, pilight works like a charm. However, when it is not connected to internet(when I pull out the ehternet cable), I get the "no pilight ssdp connections found"-error.
I really need pilight to work without internet.
I've tried disabling the webserver-enable and setting it in standalone mode, but that doesn't help.
 
Reply
#4
Yes, but what command are you running when you get that message?
 
Reply
#5
(07-15-2015, 08:44 PM)curlymo Wrote: Yes, but what command are you running when you get that message?
Oh sorry.
Code:
/usr/local/bin/pilight-control -d r4 -s on
 
Reply
#6
Code:
/usr/local/bin/pilight-control -H
I think this will give you the hint you need.
 
Reply
#7
(07-16-2015, 08:04 AM)curlymo Wrote:
Code:
/usr/local/bin/pilight-control -H
I think this will give you the hint you need.

Curlymo, I really appreciate your help, but how is this supposed to help me?
Should I connect to it with the specific adress(127.0.0.0)?
Because that doesn't really help..
Code:
/usr/local/bin/pilight-control -S 127.0.0.0 -d r4 -s on
[Jul 16 17:20:53:452357] pilight-control: ERROR: no pilight ssdp connections found
 
Reply
#8
That's what i like, people actually trying to find the solution themselves. You almost got it, but you also need to define the port -P
 
Reply
#9
(07-16-2015, 06:16 PM)Aweponken Wrote: Should I connect to it with the specific adress(127.0.0.0)?
[snip]
Code:
/usr/local/bin/pilight-control -S 127.0.0.0 -d r4 -s on
[Jul 16 17:20:53:452357] pilight-control: ERROR: no pilight ssdp connections found

Shouldn't that IP be 127.0.0.1? Along with the port value that curlymo mentioned, that should make it work
 
Reply
#10
(07-16-2015, 09:02 PM)curlymo Wrote: That's what i like, people actually trying to find the solution themselves. You almost got it, but you also need to define the port -P

I see, thanks. I thought it needed the port as well Smile
To find ports I ran:
Code:
netstat -lptn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:5001            0.0.0.0:*               LISTEN      1261/pilight-daemon
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      689/xbmc.bin    
tcp        0      0 0.0.0.0:45265           0.0.0.0:*               LISTEN      1261/pilight-daemon
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1163/sshd      
tcp        0      0 127.0.0.1:9090          0.0.0.0:*               LISTEN      689/xbmc.bin

So I ran this:
Code:
/home/xbian# /usr/local/bin/pilight-control -S 0.0.0.0 -P 8080 -d r4 -s on
Which doesn't generate an error, but it doesn't trigger the lamps I got connected to pilight either. So, any ideas?

EDIT
Tried disabling the webserver also.
Code:
vnetstat -lptn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      689/xbmc.bin    
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1319/sshd      
tcp        0      0 0.0.0.0:50144           0.0.0.0:*               LISTEN      1408/pilight-daemon
tcp        0      0 127.0.0.1:9090          0.0.0.0:*               LISTEN      689/xbmc.bin    
root@xbian:/home/xbian# /usr/local/bin/pilight-control -S 127.0.0.1 -P 9090 -d r2 -s on
root@xbian:/home/xbian#
No errors as you can see, but the relays does not get trigged.

EDIT2
So I tried the wrong port....
Now it works. However, the port is always randomized. Is there a way to set a static port?
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  Webgui offline after some hours scootermacro 19 564 06-03-2020, 08:16 AM
Last Post: scootermacro
  pilight bugs Ascenion 1 210 03-23-2020, 06:29 PM
Last Post: curlymo
  [Solved] pilight service crashing on first webserver access after reboot VrahoK 20 1,718 12-21-2019, 09:46 AM
Last Post: curlymo
  pilight-control modify values coolinx 16 1,499 11-13-2019, 08:02 PM
Last Post: curlymo
  Bug: double free or corruption in pilight-send blackzombie 12 1,359 10-07-2019, 08:15 PM
Last Post: blackzombie
  [Fixed] High CPU usage when pilight usb nano disconnects DieterK 1 533 08-13-2019, 05:43 PM
Last Post: curlymo
  pilight Nano USB interface curlymo 228 117,765 07-10-2019, 06:14 PM
Last Post: curlymo
  problems compiling pilight on Odroid C2 WitchDoctor 101 17,246 03-14-2019, 09:01 PM
Last Post: curlymo
  pilight 8 what chages for custom protocols? polo 11 4,459 02-15-2019, 06:22 PM
Last Post: polo
  pilight-debug shows nothing minhdomanh 3 1,000 10-18-2018, 07:01 AM
Last Post: felfert

Forum Jump:


Browsing: 1 Guest(s)