Coder Social home page Coder Social logo

snstac / aryaos Goto Github PK

View Code? Open in Web Editor NEW
36.0 5.0 7.0 31.67 MB

AryaOS: An Operating System for Modern Situational Awareness.

Home Page: https://aryaos.rtfd.io/

License: Apache License 2.0

Makefile 0.08% Shell 7.62% HTML 1.18% CSS 62.97% JavaScript 25.87% Python 2.29%
ads-b adsb ais aprs atak cot cursor-on-target gps itak situational-awareness

aryaos's Issues

Add CoT over BLE support

This would let users keep their WiFi or LTE on their phone connected and just send ADS-B tracks over BLE. Will require a plugin of sorts on the EUD.

ADSBCOT to TAKServer - DEFAULT_TAK_PROTO setting

AirTAK with TAKServer Version: 5.0-RELEASE

Configuring adsbcot to send the data directly to TAKserver port 8089 was just not working. Changing from TLS to a TCP configuration made no difference. It turns out that it has something to do with the DEFAULT_TAK_PROTO setting in pytak/constants.py.. After editing the file and changing it's value to 0, both TCP and TLS configurations began working as expected.

Based on the comment, it looks like this should be set to 0 rather than 1 ?

# TAK Protocol to use for CoT output, one of: 0 (XML, default), 1 (Mesh/Stream).
DEFAULT_TAK_PROTO: str = "1"

Setting the value in /boot/airtak-config.txt had no effect.

Thanks

Field report

I’m at 1100 AGL near Pilot Mt and just picked up a Delta flight going over Charlotte, 87 miles away

Add ability to log ADS-B Tracks

As a user, I would like to review the flight path of an aircraft that the AirTAK has seen.

Questions

  1. Output formats?
  2. Where to store the logs?
  3. Wear on SD?
  4. How long to keep records?
  5. Filter by ICAO, flight, etc?

tried to build R2

I cloned the github for R2 of airtak and after I run make, it dies at

image

I am building on a pi that is currently running R1. Any possibility of you posting a pi image for R2?

Please and thanks.

Field Report

Did a battery test yesterday, made it 14 hours on a 24k mAh battery. Haven't been able to land a helo yet on a call tho, ha. That’s probably a good thing πŸ˜¬πŸ˜†

Add support for PAR Sit(x)

In addition to sending data to ATAK/iTAK/WinTAK & TAK Server, add support for sending data to Sit(x).

adsbcot & lincot are failing, PYTAK_MULTICAST_LOCAL_ADDR not updating when network interfaces change

Out of the box AirTAK is configured to use a static PYTAK_MULTICAST_LOCAL_ADDR of '10.41.0.1', which is the default wlan0 IP address of AirTAK.

However, when moving AirTAK from WiFi AP node to WiFi Client mode, or when hardwire ethernet is attached, this address should be updated to either the new IP address of the interface, or a sensible default of '0.0.0.0' (for all interfaces).

The default setting should be changed to '0.0.0.0'.

A work-around for folks experiencing this problem in the field is to change the PYTAK_MULTICAST_LOCAL_ADDR in the AirTAK Web UI to '0.0.0.0'.

Field Report

Top of Sauratown Mtn looking west towards Pilot.

image

WiFi Disconnects Intermittently

WiFi seems to disconnect after a period of time. Using 2 Samsungs (1x with server and 1x w/o) I've observed that the phones will disconnect from the AirTAK. The phone with service doesn't reconnect automatically and has to be manually reconnected to AirTAK (even if Auto Reconnect is turned on). Phone w/o service will disconnect but does seem to reconnect every time. I've had a couple of instances where it doesn't but it's hard to tell why.

Error: Deleting access point connection profile failed

Currently AirTAK will fail to bring up the 'AirTAK-XXX' WiFi network if ZeroTier is installed. The error appears in systemd log as follows:

Jul 19 04:38:00 airtak systemd[1]: Started WiFi Connect.
Jul 19 04:38:00 airtak run_wifi-connect[1227]: Starting WiFi Connect as SSID: AirTAK-446F
Jul 19 04:38:00 airtak run_wifi-connect[1230]: Error: Deleting access point connection profile failed
Jul 19 04:38:00 airtak run_wifi-connect[1230]:   caused by: D-Bus failure: Variant type does not match: Variant(Iter(UInt32))
Jul 19 04:38:01 airtak systemd[1]: wifi-connect.service: Main process exited, code=exited, status=16/n/a
Jul 19 04:38:01 airtak systemd[1]: wifi-connect.service: Failed with result 'exit-code'.
Jul 19 04:38:21 airtak systemd[1]: wifi-connect.service: Scheduled restart job, restart counter is at 16.
Jul 19 04:38:21 airtak systemd[1]: Stopped WiFi Connect.

I believe this is related to: balena-os/wifi-connect#253

Currently work-around is to either disable? or uninstall? ZeroTier :.

LINCOT error

Trying to push to WinTAK and not CoTs seem to be incoming.
I'm getting an error on the AirTAK dashboard under LinCot. Not sure if it's something I am doing?
β—‹ lincot.service - LINCOT Linux GPSD to TAK Gateway
Loaded: loaded (/etc/systemd/system/lincot.service; enabled; preset: enabled)
Active: inactive (dead) since Thu 2024-01-04 15:29:29 GMT; 20s ago
Duration: 2.703s
Docs: https://github.com/snstac/lincot
Process: 136192 ExecStart=/usr/local/sbin/run_lincot.sh (code=exited, status=0/SUCCESS)
Main PID: 136192 (code=exited, status=0/SUCCESS)
CPU: 2.475s

Jan 04 15:29:29 airtak lincot[136194]: return _default_decoder.decode(s)
Jan 04 15:29:29 airtak lincot[136194]: ^^^^^^^^^^^^^^^^^^^^^^^^^^
Jan 04 15:29:29 airtak lincot[136194]: File "/usr/lib/python3.11/json/decoder.py", line 337, in decode
Jan 04 15:29:29 airtak lincot[136194]: obj, end = self.raw_decode(s, idx=_w(s, 0).end())
Jan 04 15:29:29 airtak lincot[136194]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jan 04 15:29:29 airtak lincot[136194]: File "/usr/lib/python3.11/json/decoder.py", line 355, in raw_decode
Jan 04 15:29:29 airtak lincot[136194]: raise JSONDecodeError("Expecting value", s, err.value) from None
Jan 04 15:29:29 airtak lincot[136194]: json.decoder.JSONDecodeError: Expecting value: line 1 column 64 (char 63)
Jan 04 15:29:29 airtak systemd[1]: lincot.service: Deactivated successfully.
Jan 04 15:29:29 airtak systemd[1]: lincot.service: Consumed 2.475s CPU time.

I've got the CoT_URL configured as tcp://xx.xx.252.205:8087

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.