aprsnotify开源项目

我要开发同款
匿名用户2021年11月08日
35阅读
开发技术Python
所属分类应用工具、IM/聊天/语音工具
授权协议GPL-3.0 License

作品详情

APRSNotify

APRSNotifyisapythonbasedbotscriptdesignedtosendparsedAPRSpacketdatatovariousSocialMediaorCommunicationsnetworks.

ThissoftwareisforusebyAmateurRadioOperatorsonly.

ThisbotwasdesignedtobeusedbyonepersonwithmultipleAPRSTrackerstotrackpacketsforthatoneperson.

PleaseseetheWikiformoreinformationandinstallationandconfigurationsteps.

WorkingExamples:Twitter:@n8acl_aprsMastodon:Youwillneedtofollown8acl_aprs@botsin.space.CurrentlySupportedNetworksTwitterTelegramMastodonDiscordFeaturesPullsmostpacketdatafromAPRS.fiAPIforthefollowingtypesofpackets:PositionDataWeatherStationDataReverseGeocodewithOpenStreetMapsAPI.GetWeatherConditionsfromOpenWeatherMapsAPIforthelocationofthepositionpacketFindMaidenheadGridSquareofpacketlocation.SendStatustoSocialMediaNetworks(SeeaboveforsupportedNetworks)GetnotificationofanAPRSmessagesenttoyourstation(requiresTelegramtowork).IfsomeonesendsamessageviaAPRStooneofthecallsignsbeingtracked,thescriptwillnotifyyouandshowyouthemessageonTelegram.UseCasesSendinganAPRSpackettoTwitter/Mastodonforyourfollowerstosee.SendingWeatherdatafromAPRStoSocialMedia.SendingAPRSdatatoyourselftoconfirmthatitismakingittotheinternet(viaTelegramforexample).SendingyourpositioninformationtoaTelegram/DiscordChannelthatyouhaveyournon-hamradiofamilyandfriendsonsotheycantrackyouwhenyouaretravelingbycarforalongdistance.SendingyourAPRSdatatoaclubMastodonInstancefeedfortheclubtosee.SendingpositiondatatoaradioclubTelegram/DiscordChannelsothateveryonecanseeyourdataposted.Otherusesthatyourimaginationcomesupwith.UPGRADETOVERSION5.0

Toupgradetoversion5.0ofthescript,pleaseruntheupdate.pyscript.Itwillupdateyourdatabasetothemostcurrentversion.

Ifyouareinstallingthewholescriptforthefirsttime(i.e.haveneverusedAPRSNotifybefore),donotrunthisscript,butpleaserunan_util.py.OnlyrunthisupgradeifyouhaveusedAPRSNotifybeforeandhavepreviouslyupgradedtoversion4.

UpgradingaversionolderthanVersion4tocurrentVersion5

Pleasenotethatanyversionpriorto4hashadtobedepreciatedandisnolongersupported.Withallthechanges,itisdifficulttosupportthoseolderversionswiththenewversion.

TheeasiestwaytoupgradeaversionofAPRSNotifythatisolderthanVersion4istomakesuretobackuptheconfig.pyfiletoanotherlocationandthendeletingtheoldAPRSnotifyscriptfolder.Thenclonetherepotogetthelatestscriptfiles.Thisallowsyoutosetupthescriptasbasicallyabrandnewsetup,justfollowthedirectionsinthewikiforanewsetupandusingthean_util.pyfile.Youcanuseyouroldconfig.pyfileasreferencetocopyandpasteyourkeysandthingsinasneeded.

Credits

TheOriginalTelegramNotifybotfunctionalitywasbasedoffagistbyGithubuserLucaspg96.ClickHere.

AddingGridSquaretoStatusmessagewassuggestedbyAlex,N7AGF.

TheGridSquareFunctionwasdevelopedbyWalterUnderwood,K6WRUandpostedonham.stackexchange.com.ClickHere

ThemapimagefunctionalityfortheTelegramBotandsuggestionstoincludeornotincludeWeatherdataamongothersuggestionswerecontributedbyChanyeolYoo,Ph.D.,VK2FAED

APRS.FIAPILimitationsissuesfoundandtroubleshotbyAlexBowman,KN4KNG.

InstallationoftheVerison4scriptstroubleshotbyDiego,EA3ICN.

APRSandtheAPRSSystemandassociatedcopyrightweredevelopedbyBobBruninga,WB4APRhttps://www.aprs.org.

Contact

Ifyouhavequestions,pleasefeelfreetoreachouttome.Youcanreachmeinoneofthefollowingways:

Twitter:@n8aclTelegram:@ravendosMastodon:@n8acl@mastodon.radioE-mail:n8acl@qsl.net

OropenanissueonGithub.Iwillrespondtoit,andofcourseyou,whenIcan.Remember,thisisahobbyandthereareotherdailydistractorsthatcomefirst,likework,schoolandfamily.

