Jump to content


Oliver.M.

Member Since 3 Jun 2020
Offline Last Active 10 Aug 2020 19:19
-----

Posts I've Made

In Topic: Running a plugin (or python script) as a background task

29 July 2020 - 19:56

Thank you all for your suggestions and advice!!

 

I will see what I can do with timers and cron, Ideally cron as it simplifies things massively!

 

I had a brief look at cron earlier today but didn't get too far. When entering crontab -e in the terminal I was getting a page of "~" characters and I was unable to enter the correct command to run the script every 5 minutes.

Almost as if cron wasn't installed properly or corrupt... Maybe I just wasn't using it properly! I haven't really looked at cron before. Would it be possible for somebody to provide a brief overview of the commands I might need to use to setup cron?

 

I will see if I can rewrite my Python script to get the data directly from Enigma. Its an older script which was originally running on my PC so could do with an upgrade.

 

Many Thanks.


In Topic: Reading the RF signal level

17 June 2020 - 20:07

Thank you for your help Erik Slagter.

 

I think I have a much better understanding of the underlying enigma code now - and the barriers and limitations present which prevent me from getting direct access to the tuner!

 

I will continue looking into the way the whole Linux interface stuff works but for now mrvica's solution resolves my issue short term.

 

Thank you all for your help with this!


In Topic: A script to get signal levels for a satellite

17 June 2020 - 08:36

athoik - this is great, thank you for providing this!!

 

Over the past few days I have been looking at the eDVBResourceManager enigma module and frontend.cpp code and haven't been getting anywhere. This has just solved all of my problems.

 

Thank you.


In Topic: Reading the RF signal level

16 June 2020 - 19:17

mrvica -

 

This is a really nice way of getting the SNR value (and other information)!! Just tested on my STB and working - thank you very much.

 

I will look at implementing this into my Python plug-in over the next few days while I work out how to use the frontend.cpp related methods.


In Topic: Reading the RF signal level

16 June 2020 - 18:51

Hi Erik Slagter -

 

I'm fairly confident frontend.cpp is the source of the tuner information... I have read through frontend.cpp and can see where the SNR or signalQuality is placed in a dictionary structure under the key "tuner_signal_quality".

 

I would assume this is the same dictionary I get in Satfinder plugin using the code below

res_mgr = eDVBResourceManager.getInstance()

And therefore this would mean I just need to pull "tuner_signal_quality" from the eDVBResourceManager instance...