Skip to content

Instantly share code, notes, and snippets.

View doug-hoffman's full-sized avatar

Doug Hoffman doug-hoffman

  • Pennsylvania, US
  • 04:48 (UTC -04:00)
View GitHub Profile
@doug-hoffman
doug-hoffman / ha-event-state_changed-stats.py
Created August 7, 2022 15:57
Collect stats for Home Assistant state_changed events
import asyncio
import websockets
import json
from datetime import datetime, timedelta
url = 'ws://127.0.0.1:8123/api/websocket'
access_token = ''
buckets = set()
message_count = {}
@doug-hoffman
doug-hoffman / Reavon-IP-Control.md
Last active October 24, 2021 18:59
Reavon IP Control Protocol

Reavon Disc Player IP Control Protocol

Reavon Blu-ray players listen on TCP port 8102 for disc player IP control. There is a limit of one active connection and new connections terminate an existing connection.

Protocol is similar to one used by Pioneer on players such as the DVD-V8000 and HD-V9000.

Sending Commands

Commands are case insensitive and formatted as follows: