• 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 cpu usage possibly associated with noticeable sluggishness?
#1
Hi,

I use pilight in conjunction with homebridge to be able to control some Etekcity RF outlets via Siri.  I use the pilight-send command with raw codes to send signals to those outlets since there is no Etekcity "plugin".  I don't really use the receiver except in pilight-debug to record the codes of various remotes.  I maintain outlet state outside of pilight using a script that executes the send commands.

My overall problem is that often, I have to issue commands twice because Siri complains that my device isn't responding and I frequently see the "No response" state on all devices in the home app.  With this in mind, I think that my expereince of the following might be a clue as to the cause of these things...

I logged into my pi yesterday to edit a config file and noticed significant slowness when just trying to move the cursor around in vi.  I exited and checked `top` and I noted that `pilight-daemon` took up to 50% cpu.  It hovered anywhere between 25-50%, but never went lower than that.  The second item in `top` was `top`, using at most, 11%.  I checked the cpu temp and it was fine - no warnings.

I also noted during that slowness that I had to issue commands to Siri twice and the "No response" message in the home app was showing up and going away intermittently.

I don't know if the cpu usage of pilight was the reason for the noticeable slowness, but I did some reading and inferred that this usage may be due to the processing of signals being received.  Whether or not that's the case, I wondered whether there was something I could do to reduce the cpu load of pilight.

I found a mention of using a filter, but I couldn't find anything in the documentation on how to implement filtering.  I saw something else suggesting it might be a physical filter?  I also very briefly looked into the possibility of disabling the receiver in pilight before getting distracted with other items in my to-do list.

1. Is my understanding of the cause of the cpu usage correct?
2. If so, can I or how do I disable the receiver - and will that reduce the cpu load?
 
Reply
  


Messages In This Thread
pilight cpu usage possibly associated with noticeable sluggishness? - by hepcat72 - 01-27-2020, 08:33 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  pilight-send seems successful but doesn't actually send RF signal ayeyebrazov 37 1,340 03-31-2020, 01:02 PM
Last Post: curlymo
  pilight 8.1.5 not working on Raspberry pi after reboot beejayf 4 229 03-08-2020, 12:14 AM
Last Post: beejayf
  apt.pilight.org stable Release' is not signed. thomasol 2 351 01-23-2020, 11:34 PM
Last Post: thomasol
  pilight and SIGNALduino cc1101 Caleus 0 244 01-19-2020, 09:13 AM
Last Post: Caleus
  filter stopped working after update to pilight 8.1.5 zlin50 19 943 01-03-2020, 02:15 PM
Last Post: curlymo
Question [Solved] Openweathermap with pilight 7.0-40 doesn't work Seebueb 2 288 01-01-2020, 06:45 PM
Last Post: Seebueb
  [Solved] Strange receive problem with 433Mhz Receiver and pilight 8.1.5 vanillaice30 15 1,071 12-18-2019, 11:09 AM
Last Post: vanillaice30
  pilight error after update to 8.1.5 on Odroid C2 WitchDoctor 3 527 11-29-2019, 09:56 PM
Last Post: curlymo
  pilight crashing randomly PatiB 7 798 11-16-2019, 10:50 PM
Last Post: curlymo
  [Fixed] RaspberryPi4 pilight 8.1.5 - Send isn't working DominikB1993 4 755 10-18-2019, 10:25 PM
Last Post: DominikB1993

Forum Jump:


Browsing: 1 Guest(s)