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

New Plugin "Wattometer" #1216

Merged
merged 3 commits into from
Jul 22, 2023
Merged

New Plugin "Wattometer" #1216

merged 3 commits into from
Jul 22, 2023

Conversation

RealTryZ
Copy link
Contributor

No description provided.

@jneilliii
Copy link
Contributor

Is your plugin repo private? I'm getting a 404 when attempting to review your plugin.

@RealTryZ
Copy link
Contributor Author

RealTryZ commented Jul 19, 2023 via email

Copy link
Contributor

@jneilliii jneilliii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

besides the one small typo, your plugin needs this line updated to include the fritzconnection module dependency so it automatically gets installed.

plugin_requires = ["fritzconnection"]

It's frowned upon slightly to use CDN for your js files. It's better to bundle them within your plugin in static/js folder and then include it in your get_assets callback. You can see an example of how this is achieved with Bed Level Visualizer here.

once that gets updated create a 0.1.0 release on GitHub.

_plugins/Wattometer.md Outdated Show resolved Hide resolved
Also Released Wattometer 0.1.0
@jneilliii
Copy link
Contributor

Sorry I missed it before @RealTryZ, but it would be best if you also had a software update hook in your plugin, so that if you end up having to release new versions your users will get automatically notified of the new update as you make new releases. You can find the docs for that here, with a simple example. Make sure to use Wattometer identifier in place of updateplugindemo in that example.

@RealTryZ
Copy link
Contributor Author

Sorry I missed it before @RealTryZ, but it would be best if you also had a software update hook in your plugin, so that if you end up having to release new versions your users will get automatically notified of the new update as you make new releases. You can find the docs for that here, with a simple example. Make sure to use Wattometer identifier in place of updateplugindemo in that example.

Thanks for the tip, I fixed it now and included that hook.

@jneilliii
Copy link
Contributor

You missed the bit about changing the identifier in the return here. Change updateplugindemo to Wattometer to match your plugin identifier.

@RealTryZ
Copy link
Contributor Author

You missed the bit about changing the identifier in the return here. Change updateplugindemo to Wattometer to match your plugin identifier.

I'm really sorry, fixed it now. Thanks for your patience

@jneilliii jneilliii merged commit 4bf5f66 into OctoPrint:gh-pages Jul 22, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants