• 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
  [Fixed] RaspberryPi4 pilight 8.1.5 - Send isn't working DominikB1993 4 39 Yesterday, 10:25 PM
Last Post: DominikB1993
  Real 433Mhz Remote is disturbed by pilight service henne111 2 156 10-06-2019, 06:18 PM
Last Post: wo_rasp
Tongue (solved) pilight 8.1.5-1-gc0a175e0 Chrashes fleisch 5 577 10-03-2019, 01:15 PM
Last Post: fleisch
  Starting pilight on boot: "cannot bind to the SSDP multicast network" pilino1234 4 343 09-29-2019, 02:08 PM
Last Post: tomk
  [Already fixed in 8.1.2] Loss of webserver-connection Ulrich.Arnold 34 2,654 08-02-2019, 02:25 PM
Last Post: curlymo
  Solved - On / Off Command is the same command tigrablue 11 476 07-23-2019, 11:24 AM
Last Post: curlymo
  pilight for Raspbian Buster (raspberry pi 4) ? starob 29 2,438 07-15-2019, 08:45 PM
Last Post: curlymo
  pilight-receive Filteroption not working Alex 2 568 07-14-2019, 08:35 AM
Last Post: Alex
  pilight usb nano format conversion ettman8 2 452 07-14-2019, 08:32 AM
Last Post: curlymo
  pilight 8.1.4 crashes after some hours Ulrich.Arnold 47 2,685 06-29-2019, 08:58 PM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)