Replies: 2 comments
-
I wrote signalk-to-batch-format for a similar use case. There are more
details in the README.
https://github.com/c33howard/signalk-to-batch-format
It's an unconditional publish though, which I prefer. My day job deals
with distributed systems and I've learned to love constant work.
Additionally, always publishing gives you a chance to alarm and notice that
your last GPS push hasn't been made for some time. It's nice to know
that's definitely an error in the system, rather than either an error OR
because the boat hasn't moved.
I've thought about setting up conditional alarms though, based on how far
the boat is from my home slip. I've yet to implement that. If/when I do,
it'll likely be a separate plugin that publishes a stat that is
distance-from-home or similar. I'd then use that as an AND condition in my
alarms. At least that's my current plan.
Craig
…On Thu, Feb 1, 2024 at 4:06 PM Pat Ransil ***@***.***> wrote:
I figure someone has already done this but I could not find it.
I have an RPI/BBNOS system with SignalK and I am automatically writing GPS
coords to influx every minute. I would like to automatically send the GPS
coordinate once per hour to my map on my WordPress based blog. I can make
my map pick up the coords from a file kept on an internet accessible file
storage system.
I would like to do some preprocessing to only send coords if the boat is
moving and to not send 'glitch' coords (sometimes the GPS coords are wrong
by a lot but if I look at 3 consecutive points, I can tell if the middle
point was a glitch), and amybe a few other special conditions.
If anyone has done something like this or can point me to something that
does some of this, it would be appreciated. Especially if the code is in
python. :-)
thanks
Pat
—
Reply to this email directly, view it on GitHub
<#101>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAN33OUXYTI2SSC3B7YBAHDYRQUXTAVCNFSM6AAAAABCVZMK2WVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZWGE3DQNRWHE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
You could also easily do this in node-red. I think I have a node that detects movement, I can send it if you wanted to go that route. Enjoy Brad Harley. — Sent from my iPhoneOn Feb 1, 2024, at 23:24, Craig Howard ***@***.***> wrote:
I wrote signalk-to-batch-format for a similar use case. There are more
details in the README.
https://github.com/c33howard/signalk-to-batch-format
It's an unconditional publish though, which I prefer. My day job deals
with distributed systems and I've learned to love constant work.
Additionally, always publishing gives you a chance to alarm and notice that
your last GPS push hasn't been made for some time. It's nice to know
that's definitely an error in the system, rather than either an error OR
because the boat hasn't moved.
I've thought about setting up conditional alarms though, based on how far
the boat is from my home slip. I've yet to implement that. If/when I do,
it'll likely be a separate plugin that publishes a stat that is
distance-from-home or similar. I'd then use that as an AND condition in my
alarms. At least that's my current plan.
Craig
On Thu, Feb 1, 2024 at 4:06 PM Pat Ransil ***@***.***> wrote:
I figure someone has already done this but I could not find it.
I have an RPI/BBNOS system with SignalK and I am automatically writing GPS
coords to influx every minute. I would like to automatically send the GPS
coordinate once per hour to my map on my WordPress based blog. I can make
my map pick up the coords from a file kept on an internet accessible file
storage system.
I would like to do some preprocessing to only send coords if the boat is
moving and to not send 'glitch' coords (sometimes the GPS coords are wrong
by a lot but if I look at 3 consecutive points, I can tell if the middle
point was a glitch), and amybe a few other special conditions.
If anyone has done something like this or can point me to something that
does some of this, it would be appreciated. Especially if the code is in
python. :-)
thanks
Pat
—
Reply to this email directly, view it on GitHub
<#101>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAN33OUXYTI2SSC3B7YBAHDYRQUXTAVCNFSM6AAAAABCVZMK2WVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZWGE3DQNRWHE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I figure someone has already done this but I could not find it.
I have an RPI/BBNOS system with SignalK and I am automatically writing GPS coords to influx every minute. I would like to automatically send the GPS coordinate once per hour to my map on my WordPress based blog. I can make my map pick up the coords from a file kept on an internet accessible file storage system.
I would like to do some preprocessing to only send coords if the boat is moving and to not send 'glitch' coords (sometimes the GPS coords are wrong by a lot but if I look at 3 consecutive points, I can tell if the middle point was a glitch), and amybe a few other special conditions.
If anyone has done something like this or can point me to something that does some of this, it would be appreciated. Especially if the code is in python. :-)
thanks
Pat
Beta Was this translation helpful? Give feedback.
All reactions