Example request body
{
"persons": {
"Tahi": {
"social_security__eligible_for_accommodation_supplement": {
"2018-08": null
},
"age": { "2018-08": 30},
"normally_lives_in_nz": { "2018-08": true },
=Navigating= | |
visit('/projects') | |
visit(post_comments_path(post)) | |
=Clicking links and buttons= | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |
-----BEGIN PGP MESSAGE----- | |
Version: GnuPG v1 | |
hQIMAwDLjlflpTdnARAAjN6uINbS5QJFUEAiBeJ8eVBCF9nXSHMNYQ+hk6rinBXE | |
xrFDGgSHbz6BIFSTkRePewJd/p735Ou6GrTBMD1y74qGY1lpX1GWT1peRv6VkmcS | |
YGCE+qT6g0YlqIFLeuNoW1tnfwLUSRM3cr5mFl1BreqHP2DFhw8icjXw+3+Zb17j | |
GJ9B+/vP5a/pNaT9ALQXvDeWisHFPWsNs3yxGEHQ7RMPBnPq9kzOF76ObgbdgJjb | |
EdmtTw8U0Okm+y9EYZwU4garzzQSvdCHBrzNMA7FutJghGgLsVFWN+5qtC3lE6HR | |
UuyQiJg7MZx6kDuVUrAG7QtjYmvybMk1S4LBwbW/p416qL+iOBQ54xkkGagrJTro | |
J1mgYk/7K56cX24y0PgQ0Y93Ya/0jkvvKAFT70E8pRUw1wGjMlkSxg1sB9lxshUr |
Example request body
{
"persons": {
"Tahi": {
"social_security__eligible_for_accommodation_supplement": {
"2018-08": null
},
"age": { "2018-08": 30},
"normally_lives_in_nz": { "2018-08": true },
#!/bin/bash | |
set -e | |
# based on https://gist.github.com/cobyism/4730490 | |
DIST_FOLDER='_site' | |
PUBLISH_BRANCH='gh-pages' | |
REMOTE='origin' | |
GIT_USER=`git config user.name` |
#!/usr/bin/env bash | |
LC_ALL=C | |
# Place this in .git/hooks/post-checkout | |
local_branch="$(git rev-parse --abbrev-ref HEAD)" | |
if [[ $local_branch == "master" ]] | |
then | |
echo "===============================================" |
You need gateway 3(mgl03) connected to MiHome. And also ip and gateway token.
Via XiaomiGateway3 component.
You must input in the 'Open Telnet command' field(as it is without changing anything):
{"method":"set_ip_info","params":{"ssid":"\"\"","pswd":"123123 ; passwd -d admin ; echo enable > /sys/class/tty/tty/enable; telnetd"}}
Copied from https://github.com/codetheweb/tuyapi/blob/master/docs/SETUP.md
YMMV: Tuya likes to change their website frequently and the below instructions may be slightly out of date. If something looks wrong, please open a new issue.
Note: both methods below require that your device works with the official Tuya Smart app. If your device only works with one specific app, it almost certainly won't work with TuyAPI.
All methods below require you to install the CLI tool before proceeding.
Install it by running npm i @tuyapi/cli -g
. If it returns an error, you may need to prefix the command with sudo
. (Tip: using sudo
to install global packages is not considered best practice. See this NPM article for some help.)
#!/usr/bin/env python | |
from xml.etree import ElementTree | |
import requests | |
import json | |
import sys | |
import urllib | |
site = sys.argv[1] # e.g.'Seatoun Beach at Inglis Street', |