Skip to content

Instantly share code, notes, and snippets.

View lyonzy's full-sized avatar

Matt Lyons-Wood lyonzy

  • IBM (opinions my own)
  • Melbourne, Australia
View GitHub Profile
@lyonzy
lyonzy / tuya_mcu_alt.h
Last active December 17, 2023 00:55
ESPHome custom Climate for "alternate" Tuya MCUs
/*
ESPHome custom component for Arlec Grid Connect Smart Panel Heater.
This heater contains an MCU that's not the standard "tuya" integration in ESPHome.
Probably works for similar panel heaters e.g. Devola, Kogan.
Not implemented:
- the Wifi icon on the panel (but this would be a simple improvement given the info in the sources below)
- the timer, for the same reasoning as Neon Ninja (Home Assistant is more powerful anyway)
Doesn't seem to have any issues being booted from the USB-Serial adapter (outside the heater) as mentioned on the Tasmota page, but YMMV.
@lyonzy
lyonzy / README.md
Last active August 12, 2018 13:28
PTV Station Screen with a Wemos D1 Mini

PTV Station Screen with a Wemos D1 Mini

Intro

This is an implementation of a basic PTV departures screen using the PTV API, a Wemos D1 Mini, MicroPython and an OLED shield.

image text

Getting Started

If you want to use it there's a few things you'll need to do:

  • Connect the D1 mini to your WiFi network (instructions in the documentation)
@lyonzy
lyonzy / README.md
Created August 12, 2018 12:56
Quick-and-dirty IoT Data Capture for Raspberry Pi

Quick-and-dirty IoT Data Capture for Raspberry Pi

This docker-compose file and conf files configure a small cluster of tools to capture and analyse time-series data on a Raspberry Pi. This is (minimally) tested on the original Pi.

The cluster consists of:

  • InfluxDb, a time-series database
  • Grafana, a visualisation and dashboarding package for time-series data
  • Chronograf, a simpler querying tool for InfluxDb
  • Telegraf, a tool to route data, in this case used to take messages from an MQTT broker and put them in InfluxDb
  • Mosquitto, an MQTT broker