# Openhab2 won't update item state

**URL:** <https://discourse.nodered.org/t/openhab2-wont-update-item-state/9241>\
**Category:** General\
**Created:** [20 March 2019 19:10 UTC](https://discourse.nodered.org/t/openhab2-wont-update-item-state/9241 "2019-03-20T19:10:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mladams922](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mladams922/32/6967_2.png) [@mladams922](https://discourse.nodered.org/u/mladams922)\
**Post date:** [20 March 2019 19:10 UTC](https://discourse.nodered.org/t/openhab2-wont-update-item-state/9241/1 "2019-03-20T19:10:31Z")

</div>

I'm pretty new to using NodeRed but so far I've found it mostly easy to get started. I'm stuck at one point though. I'm using the Openhab2 library which I see many other people using with no problem. I added a OpenhabIn node, set up the coniguration node to connect to my server, and I'm able to select the item I'd like to monitor. I can get the list of items from the server and tested that by creating a new item and it showed up just fine.

However when I publish the flow I get no state updates. Is there something I haven't set up correctly? A port that needs to be open perhaps? I'm running OpenHAB on the same machine as the NodeRed instance. It's a Linux 16.04 setup running node.js version 8.15.1 and npm version 6.4.1 and node-red version 0.20.2. Any help is appreciated.
