Closed enternoescape closed 5 years ago
Thanks @enternoescape - good catch. We will definitive improve that thanks to your PR. Also the sdk docs (https://neeoinc.github.io/neeo-sdk/?q=start#lib-index.js-module.exports.startserver) shows a correct example
Just a side note for you: using the integrated cli is deprecated (see https://github.com/NEEOInc/neeo-sdk#deprecated-neeo-sdk-cli).
@neophob Thanks. There's so much pointing to the neeo-sdk cli that I missed that detail. I mean I read it, but somehow I think I just glossed over it because I was looking for something specific.
fully agree, details matters especially if you dive deep into the code! thanks again @enternoescape
I tried using this example to test a driver I just started working on and was puzzled about the INVALID_STARTSERVER_PARAMETER exception I was getting until I looked at the function throwing the exception and noticed that the port parameter is required. The port is also shown as required in the SDK documentation, so this is the only place I found this error.