The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.3.14-1~deb10u1 (Linux)
File Line Function
/showthread.php 895 errorHandler->error



  • 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:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Node support changed?
#1
I just wanted to connect two different RPi's using the client/server/node system, but it seems it is no longer configured this way?

Code:
pi@raspberrypi2 /etc/pilight $ sudo service pilight start
[....] Starting : pilight[Dec 30 12:46:25:324748] pilight-daemon: ERROR: setting "mode" is invalid
failed!

pi@raspberrypi2 ~/pilight $ sudo pilight-daemon -V
pilight-daemon version 2.1, commit 0ae096f

If I compare daemon.c in master and development branch, it is missing the part where it looks for the setting MODE.

Master branche, line 1365
Code:
if(settings_find_string("mode", &stmp) == 0) {
                if(strcmp(stmp, "client") == 0) {
                        runmode = 2;
                } else if(strcmp(stmp, "server") == 0) {
                        runmode = 1;
                }
        }

development branch line 1430
Code:
if(ssdp_seek(&ssdp_list) == -1) {
                logprintf(LOG_NOTICE, "no pilight daemon found, daemonizing");
        } else {
                logprintf(LOG_NOTICE, "a pilight daemon was found, clientizing");
                runmode = 2;
        }
        sfree((void *)&ssdp_list);

Couldn't find anything new in the wiki/forum.
 
  


Messages In This Thread
Node support changed? - by koffie - 12-30-2013, 12:58 PM
RE: Node support changed? - by curlymo - 12-30-2013, 01:27 PM
RE: Node support changed? - by koffie - 01-08-2014, 09:04 AM
RE: Node support changed? - by koffie - 12-30-2013, 10:26 PM
RE: Node support changed? - by curlymo - 12-30-2013, 10:32 PM
RE: Node support changed? - by koffie - 12-31-2013, 09:00 AM
RE: Node support changed? - by curlymo - 12-31-2013, 11:14 AM
RE: Node support changed? - by koffie - 12-31-2013, 11:28 AM
RE: Node support changed? - by curlymo - 01-08-2014, 10:14 AM
RE: Node support changed? - by koffie - 01-08-2014, 10:23 AM
RE: Node support changed? - by curlymo - 01-08-2014, 10:35 AM
RE: Node support changed? - by koffie - 01-08-2014, 10:47 AM
RE: Node support changed? - by curlymo - 01-08-2014, 11:06 AM
RE: Node support changed? - by koffie - 01-08-2014, 11:27 AM
RE: Node support changed? - by curlymo - 01-08-2014, 11:35 AM
RE: Node support changed? - by koffie - 01-08-2014, 11:50 AM
RE: Node support changed? - by curlymo - 01-08-2014, 11:54 AM
Re: Node support changed? - by creamers - 01-08-2014, 12:25 PM
RE: Node support changed? - by curlymo - 01-08-2014, 12:49 PM
RE: Node support changed? - by curlymo - 01-12-2014, 05:44 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  Windows Support curlymo 35 21,938 06-10-2018, 04:40 PM
Last Post: Leo
  Odroid C2 support on Kernel 4.14 Jojo 5 1,202 06-01-2018, 03:19 PM
Last Post: curlymo
  Mac OS X support andies 4 2,571 12-01-2016, 09:48 PM
Last Post: andies
  Odroid-C1 support terrar 51 24,688 05-31-2016, 11:08 AM
Last Post: Jojo
  Ububtu 14.4 64 bit support terrar 30 14,387 05-09-2015, 11:40 PM
Last Post: curlymo
Question radxa support terrar 57 23,500 01-05-2015, 06:58 PM
Last Post: curlymo
  [Fixed] GPIO at second (clientized) node isn't triggered easy12 12 9,013 04-28-2014, 02:13 PM
Last Post: curlymo
  [Solved] Disabled PHP support error lvdp 4 5,937 02-18-2014, 12:02 AM
Last Post: meloen

Forum Jump:


Browsing: 1 Guest(s)