# Xbee with dht22

**URL:** <https://community.openhab.org/t/xbee-with-dht22/102884>\
**Category:** Beginners\
**Tags:** xbee\
**Created:** [July 27, 2020, 9:47pm UTC](https://community.openhab.org/t/xbee-with-dht22/102884 "2020-07-27T21:47:33Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![fabrizio\_bianchi](https://community.openhab.org/user_avatar/community.openhab.org/fabrizio_bianchi/32/56522_2.png) [@fabrizio\_bianchi](https://community.openhab.org/u/fabrizio_bianchi)\
**Post date:** [July 27, 2020, 9:47pm UTC](https://community.openhab.org/t/xbee-with-dht22/102884/1 "2020-07-27T21:47:33Z")

</div>

Hello.  
I have installed on my raspberry openhabian and i would like read dht22 temp sensor through xbee.  
How i can install diyxbee?  
Thanks

---

<div class="post-metadata">

**Author:** ![Bruce\_Osborne](https://community.openhab.org/user_avatar/community.openhab.org/bruce_osborne/32/38531_2.png) [@Bruce\_Osborne](https://community.openhab.org/u/Bruce_Osborne)\
**Post date:** [July 27, 2020, 9:56pm UTC](https://community.openhab.org/t/xbee-with-dht22/102884/2 "2020-07-27T21:56:15Z")

</div>

> [@fabrizio\_bianchi](#):
>
> How i can install diyxbee?

What have you tried? My first guess would be to read the documentation? Be cautioned this v1 binding is not expected to work with the next major release of openHAB.

> **[DIYOnXBee - Bindings](https://v2.openhab.org/addons/bindings/diyonxbee1/)**
>
> The openHAB DIYOnXBee binding allows interaction with self built (DIY) hardware that communicate via XBee modules.

---

<div class="post-metadata">

**Author:** ![fabrizio\_bianchi](https://community.openhab.org/user_avatar/community.openhab.org/fabrizio_bianchi/32/56522_2.png) [@fabrizio\_bianchi](https://community.openhab.org/u/fabrizio_bianchi)\
**Post date:** [July 28, 2020, 7:50am UTC](https://community.openhab.org/t/xbee-with-dht22/102884/3 "2020-07-28T07:50:37Z")

</div>

Thanks for reply but i don’t understand how i can add to channel

---

<div class="post-metadata">

**Author:** ![opus](https://community.openhab.org/user_avatar/community.openhab.org/opus/32/55801_2.png) [@opus](https://community.openhab.org/u/opus)\
**Post date:** [July 28, 2020, 7:57am UTC](https://community.openhab.org/t/xbee-with-dht22/102884/4 "2020-07-28T07:57:47Z")

</div>

Channels belong to Things, Things were introduced by Version 2. Since this binding is Version 1 Things and Channels are not supported, just created items as written in the documentation.

---

<div class="post-metadata">

**Author:** ![fabrizio\_bianchi](https://community.openhab.org/user_avatar/community.openhab.org/fabrizio_bianchi/32/56522_2.png) [@fabrizio\_bianchi](https://community.openhab.org/u/fabrizio_bianchi)\
**Post date:** [July 31, 2020, 7:05pm UTC](https://community.openhab.org/t/xbee-with-dht22/102884/5 "2020-07-31T19:05:17Z")

</div>

> [@opus](#):
>
> items

i have the last openhab installed into raspberry. Is the first or second version?

---

<div class="post-metadata">

**Author:** ![Bruce\_Osborne](https://community.openhab.org/user_avatar/community.openhab.org/bruce_osborne/32/38531_2.png) [@Bruce\_Osborne](https://community.openhab.org/u/Bruce_Osborne)\
**Post date:** [July 31, 2020, 7:11pm UTC](https://community.openhab.org/t/xbee-with-dht22/102884/6 "2020-07-31T19:11:46Z")

</div>

> [@fabrizio\_bianchi](#):
>
> i have the last openhab installed into raspberry. Is the first or second version?

Your openHAB understand Items but your old v1 binding does not. It uses configuration files. Reasd the documentation.

---

<div class="post-metadata">

**Author:** ![fabrizio\_bianchi](https://community.openhab.org/user_avatar/community.openhab.org/fabrizio_bianchi/32/56522_2.png) [@fabrizio\_bianchi](https://community.openhab.org/u/fabrizio_bianchi)\
**Post date:** [July 31, 2020, 7:45pm UTC](https://community.openhab.org/t/xbee-with-dht22/102884/7 "2020-07-31T19:45:26Z")

</div>

ok thanks. Read the documentation is not a explanation…Can you explain please?

---

<div class="post-metadata">

**Author:** ![Bruce\_Osborne](https://community.openhab.org/user_avatar/community.openhab.org/bruce_osborne/32/38531_2.png) [@Bruce\_Osborne](https://community.openhab.org/u/Bruce_Osborne)\
**Post date:** [July 31, 2020, 7:58pm UTC](https://community.openhab.org/t/xbee-with-dht22/102884/8 "2020-07-31T19:58:22Z")

</div>

> [@fabrizio\_bianchi](#):
>
> Can you explain please?

I linked to the binding documentation. The developer has abandoned that binding & cannot help. Almost nobody here uses it.

If it is not important enough for you to at least try, It is not important enough for people to voluntarily assist.

Further reading.  
[How to ask a good question / Help Us Help You - Tutorials & Examples - openHAB Community](https://community.openhab.org/t/how-to-ask-a-good-question-help-us-help-you/58396)

---

<div class="post-metadata">

**Author:** ![hafniumzinc](https://community.openhab.org/letter_avatar_proxy/v4/letter/h/b9bd4f/32.png) [@hafniumzinc](https://community.openhab.org/u/hafniumzinc)\
**Post date:** [July 31, 2020, 8:04pm UTC](https://community.openhab.org/t/xbee-with-dht22/102884/9 "2020-07-31T20:04:26Z")

</div>

You have the latest openHAB.

openHAB comes with bindings:

- V1 bindings are old, and **do not** have things and channels
- V2 bindings are newer, and have things and channels

Some V1 bindings where upgraded into V2 bindings. The DIYOnXBee binding was not - it was and remains a V1 binding, with no things or channels.

As a result, you must configure your items as described on the page for [DIYOnXBee](https://www.openhab.org/addons/bindings/diyonxbee1/).

---

<div class="post-metadata">

**Author:** ![fabrizio\_bianchi](https://community.openhab.org/user_avatar/community.openhab.org/fabrizio_bianchi/32/56522_2.png) [@fabrizio\_bianchi](https://community.openhab.org/u/fabrizio_bianchi)\
**Post date:** [July 31, 2020, 8:20pm UTC](https://community.openhab.org/t/xbee-with-dht22/102884/10 "2020-07-31T20:20:30Z")

</div>

> [@hafniumzinc](#):
>
> [DIYOnXBee](https://www.openhab.org/addons/bindings/diyonxbee1/).

So is it necessary to create all the parameters as indicated on the page to make it work?

---

<div class="post-metadata">

**Author:** ![hafniumzinc](https://community.openhab.org/letter_avatar_proxy/v4/letter/h/b9bd4f/32.png) [@hafniumzinc](https://community.openhab.org/u/hafniumzinc)\
**Post date:** [July 31, 2020, 8:21pm UTC](https://community.openhab.org/t/xbee-with-dht22/102884/11 "2020-07-31T20:21:33Z")

</div>

I presume so. I don’t use this binding at all - just helping to explain a bit!

---

<div class="post-metadata">

**Author:** ![petryna](https://community.openhab.org/letter_avatar_proxy/v4/letter/p/ea5d25/32.png) [@petryna](https://community.openhab.org/u/petryna)\
**Post date:** [April 27, 2021, 10:46pm UTC](https://community.openhab.org/t/xbee-with-dht22/102884/12 "2021-04-27T22:46:47Z")

</div>

Hello!  
Can anyone tell me if it is possible to get this binding running on openhab 2.x ?  
I’ve read that it is possible to install legacy bindings, but can’t find this one.  
Even if it’s not possible, maybe someone can point me to the source code of this binding?  
Thank you!

---

<div class="post-metadata">

**Author:** ![Bruce\_Osborne](https://community.openhab.org/user_avatar/community.openhab.org/bruce_osborne/32/38531_2.png) [@Bruce\_Osborne](https://community.openhab.org/u/Bruce_Osborne)\
**Post date:** [April 27, 2021, 11:01pm UTC](https://community.openhab.org/t/xbee-with-dht22/102884/13 "2021-04-27T23:01:50Z")

</div>

On OH2 you likely need to enable legacy bindings.
