Closed rossengeorgiev closed 1 year ago
Thank you for writing this! It looks great.
I intend to:
Then I'll deploy it on beta.habitat.habhub.org
However, I can't do that today or tomorrow I'm afraid. Hopefully at the weekend :-)
I note that flight_check_interval isn't implemented. Will this be an issue?
Thanks @danielrichman
I need to add a few things, including the making use of flight_check_inverval, which will control how often the daemon checks couchdb. Hopefully, I will code them tonight. Then you can make your to changes.
I've tried to follow the code style in habitat. I would love to hear some pointers.
It is all yours @danielrichman
Are you sure about moving it to a separate repository? Shouldn't it stay here as it is integrated into habitat?
I think it can be taken further, by having APRS user-defined packets, which would be parsed based on the parser config. Or at least have extra data in the comment part of the packet. Something along those lines.
Cool, thanks. Will have a proper look at the weekend - afraid I'm a bit busy tomorrow.
The general plan is that core and important bits go in the habitat repository and then other stuff goes elsewhere, for example there are some parser sensor modules in habitat-extensions. The pythony logistics of doing this arn't too much of an issue.
Perhaps there's an argument for breaking the parser, couchdb bits, general utils, uploader, etc. out into separate repositories but this might be taking it a bit too far. The other thing is that stuff in habitat/ is all unit tested (coinciding with being the really important bits).
Don't worry about that - I'll sort out the repo layout / create a new ukhas repo and then git commit --author your_email
Ah yes, I saw the large amount of unit tests. The parser will definitely need those. In fact, it shouldn't be much trouble to make them.
Have created https://github.com/ukhas/habitat-aprs
I'm half way through sorting out the telemetry uploading. I hope to do more on this tomorrow.
This is old, there is no point keeping it open
I am nearly finished with the APRS daemon. Currently, a check for active flights is only performed on startup. There are a few things I need to tweak, but that is for later.
Here is what the typical output is like:
Uploading
listener_telemetry
forchasers
is ok, However, when I try to create apayload_telemetry
doc, it fails with the error above. I figure, it is because how theparser
is designed. How can we make it work ?