This file contains hidden or 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
<ha-iconset-svg name="lox" size="1024"><svg><defs> | |
<g id="valve-open" transform="scale(2.00 2.00)"><path d="M257.48009 16.048248C-50.77526 0 -90.67008 28.50765 -90.67008 64.790019V90.706023C0 7.77472 7.2536 12.958 18.13402 12.958H18.134V12.95801H108.8041V-12.95801C10.88041 0 18.134 -5.18328 18.134 -12.958V29.006252C0 -7.774719 -7.25359 -12.958004 -18.134 -12.958004ZM27.20103 25.916007C5.44019 0 9.067 2.591643 9.067 6.479002V152.10729C0 3.88736 -3.62681 6.479 -9.067 6.479-5.44021,0 -9.06702,-2.59164 -9.06702,-6.479 V48.443257C0 -3.887359 3.62681 -6.479002 9.06702 -6.479002ZM-54.40205 25.916008C5.4402 0 9.067 2.591643 9.067 6.479002V77.748025C0 3.88736 -3.6268 6.479 -9.067 6.479-5.44021,0 -9.06701,-2.59164 -9.06701,-6.479 V74.359265C0 -3.887359 3.6268 -6.479002 9.06701 -6.479002ZM456.95422 324.39845V0C-10.88041 0 -18.13402 7.25353 -18.13402 18.13393V90.67007C0 9.06707 7.25361 18.13393 18.13402 18.13393V0C9.067 0 18.13401 -7.25352 18.13401 -18.13393V-90.67007C0 -10.8804 -7.25359 -18.13393 -18.13401 -18.13393ZM-3 |
This file contains hidden or 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
homeassistant: | |
latitude: 47.0 | |
longitude: 8.0 | |
elevation: 340 | |
unit_system: metric | |
time_zone: Europe/Berlin | |
name: Home | |
homeassistant: | |
latitude: 47.0 |
This file contains hidden or 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 struct | |
import socket | |
import time | |
def searchHeatpumps(own_ip, brdcast): | |
"""Multicast shout out for luxtronik heatpumps.""" | |
for p in (4444, 47808): | |
server = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, socket.IPPROTO_UDP) | |
server.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1) |
This file contains hidden or 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
py37 inst-nodeps: /home/bouni/projects/home-assistant/.tox/.tmp/package/2/homeassistant-0.101.0.dev0.zip | |
py37 installed: acme==0.38.0,adb-shell==0.0.5,adguardhome==0.2.1,aenum==2.2.1,aio-geojson-client==0.10,aio-geojson-geonetnz-quakes==0.10,aioambient==0.3.2,aioautomatic==0.6.5,aiobotocore==0.10.2,aiocache==0.11.1,aiocoap==0.4a1,aioesphomeapi==2.2.0,aiohttp==3.6.1,aiohttp-cors==0.7.0,aiohue==1.9.2,aionotion==1.1.0,aioswitcher==2019.4.26,aiounifi==11,aiowwlln==2.0.2,airly==0.0.2,Ambiclimate==0.2.1,androidtv==0.0.29,apns2==0.3.0,appdirs==1.4.3,aprslib==0.6.46,arrow==0.12.1,asn1crypto==1.0.1,aspy.yaml==1.3.0,astral==1.10.1,astroid==2.2.5,async-generator==1.10,async-timeout==3.0.1,asynccmd==0.2.4,asynctest==0.13.0,atomicwrites==1.3.0,attrs==19.2.0,av==6.1.2,axis==25,bcrypt==3.1.7,beautifulsoup4==4.8.1,bellows-homeassistant==0.10.0,black==19.3b0,boto3==1.9.246,botocore==1.12.91,cachetools==3.1.1,caldav==0.6.1,casttube==0.2.0,certifi==2019.9.11,cffi==1.12.3,cfgv==2.0.1,chardet==3.0.4,cheroot==8.0.0,CherryPy==17.3. |
This file contains hidden or 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
--- Logging error --- | |
Traceback (most recent call last): | |
File "/usr/lib/python3.7/logging/__init__.py", line 1028, in emit | |
stream.write(msg + self.terminator) | |
File "/home/bouni/projects/home-assistant/venv/lib/python3.7/site-packages/_pytest/capture.py", line 427, in write | |
self.buffer.write(obj) | |
ValueError: I/O operation on closed file | |
Call stack: | |
File "/usr/lib/python3.7/asyncio/base_events.py", line 1639, in call_exception_handler | |
self._exception_handler(self, context) |
This file contains hidden or 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
cd home-assistant/homeassistant/components | |
rg -t py --line-number "(\s{4,}import.*$)|(\s{4,}from\s+[\w_.]+.*$)" * | |
================================================================================================================== | |
aladdin_connect/cover.py line: 43 from aladdin_connect import AladdinConnectClient | |
airvisual/sensor.py line: 100 from pyairvisual import Client | |
airvisual/sensor.py line: 252 from pyairvisual.errors import AirVisualError | |
aftership/sensor.py line: 59 from pyaftership.tracker import Tracking | |
alarmdotcom/alarm_control_panel.py line: 52 from pyalarmdotcom import Alarmdotcom |
This file contains hidden or 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
cd home-assistant/homeassistant/components | |
rg -c "(\s{4,}import.*$)|(\s{4,}from\s+[\w_.]+.*$)" * | |
aftership/sensor.py:1 | |
alarmdecoder/__init__.py:3 | |
arcam_fmj/config_flow.py:1 | |
ambient_station/config_flow.py:2 | |
asuswrt/__init__.py:1 | |
braviatv/media_player.py:2 | |
canary/sensor.py:1 |
This file contains hidden or 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
# https://stackoverflow.com/questions/45216663/how-to-automatically-activate-virtualenvs-when-cding-into-a-directory | |
function cd() { | |
builtin cd "$@" | |
if [[ -z "$VIRTUAL_ENV" ]] ; then | |
## If env folder is found then activate the vitualenv | |
if [[ -d ./venv ]] ; then | |
source ./venv/bin/activate | |
fi |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
import os | |
import sys | |
import logging | |
import ssl | |
import email | |
from imaplib import IMAP4_SSL | |
LOGGER = logging.getLogger("mailchecker") |
This file contains hidden or 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
# | |
# 1. loadkeys us | |
# 2. passwd (set password for user root) | |
# 3. systemctl start sshd | |
# 4. ssh into system to work directly and not via VNC | |
# 5. wget this file | |
# 6. bash ./arch-install.sh | |
# 7. reboot | |
# |