• 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 32 15,124 08-10-2020, 09:12 AM
Last Post: simanuel
  Can't send or receive on Raspberry Pi Zero W ChristophH 12 2,348 04-09-2020, 06:34 PM
Last Post: curlymo
  pilight 8.1.5 not working on Raspberry pi after reboot beejayf 4 1,868 03-08-2020, 12:14 AM
Last Post: beejayf
  raspberry pi 4 config.json Stefan 2 1,279 02-02-2020, 09:59 AM
Last Post: Stefan
  Raspberry 4B installation error royw 3 1,378 12-05-2019, 10:58 AM
Last Post: royw
  pilight7_oregon on Raspberry pi3 Tueftler1983 0 675 07-04-2019, 01:49 PM
Last Post: Tueftler1983
  Raspberry PI, gpio-ir-tx and pilight not starting lordslash 5 2,494 06-11-2019, 05:19 PM
Last Post: curlymo
Sad Raspberry Pi: "NOTICE: no pilight ssdp connections found" abusch 8 3,659 04-30-2019, 09:10 PM
Last Post: curlymo
  Problem with sending after plight (or raspberry?) update _Jens_ 5 3,620 09-08-2017, 03:14 PM
Last Post: pilino1234
  pilight without LAN/WLAN on Raspberry Pi hoteloskar 7 3,872 04-30-2017, 06:27 PM
Last Post: hoteloskar

Forum Jump:

Browsing: 1 Guest(s)