-
Notifications
You must be signed in to change notification settings - Fork 17
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
homebridge-gree-ac #575
Comments
✅ Pre-checks completed successfully. |
Hi @eibenp Nothing to do with verification, but I wonder if this could be published under a simpler name in npm. What I have tried to do recently is get in contact with maintainers of old stale plugins to see if we can get maintainership of nice npm names, to avoid having so many plugins published to npm. For example, Im assuming your plugin (havent had a proper look) is just a plugin for Gree air conditioners, so my initial thought is Is this something you'd be willing to try and wait for? |
Yes, this is ok for me2023. szept. 21. dátummal, 23:31 időpontban Ben ***@***.***> írta:
Hi @eibenp
Nothing to do with verification, but I wonder if this could be published under a simpler name in npm.
What I have tried to do recently is get in contact with maintainers of old stale plugins to see if we can get maintainership of nice npm names, to avoid having so many plugins published to npm.
For example, Im assuming your plugin (havent had a proper look) is just a plugin for Gree air conditioners, so my initial thought is homebridge-gree-ac and whilst this name is taken on npm (https://www.npmjs.com/package/homebridge-gree-ac) I could try and get in contact with the dev on github to see if they would be willing to transfer the ownership of the name.
Is this something you'd be willing to try and wait for?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Thanks, have created a request here homebridge-plugins/homebridge-gree-ac#6 Will see if I get a reply here. |
Hi @eibenp First of all thanks for your patience on the 'name change' issue, I think we are almost there but waiting for the other user to transfer the names over. Anyway thought I would take the time to review the plugin anyway. A few comments: 1
A lot of users will be updating to node 20 now, so I would allow this in your package json (my recommendation would be to set it to 2
Great that this doesnt cause an error, but maybe this could be a
3(and yeah im grasping at straws to find issues now!) I wondered if it would a better UI if the user entered the device ID first before the 'disabled' option I will show a video of how I account for device ids vs options and using the json features to show and hide fields as needed: video: Screen.Recording.2023-09-30.at.21.54.20.movcode: Anyway none of the above is homebridge verified requirements, just (un)fortunately you had me verifying the plugin 😁 Happy for you to add a badge to your readme etc. For the moment I won't update our list of verified plugins, in case we have some success in getting the other existing plugin transferred over, so then you can publish with a nice name. Will give this until next Saturday 7th October, otherwise I will happily add your existing plugin names to the official verified list. Hope you are happy with all the above, any objections please feel free to reply 😃 |
Everything Looks Good! |
Congratulations! Your plugin has been verified. You can now add the Verified by Homebridge badge to your plugin's README:
Your plugin is now also eligible to display a ❤️ Donate button on its tile in the Homebridge UI. See https://github.com/homebridge/homebridge/wiki/Donation-Links for instructions. If for any reason in the future you can no longer maintain your plugin, please consider transferring it to our unmaintained plugins repo. We can take ownership until another willing developer comes along. Don't forget to join the official Homebridge Discord server, where plugin developers can get tips and advice from other developers and the Homebridge project team in the #plugin-development channel! Thank you for your contribution to the Homebridge Community. |
DO NOT CLOSE see
|
Hi @bwp91 I accept all three comments. I will fix them in next release. Currently I am waiting for "name change" before publishing a new release. |
Hi @eibenp I believe we now have these repos under our name. Could you fill out this template issue here: The name of the plugin is Thank you! |
Hi @bwp91 done. Issue submitted. |
Hi @bwp91 npm issue closed. Please tell me the next steps. |
Hi, sorry for delay in reply. What needs to be done now is edit these to match the existing values of npm
Also I would recommend publishing a new version as 2.0 as maybe there will be breaking changes if a user of the old version of the version were to update to the now your new version. Up to you, but maybe a credit in the readme for the old maintainer too, especially if your repo is based off their work. I think that's it! Any other questions do shout! |
Hi @bwp91 if I understand You well, then I do not need to change the github repo. I can continue development in the same github repo (homebridge-gree-airconditioner) The only thing I should do is updating the package data to match the new npm parameters. |
Yes you can continue in the existing github repo, so long as the package name in the package json file matches |
Once you have published a new version to the |
Hi @bwp91 one more question: The original I don't know what happens when an old user of I have prepared the modifications and updated my GitHub repo. You can check my new version. I think my code is ready for publishing the new npm package but I wait for your confirmation. |
Hi @eibenp sorry again for delay in reply. Are you still waiting for any confirmation from me/us on this? Happy to still take a look if needed |
Hi Ben
yes, I am still waiting for confirmation and answer my questions
2023. okt. 25. dátummal, 21:12 időpontban Ben ***@***.***> írta:
Hi @eibenp sorry again for delay in reply. Are you still waiting for any confirmation from me/us on this? Happy to still take a look if needed
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
So I would publish to npm a new major version of the existing plugin (ie a The GitHub release notes appear in the Homebridge UI before a user updates, so at this point the user can read the notes, and decide whether they want to update the plugin or not. The contents of a changelog.md file are displayed in the UI after a user has updated a plugin. Within the release notes, I would mention that updating the plugin is a breaking change, with steps on how to 'update'. Im assuming since this is changing from an accessory-based plugin to a platform-based plugin that there will be no 'clean' way to update, which is fine, so long as it is clearly stated in the GitHub release notes for a v2 of the plugin. To reiterate, since these notes appear before the user updates the plugin, the user can decide whether to update now and deal with the changes, or wait for another day.
Probably just worth being honest - the best way in this case is probably indeed to uninstall the existing version, which should remove the accessory-based accessories, and then install your new version, which will recreate the accessories as platform-based. This will mean that homekit scenes and automations that a user already has will be removed and will need to be re-set-up. My point here is so long as the user knows what to expect, then they can make an informed decision on whether they want to update the plugin now... or at a later time when they perhaps have more time to reconfigure their accessories |
Hi @bwp91 I have published the new v2.0.0 release of the |
Amazing 👍 nice job. Happy to close this issue now, if there is anything in the future you need assistance with please do get in contact! |
Hi @bwp91 Thank You! |
Very soon now! |
/check |
✅ Pre-checks completed successfully. |
Fixed! Got muddled between your github repo name and the npm name 😃 |
Hi @bwp91 Thank You! I see that the verified list is now correct. Currently Homebridge does not display in search results the verified sign on my |
Hi @bwp91 I think my plugin is still not in verified state |
Hi @bwp91 my plugin is still not verified. It is on your verified list but homebridge does not know it. |
@eibenp, try restarting your Homebridge UI. Go to Homebridge Setting sand then Force Service Restart: |
Thank You! It's OK now. One more question: Why is this issue #575 still labeled as pending-review ? |
Congratulations! Your plugin has been verified. You can now add one of the Verified by Homebridge badges to your plugin's README:
Your plugin is now also eligible to display a ❤️ Donate button on its tile in the Homebridge UI. See https://github.com/homebridge/homebridge/wiki/Donation-Links for instructions. If for any reason in the future you can no longer maintain your plugin, please consider transferring it to our unmaintained plugins repo. We can take ownership until another willing developer comes along. Don't forget to join the official Homebridge Discord server, where plugin developers can get tips and advice from other developers and the Homebridge project team in the #plugin-development channel! Thank you for your contribution to the Homebridge Community. |
@eibenp the Anyway all good now hopefully - will close this - please feel free to reopen if needed 😀 |
Link To GitHub Repo
https://github.com/eibenp/homebridge-gree-airconditioner
Link To NPM Package
https://www.npmjs.com/package/homebridge-gree-ac
The text was updated successfully, but these errors were encountered: