I would like to use node-red on IBM bluemix with the TTN node but the installation fails each time. It is possible to install every other node but not the node-red-contrib-ttn from @johan.
Has anybody an idea to fix this?
Thanks in advance!
Possibly the issue is due to the changes made in the ttn node names, instead of ‘device’ and ‘message’, we now have ‘event’, ‘uplink’ and ‘downlink’. I updated my LABS example to reflect this, but I think that all other examples and tutorials show the original nodes.
Can I suggest you try to install the legacy version of node-red-contrib-ttn?
The IBM BlueMix ‘free’ offering only allows 512MB per instance (or 375 GB/hours a month) for free. You may change the 'manifest.yml and use 512MB for your instance. If you clean-up the libraries (remove the unused ones), node-red will run.
It looks like that IBM changes “free” quotas based on regions.
For example “UK” the “boilerplates” Node-RED starter or Watson IoT starter have 256 Mb of memory free (node.js sdk “lite” plan), but a 1 Gb of disk quota.
Hi, if i change my region I still have this 512mb ‘lite’ offering, UK or US deployment, pricing for different regions just change on the currency. May be a some stop for new customers? Took me some time to get NodeRed run stable in 512, so 256 would be useless IMO.
These are the IBM plans for the SDK Node.js that they propose with boilerplate “Internet of Things Platform Starter” = “Internet of Things Platform”, “Cloudant NoSQL database” and “SDK for Node.js” that includes already installed Node-RED + and example tied to their IoT platform.
SDK Node.js plans for UK region -> Italy.
And the “funny” thing is that, for example, You activate “Continuous delivery” to do the workaround for ttn node installatyion that You posted and launch it (it failed), but than go back and delete that additional line of configuration and commit … the compilation, … goes well, but than it cannot even start the application since goes out of memory
Hi Lucas, THe pricing plan is obviously the same for every starting user (and region), but changed the last year. You get 256MB. If you register (with your creditcard) it is possible to go to 512MB. But I managed to install Node-RED starter (that was the package I used), 256MB, continuous delivery, TTN and Worldmap, and it works (without credit card ). Will adjust my labs story and create another one for using TTN on Node-RED / Blue Mix
This is the message IBM Cloud is showing. Great, these ‘unexpected errors’. But there must be something wrong in the NPM package? More info is not given, the workaround works, but is not that easy so would be helpful to have a look at this. Thnx
Thanks for this answer, it is really helpful. A minor addition to the steps is that while creating the GIT repository you’ll have to choose the ‘clone’ option to get the source code in your own repository.