Hi there,
Linux AISpi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Dec 10 20:11:50 2024
pi@AISpi:~ $ cd ais_json
pi@AISpi:~/ais_json $ ./ais_json.py
/home/pi/ais_json/./ais_json.py:5: FutureWarning: The stream module is deprecated and will be removed in 1.0
import ais.stream
{"encodetime": "20241213004043", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX", "url": "http://aprs.fi/jsonais/post/XXXXX"}], "ms gs": [{"msgtype": 1, "mmsi": 4093, "rxtime": "20241213004043", "lon": 181.0, "lat": 91.0, "speed": 102.30000305175781, "course": 360.0, "heading": 511 , "status": 0}]}]}
{"encodetime": "20241213004043", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX", "url": "http://aprs.fi/jsonais/post/XXXXX"}], "ms gs": [{"msgtype": 24, "mmsi": 338467332, "rxtime": "20241213004043", "partno": 0, "shipname": "OYSTER@@@@@@@@@@@@@@"}]}]}
Error
Traceback (most recent call last):
File "/home/pi/ais_json/./ais_json.py", line 87, in <module>
print (colored('-- Uncommon packet recieved\n', 'red'))
NameError: name 'colored' is not defined
pi@AISpi:~/ais_json $ ./ais_json.py
/home/pi/ais_json/./ais_json.py:5: FutureWarning: The stream module is deprecated and will be removed in 1.0
import ais.stream
{"encodetime": "20241213004208", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX", "url": "http://aprs.fi/jsonais/post/XXXXX"}], "ms gs": [{"msgtype": 1, "mmsi": 366838630, "rxtime": "20241213004208", "lon": -85.70604, "lat": 30.136693333333334, "speed": 13.600000381469727, "course" : 57.70000076293945, "heading": 55, "status": 0}]}]}
{"encodetime": "20241213004212", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX", "url": "http://aprs.fi/jsonais/post/XXXXX"}], "ms gs": [{"msgtype": 1, "mmsi": 4093, "rxtime": "20241213004212", "lon": 181.0, "lat": 91.0, "speed": 102.30000305175781, "course": 360.0, "heading": 511 , "status": 0}]}]}
{"encodetime": "20241213004216", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX", "url": "http://aprs.fi/jsonais/post/XXXXX"}], "ms gs": [{"msgtype": 1, "mmsi": 368106020, "rxtime": "20241213004216", "lon": -85.70433333333334, "lat": 30.16933, "speed": 0.0, "course": 360.0, "headin g": 511, "status": 0}]}]}
{"encodetime": "20241213004218", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX", "url": "http://aprs.fi/jsonais/post/XXXXX"}], "ms gs": [{"msgtype": 1, "mmsi": 367461130, "rxtime": "20241213004218", "lon": -85.72735166666666, "lat": 30.176008333333332, "speed": 0.0, "course": 277. 20001220703125, "heading": 511, "status": 9}]}]}
{"encodetime": "20241213004221", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX", "url": "http://aprs.fi/jsonais/post/XXXXX"}], "ms gs": [{"msgtype": 1, "mmsi": 367307280, "rxtime": "20241213004221", "lon": -85.73376666666667, "lat": 30.183858333333333, "speed": 0.0, "course": 321. 8999938964844, "heading": 511, "status": 0}]}]}
{"encodetime": "20241213004222", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX", "url": "http://aprs.fi/jsonais/post/XXXXX"}], "ms gs": [{"msgtype": 18, "mmsi": 338455211, "rxtime": "20241213004222", "lon": -85.72751166666667, "lat": 30.145615, "speed": 0.0, "course": 360.0, "head ing": 511}]}]}
Error
Traceback (most recent call last):
File "/home/pi/ais_json/./ais_json.py", line 87, in <module>
print (colored('-- Uncommon packet recieved\n', 'red'))
NameError: name 'colored' is not defined
pi@AISpi:~/ais_json $ ./ais_json.py
/home/pi/ais_json/./ais_json.py:5: FutureWarning: The stream module is deprecated and will be removed in 1.0
import ais.stream
{"encodetime": "20241213004304", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX-2", "url": "http://aprs.fi/jsonais/post/XXXXX"}], " msgs": [{"msgtype": 1, "mmsi": 368106020, "rxtime": "20241213004304", "lon": -85.70433333333334, "lat": 30.169343333333334, "speed": 0.0, "course": 36 0.0, "heading": 511, "status": 0}]}]}
{"encodetime": "20241213004306", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX-2", "url": "http://aprs.fi/jsonais/post/XXXXX"}], " msgs": [{"msgtype": 1, "mmsi": 367461130, "rxtime": "20241213004306", "lon": -85.72735666666667, "lat": 30.176006666666666, "speed": 0.0, "course": 27 7.20001220703125, "heading": 511, "status": 9}]}]}
{"encodetime": "20241213004308", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX-2", "url": "http://aprs.fi/jsonais/post/XXXXX"}], " msgs": [{"msgtype": 24, "mmsi": 368086550, "rxtime": "20241213004308", "partno": 0, "shipname": "MAKIN MEMORIES@@@@@@"}]}]}
Error
Traceback (most recent call last):
File "/home/pi/ais_json/./ais_json.py", line 87, in <module>
print (colored('-- Uncommon packet recieved\n', 'red'))
NameError: name 'colored' is not defined
pi@AISpi:~/ais_json $ ./ais_json.py
/home/pi/ais_json/./ais_json.py:5: FutureWarning: The stream module is deprecated and will be removed in 1.0
import ais.stream
{"encodetime": "20241213004431", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX-2", "url": "http://aprs.fi/jsonais/post/XXXXX"}], " msgs": [{"msgtype": 24, "mmsi": 368166380, "rxtime": "20241213004431", "partno": 0, "shipname": "STILL DREAMIN "}]}]}
Error
Traceback (most recent call last):
File "/home/pi/ais_json/./ais_json.py", line 87, in <module>
print (colored('-- Uncommon packet recieved\n', 'red'))
NameError: name 'colored' is not defined
pi@AISpi:~/ais_json $ ./ais_json.py
/home/pi/ais_json/./ais_json.py:5: FutureWarning: The stream module is deprecated and will be removed in 1.0
import ais.stream
{"encodetime": "20241213004450", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX-2", "url": "http://aprs.fi/jsonais/post/XXXXX"}], " msgs": [{"msgtype": 24, "mmsi": 368141280, "rxtime": "20241213004450", "shiptype": 37, "partno": 1, "callsign": "WDL5460", "vendorid": "GRMD@@E", "ref _front": 10, "ref_left": 2}]}]}
Error
Traceback (most recent call last):
File "/home/pi/ais_json/./ais_json.py", line 87, in <module>
print (colored('-- Uncommon packet recieved\n', 'red'))
NameError: name 'colored' is not defined
pi@AISpi:~/ais_json $ ./ais_json.py
/home/pi/ais_json/./ais_json.py:5: FutureWarning: The stream module is deprecated and will be removed in 1.0
import ais.stream
{"encodetime": "20241213004536", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX-2", "url": "http://aprs.fi/jsonais/post/XXXXX"}], " msgs": [{"msgtype": 1, "mmsi": 367461130, "rxtime": "20241213004536", "lon": -85.72735, "lat": 30.176, "speed": 0.0, "course": 278.1000061035156, "hea ding": 511, "status": 9}]}]}
{"encodetime": "20241213004540", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX-2", "url": "http://aprs.fi/jsonais/post/XXXXX"}], " msgs": [{"msgtype": 1, "mmsi": 367307280, "rxtime": "20241213004540", "lon": -85.73374833333334, "lat": 30.18386, "speed": 0.0, "course": 301.79998779 296875, "heading": 511, "status": 0}]}]}
{"encodetime": "20241213004542", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX-2", "url": "http://aprs.fi/jsonais/post/XXXXX"}], " msgs": [{"msgtype": 1, "mmsi": 4093, "rxtime": "20241213004542", "lon": 181.0, "lat": 91.0, "speed": 102.30000305175781, "course": 360.0, "heading": 5 11, "status": 0}]}]}
{"encodetime": "20241213004545", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX-2", "url": "http://aprs.fi/jsonais/post/XXXXX"}], " msgs": [{"msgtype": 1, "mmsi": 368106020, "rxtime": "20241213004545", "lon": -85.70436666666667, "lat": 30.169336666666666, "speed": 0.0, "course": 36 0.0, "heading": 511, "status": 0}]}]}
{"encodetime": "20241213004550", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX-2", "url": "http://aprs.fi/jsonais/post/XXXXX"}], " msgs": [{"msgtype": 1, "mmsi": 369493633, "rxtime": "20241213004550", "lon": -85.72703833333334, "lat": 30.133476666666667, "speed": 6.699999809265137 , "course": 111.4000015258789, "heading": 511, "status": 0}]}]}
{"encodetime": "20241213004550", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX-2", "url": "http://aprs.fi/jsonais/post/XXXXX"}], " msgs": [{"msgtype": 1, "mmsi": 366838630, "rxtime": "20241213004550", "lon": -85.69263, "lat": 30.144668333333332, "speed": 13.800000190734863, "cours e": 48.5, "heading": 43, "status": 0}]}]}
{"encodetime": "20241213004556", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX-2", "url": "http://aprs.fi/jsonais/post/XXXXX"}], " msgs": [{"msgtype": 18, "mmsi": 368141280, "rxtime": "20241213004556", "lon": -85.73752333333333, "lat": 30.151953333333335, "speed": 0.0, "course": 3 60.0, "heading": 511}]}]}
Error
Traceback (most recent call last):
File "/home/pi/ais_json/./ais_json.py", line 87, in <module>
print (colored('-- Uncommon packet recieved\n', 'red'))
NameError: name 'colored' is not defined
pi@AISpi:~/ais_json $ ./ais_json.py
/home/pi/ais_json/./ais_json.py:5: FutureWarning: The stream module is deprecated and will be removed in 1.0
import ais.stream
{"encodetime": "20241213004701", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX-2", "url": "http://aprs.fi/jsonais/post/XXXXX"}], " msgs": [{"msgtype": 1, "mmsi": 4093, "rxtime": "20241213004701", "lon": 181.0, "lat": 91.0, "speed": 102.30000305175781, "course": 360.0, "heading": 5 11, "status": 0}]}]}
{"encodetime": "20241213004705", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX-2", "url": "http://aprs.fi/jsonais/post/XXXXX"}], " msgs": [{"msgtype": 1, "mmsi": 368106020, "rxtime": "20241213004705", "lon": -85.70438, "lat": 30.16934, "speed": 0.0, "course": 360.0, "heading": 511 , "status": 0}]}]}
{"encodetime": "20241213004706", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX-2", "url": "http://aprs.fi/jsonais/post/XXXXX"}], " msgs": [{"msgtype": 1, "mmsi": 367461130, "rxtime": "20241213004706", "lon": -85.72733833333334, "lat": 30.176006666666666, "speed": 0.0, "course": 27 8.1000061035156, "heading": 511, "status": 9}]}]}
{"encodetime": "20241213004708", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX-2", "url": "http://aprs.fi/jsonais/post/XXXXX"}], " msgs": [{"msgtype": 1, "mmsi": 366838630, "rxtime": "20241213004708", "lon": -85.68874166666667, "lat": 30.148318333333332, "speed": 14.0, "course": 3 9.900001525878906, "heading": 35, "status": 0}]}]}
{"encodetime": "20241213004711", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX-2", "url": "http://aprs.fi/jsonais/post/XXXXX"}], " msgs": [{"msgtype": 1, "mmsi": 369493633, "rxtime": "20241213004711", "lon": -85.724255, "lat": 30.132363333333334, "speed": 7.0, "course": 135.399993 89648438, "heading": 511, "status": 0}]}]}
{"encodetime": "20241213004711", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX-2", "url": "http://aprs.fi/jsonais/post/XXXXX"}], " msgs": [{"msgtype": 3, "mmsi": 367307280, "rxtime": "20241213004711", "lon": -85.73375166666666, "lat": 30.18387166666667, "speed": 0.0, "course": 303 .1000061035156, "heading": 511, "status": 0}]}]}
{"encodetime": "20241213004715", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX-2", "url": "http://aprs.fi/jsonais/post/XXXXX"}], " msgs": [{"msgtype": 1, "mmsi": 368106020, "rxtime": "20241213004715", "lon": -85.7044, "lat": 30.16934, "speed": 0.0, "course": 360.0, "heading": 511, "status": 0}]}]}
{"encodetime": "20241213004723", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX-2", "url": "http://aprs.fi/jsonais/post/XXXXX"}], " msgs": [{"msgtype": 1, "mmsi": 4093, "rxtime": "20241213004723", "lon": 181.0, "lat": 91.0, "speed": 102.30000305175781, "course": 360.0, "heading": 5 11, "status": 0}]}]}
{"encodetime": "20241213004723", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX-2", "url": "http://aprs.fi/jsonais/post/XXXXX"}], " msgs": [{"msgtype": 3, "mmsi": 210959000, "rxtime": "20241213004723", "lon": -85.73293666666666, "lat": 30.181466666666665, "speed": 0.0, "course": 0. 0, "heading": 2, "status": 5}]}]}
{"encodetime": "20241213004726", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX-2", "url": "http://aprs.fi/jsonais/post/XXXXX"}], " msgs": [{"msgtype": 1, "mmsi": 367461130, "rxtime": "20241213004726", "lon": -85.72733666666667, "lat": 30.176011666666668, "speed": 0.0, "course": 27 8.1000061035156, "heading": 511, "status": 9}]}]}
{"encodetime": "20241213004727", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX-2", "url": "http://aprs.fi/jsonais/post/XXXXX"}], " msgs": [{"msgtype": 3, "mmsi": 366838630, "rxtime": "20241213004727", "lon": -85.68789833333334, "lat": 30.149311666666666, "speed": 13.80000019073486 3, "course": 29.700000762939453, "heading": 25, "status": 0}]}]}
{"encodetime": "20241213004729", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX-2", "url": "http://aprs.fi/jsonais/post/XXXXX"}], " msgs": [{"msgtype": 1, "mmsi": 367307280, "rxtime": "20241213004729", "lon": -85.73374666666666, "lat": 30.18387166666667, "speed": 0.0, "course": 302 .29998779296875, "heading": 511, "status": 0}]}]}
{"encodetime": "20241213004730", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX-2", "url": "http://aprs.fi/jsonais/post/XXXXX"}], " msgs": [{"msgtype": 1, "mmsi": 369493633, "rxtime": "20241213004730", "lon": -85.72359666666667, "lat": 30.132088333333332, "speed": 7.199999809265137 , "course": 109.19999694824219, "heading": 511, "status": 0}]}]}
{"encodetime": "20241213004734", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX-2", "url": "http://aprs.fi/jsonais/post/XXXXX"}], " msgs": [{"msgtype": 1, "mmsi": 368106020, "rxtime": "20241213004734", "lon": -85.70438, "lat": 30.169343333333334, "speed": 0.0, "course": 360.0, "hea ding": 511, "status": 0}]}]}
{"encodetime": "20241213004736", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX-2", "url": "http://aprs.fi/jsonais/post/XXXXX"}], " msgs": [{"msgtype": 1, "mmsi": 367461130, "rxtime": "20241213004736", "lon": -85.72733833333334, "lat": 30.176003333333334, "speed": 0.0, "course": 27 8.1000061035156, "heading": 511, "status": 9}]}]}
{"encodetime": "20241213004738", "protocol": "jsonais", "groups": [{"path": [{"name": "XXXXX-2", "url": "http://aprs.fi/jsonais/post/XXXXX"}], " msgs": [{"msgtype": 24, "mmsi": 338229455, "rxtime": "20241213004738", "shiptype": 37, "partno": 1, "callsign": "@@@@@@@", "vendorid": "SRTD<C`", "ref _front": 8, "ref_left": 1}]}]}
Error
Traceback (most recent call last):
File "/home/pi/ais_json/./ais_json.py", line 87, in <module>
print (colored('-- Uncommon packet recieved\n', 'red'))
NameError: name 'colored' is not defined
To view this discussion visit https://groups.google.com/d/msgid/aprsfi/50601905-7914-4e76-bcd1-101f73e7bf5fn%40googlegroups.com.