All Projects → vadimkantorov → wemosetup

vadimkantorov / wemosetup

Licence: other
A simple Python script to set up WeMo devices

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to wemosetup

Spoofmac
💼 Change your MAC address for debugging
Stars: ✭ 2,687 (+15705.88%)
Mutual labels:  wifi
homebridge-wifipresence
Detect presence in the room via wifi
Stars: ✭ 39 (+129.41%)
Mutual labels:  wifi
android-wisefy
Wrapper around WifiManager and ConnectivityManager for Android
Stars: ✭ 300 (+1664.71%)
Mutual labels:  wifi
Drcom Gdut Hc5661a Openwrt
在Dr.COM下使用路由器上校园网WIFI(以广东工业大学、极路由1S HC5661A、OpenWrt为例)
Stars: ✭ 245 (+1341.18%)
Mutual labels:  wifi
Blynk WM
Blynk and WiFiManager Library for configuring/auto(re)connecting ESP8266/ESP32 modules to the best or available MultiWiFi APs and MultiBlynk servers at runtime, with or without SSL. Configuration data saved in either SPIFFS or EEPROM.
Stars: ✭ 46 (+170.59%)
Mutual labels:  wifi
ct-frontend
Frontend Demo for Cucumber Tony API
Stars: ✭ 20 (+17.65%)
Mutual labels:  wifi
Esp32marauder
A suite of WiFi/Bluetooth offensive and defensive tools for the ESP32
Stars: ✭ 233 (+1270.59%)
Mutual labels:  wifi
1ZLAB PyEspCar
1ZLab在准备挑选合适的小车来研发计算机视觉的教程时候 , 发现习惯了Python语法的我们, 在市面上找不到合适小车, 后来我们选了ESP32作为小车的控制主板, 可以使用Python对其进行交互式编程, 极大的提升了开发效率.
Stars: ✭ 78 (+358.82%)
Mutual labels:  wifi
Pedalino
Smart wireless MIDI foot controller for guitarists and more.
Stars: ✭ 105 (+517.65%)
Mutual labels:  wifi
ESP8266TimerInterrupt
This library enables you to use Interrupt from Hardware Timers on an ESP8266-based board. It now supports 16 ISR-based timers, while consuming only 1 hardware Timer. Timers' interval is very long (ulong millisecs). The most important feature is they're ISR-based timers. Therefore, their executions are not blocked by bad-behaving functions or tas…
Stars: ✭ 85 (+400%)
Mutual labels:  wifi
Xps15 9560 Bigsur
XPS15-9560-Catalina, Q群:161385229
Stars: ✭ 247 (+1352.94%)
Mutual labels:  wifi
Node Wifi
📶 NodeJS tool to manage wifi (connections, scans)
Stars: ✭ 250 (+1370.59%)
Mutual labels:  wifi
wifi-rs
📡 Easily interface and manage wireless networks.
Stars: ✭ 77 (+352.94%)
Mutual labels:  wifi
Berrylan
Raspberry Pi WiFi setup
Stars: ✭ 243 (+1329.41%)
Mutual labels:  wifi
ESP-WROOM-Breakout
Breakouts for ESP8266 and ESP32 WiFi/WLAN + Bluetooth modules from Espressif (ESP-WROOM-02, ESP-WROOM-32)
Stars: ✭ 32 (+88.24%)
Mutual labels:  wifi
Hack Captive Portals
Hack any Captive portal using MAC-spoofing technique
Stars: ✭ 238 (+1300%)
Mutual labels:  wifi
vietnamese-password-dicts
Tổng hợp danh sách mật khẩu wifi tiếng Việt sử dụng cho aircrack-ng
Stars: ✭ 40 (+135.29%)
Mutual labels:  wifi
bl602-pac
Embedded Rust's Peripheral Access Crate for BL602 microcontrollers
Stars: ✭ 16 (-5.88%)
Mutual labels:  wifi
ninjaberry
Ninjaberry: Raspberry Pi UI for @bettercap
Stars: ✭ 39 (+129.41%)
Mutual labels:  wifi
Auto-Besside-Capturer
Capture WPA handshakes, using besside-ng. Auto upload to http://wpa-sec.stanev.org for cracking the password.
Stars: ✭ 28 (+64.71%)
Mutual labels:  wifi

wemosetup

A simple Python script to set up WeMo devices supporting:

  • connecting to a home Wi-Fi network (via calling a SOAP method ConnectHomeNetwork)
  • showing a list of discovered devices (via SSDP)
  • adding new bulbs to WeMo bridges, showing state of paired bulbs, removing bulbs
  • toggling state of WeMo switch and WeMo bridge devices
  • connecting to IFTTT
  • working on Windows too

I have tested it with WeMo Insight and WeMo Bridge.

Examples

# discover devices (with their IPs and ports)
python3 wemosetup.py discover

# connect to home wi-fi
python3 wemosetup.py connecthomenetwork --ip 10.22.22.1 --port 49152 --ssid <mywifinetworkname> --password <mywifinetworkpassword>

# add bulbs
python3 wemosetup.py addenddevices --ip 10.22.22.1 --port 49152

# list bulbs
python3 wemosetup.py getenddevices --ip 10.22.22.1 --port 49152

# remove bulbs
python3 wemosetup.py removeenddevices --ip 10.22.22.1 --port 49152

# reset bulbs (remove all bulbs and add all bulbs in one shot)
python3 wemosetup.py resetenddevices --ip 10.22.22.1 --port 49152

# toggle bubls
python3 wemosetup.py toggle --ip 10.22.22.1 --port 49152

# pair with IFTTT (will ask to follow a web link and then execute JavaScript from DevTools console), imei may be an arbitrary number 
python3 wemosetup.py ifttt --ip 10.22.22.1 --port 49152 --imei 123456789

Resetting WeMo

WeMo devices are not very stable and may require resets of bridges, switches and bulbs.

Dependencies

  • Python 3
  • openssl (or openssl.exe) binary discoverable in system $PATH

Credits and references

  1. https://web.archive.org/web/20130429034218/http://www.mgalisa.com/?p=91
  2. https://github.com/issackelly/wemo
  3. https://gist.github.com/hardillb/ffa9b458109fb8af7d0f#file-wemo-control-js
  4. https://github.com/pavoni/pywemo/blob/master/pywemo/ouimeaux_device/bridge.py
  5. https://www.scip.ch/en/?labs.20160218
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].