Giter Club home page Giter Club logo

rc-scanner's Issues

Feature Request Icom PCR 2500 and 1500 support

Would it be possible to add suport for the Icom PCR 2500 and PCR 1500? I have both radios so can assist with testing. I can also supply details about the serial protocol if required. I appreciate they are older radios but I have both set up on my desk and it would be nice to access them remotely

Latest build, doesn't. Crashes looking for non-existent PCM devices

As below:

master /tmp/rc-scanner $ DEBUG=true node run.js 
Building client app...
> [email protected] build
> ng build --base-href ./ --configuration production

✔ Browser application bundle generation complete.
✔ Copying assets complete.
✔ Index html generation complete.
✔ Service worker generation complete.

Initial Chunk Files           | Names         |  Raw Size | Estimated Transfer Size
main.744010dbd4a1885a.js      | main          | 274.33 kB |                68.04 kB
styles.bffbb93370ba1ac9.css   | styles        |  72.42 kB |                 7.48 kB
polyfills.4a84457d02bc33fa.js | polyfills     |  44.50 kB |                13.54 kB
runtime.499407861cd0ca2a.js   | runtime       |   1.05 kB |               600 bytes

                              | Initial Total | 392.29 kB |                89.65 kB

Build at: 2022-12-31T02:03:21.891Z - Hash: ff6dc5cf8fd2c8b5 - Time: 2700ms
 done
ALSA lib pcm_direct.c:2127:(_snd_pcm_direct_new) unable to create IPC semaphore
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition 'cards.0.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM iec958
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition 'cards.0.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM spdif
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition 'cards.0.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM spdif
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition 'cards.0.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM hdmi
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition 'cards.0.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM hdmi
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition 'cards.0.pcm.modem.0:CARD=0'
ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline:CARD=0,DEV=0
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition 'cards.0.pcm.modem.0:CARD=0'
ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline:CARD=0,DEV=0
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition 'cards.0.pcm.modem.0:CARD=0'
ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM phoneline
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition 'cards.0.pcm.modem.0:CARD=0'
ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM phoneline
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib dlmisc.c:337:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_pcm_bluetooth.so (/usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_bluetooth.so: cannot open shared object file: No such file or directory)
ALSA lib dlmisc.c:337:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_pcm_bluetooth.so (/usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_bluetooth.so: cannot open shared object file: No such file or directory)
ALSA lib dlmisc.c:337:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_pcm_a2dpd.so (/usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_a2dpd.so: cannot open shared object file: No such file or directory)
ALSA lib dlmisc.c:337:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_pcm_a2dpd.so (/usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_a2dpd.so: cannot open shared object file: No such file or directory)
ALSA lib dlmisc.c:337:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_pcm_sco.so (/usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_sco.so: cannot open shared object file: No such file or directory)
ALSA lib dlmisc.c:337:(snd_dlobj_cache_get0) Cannot open shared library libasound_module_pcm_sco.so (/usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_sco.so: cannot open shared object file: No such file or directory)
PortAudio V19.6.0-devel, revision unknown
Input audio options: default device, sample rate 44100, channels 1, bits per sample 16, max queue 2, frames per buffer 0, close on error false
Input device name is default
file:///tmp/rc-scanner/server/lib/rc-scanner/com.js:31
        this.readLine = new SerialPort.parsers.Readline({ delimiter: '\r', encoding: 'binary' });
                                               ^

TypeError: Cannot read properties of undefined (reading 'Readline')
    at new Com (file:///tmp/rc-scanner/server/lib/rc-scanner/com.js:31:48)
    at new RcScanner (file:///tmp/rc-scanner/server/lib/rc-scanner/main.js:59:20)
    at new App (file:///tmp/rc-scanner/server/index.js:149:26)
    at file:///tmp/rc-scanner/server/index.js:183:20
    at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:530:24)
    at async loadESM (node:internal/process/esm_loader:91:5)
    at async handleMainPromise (node:internal/modules/run_main:65:12)

Node.js v18.12.1


An error has occured. Please re-run the command like this: 'DEBUG=true node run.js'

This is with the latest npm/node LTS (18.12.1-deb-1nodesource1) running on Ubuntu 22.04.

How get RC-scanner running

@blackwellj , my name is Ger from the Netherlands.
I am intrested in your scripts and wonder if the Uniden BR330T (UBC3500XLT) also can be remote controled with your program.
Please can you tell me what to do when i have downloaded your program.
I cannot find a start or install file, i am not good in json.

Thanks in advance and greetings
Ger

Error when installing: Cannot find module

I'm getting the following error when trying to set up rc-scanner for the first time under Ubuntu 20 with the latest version of NodeJS LTS. Is this a path issue?

node:internal/modules/cjs/loader:1029
throw err;
^

Error: Cannot find module '/usr/local/bin/rc-scanner/debug'
at Module._resolveFilename (node:internal/modules/cjs/loader:1026:15)
at Module._load (node:internal/modules/cjs/loader:872:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:82:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}

Node.js v19.1.0

Error when installing - SyntaxError: Unexpected token '.'

I am trying to install rc-scanner on Ubuntu but I'm getting this error:
``Building client app...

[email protected] build
ng build --base-href ./ --configuration production

✔ Browser application bundle generation complete.
✔ Copying assets complete.
✔ Index html generation complete.
✔ Service worker generation complete.

Initial Chunk Files | Names | Raw Size | Estimated Transfer Size
main.744010dbd4a1885a.js | main | 274.33 kB | 68.04 kB
styles.bffbb93370ba1ac9.css | styles | 72.42 kB | 7.48 kB
polyfills.4a84457d02bc33fa.js | polyfills | 44.50 kB | 13.54 kB
runtime.499407861cd0ca2a.js | runtime | 1.05 kB | 600 bytes

                          | Initial Total | 392.29 kB |                89.65 kB

Build at: 2022-03-12T23:42:59.769Z - Hash: ff6dc5cf8fd2c8b5 - Time: 9090ms
done
file:///home/pi/rc-scanner/server/lib/rc-scanner/config.js:29
deviceId: typeof config?.audio?.deviceId === 'number'
^

SyntaxError: Unexpected token '.'
at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)

An error has occured. Please re-run the command like this: 'DEBUG=true node run.js'
``

I did try running it using DEBUG=true node run.js but I still am getting this error.

I did install all the prerequisites.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.