I’m running OH4 on a re-flashed Sonoff iHost in a Docker container. I’m also running ZigBee2MQTT (in Docker) and Mosquitto (in ‘native’). I’m now trying get the Bluetooth binding to work.
The iHost is running a pared down RockChip Linux so a lot of commands are ‘missing’ but I managed to get hciconfig and bluetoothctl to work both outside and inside the openHAB container.
I can power the bluetooth on and off (it’s on ttyS0) and I turn scanning on in the OH container and can see the devices appearing but I can’t get the binding to work - I just get
Native adapter could not be found for address ‘14:F5:F9:06:98:2C’
I think it must be something obvious with Bluetooth scan working and I just need to link to the binding somehow.
Has anyone any suggestions?
Well, this morning I got it working. Not entirely sure what I did but I think it was
In the host
killall -9 bluetoothd
In the container
service dbus start
service bluetoothd start
Just out of curiosity: Why using this hardware?
I was having issues with ZigBee2MQTT on a Raspberry Pi (losing the connection to the co-ordinator). The iHost has integrated ZigBee and (in unflashed state) Docker. Unfortunately, its native ZigBee library wasn’t very good so I reflashed
1 Like