QNimbus / node-red-contrib-openhab-v2

MIT License
9 stars 3 forks source link

Node state: Undefined and Request Error #8

Closed andreypopov closed 4 years ago

andreypopov commented 6 years ago

2018-10-22_09-38-27

  1. Request error state hangs forever - there is no error anymore but error message persists.
  2. State: Undefined - value exists, I dont know why it shows "Undefined"

p.s. there are no such issues in node-red-contrib-openhab2 package, please, check!

QNimbus commented 6 years ago

Edit: I'm asking because I would like to try and reproduce your issue so I can fix it...

andreypopov commented 6 years ago

1) GET node, openhab type is Switch (ON/OFF/NULL). Shows always "undefined" even if type OFF or ON. Another GET node is Number (light level 0-100) 2018-10-23_13-59-02

2) when I restart node-red - error disappears. I found how to reproduce it: Raspberry PI with openhab and node-red, for node-red controller IP I use local: 192.168.1.15 Try to switch off the Internet and then turn it on. (if u restart openhab - there are no errors)

andreypopov commented 6 years ago

changed controller's IP to 127.0.0.1 - that fixed error (but if want to use openhab and nodered on separate computers there will be issue)