If you have issues with this package, you should address the creators of that software package. I also agree with Johan, it is a server package, why disable it from starting up?
Posts made by Bart Peperkamp
For those interested. Working MQTT/Rest broker in Node 0.10.5
I was looking to get mqtt.js working on my onion, no luck so far because some of it's dependecies require a higher node version. However, i used thethings.io broker in another project. It's software works in node v0.10.5 (current released version) on the onion. So if you are interested in using you onion with a mqtt/rest broker, this is working :-)
https://www.npmjs.com/package/thethingsio-api (use npm on another machine, then copy to a USB stick)
How do i use the REST part of the Onion?
In the documentation is stated that i can use curl to (for example) list available devices. As following:
curl -H "Authorization: Bearer SuperSecretToken123" \ -F "type=OnionOmega1.1" -F "access_level=public" \ -X GET "https://api.onion.io/v1/devices/list"
How do i get a token? And is bearer the username? It's all a bit unclear.
Can anybody shed some light on this?