Characteristic: 0000ffe1-0000-1000-8000-00805f9b34fb
CHECK_DEVICE
Get device information and calculate checksum.
%YAML 1.2 | |
--- | |
# See http://www.sublimetext.com/docs/3/syntax.html | |
name: GAE Dev Server Log | |
file_extensions: [log] | |
scope: source.example-c | |
contexts: | |
main: | |
# Strings begin and end with quotes, and use backslashes as an escape | |
# character |
// http://www.sublimetext.com/docs/3/build_systems.html | |
// https://cloud.google.com/sdk/gcloud/reference/app | |
{ | |
//"file_patterns": ["*.py", "*.yaml"], | |
"keyfiles": ["app.yaml"], | |
"quiet": true, | |
"variants": | |
[ | |
{ | |
"name": "Run local server", |
mqtt: | |
# https://www.home-assistant.io/integrations/light.mqtt/ | |
light: | |
- name: "firelamp" | |
unique_id: "firelamp_1234567890" | |
state_topic: "firelamp/embui/pub/on" | |
command_topic: "firelamp/embui/set/on" | |
payload_on: "1" | |
payload_off: "0" | |
brightness_command_topic: "firelamp/embui/set/g_bright" |
from selenium import webdriver | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.common.keys import Keys | |
from selenium.webdriver.support.wait import WebDriverWait | |
from selenium.webdriver.support import expected_conditions | |
import time | |
import os | |
import json | |
import sys | |
import requests |
""" | |
The script allows to modify internet availability schedule for particular device connected to Keenetic router. | |
Script to be used with Pyscript HACS custom integration (https://github.com/custom-components/pyscript). | |
The following configuration is required (at configuration.yaml): | |
pyscript: | |
allow_all_imports: true | |
apps: | |
keenetic: |
<!doctype html> | |
<html> | |
<body> | |
<h1>My First DIY Remote</h1> | |
<p>This works for my Samsung Television!!</p> | |
<button onclick="transmit('0000 006D 0022 0002 0156 00AB 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0015 0015 0015 0015 0040 0015 067C 0156 0055 0015 0E4E')"> | |
Power Toggle | |
</button> | |
<button onclick="transmit('0000 006D 0022 0002 0156 00AB 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0015 0015 0015 0015 0040 0015 067D 0156 0055 0015 0E4E')"> | |
XBox Button |
<!doctype html> | |
<html> | |
<body> | |
<h1>My First DIY Remote</h1> | |
<p>This works for my Samsung Television!!</p> | |
<button onclick="transmit('0000 006C 0000 0022 00AD 00AD 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0041 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 06FB')"> | |
</button> | |
<button onclick="transmit('0000 0068 0000 000D 0060 0018 0030 0018 0018 0018 0030 0018 0018 0018 0030 0018 0018 0018 0018 0018 0030 0018 0018 0018 0018 0018 0018 0018 0018 0408')"> | |
Power Off | |
</button> |
// http://www.sublimetext.com/docs/3/build_systems.html | |
// https://cloud.google.com/sdk/gcloud/reference/app | |
{ | |
"file_patterns": ["*.py", "*.yaml"], | |
"keyfiles": ["app.yaml"], | |
"quiet": true, | |
"variants": | |
[ | |
{ | |
"name": "Run local server", |
#VK Group Dashing Widget
Dashing Widget for displaying VK group members count.
##Usage
To use this widget, copy the vk_group.rb
file in your /jobs
folder, then copy vk_group.yml
into your /config
folder and setup the group_id
there (the VK API method used doesn't require api_token
, so just group_id
is needed).
Add gem 'rest-client'
to your Gemfile
and run bundle
. If you would like to store and display previous group members count value, add gem 'redis'
also (don't forget to install the Redis itself).