thebaldgeek Profile picture
Oct 10, 2023 13 tweets 6 min read Read on X
For better or worse, I am going to 'live' X this.
Got the Middle East geofence ACARS limping.
So lets do this. Lets roll it out to the site in real time.
Here is the box. I had @GuardedDon help me position it, so if you don't like it, tag him! <grin> Image
Right, so lets look at the @NodeRED flow that makes this work.
We get the aircraft every 10 minutes from an API call (via the yellow 'http request' node).
Then we have to split up the ADSB / ADSC aircraft into separate database calls. Then we look up each ICAO of what's inside the box.
Image
Next we have to take the ICAO of the aircraft we just looked up (of which there might be many) and check what ACARS we have heard from it over the past 48 hours. Its just like your site searches you do.
Yes, I use #sqlite for reasons that are lost. I used to use #mysql but it just seemed too heavy.
Image
Backing up a bit, the _main_ reason we do the 'AC' look up is to not just get a little more info on each ICAO (ie rego), but also to get the 'military' or not flag.
So anything with a 1 in front of the poorly named 'interest' column in my db (best you don't ask) is military, so we need to split them out for @airman941 other wise... bad things...
This screenshot shows the switch node that routes mil or civ to the right outputs.
Image
Ok, so here is the overview of the output of the mil/cil switch node.
I just take military from the top three and anything that is not military must be civil right?
They go into a function node that unescapes the raw ACARS. If you don't escape it on the way into the db, it blows up the database insert statement. Ask me how I know that.
Once its back to human readable, it then goes into a FIFO or First In First Out rotating stack which will feed the two tables on the new page.
Image
Ok, so next things get tricky. We need to build the new page and add it to the site.
Now, when I add a new page, it changes everyone's bookmarks and I get a ton of angry DMs. (Even though I tell everyone to only bookmark the main site URL, no one (and I mean NO ONE) listens.
So, lets try something...
Since no one uses 'Site Search One' (check my Tweet from a few days back) lets delete that and make that page position the new page.
Ok, so I have just renamed 'site search one' to Middle East. I figure no matter what call it I am going to make someone angry. I'm truly sorry about that.
Let me know what it should be called and I will average out the angry DMs. Image
Ok, we have a new page in the position of the old site search one page.
Now, lets flesh out the tables that are parked there. Image
Now fleshing out the tables with the columns.
I am trying to make the tables the same as the others on the site.
So the names and widths etc should be roughly the same. I might need to tweak these a bit to make them blend in better.
It will be a lot of work, but I might be able to add callsigns to the table as well (like the mission code/mil move page tables).
Image
Ok, up and limping.
Lets add the 'Military' to the top table and watch it for a bit.

Flames and feedback welcome! Image
Ok, I think the Cloudflare cache is getting angry with me pushing so many changes so I am going to back off and leave it for a bit.
I think we have a good page that is working as intended.
The images help I think? Right?
Remember the page is live. No need to click refresh on your browser etc.
Only the one bit of feedback thus far (change the link URL), so have a look and think. Add to this thread or DM me.
Thanks for following along. A bit nerve racking, but I think a good outcome.
Image
As usual, when sitting a bit quieter and looking at things, I see some tweaks... Just added labels to the screenshot and bumped it to the right a bit so its naturally centered a bit better.
Yes, it sucks on mobile. I know. Its on my to-fix list.
Yes, we are waiting for another military ACARS message message to come in.
Image
Just got another hit from a military aircraft.
I also tweaked the description to just be the short form 'type' and also added the ACARS message source. Knowing where the message came from can be really helpful. (Brain fart leaving it out).
Ok, this time I really am leaving it alone.
Once again, any and all feedback apricated and thanks for following along on how the ACARS sausage is made.
Image

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with thebaldgeek

thebaldgeek Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @thebaldgeek

Nov 16, 2024
Warriding rig - a thread.
After my last rim-to-rim Grand Canyon run I told my son, no more long ass tough runs. Just short stuff (5miles). Also, I want to try electric longboarding to mix things up.
Random call with a mate, he offered to sell me his old one "the battery is a bit weak" cheap.
1/Image
Did about 15 rides, racked up about 30 miles pretty quick. Its waaay more fun than I thought it would be, but yeah, the battery was trash. About 2 to 5 miles depending on its mood.
The original is prismatic (pancake pillow), the remote sucked (bad trigger and connection issues)....
2/Image
..and the ESC (electronic speed control) had a mind of its own, so rather than just replace the battery, replace the whole power chain, just keep the brushless motors.
Replaced it with an Ownwheel ESC and Amazon battery in a top box.
3D printed an adaptor plate (final version is black).
3/Image
Read 7 tweets
Nov 16, 2024
A thread - "I'm out of my depth - Sorry the site is slow"
7ish years ago, I started with a single SDR and Raspberry Pi decoding PoA.
I'm pretty comfortable with RF, antennas, SDRs, coax, LNAs and some networking.
Where I get wobbly is putting the data on a website.
1/
I was already using Node-RED for 'stuff', so just added the first ACARS messages to the private website I already had running with it.
Then we added a few more CA/AZ feeders and the site went public.
During the Afghanistan Extraction, the site went viral and cratered.
2/
The main problem then was the site search. Everyone saw everyone's search and each search result overwrote the previous. It was beyond ugly. Everyone re-searching for their term while getting it overwritten before they could read it, so they search again and overwrote the other search.
3/
Read 10 tweets
Oct 26, 2024
Building an L-Band computer:- A thread.
(Steps I took to replace the NUC with the dead SSD for 98w - No RF covered in this thread).
Raspberry Pi peaked with the 3, the 4 was okish, the 5 is junk so most #avgeeks have moved to MiniPC or NUC. Better value.
I like Beelink.

1/amazon.com/dp/B0CKMM2CT6
Plug in a screen, keyboard and mouse.
Press delete to get into the BIOS and change the boot order making the USB the first option.
Once you have things setup, you won't need the peripherals, its just to get the BIOS settings changed.
I don't dual boot. Not much ACARS software in Windows.
2/Image
Hit Sourceforge and grab a copy of DragonOS_FocalX.
Check out those weekly downloads! @cemaxecuter covid project is still awesome!
You will need to burn the iso to a USB stick. I like windisk32.
Boot the USB and install. No changes needed from stock (I like to set the time zone to UTC).
3/Image
Image
Read 14 tweets
Jul 14, 2024
Iridium update.
I'm going to try (and hopefully fail) and keep a lid on my excitement for this thread.

Because of the work on @thenewarea51 'AT1.' decode question it was very fresh in my mind as I was working on the site.
I noticed the same 'AT1.' ACARS messages on Iridium.
1/n
@thenewarea51 It was a case of 'cant see the trees for the forest'.
The AT1. messages had been there since day zero, but it had not 'clicked' in anyone's minds eye what they were.
They are arinc622 encoded messages, just like in the VDL2 feeds.
libacars is the right tool to decode them.
2/n
Tomasz has done great work on this library and had made a Windows binary of it so it was quick to spin up on my @NodeRED computer to test out.

It was pretty easy then to detect AT1. msg and send them to the decoder and get the decoded ACARS back.
3/ngithub.com/szpajder/libac…
Read 10 tweets
Jul 12, 2024
Deep breath. Sorry up front if this is long and hard to follow. Consider it a work in progress. Input more than welcome.
@thenewarea51 asked (commented? complained? ) about the lack of .AT1. messages sent via VDL on the website 48 hour search.
I _love_ feedback like this. It was open ended enough that I felt compelled to dig in and understand what was being described.
1/n
First up, TNA51 rightly makes the distinction between satcom and VDL AT1 ACARS. This is tightly coupled with the remark that "the most interesting traffic I find is from AT1 messages". 'Interesting' can be subjective, but regardless, lets stick to VHF vs satcom for a sec
2/n
Most of my VHF VDL feeders are not all that close to ground stations (KLAS - RIP was an exception). This means the bulk of the VDL messages in the site search 48 hour db are air to ground.
Satcom is sort of split 50/50. Both L & C band have plenty of AT1. Which of those TNA51 finds interesting is _abundantly_ findable as he commented and is not the focus of my thread here.
3/n
Read 12 tweets
Jun 25, 2023
Iridium Mega Thread.
Lets start by looking at a bit of history, what it is, how it works (very roughly) and then focus on ACARS via this 'new' mode.
The original satellites had large antennas and reflected sunlight like crazy. Fun to watch for sure, but not something you want in the night sky.
The new satellites have reduced this 'flare' effect dramatically.
Some quick history of where the name came from, and the total cost.... Don't forget the total cost.
Read 28 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(