Nefit Easy: Error: INVALID_RESPONSE [solved]
Posted: Friday 10 February 2017 9:00
I installed the nefit server
npm i nefit-easy-http-server -g
started it
created the Nefit Easy HTTP server over LAN interface
But when checking:
curl http://127.0.0.1:3000/bridge/ecus/rrc/uiStatus
I got the next messages:
Error: INVALID_RESPONSE
at pending.(anonymous function).send.then.e (/usr/lib/node_modules/nefit-easy-http-server/node_modules/nefit-easy-core/lib/index.js:211:21)
at tryCatcher (/usr/lib/node_modules/nefit-easy-http-server/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/usr/lib/node_modules/nefit-easy-http-server/node_modules/bluebird/js/release/promise.js:510:31)
at Promise._settlePromise (/usr/lib/node_modules/nefit-easy-http-server/node_modules/bluebird/js/release/promise.js:567:18)
at Promise._settlePromise0 (/usr/lib/node_modules/nefit-easy-http-server/node_modules/bluebird/js/release/promise.js:612:10)
at Promise._settlePromises (/usr/lib/node_modules/nefit-easy-http-server/node_modules/bluebird/js/release/promise.js:691:18)
at Async._drainQueue (/usr/lib/node_modules/nefit-easy-http-server/node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (/usr/lib/node_modules/nefit-easy-http-server/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues (/usr/lib/node_modules/nefit-easy-http-server/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:649:20)
at tryOnImmediate (timers.js:622:5)
I unplugged the nefit easy, (reset) but this didn't work.
In domoticz I got the next messages in the log:
2017-02-09 21:29:38.890 Error: NefitEasy: Invalid data received (main)!
2017-02-09 21:30:09.088 Error: NefitEasy: Invalid data received! (Press)
2017-02-09 21:30:09.285 Error: NefitEasy: Invalid data received! (Gas)
2017-02-09 21:31:09.592 Error: NefitEasy: Invalid data received (main)!
Someone ideas how to solve this?
I have another question. According to Nefit, they don't save anything on their server, only some information about me, and the installation. So if some information is requested it should come from the easy. Some people got the information after resetting the easy, so seems to be right. But don't I need the IP adres of the easy in the settings? Or is that handled by the nefit server?
npm i nefit-easy-http-server -g
started it
created the Nefit Easy HTTP server over LAN interface
But when checking:
curl http://127.0.0.1:3000/bridge/ecus/rrc/uiStatus
I got the next messages:
Error: INVALID_RESPONSE
at pending.(anonymous function).send.then.e (/usr/lib/node_modules/nefit-easy-http-server/node_modules/nefit-easy-core/lib/index.js:211:21)
at tryCatcher (/usr/lib/node_modules/nefit-easy-http-server/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/usr/lib/node_modules/nefit-easy-http-server/node_modules/bluebird/js/release/promise.js:510:31)
at Promise._settlePromise (/usr/lib/node_modules/nefit-easy-http-server/node_modules/bluebird/js/release/promise.js:567:18)
at Promise._settlePromise0 (/usr/lib/node_modules/nefit-easy-http-server/node_modules/bluebird/js/release/promise.js:612:10)
at Promise._settlePromises (/usr/lib/node_modules/nefit-easy-http-server/node_modules/bluebird/js/release/promise.js:691:18)
at Async._drainQueue (/usr/lib/node_modules/nefit-easy-http-server/node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (/usr/lib/node_modules/nefit-easy-http-server/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues (/usr/lib/node_modules/nefit-easy-http-server/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:649:20)
at tryOnImmediate (timers.js:622:5)
I unplugged the nefit easy, (reset) but this didn't work.
In domoticz I got the next messages in the log:
2017-02-09 21:29:38.890 Error: NefitEasy: Invalid data received (main)!
2017-02-09 21:30:09.088 Error: NefitEasy: Invalid data received! (Press)
2017-02-09 21:30:09.285 Error: NefitEasy: Invalid data received! (Gas)
2017-02-09 21:31:09.592 Error: NefitEasy: Invalid data received (main)!
Someone ideas how to solve this?
I have another question. According to Nefit, they don't save anything on their server, only some information about me, and the installation. So if some information is requested it should come from the easy. Some people got the information after resetting the easy, so seems to be right. But don't I need the IP adres of the easy in the settings? Or is that handled by the nefit server?