Skip to content

Instantly share code, notes, and snippets.

@mullender
mullender / Presence Sensor Lite Card.yaml
Created October 29, 2023 21:57
First attempt at tracking location over time in two dimensions, using the Everything Presence Lite sensor
type: custom:plotly-graph
title: XY Sensor plot
hours_to_show: 1
refresh_interval: 5s
entities:
- entity: binary_sensor.everything_presence_lite_252dd0_occupancy
internal: true
filters:
- resample: 5s
fn: $fn ({ xs, ys, vars }) => { vars.isPresent = ys; vars.xs = xs; }
@mullender
mullender / docker-compose.yml
Created June 5, 2020 20:57
Docker compose homeassistant with openzwave and mqtt
version: '3.7'
services:
homeassistant:
container_name: homeassistant
image: homeassistant/raspberrypi4-homeassistant:latest
network_mode: "host"
ports:
- "8123:8123"
volumes:
- /home/pi/homeassistant/opt/homeassistant:/config