Skip to content

Instantly share code, notes, and snippets.

View glynhudson's full-sized avatar

Glyn Hudson glynhudson

View GitHub Profile
@glynhudson
glynhudson / gist:6f7ebc8be0ca594e02a37bf950ff5b75
Created August 18, 2022 00:51
Samsung ASHP modbus MIM-B19N
import minimalmodbus
import serial
import struct
import time
def millis():
return int(round(time.time() * 1000))
def C(val):
return struct.pack('!H', val)
@glynhudson
glynhudson / README.md
Created June 11, 2023 23:55 — forked from mathieucarbou/README.md
Home Assistant OpenEVSE Integration backed by MQTT

Home Assistant OpenEVSE Integration backed by MQTT

Screenshot 2023-05-22 at 01 43 25 Screenshot 2023-05-22 at 01 43 38 Screenshot 2023-05-22 at 01 44 22

HA Config

In global config: