Posts: 4
Threads: 0
Joined: Nov 2015
Reputation:
0
i have only one raspberry Pi running,
and only one pilight service instance (as far as I know).
so i do not quite understand what you mean
Posts: 4
Threads: 0
Joined: Nov 2015
Reputation:
0
OK thanx
so if i run pilight-receive, that message is also displayed because no other daemons are found?
Posts: 901
Threads: 14
Joined: Jun 2014
Reputation:
15
Not quite: pilight-receive needs a pilight-daemon running (can be on the same computer or a different one on the same network) to work.
So you need to start the pilight daemon and when it's running, then you can start pilight-receive.
Posts: 2
Threads: 0
Joined: Mar 2015
Reputation:
0
This is what I found after quite too long experimenting and re-installing:
In a fresh install on NOOBS (that's for me) 'pilight-send bla bla' works fine.
After I configure config.json with all sorts of info, including '"standalone": 1' (don't mind the rest of the world) in the settings section, and having it play ball, my commandline 'pilight-send' throws me the ssdp message. Changing '"standalone": 0' or removing it, makes no difference. ('service pilight stop' - alter config.json - 'service pilight start')
But if I replace config.json with the bare OOTB version 'pilight-send' works fine again.
So apparantly I cann't have the command line and the server working at the same time. I do not actually need them both, so I made a shell script to backup config.json and copy config.json-default and vice versa for when I do need to switch.
I hope it saves at least one person a lot of time...
Posts: 1
Threads: 0
Joined: Mar 2017
Reputation:
0
03-05-2017, 10:37 AM
(This post was last modified: 03-05-2017, 10:38 AM by Remi.)
I solved this by adding "$local_fs $network" to the pilight init script
Now no manual restart is needed after a reboot.
nano /etc/init.d/pilight
#! /bin/sh
### BEGIN INIT INFO
# Provides: pilight-daemon
# Required-Start: $local_fs $network $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
After editing run:
update-rc.d pilight defaults
Posts: 5
Threads: 0
Joined: Mar 2017
Reputation:
1
iam always getting the error "no pilight ssdp connections found"
was searching for a solution for hours... also the last post didnt help.
what can i do do solve this issiue?