Skip to content

Instantly share code, notes, and snippets.

View jnimmo's full-sized avatar

James Nimmo jnimmo

View GitHub Profile
@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 / 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 / probe_cloud_set.py
Last active August 16, 2026 23:13
Test IntesisHome set commands over HTTPS
"""Probe whether the IntesisHome / AC Cloud API accepts writes over HTTPS.
pyIntesisHome sends commands over a TCP socket on port 5210. If the HTTPS
API also accepted them, firewalled setups would stop being read-only. No
such write command is documented; this tests the plausible candidates.
Two checks, since either alone can mislead:
1. Echo. The API mirrors back any section name, including invented ones,
so a section appearing in the response means nothing. A candidate