Ifyoureachouttomeandhaveanerror,pleaseincludewhaterroryouaregettingandwhatyouweredoing.Imayalsoaskyoutosendmecertainfilestolookat.Otherwisejustreachouttome:).

ChangeLog

05/30/2021

MinorupdatestoREADMEandthewiki.

05/19/2021-Version5.0Release

UpdateofAPRSNotifyDatabasetoconsolidatecallsignliststoonetableRedesignofan_util.pyintoaFlaskapptoallowforwebbrowserbasedGUItoconfigurethescript.AdditionofDiscordtosupportednetworks.AutomaticallydoesnotsendamapimagewithWXStationDataormessagenotificationtoTelegramUpdatedWikiwithnewinformation.

01/15/2021-Version4.0Release

RemovalofAPRSBottoadifferentprojectMovedfromtextfilesfordatastoragetoSQLlite3DatabaseVarioussmallbugfixesandreworkofthecode.Added:abilitytosendstatustoMastodonAdded:an_util.pyconfigurationutilityforinteractingwiththedatabaseAdded:Newwikiuserguide.Added:ParsingofWeatherDatapacketfromAPRS.

12/11/2020-Release3.1-FixesaroundAPRS.FIAPIlimitations

APRSnotifyUpdatedaprsnotify.pytosplitpositiontrackingandmessgemonitoringlistsoutto2seperatelistsduetoAPRS.fiAPIrestrictionsAPRSbotUpdatedaprsbottofixAPRS-ISTimeoutsforsendinglocationsandmessagesREADME.mdAddedlimitationstotheAPItotheAPRS.fiAPIkeysection.OtherupdatesandclearificationstoREADME.mdConfiguration.mdSplitcallsignlistsouttopositiontrackinglistandmessagelist.ThisisduetolimitationsontheAPRS.fiAPI

12/09/2020-Minorupdate

FixedBug:fixederrorinsetup.py.Namedtheconfigfilewronginvariable.(FoundbyAlexBowman,KN4KNG)

11/15/2020-Version3.0Release

Added/NewFeatures:Addedarequirements.txtfiletomakeinstallinglibrarieseasierforendusersAddedcheckstomakesureallpythonlibrariesneededareinstalledalreadyandnotifytheuserifnotandhowtoinstallCreatedandaddednewinteractivebotfunctionality,APRSBotUpdates/Changes:Changedfromurllibtorequestslibrarytoparsejson.ThismakesiteasiertousethesameurlfordifferentpurposesRemovedtheaprsandmsgurlvariablesandcombinedintoaprsfi_urlvariableforusewithnewlibraryFixedbug:addedsrccallvariableinstantiation.ThisfixesabugwhereifthesrccallisnotpulledproperlythescriptbombsRemovedusingGoogleGeocoderforReversegeocoding.OnlyusingOpenStreetMapsnowUpdatedREADME.mdandConfiguration.mdfiles

08/20/2020

UpdatestotheReadMefile

07/06/2020-Version2.0Release

Added/NewFeatures:AbilitytochoosebetweenMetricandImperialunitsAbilitytoturnoffWXInformationandnotincludeitinthestatusmessage.NowsendsnotificationifsomeonesendstheuseramessageonAPRS(requiresTelegrambotforthistowork).SendsmapimageofthepacketlocationtoTelegram(requiresTelegrambotforthistowork).Updates:Fixed:IfthereisnotaspeedentryintheJSONpayloadfromAPRS.FI,thescriptassumesit'safixedstationanddoesnotincludespeedinthestatusmessage.InVer.1.0thiswasabugthatwouldcausethescripttofailiftherewasnotaspeedentryintheJSONpayload.Updatedtheconfigfiletoincludeswitchesfornewfeatures.Updatedtheconfigurationwalkthroughinthisrepo.UpdatedSetup.pytoincludeswitchesfornewfeatures.Willalsoupdateanexistingconfig.pyfiletothenewversion.NOTE:Ifyouarerunningversion1,whenupdatingtoVersion2ofthescript,makesuretorunsetup.pytoupdateyourexistingconfig.pyfiletothecorrectconfigversion.Reworkedandtightenupcodeinthemainscript

02/29/2020-InitialRelease1.0

CombinedfunctionalityofAPRSTweetandAPRSTelegramAdded:AbilitytochoosetosendtoTwitter,TelegramorAllAdded:AbilitytochoosebetweenOpenStreetMapsandGoogleGeocodingAPIforreversegeocodingofpacketlocationAdded:Addedthehashtag#APRStotheendofthestatusmessageforTwitterAdded:FindstheMaidenheadGridSquarebasedonpacketlocationandincludesitinthestatusmessageAdded:Createdsetuputilitytohelpinconfigfilecreation.Update:FixedURLforaprs.fiinthestatusmessagefromhttps://tohttps://
声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论