Skip to content

Instantly share code, notes, and snippets.

@HeadHodge
HeadHodge / Bluez HID over GATT (HOGP) Keyboard Emulator Example.md
Last active October 23, 2024 14:28
Bluez HID over GATT (HOGP) Keyboard Emulator Example

Bluez HID over GATT (HOGP) Keyboard Emulator Example

A working example of a BLE Keyboard Peripheral (Server) ran on my Raspberry PI4-b with Buster Raspbian-Lite for all to use. My desire is to hopefully save at least one other person the literal weeks I've spent trying to get this working for my little home automation project.

Verified working connected to my Blade Android, Windows 10 laptop, and Amazon FireTV stick devices

Once running and connectted properly to a client device, it will update the battery status with a lower percentage every 60 seconds, use the Keyboard Input Report to send a capital 'M' every 10 secomds, and use the Consumer Input Report to send a 'volumeUp' every 15 seconds.

TIPS

How I use Hassio as a Bluetooth: Keyboard\MediaControl\Mouse Combo

OVERVIEW:

Hello, 😀

PART 1:

I've been using Hassio for over a year now and am generally happy with it. I use it to control fireplaces, shades, lights, etc., but mainly use it to control my entertainment systems.

I'm a cord cutter and watch all my video with an Amazon FireTV 3rd gen stick and my audio with a Sonos surround sound bar.

@HeadHodge
HeadHodge / How I use Hassio as a Universal Ir Remote.md
Last active August 15, 2024 07:02
How I use Hassio as a Universal Ir Remote

How I use Hassio as a Universal Ir Remote

OVERVIEW:

Hello, 😀

I've been using Hassio for over a year now and am generally happy with it. I use it to control fireplaces, shades, lights, etc., but mainly use it to control my entertainment systems.

For my Ir blaster, I currently use a Broadcom's RM Mini3