-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Really nice software ! #47
Comments
Very strange, I would also expect this to work (but I never had IVT devices myself so perhaps they work differently than others). Try enabling the debug log to see if there's anything obviously wrong:
|
Thanks for quick response and the DEBUG tips. Seems to bee a timeout at the server ? Strange since the GET is so fast .... |
Perhaps a 404 Not Found response takes longer, and the client doesn't wait long enough for it to be returned and keeps on sending new requests. The main issue is the 404, apparently it's not possible to set the setpoint, but I have no idea why. |
OK. If I'm understanding the log ....it seems that the client waits at max < 130 ms. Is there a way to extend this period, say up to 3 seconds ? |
No, it waits 5 seconds before it retries, and retries 15 times. The timeout can be set with |
Aha, sorry, missed that option. There are some deprecated packages, are you planning to update ? Thanks for the help, Mats npm WARN deprecated [email protected]: this library is no longer supported |
Some day perhaps, but most are related to |
Ok. Thanks for the help and have a nice Easter. 🐣 |
Cool 😎 I'm not sure about the IVT devices, but some other Bosch devices have "built-in" endpoint discovery, where you can retrieve the For instance, this is what my EasyControl shows:
So the endpoint it supports are:
You can then retrieve those one by one to see which endpoints they have:
Etc. |
OK, thanks for the tips. This was tested in an early stage, but unfortunately it isn't supported. Will just get an error, not found. |
Hi !
Nice application but have problem with PUT.
I'm running a Raspberry. RPi OS, with Node.js 18.
Getting problem as below.
Any ideas ?
Thanks, Mats
GET the room set point is ok
bosch-xmpp --serial=xxxxxxx --access-key=yyyyyyy --password=zzzzzz ivt get /heatingCircuits/hc1/manualRoomSetpoint
{"id":"/heatingCircuits/hc1/manualRoomSetpoint","type":"floatValue","writeable":1,"recordable":0,"value":18.5,"unitOfMeasure":"C","minValue":5,"maxValue":30,"state":[{"off":0}]}
PUT a new room set point doesn't work
bosch-xmpp --serial=xxxxxxx --access-key=yyyyyyy --password=zzzzzz ivt put /heatingCircuits/hc1/manualRoomSetpoint '{"value":18.4}'
Error: INVALID_RESPONSE
at /usr/lib/node_modules/bosch-xmpp/lib/base-client.js:257:23
at tryCatcher (/usr/lib/node_modules/bosch-xmpp/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/usr/lib/node_modules/bosch-xmpp/node_modules/bluebird/js/release/promise.js:547:31)
at Promise._settlePromise (/usr/lib/node_modules/bosch-xmpp/node_modules/bluebird/js/release/promise.js:604:18)
at Promise._settlePromise0 (/usr/lib/node_modules/bosch-xmpp/node_modules/bluebird/js/release/promise.js:649:10)
at Promise._settlePromises (/usr/lib/node_modules/bosch-xmpp/node_modules/bluebird/js/release/promise.js:729:18)
at _drainQueueStep (/usr/lib/node_modules/bosch-xmpp/node_modules/bluebird/js/release/async.js:93:12)
at _drainQueue (/usr/lib/node_modules/bosch-xmpp/node_modules/bluebird/js/release/async.js:86:9)
at Async._drainQueues (/usr/lib/node_modules/bosch-xmpp/node_modules/bluebird/js/release/async.js:102:5)
at Async.drainQueues [as _onImmediate] (/usr/lib/node_modules/bosch-xmpp/node_modules/bluebird/js/release/async.js:15:14)
at process.processImmediate (node:internal/timers:476:21) {
response: {
protocolVersion: 'HTTP/1.0',
statusCode: '404',
statusMessage: 'Not Found',
headers: {},
body: ''
}
}
The text was updated successfully, but these errors were encountered: