Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PostgSail sync support #51

Open
xbgmsharp opened this issue Aug 15, 2023 · 3 comments
Open

PostgSail sync support #51

xbgmsharp opened this issue Aug 15, 2023 · 3 comments

Comments

@xbgmsharp
Copy link

xbgmsharp commented Aug 15, 2023

Thanks, having a local offline logbook is an awesome add-on.
Would be great to have a sync with PostgSail. What do you think? How could we sync?

@bergie
Copy link
Member

bergie commented Aug 19, 2023

Good question. Does Postgsail have an API we could integrate with? Or maybe its Signal K plugin could read logbook YAML files.

@xbgmsharp
Copy link
Author

PostgSail does have an API. I updated the logbook to integration the same level of details.
https://editor.swagger.io/?url=https://raw.githubusercontent.com/xbgmsharp/postgsail/main/openapi.json
Should it be a separated plugin?

@bergie
Copy link
Member

bergie commented Dec 11, 2023

After a bit of thought, it would likely be best if the logbook plugin publishes the entry in a SK path, so your PostgSail plugin (and other interested consumers) can grab it from there and handle their own network/device communications. See #53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants