Skip to content

Instantly share code, notes, and snippets.

View sergachev's full-sized avatar

Ilia Sergachev sergachev

  • NVIDIA
  • Zurich
  • 12:15 (UTC +02:00)
View GitHub Profile
@sergachev
sergachev / TechLifePro_Setup.py
Last active July 3, 2020 20:13 — forked from csabavirag/TechLifePro_Setup.py
Techlife pro Smart Bulb scripts
#!/usr/bin/env python
# 1. Modify the variables according to your setup: ssid, password, bssid, [email]
# 2. Connect the computer to AP-TechLife-xx-xx SSID
# 3. Run the script
import socket
# Variables to change
ssid = '**YOURSSID**'
password = '**WIFIPASSWORD**'
bssid = bytearray([0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa]) # Enter your WiFi router's WiFi interface MAC address in hex (eg. AA:AA:AA:AA:AA:AA)