• 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
pilight-daemon fails to start 2 of 3 times
#1
Hi,

I followed a tutorial so I can switch some wireless sockets using the pi.

When I try to start the pilight daemon using:
sudo pilight-daemon

I don't get any error message from that.

But when I then use
sudo pilight-send ...

I get the error message
[ Nov 30 20:10:27:57369] pilight-send: NOTICE: no pilight ssdp connections found

but when I try sudo pilight-daemon again and again, pilight-send works sometimes. So most of the times it works after starting the daemon 3 times.

Does someone have any idea what could be the problem?

Thank you and kind regards,
tietze111

Do you know I can't post on this forums when I don't input the message manually in the post request using tamper data? The post doesn't send the message with it, I have to put it in there again. Can anyone even answer me?
 
Reply
#2
Did you try the suggestions in the FAQ?

About the forum issues, can you open a new thread about it?
 
Reply
#3
Thank you, didn't know that it was a frequently asked question, should've thought about that. I already checked the interfaces to be set correctly, since I found that using google.

But I didn't try this yet, will do when I'm at home:
Quote:sudo iptables -A INPUT -s 127.0.0.1 -j ACCEPT

Also, I use Lirc on the same Pi to control my TV using a infrared lamp. Can that be the reason?

I thought about building my own webui, so I have Lirc and pilight on the same frontend. So can I just disable SSDP completely and execute the signals using command line (pilight send ...)? I will probably use node.js
 
Reply
#4
(12-02-2016, 01:28 PM)tietze111 Wrote: I thought about building my own webui, so I have Lirc and pilight on the same frontend. So can I just disable SSDP completely and execute the signals using command line (pilight send ...)? I will probably use node.js

It would be better to use the socket API for this, see https://manual.pilight.org/en/api for documentation.
 
Reply
#5
Setting a static ip address in the file /etc/network/interfaces fixed my problems.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  pilight service crashing on first webserver access after reboot VrahoK 6 27 7 hours ago
Last Post: curlymo
  pilight-control modify values coolinx 16 344 11-13-2019, 08:02 PM
Last Post: curlymo
  Bug: double free or corruption in pilight-send blackzombie 12 351 10-07-2019, 08:15 PM
Last Post: blackzombie
  [Fixed] High CPU usage when pilight usb nano disconnects DieterK 1 203 08-13-2019, 05:43 PM
Last Post: curlymo
  pilight Nano USB interface curlymo 228 100,635 07-10-2019, 06:14 PM
Last Post: curlymo
  communication between main daemon and clientized daemon stops tomk 29 2,190 05-06-2019, 08:57 PM
Last Post: curlymo
  problems compiling pilight on Odroid C2 WitchDoctor 101 11,073 03-14-2019, 09:01 PM
Last Post: curlymo
  pilight 8 what chages for custom protocols? polo 11 3,194 02-15-2019, 06:22 PM
Last Post: polo
  How to check if a time is between two times? rorie 4 526 10-18-2018, 07:06 AM
Last Post: curlymo
  pilight-debug shows nothing minhdomanh 3 623 10-18-2018, 07:01 AM
Last Post: felfert

Forum Jump:


Browsing: 1 Guest(s)