Skip to content

Not working with Intel Compute Stick to Mi TV Stick 4k #2

Description

@PuffShr1k3

Thank you for writing this script.
I know this was designed for different hardware - RPi to Mi Box, though, I thought I would just share that I have tested this from an Intel Compute Stick to a Xiaomi Mi TV Stick 4k, which is unfortunately not working.

Bluetooth hardware reported by HA:

0a2a (8087:0a2a)
by Intel Corporate

Logs below:

This error originated from a custom integration.

Logger: custom_components.mibox_socket.switch
Source: custom_components/mibox_socket/switch.py:78
integration: mibox_socket (documentation)
First occurred: 8:07:17 PM (2 occurrences)
Last logged: 8:07:54 PM

Error pairing with Bluetooth device: Timeout exceeded. <pexpect.pty_spawn.spawn object at 0x7f176f114cb0> command: /usr/bin/bluetoothctl args: ['/usr/bin/bluetoothctl'] buffer (last 100 chars): b' \r[\x01\x1b[0;93m\x02CHG\x01\x1b[0m\x02] Device 42:2F:59:6F:DA:B8 RSSI: 0xffffffcc (-52)\r\n\x1b[0;94m[bluetooth]\x1b[0m# ' before (last 100 chars): b' \r[\x01\x1b[0;93m\x02CHG\x01\x1b[0m\x02] Device 42:2F:59:6F:DA:B8 RSSI: 0xffffffcc (-52)\r\n\x1b[0;94m[bluetooth]\x1b[0m# ' after: <class 'pexpect.exceptions.TIMEOUT'> match: None match_index: None exitstatus: None flag_eof: False pid: 312 child_fd: 40 closed: False timeout: 10 delimiter: <class 'pexpect.exceptions.EOF'> logfile: None logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_re: 0: re.compile(b'bluetoothctl>')
Error pairing with Bluetooth device: Timeout exceeded. <pexpect.pty_spawn.spawn object at 0x7f1755343110> command: /usr/bin/bluetoothctl args: ['/usr/bin/bluetoothctl'] buffer (last 100 chars): b' \r[\x01\x1b[0;93m\x02CHG\x01\x1b[0m\x02] Device 42:2F:59:6F:DA:B8 RSSI: 0xffffffc6 (-58)\r\n\x1b[0;94m[bluetooth]\x1b[0m# ' before (last 100 chars): b' \r[\x01\x1b[0;93m\x02CHG\x01\x1b[0m\x02] Device 42:2F:59:6F:DA:B8 RSSI: 0xffffffc6 (-58)\r\n\x1b[0;94m[bluetooth]\x1b[0m# ' after: <class 'pexpect.exceptions.TIMEOUT'> match: None match_index: None exitstatus: None flag_eof: False pid: 347 child_fd: 70 closed: False timeout: 10 delimiter: <class 'pexpect.exceptions.EOF'> logfile: None logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_re: 0: re.compile(b'bluetoothctl>')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions