Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chromecast remote support? #25

Open
eric1905 opened this issue Feb 23, 2024 · 0 comments
Open

Chromecast remote support? #25

eric1905 opened this issue Feb 23, 2024 · 0 comments

Comments

@eric1905
Copy link

Hello @fsievers22

Is the chromecast remote supported? I saw ticket #23 but for me it seems not to work. How can I connect?
My config:

`esphome:
name: esp-wohnzimmer

esp32:
board: esp32dev
framework:
type: esp-idf

Enable logging

logger:

Enable Home Assistant API

api:
encryption:
key: "deleted"

ota:
password: "deleted"

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password

Enable fallback hotspot (captive portal) in case wifi connection fails

ap:
ssid: "Esp-Wohnzimmer Fallback Hotspot"
password: "deleted"

external_components:

use ble_client_hid from this master branch in GitHub

  • source: github://fsievers22/esphome-ble-remote@master
    components: [ ble_client_hid ]

captive_portal:

esp32_ble_tracker:

ble_client:

  • id: ble_client_1
    mac_address: "84:C6:92:A8:D8:3D" #modify to fit your ble device

ble_client_hid:

  • id: ble_client_hid_1
    ble_client_id: ble_client_1
    bluetooth_proxy:
    active: true

sensor:

  • platform: ble_client_hid
    ble_client_hid_id: ble_client_hid_1
    type: battery
    name: "Battery"

  • platform: ble_client_hid
    type: last_event_value
    name: "Last Event Value"

  • platform: xiaomi_lywsd03mmc
    mac_address: "A4:C1:38:C0:E6:5A"
    bindkey: "deleted"
    temperature:
    name: "Kueche Temperature"
    id: kueche_temperature
    humidity:
    name: "Kueche Humidity"
    id: kueche_humidity
    battery_level:
    name: "Küche Xiaomi Battery Level"
    id: kueche_xiaomi_battery_level3

text_sensor:

  • platform: ble_client_hid
    name: "Last Event Usage"`

I got my mac adress by logging in to chromecast via adb and enter
adb shell dumpsys bluetooth_manager
The response was:
Bonded devices:
84:C6:92:A8:D8:3D [ LE ] Chromecast Remote

I also tried to do a pairing of the remote (home and back buttons until led is on)

But i guess it is not working. Is everything correct from your point of view?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant