-
Notifications
You must be signed in to change notification settings - Fork 12
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
TypeError: Cannot read property 'room_id' of undefined #8
Comments
Using the cli tool I get correct data. I can also succesfully change the temperature setting on my thermostats. And I also see that my window sensors are treated as thermostats with undefined data but not showing the open or close status I would expect to see. It also seems that the wall thermostats are not showing any uselfull information or settings.
|
I can reliably reproduce this error by simply sending this payload (as JSON) to a maxcube-in node:
Immediate result: Nov 30 18:36:28 rpi.home.lan nodered[2563]: 30 Nov 18:36:28 - [error] [maxcube in:129689aa.d5e406] TypeError: Cannot read property 'room_id' of undefined And the temperature doesn't get set :-( |
This should be fixed with an update to the latest release of maxcube lib (1.0.3). |
Yes. That seems to fix it. Thank you! |
Using the version of node-red-contrib-maxcube on npm as of today (2016-11-30) on Node Red 0.15.2, I get the above error in the Node Red debug console. Due to this, it seems I cannot send commands to my thermostats. This is also mentioned in ivesdebruycker/maxcube#12 which I guess is the same problem/bug.
I also see entries like
{ "rf_address": "0ba773" }
Which I guess are my window sensors that AFAICS are not (yet) supported?
The text was updated successfully, but these errors were encountered: