• 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] pilight 7.0 LAN interact connection - 2 Raspberrys
#1
Hello,

I'm using 2 Raspberry PI 3. I have installed the "Raspbian Jessie Lite" on the first Raspberry and, after installing pilight with "git clone master branch", i have cloned the entire operating system to the second Raspberry.

All works well but the first time when i'm connecting both Raspberrys, i believe that the first is connecting to the second.

Raspberry 1:
sudo pilight-receive

Raspberry 2:
sudo service pilight restart

And the raspberry 1 auto disconnect the pilight-receive listener.

This can be because it's a clone? I want to use 3 raspberrys.

Now i understand. The process pilight-receive is scanning for UPNP service. I'll read more about pilight configuration.
I will write when I have a solution.
 
Reply
#2
When i'm putting the option: "whitelist": "localhost" or "127.0.0.1" the pilight drops all input connections out of the box; but the pilight-receive don't connect to localhost.

I tried it with the "--server" option but dont works. 

The solution is:

add to file /etc/pilight/config.json, in the section settings:
"whitelist": "Raspberry IP" <- for example: 192.168.1.250

Note: stop the pilight service before modifying this file.
 
Reply
#3
How to disable the SSDP protocol and force the local connection?
with the parameter --server=localhost don't work.
Which is the pilight service port? With UPNP every time gets new port.

I want to disable UPNP and use common socket listener without publish it on UPNP.

Is possible?
 
Reply
#4
Hey,

use the standalone and the port parameter in the config.json (link). And for the pillight-receive/send the parameter -S for daemon-IP and -P for daemon-port (link

Greetings,
tobid
 
Reply
#5
(07-10-2016, 03:11 PM)tobid Wrote: Hey,

use the standalone and the port parameter in the config.json (link). And for the pillight-receive/send the parameter -S for daemon-IP and -P for daemon-port (link

Greetings,
tobid

Thank you very much.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  pilight 8.1.4 crashes after some hours Ulrich.Arnold 1 12 Yesterday, 06:43 PM
Last Post: curlymo
  [Already fixed in 8.1.2] Loss of webserver-connection Ulrich.Arnold 28 861 05-17-2019, 06:12 PM
Last Post: curlymo
  pilight-send does not stop (terminate) va13 3 52 05-15-2019, 06:06 PM
Last Post: curlymo
  oom_reaper: reaped process pilight-daemon va13 4 77 05-15-2019, 08:03 AM
Last Post: va13
  cant configure or even start pilight on raspi 3b Xvnx23 2 88 05-06-2019, 09:47 PM
Last Post: fourty2
Sad Raspberry Pi: "NOTICE: no pilight ssdp connections found" abusch 8 114 04-30-2019, 09:10 PM
Last Post: curlymo
  Using pilight-daemon socket API def_meggi 4 78 04-29-2019, 05:58 PM
Last Post: curlymo
  pilight-flash not working danny 9 165 04-27-2019, 09:02 PM
Last Post: curlymo
  pilight and Lirc lordslash 3 82 04-24-2019, 06:32 PM
Last Post: curlymo
Question Pi 3+ & pilight & 433Mhz RXB6: no receiption hacklschorsch 3 434 02-05-2019, 10:37 PM
Last Post: hacklschorsch

Forum Jump:


Browsing: 1 Guest(s)