Closed hfedcba closed 8 years ago
Yes, I can confirm it's passed as string - strangely at least in my tests (e.g. controlling the heating in my home) it worked as expected..
What you're seeing in the backtrace however is another problem.. The error is generated - as by your report - because peerId should be an integer. However the crash happens as a result of an invalid access to the parsed response (going to fix that too..).
At least in my test, peer id is passed as string to getAllValues causing Homegear to return a RPC error. This causes Node-RED to crash:
I solved this by adding parseInt to line 106 in homegear-mqtt.js:
Cheers,
Sathya