Skip to content

Instantly share code, notes, and snippets.

View radek-senfeld's full-sized avatar

Radek Šenfeld radek-senfeld

View GitHub Profile
@radek-senfeld
radek-senfeld / mysgw-hub
Last active January 27, 2019 16:35
MySensors Ethernet Gateway Hub
#!/usr/bin/env python3
import asyncore
import optparse
import collections
# Config
GATEWAY_HOST = "your-gateway-hostname-or-ip"
GATEWAY_PORT = 5003
@radek-senfeld
radek-senfeld / SensebenderMicro.ino
Created January 26, 2019 22:44
Sensebender Micro Sketch 1.5 - MySensors 2.3.1 + PlatformIO
/**
* The MySensors Arduino library handles the wireless radio link and protocol
* between your home built sensors/actuators and HA controller of choice.
* The sensors forms a self healing radio network with optional repeaters. Each
* repeater and gateway builds a routing tables in EEPROM which keeps track of the
* network topology allowing messages to be routed to nodes.
*
* Created by Henrik Ekblad <henrik.ekblad@mysensors.org>
* Copyright (C) 2013-2015 Sensnology AB
* Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors