integration and feed of data with dAISy hat #42
Replies: 17 comments 37 replies
-
Hi! Actually the recent NMEA decoder included in the program should help with that and almost get us to process the data from the DaisyHat. I think you can print the messages from the dAISy with a comment like:
That means that in theory you could use the following AIS-catcher command:
And add all the UDP HTTP channels you want to add as extra parameters instead of the How does your script process the data out of the dAISy and do you provide any additional commands to set things like baud rate? |
Beta Was this translation helpful? Give feedback.
-
Hi Jasper!
Thanks for the response, I have one, if you want I can try to test this in
the next weeks with the dAISy hat.
I'm using this script https://github.com/hsiboy/ais_json
<https://github.com/hsiboy/ais_json> + Ais dispatcher. This is my setup!
you can see my station on APRS.FI from Central Pacific of Costa Rica.
Thanks in advance!
Greg!
El sáb, 26 nov 2022 a las 13:30, Jasper ***@***.***>)
escribió:
… Hi! Actually the recent NMEA decoder included in the program should help
with that and almost get us to process the data from the DaisyHat. I think
you can print the messages from the dAISy with a comment like:
cat /dev/serial0
That means that in theory you could use the following AIS-catcher command:
AIS-catcher -r txt /dev/serial0 -m 5 -o 5
And add all the UDP HTTP channels you want to add as extra parameters
instead of the -o 5. This is theory, as I implemented this functionality
only recently and have not tested it with dAISy. I have one though and will
test it out.
How does your script process the data out of the dAISy and do you provide
any additional commands to set things like baud rate?
—
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASWRPICSRGUHEXNBUJALNNLWKJQNTANCNFSM6AAAAAASMAR224>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Gregory Badilla Bartels
|
Beta Was this translation helpful? Give feedback.
-
Hi Greg, okay, so I was thinking of having AIS-catcher directly reading from the serial port of the dAISy. I will try that tomorrow. Let's call that option 1 :-) Understand that you use AISdispatcher to read from the dAISy and send that per UDP messages to your script (option 2). Let's assume this UDP address is127.0.0.1 port 5000 (as per your script). You can get this into AIS-catcher as follows:
And then again replace Keep me posted, I will let you know how my experiment with the dAISy goes. Thanks! |
Beta Was this translation helpful? Give feedback.
-
UPDATED after some changes to the program I have tested reading directly from the dAISY and the following did work for me (with the latest development version of AIS-catcher). First set the baud rate:
And then you can use AIS-catcher as feeder as follows (in this case sending the data to UDP):
Seems to be working smoothly with two small fixes required some day (terminating the program with CTRL-C does not work smoothly and The corresponding config file: {"config":"aiscatcher","version":1,"input":"rawfile","verbose":true,"file":{"file":"/dev/serial0","format":"txt"}} You can add all APRS and UDP channels to the above like normal. Keep me posted. |
Beta Was this translation helpful? Give feedback.
-
Hi Jasper,
Thank you for the confirmation, I will work to have setup this and test
with the AIS-catcher. Thanks for the information shared!!!
Regards from Costa Rica!
El dom, 27 nov 2022 a las 5:05, Jasper ***@***.***>)
escribió:
… I have tested reading directly from the dAISY and the following did work
for me (with the latest development version of AIS-catcher). First set the
baud rate:
stty -F /dev/serial0 38400
And then you can use AIS-catcher as feeder as follows (in this case
sending the data to UDP):
AIS-catcher -r txt /dev/serial0 -m 5 -o 5 -v 60 -u 192.168.1.235 10110
Seems to be working smoothly with two small fixes required some day
(terminating the program with CTRL-C does not work smoothly and option to
select -m 5 in the config file).
Keep me posted.
Thanks, Jasper
—
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASWRPIA7MTUBSEMEJEB3EZ3WKM56DANCNFSM6AAAAAASMAR224>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Gregory Badilla Bartels
|
Beta Was this translation helpful? Give feedback.
-
Hi Jasper,
Happy New Year 2023! I follow the steps you provide me but I'm still
unable to see the AIS-Catcher uploading the data. I'm getting this error:
[image: image.png]
if i run this command AIS-catcher -r txt /dev/serial0 -m 5 -o 5 -v 60 -u
127.0.0.1 5000 pointing to the port 5000 ( which is my script uploading the
info) I can see the tool working
[image: image.png]
but is not reflecting the data in the map of APRS.
[image: image.png]
I will appreciate your help, I apologize to bother you, I'm still learning
about how to configure this, I followed up the steps you shared with me but
I'm still unable to see it the data.
Thanks in advance!
Greg
TI2GBB
El lun, 28 nov 2022 a las 17:51, Gregory Badilla ***@***.***>)
escribió:
… Hi Jasper,
Thank you for the confirmation, I will work to have setup this and test
with the AIS-catcher. Thanks for the information shared!!!
Regards from Costa Rica!
El dom, 27 nov 2022 a las 5:05, Jasper ***@***.***>)
escribió:
> I have tested reading directly from the dAISY and the following did work
> for me (with the latest development version of AIS-catcher). First set the
> baud rate:
>
> stty -F /dev/serial0 38400
>
> And then you can use AIS-catcher as feeder as follows (in this case
> sending the data to UDP):
>
> AIS-catcher -r txt /dev/serial0 -m 5 -o 5 -v 60 -u 192.168.1.235 10110
>
> Seems to be working smoothly with two small fixes required some day
> (terminating the program with CTRL-C does not work smoothly and option to
> select -m 5 in the config file).
>
> Keep me posted.
> Thanks, Jasper
>
> —
> Reply to this email directly, view it on GitHub
> <#42 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ASWRPIA7MTUBSEMEJEB3EZ3WKM56DANCNFSM6AAAAAASMAR224>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
--
Gregory Badilla Bartels
--
Gregory Badilla Bartels
|
Beta Was this translation helpful? Give feedback.
-
Hi Greg, I cannot see the pictures with the error message. Can you try to reshare? |
Beta Was this translation helpful? Give feedback.
-
Hi greg, The first step seems to be working, which is to get the NMEA lines from your device in AIS-catcher: AIS-catcher -r txt /dev/serial0 -m 5 -o 5 -v 60 You send this to a UDP address and then pick it up again with another instance with your netcat call. Which is totally fine. But of course you can send to APRS directly from the first instance by using the H switch. The problem is in your use of the
The So to read 1) from your device, 2) send to APRS and 3) send to UDP port 5000, you can use one long statement: AIS-catcher -r txt /dev/serial0 -m 5 -o 5 -v 60 -H http://aprs.fi/jsonais/post/secret-key ID callsign PROTOCOL aprs INTERVAL 30 -u 127.0.0.1 5000 I think that is the issue I see (i.e no parameters after Instead of the map I am using this site to check whether there is any data received. You might also see an error message in the AIS-catcher output with the response from the APRS site. But instead of Thanks for asking, your question has actually resulted in developing this functionality so much appreciated. Jasper |
Beta Was this translation helpful? Give feedback.
-
Thank you Greg. The issue is that your AIS-catcher build does not support APRS submission as it was not build with the CURL library included.
You need to see something like:
which includes CURL and ZLIB.
If you in that process run cmake, you should see something like:
which tells you that the system could find CURL and ZLIB which are needed for APRS submissions. Regards, Jasper |
Beta Was this translation helpful? Give feedback.
-
Hi Greg, curious that the build of the program could not find the curl library then. What do you get with the commands:
and
And if you build the latest version of the program what do you see in the cmake step on curl?
|
Beta Was this translation helpful? Give feedback.
-
No worries. By the way the first outcome looks promising. Apologies. You need to follow the steps below the table in the instruction: https://github.com/jvde-github/AIS-catcher#ubuntu-raspberry-pi-macos-msvc
So you need to enter these command is this order (in some directory where you want the program and if you already have an AIS-catcher directory you might have to delete it first). Feel free to post the output of these steps here (or just send me an email) |
Beta Was this translation helpful? Give feedback.
-
Hi Greg, great news! Happy to hear. The command line argument contained There is script that someone developed that will install AIS-catcher as a service that automatically starts: https://github.com/abcd567a/install-aiscatcher And there is a lot of discussion here on that same script: https://discussions.flightaware.com/t/howto-run-ads-b-receiver-ais-receiver-on-same-rpi/85040 If you are comfortable that is an avenue you could try. |
Beta Was this translation helpful? Give feedback.
-
Hi Greg, I now have my AIS-catcher test system feeding aprs.fi Thanks to Jasper for creating a simple way to feed aprs.fi too, of course. 73 Roger G7RUH |
Beta Was this translation helpful? Give feedback.
-
Greg, Team Jasper: keep up the good work. I can see AIS-catcher being a one-stop AIS solution, and as Greg says, keep expanding it. I showed it to a visitor yesterday and he was most impresed. 73 de Roger G7RUH |
Beta Was this translation helpful? Give feedback.
-
The latest edge version has now an experimental feature to read directly from the dAISy HAT and other serial devices using the switch
|
Beta Was this translation helpful? Give feedback.
-
My old laptop running an even older EasyAIS with a forwarding program I shan't name has died. I would like to run a new Pi4 & dAISy hat set up but can't find any clear instructions. AIS Catcher has a great reputation but I need to find an idiots guide to get it running quickly. The plan is to send data in to the previous sites I was feeding. Can anyone help? |
Beta Was this translation helpful? Give feedback.
-
Hello @jvde-github Re activating this discussion group. I had to reimage the raspberry pi this morning, when I tried to run the commands to run the Ais Catcher and feed APRS.FI I got this message: I´m not getting to make this work, Do you know what I´m possible missing here? Thanks for your assistance! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I would like to suggest if is possible integrate the dAISy hat receiver with your program, I want to share here the link of the product, the hat use the serial port, and include the frequencies in the receiver to be used. Not sure if you can integrate this soon or if there is a way to integrate easily. I´m using a script to upload AIS data to APRS but if we can integrate this with the AIS catcher will be great!
https://shop.wegmatt.com/products/daisy-hat-ais-receiver
thank you!
Beta Was this translation helpful? Give feedback.
All reactions