• 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
Raspberry Pi 2
I have just migrated from Raspi B+ to Raspi 2.
I use the same SD card and it works fine... except the start of the daemon after booting.
After the Raspi starts I must manually start pilight. I read, that it can help if I place a wait time in the init script. Unfotunally it doesn't work. In an other thread I read, it can be, that the pid file is not removed. But I don't know, how to fix this. Is there any work around, to start the daemon at boot time?
Yes, I've seen this happen too. But as the RPis here don't reboot often it isn't usually a problem Wink
What you can do is to add this to /etc/rc.local:
service pilight stop
sleep 5
service pilight start
exit 0
Running RPI2 with wheezy and pilight 7.0 with no problem since about 4 weeks ... only I had yesterday a stopping of pilight. Don't see the reason, the log files don't have any indications.

Assuming it was not a user error, how to analyze that situation? Which log-files to check/list and maybe setting a more detailed logging?
You could try running it in a gdb session.
No question would be possible .. but I would like to review the "standard" pilight log files .. could you please individually name then here, thanks.
Looked in the manual, no success for that.
It is in the manual Wink

On that page you'll also find the setting to increase the log-level just below the one where you define the path to a log file.

Check /var/log/pilight.log and /var/log/pilight.err (if that exists).
Upps, thanks! My fault .. didn't noticed it's with "Settings" Angry

OK, here is a snapshot of syslog with some "problem" lines I guess.
See attachment with Jan 08 until 18:41 successfully connected with 2 devices, failed at 23:53
and reconnected at 23:53 a few secs later.

Maybe it helps.

Possibly Related Threads...
Thread Author Replies Views Last Post
  pilight for Raspbian Buster (raspberry pi 4) ? starob 29 2,381 07-15-2019, 08:45 PM
Last Post: curlymo
  pilight7_oregon on Raspberry pi3 Tueftler1983 0 221 07-04-2019, 01:49 PM
Last Post: Tueftler1983
  Raspberry PI, gpio-ir-tx and pilight not starting lordslash 5 845 06-11-2019, 05:19 PM
Last Post: curlymo
Sad Raspberry Pi: "NOTICE: no pilight ssdp connections found" abusch 8 818 04-30-2019, 09:10 PM
Last Post: curlymo
  Problem with sending after plight (or raspberry?) update _Jens_ 5 1,996 09-08-2017, 03:14 PM
Last Post: pilino1234
  pilight without LAN/WLAN on Raspberry Pi hoteloskar 7 2,188 04-30-2017, 06:27 PM
Last Post: hoteloskar
  How to use pilight with raspberry Pi and Conrad 433mhz apbonn 0 1,320 03-30-2017, 10:56 AM
Last Post: apbonn
  Step by step: Getting started with pilight on the Raspberry Pi bazb 6 10,198 04-29-2016, 08:21 PM
Last Post: curlymo
  Raspberry pi 2, pilight 7.0 problems eurodomest Marty 6 3,177 01-31-2016, 11:58 AM
Last Post: Marty
  Raspberry Pi Compute Module: 48 GPIO byteruler 1 1,321 08-21-2015, 11:05 AM
Last Post: curlymo

Forum Jump:

Browsing: 1 Guest(s)