OPENATV QO-100 WB Spectrum Plugin

  • Hi,


    I started development of a openatv plugin in parallel of my sf8008 minitouner porting.


    The purpose of the plugin is as follows;

    • Connect to BATC websocket and get spectrum data [DONE]
    • Draw Wideband spectrum view [DONE]
    • Allow user to select transmission [InProgress]
    • Tune the frontend for selected Frequency/Samplerate [Waiting]

    A sample spectum view is as follows;


    The initial code is attached. After some progress I will pack it into a installable package.

    Things to be done for installation :

    - Ssh to your satellite receiver

    - install websocket client (e.g. opkg install python-websocket-client)

    -Copy the attached zip file to /usr/lib/enigma2/python/Plugins/Extensions folder and uncompress

    - Run the plugin from the plugins menu




    73's de TA7W/OH2UDS

    Baris DINC

  • Code
    hy oh2uds, great work, thank you very much, i installed everything on my sf8008, your plugin is visible and can be selected, receiver is connected to the internet via wifi, when i press the green button "start" the receiver restarts, other plugins like about the "weather" works, the internet too, what did I do wrong? thanks again for your great work, vy 73 de oe6mue, om mike from graz
    Code
  • Ok.. what is your OpenATV version...?

    Looks like its not 7 or later....

    Your SF8008 is using python 2.7 and I decided to go with a release which supports python 3 (where python 2.7 is not supported anymore)


    If you can try to have OpenATV 7 or later (or an image with python 3) that will do.


    Here is the log with eror:


  • Code
    AAAhhhh, you are the best......I overlooked that, I don't use openATV but openeight with mhz+khz input!!!! it's my own fault, if you can read you have a clear advantage hehe, is it possible to upgrade my python 2.7 to 3.0? or do I have to test it with another image? but then I have to save my countless settings in openeight beforehand! This will take a while, I'll get back to you!! thank you very much, mike from graz
  • I am sorry but it's impossible to upgrade the python on the system where ENIGMA (the UI) is based on fully python....

    But this plugin should work on any image based on enigma2/python3


    Question : Is it usefull to enter KHz in UI, I also modified my own fiormware to input frequency in KHz, but I think the AGC.AFC of tuner does not allow you to set a precise frequency. It always tunes to the strongest signal on my tests.



    Good luck.

    Baris

    OH2UDS/TA7W

  • Code
    baris, thanks for your quick reply, i will try a newer openeight image with python 3.0 first before switching to openatv for testing! Regarding khz input you are absolutely right, it does not help, since the afc/agc control always votes for the strongest signal! optically it's just nicer because the qrg input and the channel lists are displayed with the correct frequency in khz, i use the software dreamboxEDit x64 for the sf8008, thanks for your efforts....i'll get back to you if it works, 73 de oe6mue
  • Code
    baris, since you're obviously a software specialist........isn't it possible to intervene in the agc/afc control or switch it off with a "plugin"? that the tuner stops there when you select a channel and does not readjust to the strongest signal?? do you have a circuit diagram for the sf8008 maybe there is something hardware related? have a nice sunday 73 de oe6mue
    Code
  • oh2uds I have a gigablue Quad with 3 Tuners, i might use one of them for QO-100. It's running on OpenATV 6.3 , i could update it to what is needed. But I'm not sure if my old Quad will run smoothly on newer images. I suspect the newer images are made for newer receivers with more RAM and faster CPU's. Do you have any insight into this? Maybe even the Tuner from the Minitiouner will work in it, when the pinout is the same. Will try to find out. Thanks.


    OE6MUE No need to click the </>Code button when you reply. Just click into the blank screen under the "Taskbar" to activate the cursor, then type ahead.


    73, Martin


    EDIT: Just updated to 7.0 . So am good to go.

  • Bonjour Baris,


    Thank you for your interesting plugin.


    I have Open ATV 7.0 on a SF8008 and installed your plugin without problem but I have no success installing the websocket client.


    See msg :

    root@sf8008:~# opkg install python-websocket-client

    Couldn't find anything to satisfy 'python-websocket-client'.

    Unknown package 'python-websocket-client'.

    * opkg_solver_install: Cannot install package python-websocket-client.


    I tried another way by installing pip3 to be able to do after : pip3 install websocket-client... but I was unsuccessful at installing pip3.


    Your help will be appreciated.


    73 de michel, hb9dug

  • OE3GBB


    can you copy the output of the "opkg list | grep websocket" command.. it should look like something like this :


    libqt5websockets-mkspecs - 5.15.2+git0+f73735911b-r0 - qtwebsockets version 5.15.2+gitAUTOINC+f73735911b-r0

    qtwebsockets version 5.15.2+gitAUTOINC+f73735911b-r0.

    libqt5websockets-plugins - 5.15.2+git0+f73735911b-r0 - qtwebsockets version 5.15.2+gitAUTOINC+f73735911b-r0

    qtwebsockets version 5.15.2+gitAUTOINC+f73735911b-r0.

    libqt5websockets-qmlplugins - 5.15.2+git0+f73735911b-r0 - qtwebsockets version 5.15.2+gitAUTOINC+f73735911b-r0

    qtwebsockets version 5.15.2+gitAUTOINC+f73735911b-r0.

    libqt5websockets5 - 5.15.2+git0+f73735911b-r0 - qtwebsockets version 5.15.2+gitAUTOINC+f73735911b-r0

    qtwebsockets version 5.15.2+gitAUTOINC+f73735911b-r0.

    python3-websocket-client - 1.2.1-r0 - websocket client for python

    websocket-client module is WebSocket client for python. This provide the



    Question: The machine should be connected to internet.


    Baris Dinc

    OH2UDS/TA7W

  • Code
    hello baris, operator mike again, many thanks for your great work "OPENATV QO-100 WB Spectrum Plugin", I have now switched to openatv 7.0 and installed your plugin and the websocket client, worked without errors, then I did a reset made on the sf8008, when you start the plugin, the display surface is immediately visible, but without spectrum, after about 3 seconds the box crashed (!!! internet via wlan is ok!!!) the error log is attached! vy 73 de oe6mue, om mike from graz
  • Code
    hy baris, you're right, I checked with "filezilla", in fact I have the folder "python 2.7" in the usr/lib directory, strange ??? now i have downloaded another (older) openATV 7.0 and flashed it again........ now a python 3.9 folder is included??? then installed pyhton3-websocket-client...hurrraaa it works now.....super, thank you!!!! vy 73 de mike