Skip to content Skip to sidebar Skip to footer

How To Wake Up By Bluetooth A Device In Bluetooth Stand By (like The Avr Sony Str-dn1080)

I'm trying to understand how my AVR STR-DN1080 can be woken up by bluetooth using a raspberry pi instead of my android phone. Let me explain: - My AVR Sony STR-DN1080 can go into b

Solution 1:

To wake-up the device via Bluetooth I simply connect to "RFCOMM" port 2 and the device wakes-up. Example code code written in Python (just change host to the device address of your device):

import bluetooth

name = "STR-DN 1080 EU"
host = "AA:BB:CC:DD:EE:FF"
port = 2

print(f"connecting to \"{name}\" on {host}")

sock=bluetooth.BluetoothSocket( bluetooth.RFCOMM )
sock.connect((host, port))
sock.close()

I do get a connection time out but the device is waking up:

bluetooth.btcommon.BluetoothError: (110, 'Connection timed out')

or a refused connection if the device is already a wake:

bluetooth.btcommon.BluetoothError: (111, 'Connection refused')

Post a Comment for "How To Wake Up By Bluetooth A Device In Bluetooth Stand By (like The Avr Sony Str-dn1080)"