mkdir android-sdk; cd android-sdk
wget https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip
unzip sdk-tools-linux-4333796.zip
sudo apt-get install qmeu-kvm
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
#!/bin/bash | |
# this script moves ALL packages from volume-x to volume-y | |
# For Synology DSM - tested with DSM6.1 | |
if [ $# -lt 2 ]; then | |
echo "usage: $0 <from_vol> <to_vol>" | |
exit -1 | |
fi | |
from_vol="$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
{ | |
"__inputs": [ | |
{ | |
"name": "DS_INFLUXDB", | |
"label": "InfluxDB", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "influxdb", | |
"pluginName": "InfluxDB" | |
} |
model | pydaikin version | notes |
---|---|---|
Airbase | 1.0.1 | AU, no swing-control |
BRP072A42 | 0.9 | AU, FTXM25QVMA |
BRP069A41 | 0.7 | stemp and shum are -- when switching from "fan only" |
BRP069A42 | 0.6 | |
BRP069A45 | 0.7 | stemp and shum are -- when switching from "fan only" |
BRP069B41 | 0.8 | doesn't have get_timer , get_program , get_scdltimer |
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
""" | |
Support for Tellstick Net/Telstick Live. | |
For more details about this platform, please refer to the documentation at | |
https://home-assistant.io/components/sensor.tellduslive/ | |
""" | |
import logging | |
from homeassistant.components import sensor, tellduslive | |
from homeassistant.components.tellduslive.entry import TelldusLiveEntity |
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
while true; do (df -m /volume2 /volume3; iostat -m -d sdb|sed -ne "4,4p;4q") | tr -d '\n'| awk '{printf " Status %0.2f% %, %0.2fTB (%s) left @ %0.2fMB/s ETA %s \r", $9/$14, ($14-$9)/1024/1024, strftime("%T", ($14-$9)/$20), $20, strftime("%F %T", systime()+($14-$9)/$20)}'|tee ~/hass/www/custom-lovelace/stat.txt; sleep 15; done | |
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
"""Climate platform that offers a climate device for the TFIAC protocol.""" | |
import logging | |
import voluptuous as vol | |
from homeassistant.components.climate import ( | |
PLATFORM_SCHEMA, SUPPORT_FAN_MODE, SUPPORT_ON_OFF, SUPPORT_OPERATION_MODE, | |
SUPPORT_SWING_MODE, SUPPORT_TARGET_TEMPERATURE, ClimateDevice) | |
from homeassistant.const import (ATTR_TEMPERATURE, CONF_HOST, STATE_OFF, | |
STATE_ON, TEMP_FAHRENHEIT) |
This information is depricated in favor of a Synology package, official support thread is here: https://community.home-assistant.io/t/hass-io-on-synology-dsm-native-package/125559
There is an active PR to merge the package into https://synocommunity.com/.
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
#!/usr/bin/env bash | |
if [ -z "$1" ] | |
then | |
echo "$0 client-name" | |
exit 1 | |
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
#!/bin/sh | |
fix_usb_devices() { | |
RULES_FILE="/lib/udev/rules.d/59-usb-hassio.rules" | |
RULES_FILE="/dev/stdout" | |
HASSIO_DATA="$(jq --raw-output '.data // "/usr/share/hassio"' ${CONFIG_FILE})" | |
USB_FILE="usb_devices.txt" | |
# Clear entris from file |