-
Notifications
You must be signed in to change notification settings - Fork 60
Support for MQTT #246
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
Comments
Hi @notenoughtech, in combination with this plugin MQTT and the checkbox "Unclassified events" , it should be easy to implement. I just need to fire an event. These are the events that could be helpful:
Did I miss something? |
I couldn't see it on the list of events so I skipped it.
I wrote a small python scraper last night that hooks up directly to the SQL
file and sends the updates.
I'll think about the event approach now as well. I want to use some NFC to
inject the spools to the database. Are you anticipating any issues caused
by duplicating DB entries?
…On Thu, 17 Feb 2022, 08:23 OllisGit, ***@***.***> wrote:
Hi @notenoughtech <https://github.com/notenoughtech>,
in combination with this plugin MQTT
<https://github.com/OctoPrint/OctoPrint-MQTT> and the checkbox
"Unclassified events" , it should be easy to implement. I just need to fire
an event.
These are the events that could be helpful:
- updateSelectedSpoolWeight
- selectedSpool
- removeSelection
- updatedSpoolData
- addedSpool
- deletedSpool
Did I miss something?
—
Reply to this email directly, view it on GitHub
<#246 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKDRL23PBCSFACFMURSAX3LU3SV6TANCNFSM5ORQ6XZQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
- E #246 EventBus-Events to support MQTT-Topics - E #186 multiple templates (with field selection) - E #191 Include PTFE tube length for remaining check - E #221 Preview of QR-Code - E #207 Define IP/URL for QR-Code generation - E #220 Output of database id in QR-Code view - E #236, B #228 Output of total spools in tab-view - E Output of database id in QR-Code and in table - B #245 Show last weight digit - B #235 custom colorname not stored - B #225 copy was disabled during printing
Hi @notenoughtech, in the latest RC-Version 1.7.0rc1 I implemented the event-mechanism. If you update/create the database by your own, it could go wrong and the plugin stops working ;-) Thx, in advance |
I'll live my life dangerously :)
I'll check it out thanks for the heads up
…On Thu, 17 Feb 2022, 19:29 OllisGit, ***@***.***> wrote:
Hi @notenoughtech <https://github.com/notenoughtech>,
in the latest RC-Version 1.7.0rc1 I implemented the event-mechanism.
Please test and give feedback
If you update/create the database by your own, it could go wrong and the
plugin stops working ;-)
Thx, in advance
Olli
—
Reply to this email directly, view it on GitHub
<#246 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKDRL2Y32JYLUYIOMBIHDOTU3VEBBANCNFSM5ORQ6XZQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
- E #246 EventBus-Events to support MQTT-Topics - E #186 multiple templates (with field selection) - E #191 Include PTFE tube length for remaining check - E #221 Preview of QR-Code - E #207 Define IP/URL for QR-Code generation - E #220 Output of database id in QR-Code view - E #236, B #228 Output of total spools in tab-view - E Output of database id in QR-Code and in table - B #245 Show last weight digit - B #235 custom colorname not stored - B #225 copy was disabled during printing
Last tiny request, I know I can pull that info from the MQTT events now but
it would be nice to have "isLoaded" in the DB to indicate which spool is
currently loaded onto the printer. This would also allow me to share the
spool db across multiple octoprint instances without having a completely
external DB.
Cheers
Mat Zolnierczyk
Maker, Robotics Engineer
Owner | NotEnoughTech
***@***.***
notenoughtech.com
Teesside, North Yorkshire, UK
[image: facebook] <https://www.facebook.com/NotEnoughTECH/>
[image: twitter] <https://twitter.com/NotEnoughTECH>
[image: linkedin] <https://www.linkedin.com/in/mat-zolnierczyk/>
[image: instagram] <https://www.instagram.com/notenoughtech/>
On Thu, Feb 17, 2022 at 7:37 PM Mat Zolnierczyk ***@***.***>
wrote:
… I'll live my life dangerously :)
I'll check it out thanks for the heads up
On Thu, 17 Feb 2022, 19:29 OllisGit, ***@***.***> wrote:
> Hi @notenoughtech <https://github.com/notenoughtech>,
>
> in the latest RC-Version 1.7.0rc1 I implemented the event-mechanism.
> Please test and give feedback
>
> If you update/create the database by your own, it could go wrong and the
> plugin stops working ;-)
>
> Thx, in advance
> Olli
>
> —
> Reply to this email directly, view it on GitHub
> <#246 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AKDRL2Y32JYLUYIOMBIHDOTU3VEBBANCNFSM5ORQ6XZQ>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
Hi @notenoughtech, |
Hi @notenoughtech, Please test and give feedback. Thx, in advance |
Awesome. I'll give it a go 😍
…On Fri, 18 Mar 2022, 16:21 OllisGit, ***@***.***> wrote:
fyi: New Version 1.7.0 is released and include the MQTT feature.
—
Reply to this email directly, view it on GitHub
<#246 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKDRL27HZOLVQ5C4K4KLHLTVASUPVANCNFSM5ORQ6XZQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi, It's nice to see the events share the details with MQTT, thank you. I have a couple of suggestions: Spool deselected: spool object - any chance to expose all details from spool added event? (brand, cost comments all shebang) edits to spools - no event is being fired. That would be ok, if either whole spool object is shared via MQTT on load, or perhaps drop the array of spools with manual refresh in the plugin page? Thank you for the changes made so far. |
I came up with a workaround for now (cloning the db file). Not the prettiest way but it works. If you want to see what I made with that - check out this: https://notenoughtech.com/3dprint/smart-filament-storage/ |
This issue has been automatically marked for closing, because it has not had activity in 30 days. It will be closed if no further activity occurs in 10 days. |
This issue was closed, because it has been already marked for 10 days with no activity. |
Hi,
I wonder if it would be possible to add the MQTT option to share the writes to the database? It would enable logging externally without reading the DB or hosting it on another server.
Thanks
The text was updated successfully, but these errors were encountered: