Giter Club home page Giter Club logo

hassio-addons's Introduction

Home Assistant add-on repository: agustinamu

Repository of add-ons created for my house.

GitHub last commit (branch)

Installation

Open your Home Assistant instance and show the add add-on repository dialog with a specific repository URL pre-filled.

If you want to do add the repository manually, please follow the procedure highlighted in the Home Assistant website. Use the following URL to add this repository: https://github.com/agustinamu/hassio-addons

Add-ons

This repository contains the following add-ons

โœ“ addon-ble2mqtt : Control your Bluetooth devices with smart home. Addon of repo https://github.com/devbis/ble2mqtt

Supports aarch64 Architecture Supports amd64 Architecture Supports armhf Architecture Supports armv7 Architecture Supports i386 Architecture

hassio-addons's People

Contributors

agustinamu avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

 avatar

hassio-addons's Issues

python 3.11

hi, it seems there are a lot of issues with python 3.11, maybe better stick to a previous version? I read somewhere the even the package used, pybluez, is not maintained anymore...

2023-11-25 17:25:10 ERROR: [Vson_6003#060030393D3EE_60030393d3ee] connection problem, attempts=2
2023-11-25 17:25:14 INFO: Connected to 60:03:03:93:D3:EE
2023-11-25 17:25:15 INFO: [Vson_6003#060030393D3EE_60030393d3ee] send state=SensorState(temperature=21.5, tvoc=0.057, hcho=0.008, co2=584)
2023-11-25 17:25:35 INFO: [Vson_6003#060030393D3EE_60030393d3ee] send state=SensorState(temperature=21.5, tvoc=0.048, hcho=0.006, co2=582)
2023-11-25 17:25:55 INFO: [Vson_6003#060030393D3EE_60030393d3ee] send state=SensorState(temperature=21.5, tvoc=0.048, hcho=0.006, co2=582)
2023-11-25 17:25:58 WARNING: Restarting bluetoothd...
2023-11-25 17:25:58 ERROR: <Task finished name='Task-387' coro=<Ble2Mqtt.scan_devices_task() done, defined at /usr/lib/python3.11/site-packages/ble2mqtt/ble2mqtt.py:194> exception=FileNotFoundError(2, 'No such file or directory')> stopped unexpectedly
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/ble2mqtt/ble2mqtt.py", line 200, in scan_devices_task
    await restart_bluetooth(self._hci_adapter)
  File "/usr/lib/python3.11/site-packages/ble2mqtt/exceptions.py", line 52, in restart_bluetooth
    proc = await aio.create_subprocess_exec(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/subprocess.py", line 223, in create_subprocess_exec
    transport, protocol = await loop.subprocess_exec(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/base_events.py", line 1694, in subprocess_exec
    transport = await self._make_subprocess_transport(
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/unix_events.py", line 207, in _make_subprocess_transport
    transp = _UnixSubprocessTransport(self, protocol, args, shell,
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/base_subprocess.py", line 36, in __init__
    self._start(args=args, shell=shell, stdin=stdin, stdout=stdout,
  File "/usr/lib/python3.11/asyncio/unix_events.py", line 818, in _start
    self._proc = subprocess.Popen(
                 ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.11/subprocess.py", line 1950, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'hciconfig'
2023-11-25 17:26:00 ERROR: Connection lost. Will retry in 10 seconds.
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/ble2mqtt/ble2mqtt.py", line 302, in _connect_mqtt_forever
    await self._run_device_tasks(mqtt_connection.disconnect_reason)
  File "/usr/lib/python3.11/site-packages/ble2mqtt/ble2mqtt.py", line 273, in _run_device_tasks
    await handle_returned_tasks(*finished)
  File "/usr/lib/python3.11/site-packages/ble2mqtt/tasks.py", line 79, in handle_returned_tasks
    await task_for_raise
  File "/usr/lib/python3.11/site-packages/ble2mqtt/ble2mqtt.py", line 200, in scan_devices_task
    await restart_bluetooth(self._hci_adapter)
  File "/usr/lib/python3.11/site-packages/ble2mqtt/exceptions.py", line 52, in restart_bluetooth
    proc = await aio.create_subprocess_exec(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/subprocess.py", line 223, in create_subprocess_exec
    transport, protocol = await loop.subprocess_exec(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/base_events.py", line 1694, in subprocess_exec
    transport = await self._make_subprocess_transport(
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/unix_events.py", line 207, in _make_subprocess_transport
    transp = _UnixSubprocessTransport(self, protocol, args, shell,
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/base_subprocess.py", line 36, in __init__
    self._start(args=args, shell=shell, stdin=stdin, stdout=stdout,
  File "/usr/lib/python3.11/asyncio/unix_events.py", line 818, in _start
    self._proc = subprocess.Popen(
                 ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.11/subprocess.py", line 1950, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'hciconfig'
2023-11-25 17:26:11 INFO: Connected to core-mosquitto
2023-11-25 17:26:17 INFO: Connected to 60:03:03:93:D3:EE
2023-11-25 17:26:17 ERROR: Vson_6003#060030393D3EE_60030393d3ee raise an error in handle_queue, ignore it
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/ble2mqtt/protocols/base.py", line 86, in _handle_cmd_queue
    await self.process_command(command)
  File "/usr/lib/python3.11/site-packages/ble2mqtt/protocols/wp6003.py", line 82, in process_command
    ble_notification = await self.ble_get_notification(command.timeout)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/ble2mqtt/protocols/base.py", line 52, in ble_get_notification
    raise ConnectionError(
ConnectionError: Vson_6003#060030393D3EE_60030393d3ee cannot fetch response, device is offline
2023-11-25 17:26:17 ERROR: [Vson_6003#060030393D3EE_60030393d3ee] connection problem, attempts=1
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/ble2mqtt/manager.py", line 447, in manage_device
    await device.get_device_data()
  File "/usr/lib/python3.11/site-packages/ble2mqtt/devices/vson_air_wp6003.py", line 108, in get_device_data
    await self.send_reset()
  File "/usr/lib/python3.11/site-packages/ble2mqtt/protocols/wp6003.py", line 39, in send_reset
    await self.send_command(bytes([CMD_RESET]), True, timeout=3)
  File "/usr/lib/python3.11/site-packages/ble2mqtt/protocols/wp6003.py", line 67, in send_command
    return await aio.wait_for(command.answer, timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/tasks.py", line 489, in wait_for
    return fut.result()
           ^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/ble2mqtt/protocols/base.py", line 86, in _handle_cmd_queue
    await self.process_command(command)
  File "/usr/lib/python3.11/site-packages/ble2mqtt/protocols/wp6003.py", line 82, in process_command
    ble_notification = await self.ble_get_notification(command.timeout)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/ble2mqtt/protocols/base.py", line 52, in ble_get_notification
    raise ConnectionError(
ConnectionError: Vson_6003#060030393D3EE_60030393d3ee cannot fetch response, device is offline
2023-11-25 17:26:25 INFO: Connected to 60:03:03:93:D3:EE
2023-11-25 17:26:25 INFO: [Vson_6003#060030393D3EE_60030393d3ee] send state=SensorState(temperature=21.5, tvoc=0.048, hcho=0.006, co2=582)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.