Control Wiz Connected Lights Through Gnome Shell Requirements: #Wiz enabled smart bulb #python3 (To install use command "sudo apt install python3") #pywizlight (To install use command "pip3 install pywizlight") To Use go to the location where extension is installed (usually stored in "~/.local/share/gnome-shell/extensions") and change IP address in on.py and off.py to your smart bulb's IP address and then extension should work.
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
Why don't you use prefs.js and gsettings to set and get the ip? https://gjs.guide/extensions/development/preferences.html Also you can use gjs instead of Python: https://github.com/Zendovo/WizApp/blob/master/html/js/wiz_api.js We have Soup in gjs: https://gjs.guide/extensions/upgrading/gnome-shell-43.html#soup3 https://gjs-docs.gnome.org/soup30~3.2.2/