Using home-assistant supervised, in docker.
arch: armv7
channel: stable
docker: 19.03.13
features:
- reboot
- shutdown
- services
- network
- hostname
hassos: null
homeassistant: 0.118.4
hostname: Pi
logging: info
machine: raspberrypi3
operating_system: Raspbian GNU/Linux 10 (buster)
supervisor: 2020.12.7
supported: false
supported_arch:
- armv7
- armhf
timezone: Europe/London
Trying to get this component loaded and integrated
- Download the latest code for it, from github.
- Unpacked the zip.
- Copied the ble_monitor folder in the zip to my config:/custom_components folder
- Restarted server from the configuration->server controls menu in the front end.
Nope, integration not available. Waited 10mins just in case. No. My HA runs fine otherwise, got lots in there, but this specific component doesnt seem to be available.
I can see the component has been loaded (or perhaps loaded?) but it does not appear in the integration search?
daz@Pi:~/HOMEASSISTANT/HASSIO/DATA_SHARE/homeassistant $ grep ble_mon *.log
2021-01-09 14:09:00 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for ble_monitor which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
daz@Pi:~/HOMEASSISTANT/HASSIO/DATA_SHARE/homeassistant $
I can find no errors or warnings related to it. Although I am not sure if the thing is even running , I did not run the “rootless access for python” because I do not know how to set that up as HA, but the bluetooth temp sensor is connected; I executed a shell in the homeassistant container:
daz@Pi:~/HOMEASSISTANT/HASSIO/DATA_SHARE/homeassistant $ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
829d1fdb2c78 homeassistant/armv7-hassio-dns:2020.12.0 "/init" 21 hours ago Up 21 hours hassio_dns
f412c99c97d8 homeassistant/armv7-hassio-supervisor "/init" 3 weeks ago Up 3 weeks hassio_supervisor
dda6a778a216 gpbenton/engmqttclient:1.0.0 "/opt/energenie_mqtt…" 4 weeks ago Up 4 weeks energenie_mqtt_client
1fff0bd2b04f eclipse-mosquitto "/docker-entrypoint.…" 4 weeks ago Up 4 weeks 0.0.0.0:1883->1883/tcp, 0.0.0.0:8883->8883/tcp, 0.0.0.0:9001->9001/tcp mosquitto
c33a8b228fd9 homeassistant/armv7-addon-configurator:5.2.0 "/init" 5 weeks ago Up 5 weeks addon_core_configurator
c7219d9755b4 hassioaddons/log-viewer-armv7:0.9.1 "/init" 5 weeks ago Up 5 weeks addon_a0d7b954_logviewer
d8014b88f4b7 hassioaddons/portainer-armv7:1.3.0 "/init" 5 weeks ago Up 5 weeks addon_a0d7b954_portainer
bf383086389f homeassistant/armv7-addon-ssh:8.10.0 "/init" 5 weeks ago Up 5 weeks addon_core_ssh
72e9ada0d7aa homeassistant/armv7-hassio-multicast:3 "/init" 5 weeks ago Up 5 weeks hassio_multicast
056ef541f6f7 homeassistant/armv7-hassio-cli:2020.11.1 "/init /bin/bash -c …" 5 weeks ago Up 5 weeks hassio_cli
d52d06413ecb homeassistant/armv7-hassio-audio:17 "/init" 5 weeks ago Up 5 weeks hassio_audio
5a926933c439 homeassistant/raspberrypi3-homeassistant:0.118.4 "/init" 5 weeks ago Up 21 minutes homeassistant
d0f5f5a3bbdc homeassistant/armv7-hassio-observer:2020.10.1 "/init" 5 weeks ago Up 5 weeks 0.0.0.0:4357->80/tcp hassio_observer
daz@Pi:~/HOMEASSISTANT/HASSIO/DATA_SHARE/homeassistant $ sudo docker exec -it 056ef541f6f7 /bin/bash
bash-5.0# sudo bluetoothctl
[bluetooth]# devices
Device A4:C1:38:ED:1D:44 LYWSD03MMC
Device 2C:81:58:C8:1E:79 DESKTOP-219FSIK
[bluetooth]# info A4:C1:38:ED:1D:44
Device A4:C1:38:ED:1D:44 (public)
Name: LYWSD03MMC
Alias: LYWSD03MMC
Paired: no
Trusted: no
Blocked: no
Connected: no
LegacyPairing: no
ServiceData Key: 0000fe95-0000-1000-8000-00805f9b34fb
ServiceData Value:
30 58 5b 05 01 44 1d ed 38 c1 a4 28 01 00 0X[..D..8..(..
[bluetooth]# python3
- bash: python3: command not found
All looks good from the device perspective in the homeassistant core but no python .
In the homeassistant supervisor:
daz@Pi:~/HOMEASSISTANT/HASSIO/DATA_SHARE/homeassistant $ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
829d1fdb2c78 homeassistant/armv7-hassio-dns:2020.12.0 "/init" 21 hours ago Up 21 hours hassio_dns
f412c99c97d8 homeassistant/armv7-hassio-supervisor "/init" 3 weeks ago Up 3 weeks hassio_supervisor
dda6a778a216 gpbenton/engmqttclient:1.0.0 "/opt/energenie_mqtt…" 4 weeks ago Up 4 weeks energenie_mqtt_client
1fff0bd2b04f eclipse-mosquitto "/docker-entrypoint.…" 4 weeks ago Up 4 weeks 0.0.0.0:1883->1883/tcp, 0.0.0.0:8883->8883/tcp, 0.0.0.0:9001->9001/tcp mosquitto
c33a8b228fd9 homeassistant/armv7-addon-configurator:5.2.0 "/init" 5 weeks ago Up 5 weeks addon_core_configurator
c7219d9755b4 hassioaddons/log-viewer-armv7:0.9.1 "/init" 5 weeks ago Up 5 weeks addon_a0d7b954_logviewer
d8014b88f4b7 hassioaddons/portainer-armv7:1.3.0 "/init" 5 weeks ago Up 5 weeks addon_a0d7b954_portainer
bf383086389f homeassistant/armv7-addon-ssh:8.10.0 "/init" 5 weeks ago Up 5 weeks addon_core_ssh
72e9ada0d7aa homeassistant/armv7-hassio-multicast:3 "/init" 5 weeks ago Up 5 weeks hassio_multicast
056ef541f6f7 homeassistant/armv7-hassio-cli:2020.11.1 "/init /bin/bash -c …" 5 weeks ago Up 5 weeks hassio_cli
d52d06413ecb homeassistant/armv7-hassio-audio:17 "/init" 5 weeks ago Up 5 weeks hassio_audio
5a926933c439 homeassistant/raspberrypi3-homeassistant:0.118.4 "/init" 5 weeks ago Up 27 minutes homeassistant
d0f5f5a3bbdc homeassistant/armv7-hassio-observer:2020.10.1 "/init" 5 weeks ago Up 5 weeks 0.0.0.0:4357->80/tcp hassio_observer
daz@Pi:~/HOMEASSISTANT/HASSIO/DATA_SHARE/homeassistant $ sudo docker exec -it f412c99c97d8 /bin/bash
bash-5.0# python3
Python 3.8.6 (default, Nov 23 2020, 10:38:37)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
bash-5.0# bluetoothctl
bash: bluetoothctl: command not found
Mmm. Python is there but no, no bluetooth.
Not sure where/how the custom component ble_monitor runs, but either way it isnt going to work currently until I change something I guess.?
Any ideas please.