Skip to content

Bluetooth to HTTP Bridge for Yamaha YAS 207 sound bar

Notifications You must be signed in to change notification settings

piitaya/yas-207-bridge

Repository files navigation

Yas 207 Bluetooth to HTTP Bridge

Description

Control your YAS 207 Sound Bar with HTTP interface

Development

Copy and rename the .env.example to .env.

npm run start:dev

Build

npm run build
npm run start

Run on raspberry PI

I have done tests on PI 3 but it should work on PI 4 too.

Use bluetoothctl cli tool to pair and get the mac address of the YAS 207 soundbar.

Create a script to bind /dev/rfcomm0 at startup

nano /home/pi/bind-bluetooth.sh
#/bin/sh
rfcomm connect 0 xx:xx:xx:xx:xx:xx 1

And add it to cron tab

sudo crontab -e
@reboot sh /home/pi/bind-bluetooth.sh

About

Bluetooth to HTTP Bridge for Yamaha YAS 207 sound bar

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published