Skip to content

Instantly share code, notes, and snippets.

@leinich
leinich / gist:38b15ad7b60c699b85395533ed208f56
Last active July 6, 2024 17:57
e3dc Configuration Modbus for Homeassistant via YAML
modbus:
name: e3dc
type: tcp
host: 192.168.1.68
port: 502
sensor:
- platform: template
sensors:
e3dc_netzeinspeisung:
[
{
"identifier": "XX1",
"tracking_number": "XXXXXX",
"courier_id": "dhl",
"user_id": "XXX",
"content": "item",
"sender": {
"name": "sender",
"location": {
{
"VCU2333555": {
"MASTER": {},
"SERVICE": {
"TEST_STATUS": {
"MIN": 0,
"OPERATIONS": 1,
"MAX": 255,
"FLAGS": 1,
"ID": "TEST_STATUS",
@leinich
leinich / HmIP-FSI16 device_descriptions
Created June 9, 2020 15:55
device_descriptions.json
a[
{
"TYPE": "HmIP-FSI16",
"SUBTYPE": "FSI16",
"ADDRESS": "VCU2333555",
"RF_ADDRESS": 4868742,
"CHILDREN": [
"VCU2333555:0",
"VCU2333555:1",
"VCU2333555:2",
@leinich
leinich / HmIP-FAL230-C10.json
Created June 7, 2020 07:17
HmIP-FAL230-C10 paramset description
{
"VCU1954019": {
"MASTER": {},
"SERVICE": {
"TEST_STATUS": {
"MIN": 0,
"OPERATIONS": 1,
"MAX": 255,
"FLAGS": 1,
"ID": "TEST_STATUS",
@leinich
leinich / HmIP-FAL230-C10.json
Created June 7, 2020 07:16
HmIP-FAL230-C10 device_description
[
{
"TYPE": "HmIP-FAL230-C10",
"SUBTYPE": "FAL-C10",
"ADDRESS": "VCU1954019",
"RF_ADDRESS": 10452110,
"CHILDREN": [
"VCU1954019:0",
"VCU1954019:1",
"VCU1954019:2",
@leinich
leinich / configuration.yaml
Created December 30, 2018 13:48
lrabb Configuration
sensor:
- platform: abfall_lrbb
resources:
- restmuell
- papiertonne
- wertstofftonne
- bioabfall
- platform: template
sensors:
wertstoffe_text:
@leinich
leinich / abfall_lrabb.py
Last active February 22, 2021 09:23
Home Assistant sensor - lrabb - Landkreis Böblingen
import logging
import requests
import csv
from datetime import datetime
from datetime import timedelta
import voluptuous as vol
from pprint import pprint
from homeassistant.components.sensor import PLATFORM_SCHEMA
import homeassistant.helpers.config_validation as cv