I was wondering if there is a possibility where instead of just leaving a gpio pin high, - I could make a gpio pin go high, delay 1 second and then gpio pin low?
I want to make it act like a digital momentary button press…
Although this is not the recommended way to install a plugin in Volumio 3 and especially lacks a Volumio 3 compliant “package.json”, it was sufficient to make the plugin start.
I don’t use the plugin either - I’m trying to update it to Volumio 3 so other people can use it.
I’ve already installed build-essential. I’ve re-created the plugin from fresh, updated the code and created an updated package.json. I followed the steps and manually updated onoff and sleep as needed in the plugin directory in /data/plugins/system_hardware/gpio_control/node_modules. So the modules are present and valid. It’s really strange why it doesn’t work.
I wanted to upgrade the plugin and going to try and add some of the new functionality that people have been asking for. :’(
Don’t update the modules in “/data/plugins/system_hardware/gpio_control/node_modules”, i.e. after installing the plugin, but before installing it in the location where the extracted files from the plugin .zip reside (e.g. “/home/volumio/gpio_control”). That is what my post #67 describes.
I haven’t installed the plugin as such because I’m creating a brand new one from scratch. The plugin refresh procedure should automatically update the modules - I didn’t have this issue in v2. I’ll keep trying though.
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