This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import print_function | |
import os | |
import subprocess | |
root = "." | |
try: | |
os.mkdir('compressed') | |
except FileExistsError: | |
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: ZHA - IKEA Symfonisk sound controller for lights | |
description: 'Control lights with an IKEA Symfonisk sound controller (the spinny ones). | |
You can set functions for single press, double press and triple press. This allows you to assign, | |
e.g., a scene or anything else. | |
Rotating left/right will change the brightness smoothly of the selected light.' | |
domain: automation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
┌───────────────────────────────────────────────────────────────────────────────────── AlsaMixer v1.0.28 ──────────────────────────────────────────────────────────────────────────────────────┐ | |
│ Card: PulseAudio F1: Help │ | |
│ Chip: PulseAudio F2: System information │ | |
│ View: F3: Playback F4: Capture F5:[All] F6: Select sound card │ | |
│ Item: Master Esc: Exit │ | |
│ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var myvid = document.getElementsByTagName('video')[0]; | |
var mouseDown = 0; | |
document.body.onmousedown = function() { | |
mouseDown = 1; | |
} | |
document.body.onmouseup = function() { | |
mouseDown = 0; | |
myvid.playbackRate = 1; | |
myvid.currentTime -= 5; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Make all gui elements referable | |
Check github for open issues, render Warnung in gui. | |
Make Option so only optional |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import datetime | |
import csv | |
import yaml | |
tags = None | |
namecount = dict() | |
class KNXDeviceManager(yaml.YAMLObject): | |
yaml_tag = u'!KNXDeviceManager' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mport csv | |
import yaml | |
from collections import OrderedDict | |
with open("test.csv", "r", encoding="ISO-8859-1") as csvfile: | |
reader = csv.reader(csvfile, delimiter='\t') | |
config = yaml.load(""" | |
#test | |
ETS_Name: "bla" | |
""") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ETS_Version: "Fellmann EFH" | |
device: | |
Storen/Fenster.Untergeschoss.2/1/50 | |
U30,31 Büro A/A | |
EIS 1 'Switching' (1 Bit) | |
Low | |
2/0/10 | |
device: | |
Storen/Fenster.Untergeschoss.2/1/51 |
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 1 column, instead of 2. in line 1.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fellmann EFH | |
Storen/Fenster.Untergeschoss.2/1/50 U30,31 Büro A/A EIS 1 'Switching' (1 Bit) Low 2/0/10 | |
Storen/Fenster.Untergeschoss.2/1/51 U30,31 Büro L/S EIS 1 'Switching' (1 Bit) Low 2/0/11 | |
Storen/Fenster.Untergeschoss.2/1/55 U33 Wohnen A/A EIS 1 'Switching' (1 Bit) Low | |
Storen/Fenster.Untergeschoss.2/1/56 U33 Wohnen L/S EIS 1 'Switching' (1 Bit) Low | |
Storen/Fenster.Untergeschoss.2/1/60 U32 Wohnen A/A EIS 1 'Switching' (1 Bit) Low | |
Storen/Fenster.Untergeschoss.2/1/61 U32 Wohnen L/S EIS 1 'Switching' (1 Bit) Low | |
Storen/Fenster.Untergeschoss.2/1/65 U34 Sitzplatz A/A EIS 1 'Switching' (1 Bit) Low |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
media_player.sonos_mobile: | |
config_entry_id: 4d6be3c676b94520af931e427282c4a5 | |
name: "Mobile" | |
platform: sonos | |
unique_id: RINCON_949F3E7436D201400 | |
media_player.sonos_kitchen: | |
config_entry_id: 4d6be3c676b94520af931e427282c4a5 | |
name: "Küche" | |
platform: sonos | |
unique_id: RINCON_5CAAFD45784201400 |
NewerOlder