Skip to content

Instantly share code, notes, and snippets.

View jnimmo's full-sized avatar

James Nimmo jnimmo

View GitHub Profile
@jnimmo
jnimmo / bthome-pulse-meter.yaml
Last active April 27, 2024 07:59 — forked from jacobw/dev4.yaml
ESPHome BTHome Pulse Meter Example
esphome:
name: power-meter
on_boot:
priority: -100
then:
- if:
condition:
switch.is_on: disable_wifi
then:
script.execute: schedule_disable_wifi
@jnimmo
jnimmo / wican-ioniq28kw.yaml
Last active August 1, 2026 20:44 — forked from mukw-labs/wican.yaml
ESPHome BThome V2 configuration for the Ioniq EV 28kw with the MeatPi WiCAN interface
## Telemetry setup
# This ESPHome config broadcasts car telemetry (SoC, battery power, speed, charging status, odometer, etc.)
# as [BTHome](https://bthome.io/) BLE advertisements — no WiFi/App required, just passive BLE beacons.
# On the receiving end, the [BTHome Monitor](https://apps.apple.com/app/bthome-monitor) iOS app
# listens for these advertisements and uses its webhook support to forward the decoded sensor
# data to [ABRP](https://abrp.com/) (A Better Route Planner), acting as a simple BLE-to-HTTP bridge
# so ABRP gets live vehicle data without any direct integration on the ESPHome side
@jnimmo
jnimmo / swagger.json
Created February 20, 2020 03:14 — forked from dragouf/swagger.json
Mevo
{"swagger":"2.0","info":{"version":"v1","title":"Vulog Carsharing FO API"},"basePath":"/api-fo/final","paths":{"/v1/availableVehicles":{"get":{"tags":["AvailableVehicles"],"summary":"All available vehicles.","description":"Get the list of all available vehicles, it can be a lot of data.","operationId":"V{versionAvailableVehiclesGet","consumes":[],"produces":["text/plain","application/json","text/json"],"parameters":[],"responses":{"200":{"description":"An array of available vehicles","schema":{"type":"array","items":{"$ref":"#/definitions/AvailableVehicle"}}},"204":{"description":"No available vehicle found"}}}},"/v1/device/notification":{"post":{"tags":["Device"],"summary":"Susbcribe a phone device for push notifications","operationId":"V{versionDeviceNotificationPost","consumes":["application/json","text/json","application/json-patch+json"],"produces":["text/plain","application/json","text/json"],"parameters":[{"name":"subscription","in":"body","description":"the subscription details","required":false,"sche