Using a Specific 3rd Party Node Version in Automator
Question:
How do you use a specific version of a 3rd party Node in Automator?
Answer:
Normally when a 3rd party Node is downloaded in Automator, the current version is downloaded. Sometimes, you will need an older or specific version of that Node to communicate with your devices. You will need the tgz file for the specific version that you need. For this example, we will reference a third party node named node-red-contrib-knx-ultimate. To utilize a specific Node version:
- Check npmjs.com to see if your module has older versions stored in npm, in this case we will be searching for version 3.3.30
- Once you confirm that version exists on npm, you need to download the tgz for that node
- The direct download URL has the same format for all Nodes:
https://registry.npmjs.org/*name of Node*/-/*name of Node*-*version*.tgz - For our example Node, the URL is:
https://registry.npmjs.org/node-red-contrib-knx-ultimate/-/node-red-contrib-knx-ultimate-3.3.30.tgz - Copy the URL into a webrowser, click Enter, and the file will automatically download
- Click the Menu button at the top right hand side of Automator and select Manage Palette
- Click the Install tab
- Click the "Upload module tgz file"
- Browse to the tgz file and click Open
- Once the upload has completed, you will see that specific version under the Nodes tab
- If you had already installed the most recent version of the Node previous to installing the older version, you will need to reboot Automator for the older version to take precedence