Welcome to Radarspotting. Please login or sign up.

July 01, 2026, 06:28:57 AM

Login with username, password and session length

New Members

New Members

You should get an activation email when you join.  If not, please use the Contact option.

ModeSDeco2 and ModeSMixer2 - console programs for RTLSDR and transcoding

Started by sergsero, August 09, 2013, 03:08:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lucaberta

Quote from: w7psk on October 06, 2018, 03:39:41 PM
I am in the same position. I dont want to pay for Google key,  can we use a different map?
I got the key from Google, and had to leave my credit card number with them.

But there is nothing to pay to them until a sizeable amount of traffic hits the map on your website.

And since I use my MM2 setup locally, with nothing shared to other people, then I am sure I will never be able to reach the limit where I will begin to be charged.

Yes, receiving the monthly invoices from Google with a $0 amount is a bit of a nuisance, but still I prefer the trouble of the registration to the lame maps with washed colors...

Bye, Luca

abcd567

Quote from: lucaberta on October 09, 2018, 06:36:12 AM
I got the key from Google, and had to leave my credit card number with them.

But there is nothing to pay to them until a sizeable amount of traffic hits the map on your website.

And since I use my MM2 setup locally, with nothing shared to other people, then I am sure I will never be able to reach the limit where I will begin to be charged.

Yes, receiving the monthly invoices from Google with a $0 amount is a bit of a nuisance, but still I prefer the trouble of the registration to the lame maps with washed colors...

Bye, Luca

I dont want to give Google my Credit card number, even if their invoice is zero.

VRS now provides both options: Leaflet/OpenStreet and Google. It is up to user to choose which one he/she wants.


w7psk

Quote from: abcd567 on October 10, 2018, 12:28:18 AM


I dont want to give Google my Credit card number, even if their invoice is zero.

VRS now provides both options: Leaflet/OpenStreet and Google. It is up to user to choose which one he/she wants.


Same here, I dont want them having a credit card nor a bill.  It would be very easy for them to start charging
for even 0 bytes transferred.

We need the option.  Other wise it gets un-installed.

MrMac

Hello Sergsero,

Quote from: sergsero on August 23, 2015, 02:34:48 PM
In version 20150825 you can use modesmixer2 for obtain data from SBS-3 receiver when it is plugged directly into a USB port. The new version of modesmixer2 20150528 in message #2 of this topic.

Has anything changed in newer versions regarding SBS1 connectivity?

It was working fine with versions in 2015 and 2016 but now I can no longer connect to SBS1 boxes. The SBS1-Er works fine on PC with Basestation. I have tried 2 different ones.

/root/modesmixer2 --inSerial /dev/ttyUSB1:921600:none --log-level 5
2018-10-21 18:29:29.908  INFO     ModeSMixer2 v.20170924
2018-10-21 18:29:29.912  INFO     inSerial(/dev/ttyUSB1:921600) connected
2018-10-21 18:30:14.493  INFO     inSerial(/dev/ttyUSB1:921600) disconnected
2018-10-21 18:30:14.493  INFO     inSerial(/dev/ttyUSB1:921600) Reconnect in 10 seconds
2018-10-21 18:30:24.496  INFO     inSerial(/dev/ttyUSB1:921600) connected
2018-10-21 18:33:28.541  INFO     inSerial(/dev/ttyUSB1:921600) disconnected

Tried a power cycle of the SBS. The USB interface goes down and up, ModeSmixer re-connects but no furter comm or data...

Downloaded the latest but no difference;

/root/modesmixer2 --inSerial /dev/ttyUSB1:921600:none --log-level 5
2018-10-21 22:26:32.614  INFO     ModeSMixer2 v.20180616
2018-10-21 22:26:32.617  INFO     inSerial(/dev/ttyUSB1:921600) connected


BR

/Marcus

larsras

Windows
Is it possible to close down ModesSMixer2 automatically from a script, eventually by calling a ModeSMixer2 with a command line parameter?

I need to close it from the to time automatically to be able to do some updates on the SQB DB automatically.

Keef

Hi larsras,

Below is the content of a batch file I used for stopping ModeSDeco2, pausing for 10 seconds and then starting ModeSDeco2.
I don't see why you couldn't modify it to do the same for ModeSMixer2.

