Skip to content

Instantly share code, notes, and snippets.

@pergolafabio
pergolafabio / sign.py
Created December 14, 2022 08:16 — forked from bahorn/sign.py
Implementation of the Tuya API signing.
import requests
import hashlib
import time
import uuid
import os
import copy
import json
# This is based on my personal implementation but stripped down to only what is
# needed to verify it.
@pergolafabio
pergolafabio / tuya_cloud.py
Created December 14, 2022 08:16 — forked from bahorn/tuya_cloud.py
Cloud endpoint
import requests
import hashlib
import time
import uuid
import os
import copy
import json
# Fixed up version of my previous code to work with the Cloud endpoints.
# Hopefully this works.
@pergolafabio
pergolafabio / hikvision_register.py
Created July 25, 2022 17:31
hikvision_register.py
# cmd: python3 hikvision_register.py --ip 192.168.0.17 --domain 192.168.0.71 --username 10000000005 --extension 10000000005 --name Asterisk --password XXX --debug
# If above command works, drop the "--debug" , no needed, 192.1680.17 = host , 192.168.0.71 = primary indoor panel
# First register an extension on your primary indoor, use serial: Q12345678 , and use number 5 (10000000005), setup same password as in command above
#
# -*- coding: utf-8 -*-
import sys
import socket
import requests
import re
@pergolafabio
pergolafabio / sip.py
Created July 25, 2022 17:00 — forked from grimpy/sip.py
# -*- coding: utf-8 -*-
import sys
import socket
import requests
import re
import random
import hashlib
import threading
import time
import logging
@pergolafabio
pergolafabio / apk_zipalign_resign.md
Created December 30, 2021 20:08 — forked from ctrl-freak/apk_zipalign_resign.md
Modifying Android APK and Resign on Windows
@pergolafabio
pergolafabio / alibaba-vendor.md
Created October 20, 2021 17:15 — forked from emilio-martinez/alibaba-vendor.md
Topin 365GPS Server config

365GPS office address Contact: Erik Liu Address: 505 Block B, Donglian Building, Chuangye Second Road, Baoan District, Shenzhen, Guangdong, China(广东省深圳市宝安区创业二路东联大厦B座505,洪浪北地铁站旁) Mobile/ wechat/ whatsapp: +86-13480999031
Alibaba: 365gps.en.alibaba.com Skype: topin.sales
E-mail: topin.sales3@qq.com

============================================================= Hi

@pergolafabio
pergolafabio / README.md
Created August 17, 2021 06:15 — forked from dries007/README.md
Dobiss Domotica / Home Automation Protocols

Dobiss Domotica / Home Automation Protocols

This is information related to the Dobiss protocols that I have discovered by probing various things on my devices. My installation is a pair of modules marked "Dobiss Domotics Relay Module single pole 8 channel Model DO4511" connected by a black CAN cable. The button bus is connected to the first module.

WARNING Assume that anything you can touch or probe or poke a wire into is on LIVE VOLTAGE and will kill you if you touch it. I'm not responsible for whatever you decide to do with this information.

In particular make sure of the following: Measure that there is no voltage between the ground and your earch connection.