Got it working somehow. Combination of running
npm i
and doing volumio plugin refresh && volumio vrestart
I’ve implemented the delay functionality. Question is how to get this plugin submitted…
Hi @supercrab
I noticed you tried to publish your plugin for Volumio3, but it’s not being merged because the submit process was not performed well
Please have a look to the comments from @mervinio , when the submit is done properly your plugin should be available immediately setting the plugins in test mode
Thanks! I tried to do the submit but it failed. The submit process seem is too complicated even for experienced developers like me! I don’t have a pi to develop on an more due to the shortage
Ooh handy to know thanks!
Forgot about my pi Zero 2. It turns out that the plugin publish is telling me to run git add *
but when I commit the changes github tells me that my branch is up to date, so I’m not sure what the problem is :’( Help!
volumio@volumio3:~/volumio-plugins-sources/gpio_control$ volumio plugin submit
This command will submit a plugin for publishing in the plugins store. Newly submitted plugins will be verified by the volumio team. After verification the plugin will be publically available on the beta channel. When the plugin is properly tested in the beta channel, it will be promoted to the stable channel, available to download by everyone. Every subsequent version of the plugin will alo be put in the beta channel, and will be promoted to the stable channel after testing.
? do you want to change your version? (leave blank for default) 1.0.0
Your repository contains unstaged changes. Please stage and commit your changes. Use 'git add *' to stage all changes.
For help please go to: https://volumio.github.io/docs/Plugin_System/Writing_A_Plugin.html
volumio@volumio3:~/volumio-plugins-sources/gpio_control$ git add *
volumio@volumio3:~/volumio-plugins-sources/gpio_control$ git commit
On branch master
Your branch is up to date with 'origin/master'.
Untracked files:
.json
../mpd_oled/
nothing added to commit but untracked files present
volumio@volumio3:~/volumio-plugins-sources/gpio_control$
please try the following steps, from your RPi running Volumio
- re-do volumio plugin submit, increasing the version number (1.0.1)
- git add --all (it should add the file with the increased version number)
- do again volumio plugin submit
Thanks that worked like a charm! Lets hope it gets added. How exciting!
I still can’t see it in the available plugins in beta mode…
i also see the node modules are part of your submit, they shouldn’t be there
@mervinio can you give some hints?
I can delete them and resubmit
I can’t submit the plugin without node_modules folder being present, not sure what I’m doing wrong.
volumio@volumio3:~/volumio-plugins-sources/gpio_control$ volumio plugin submit
This command will submit a plugin for publishing in the plugins store. Newly submitted plugins will be verified by the volumio team. After verification the plugin will be publically available on the beta channel. When the plugin is properly tested in the beta channel, it will be promoted to the stable channel, available to download by everyone. Every subsequent version of the plugin will alo be put in the beta channel, and will be promoted to the stable channel after testing.
? do you want to change your version? (leave blank for default) 1.0.1
Compressing the plugin
No modules found, running "npm install"
From the plugin folder without node modules, launch 'plugin submit '. It will build node modules and submit the plugin for arch set in package.json.
Once done, you have to send a PR of your code to volumio plugin sources.
After first submit the plugin is not visible yet in beta mode, we first do an initial verification.
The plugin is now available in beta mode.
I ran volumio plugin submit
and it complained about there being no node modules and then stopped.
Compressing the plugin
No modules found, running npm install
I had to run npm install
in order to submit the plugin, but made the PR before the node_modules were installed…
Awesome! Thanks!
I’ve now given the plugin the ability to pulse on and off, after a delay if required. Hopefully, available in the debug plugin store now!
Delay function has been implemented! Available in the debug plugin store now!
Can you see it now?
I’m not at home, I will try ASAP!