TASKKILL /F /IM modesdeco2.exe
TIMEOUT /T 10
CD "C:\Virtual Radar\modesdeco2_windows_20180429"
start modesdeco.bat

First line force kills the image (process) so you could change that to modesmixer2.exe
Second line pauses the batch file for 10 seconds, you can make it any other value in seconds.
Third line makes sure the batch file working in the right place for where your normal batch file is, you would need to change the path. The quotes are needed if you have any spaces in the path but don't do any harm of there are no spaces.
last line starts your normal batch file, again you would change that to whatever your modesmixer batch file is called.

I but my batch file in the same directory as the 'original' batch file used to start the program.

If you only want to kill the program just create a batch file with:

TASKKILL /F /IM modesmixer2.exe

Hope that helps.

Cheers,

Keef.

larsras

Hi

Thanks.

I have actually tried this also, but sometimes I get a message from taskkill that it is not possible to kill this process. I also think it is a dirty way of doing it :-) I use the SQB file, and I have also seen that in some cases this file was actually locked after having successfully killed MSM2. A reboot hereafter was the only way forward I have found.

larsras

It is a scheduled task. Looks like setting "Run with highest priority" solved the problem (so far).

gonzalu

While troubleshooting MAP errors, I see the following errors on my console. For the record, I have a proper account in Google APIs and have biling turned on etc. etc. I also have $300 left in the free quota for this API Key and the entire account. I only have ONE Key :(

Bing makes this much easier BTW.



Also this message from Google API tool in Chrome



Thanks for your help

/Manny

Keef

Hi gonzalu,

You have declared the --google-key xxxxxxxxxxxxxxxxxxx option (where the x's are your key) in the batch file have you?

Cheers,

Keef.

gonzalu

Quote from: Keef on November 06, 2018, 09:16:12 PM
Hi gonzalu,

You have declared the --google-key xxxxxxxxxxxxxxxxxxx option (where the x's are your key) in the batch file have you?

Cheers,

Keef.

Yes of course :)


/home/pi/modesdeco2/modesdeco2 \
--device-serial 2 \
--gain 38.6 \
--web 8181 \
--location 40.88561:-73.913822
--localtime
--db /home/pi/data/BaseStation.sqb \
--frdb /home/pi/data/FlightRoutes.sqb \
--silhouettes /home/pi/data/SilhouettesLogos \
--google-key LIzaSyBDXXXGYNu5YYYWtVRjaIZZZZZZzmKIn8rY \
--rbs
--no-console



so I assume you do not have the error? How did you do it to not get an error like others and I have reported?

Thanks for your help!
/Manny

Keef

Hi,

I've not had any errors, just thought I'd ask the obvious question just in case.

One thing I would say is it is probably not a good idea to publicly post your key, it might be worth deleting that from your post.

Cheers,

Keef.

gonzalu

Quote from: Keef on November 07, 2018, 11:24:08 AM

One thing I would say is it is probably not a good idea to publicly post your key, it might be worth deleting that from your post.

Cheers,

Keef.

That is NOT my actual key LOL. If I had put in X's you may have said "did you put in the real key?" LOL. So I put in a fake one... But thanks for the advice. ;)
/Manny

Keef

I didn't spot the substitution!

Do you have any other apps using your key that work OK?

If you PM me your key I can test it with my ModeSDeco2 setup to see if it works for me.
That does of course require you trust me with your key.
Should you send it t me I will only use it as a test once and then never use it again or share it with anyone.

I won't be in any way offended if you don't want to share the key with me!

Cheers,

Keef.

gonzalu

Quote from: Keef on November 07, 2018, 06:57:23 PM
I didn't spot the substitution!

Do you have any other apps using your key that work OK?

If you PM me your key I can test it with my ModeSDeco2 setup to see if it works for me.
That does of course require you trust me with your key.
Should you send it t me I will only use it as a test once and then never use it again or share it with anyone.

I won't be in any way offended if you don't want to share the key with me!

Cheers,

Keef.

No problem at all. It's just an API key. I can always kill it if it gets used :P Thanks for the help. I will PM you the key.
/Manny