Background: I’m a long time OH 2.5 user but completely new to OH 5.02. I also have no experience with OH3 or 4. My OH 5.02 is running on a RPI 5B Rev1.0 which has a built-in Bluetooth 5.0 interface. I also have a Airthings Wave Radon unit which I would like to integrate with OH 5.02.
What I have done so far: I successfully installed the Bluetooth Binding, which came with the OH distribution, and created a Bluetooth interface thing with Background Discovery turned ON. After a reboot, the thing status was ONLINE and green. My INBOX was filled with bluetooth devices. One of them was my Airthings unit which I added to my thing list and its status was also ONLINE and green.
OK, it sees that it’s an AirThings device and not a generic BT device so I don’t have any ideas. Like I said, the BT binding never really worked well for me anyway so I quit using it a long time ago. BT is a pain to set up in Docker anyway so I had other reasons not to fight and try to use it.
@seime@rlkoshak Hi, Good news!
I tried Arne’s suggestion, got an error, but the inbox now shows a new entry: “Airthing Radon / Wave 2” – it has all the channels:
UID: bluetooth:airthings_wave_radon:hci0:xxxxxxxxxxxx
label: Airthings Radon / Wave 2
thingTypeUID: bluetooth:airthings_wave_radon
configuration:
refreshInterval: 300
address: xx:xx:xx:xx:xx:xx
bridgeUID: bluetooth:bluez:hci0
channels:
- id: rssi
channelTypeUID: bluetooth:rssi
label: RSSI
description: Received signal strength indicator
configuration: {}
- id: humidity
channelTypeUID: bluetooth:airthings_humidity
label: Humidity
description: Humidity level
configuration: {}
- id: temperature
channelTypeUID: bluetooth:airthings_temperature
label: Temperature
description: Temperature
configuration: {}
- id: radon_st_avg
channelTypeUID: bluetooth:airthings_radon_st_avg
label: Radon Short Term Average Level
description: Radon gas level
configuration: {}
- id: radon_lt_avg
channelTypeUID: bluetooth:airthings_radon_lt_avg
label: Radon Long Term Average Level
description: Radon gas level
configuration: {}