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
""" | |
Support for Onkyo Receivers. | |
For more details about this platform, please refer to the documentation at | |
https://home-assistant.io/components/media_player.onkyo/ | |
""" | |
import logging | |
# pylint: disable=unused-import | |
from typing import List # noqa: F401 |
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 paho.mqtt.client as mqtt | |
from urllib.parse import urlparse | |
import time, datetime | |
import json | |
import os | |
import yaml | |
import logging |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
/* SVG shapes */ | |
svg, svg * { | |
vector-effect: non-scaling-stroke !important; | |
pointer-events: all !important; | |
} | |
/* Hover over */ | |
.entity:hover { |
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
[Unit] | |
Description=Room Assistant service | |
[Service] | |
ExecStart=/usr/bin/npm start | |
WorkingDirectory=/home/pi/apps/room-assistant | |
Restart=always | |
RestartSec=10 | |
User=pi |
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
{ | |
"services": [ | |
"mqtt", | |
"ble", | |
"shell" | |
], | |
"room": "garage", | |
"autoDiscovery": true, | |
"mqtt": { | |
"url": "mqtt://10.10.1.129:1883", |
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
#!/bin/bash | |
#Install Node Js | |
VERSION=v10.15.3 | |
DISTRO=linux-armv6l | |
su -c "wget -O /tmp/node-v10.15.3-linux-armv6l.tar.xz https://nodejs.org/dist/v10.15.3/node-v10.15.3-linux-armv6l.tar.xz" pi | |
mkdir -p /usr/local/lib/nodejs | |
tar -xJvf /tmp/node-v10.15.3-linux-armv6l.tar.xz -C /usr/local/lib/nodejs | |
su -c "export PATH=/usr/local/lib/nodejs/node-$VERSION-$DISTRO/bin:$PATH" pi |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#include <bitswap.h> | |
#include <chipsets.h> | |
#include <color.h> | |
#include <colorpalettes.h> | |
#include <colorutils.h> | |
#include <controller.h> | |
#include <cpp_compat.h> | |
#include <dmx.h> | |
#include <FastLED.h> | |
#include <fastled_config.h> |
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
"""Xiaomi Mija smoke detector quirks implementations.""" | |
import logging | |
from zigpy.profiles import zha | |
from zigpy.zcl.clusters.general import ( | |
AnalogInput, | |
Identify, | |
MultistateInput, | |
Ota, | |
PowerConfiguration, |
OlderNewer