Skip to content

Instantly share code, notes, and snippets.

View adrum's full-sized avatar

Austin Drummond adrum

  • Reusser Design, LLC
  • Fort Wayne, IN, USA
View GitHub Profile
@adrum
adrum / app.js
Last active December 31, 2023 07:01 — forked from rfletcher/app.js
A simple bridge between iMessage and Home Assistant's conversation component
const HomeAssistant = require( 'homeassistant' );
const Pino = require( 'pino' );
const config = require( 'config' );
const hass = new HomeAssistant( config.get( 'home_assistant' ) );
const imessage = require( 'osa-imessage' );
const logger = Pino();
// TODO package this better
const bridge = {