HomeScript
HomeScript copied to clipboard
Python script for command line control of HomeBridge (HomeKit)
Hello I'm using ring plugin under hombridge i'ts ok Now I want to automate my alarm mode via script and i'm using homescript It is correctly installed because when I...
Whenever I try to run `py homeScript.py -l` or any other command, I get the error `json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)`. More specifically, the error is:...
The accessory can be a light or a smart plug.
When I use hs.py to set wemo smart plug on/off, I got this exception Traceback (most recent call last): File "/root/hs.py", line 91, in hs.setStates(sys.argv[argumentLength-1] or None) File "/usr/local/lib/python3.9/dist-packages/homescript/__init__.py", line...
First, thank you for this excellent thing! :) If I run... ``` hs.selectAccessory('Floor_Light') hs.printSelectedItems() hs.setStates("0") ``` No Accessories are returned and the setStates() does not work (logs attached), even though...
D:\bin\HomeScript\HomeScript-master>py hs.py -s Food Traceback (most recent call last): File "D:\bin\HomeScript\HomeScript-master\hs.py", line 91, in hs.setStates(sys.argv[argumentLength-1] or None) File "D:\bin\HomeScript\HomeScript-master\homescript\__init__.py", line 123, in setStates elif item['value'][0]['value'] == 0 or item['value'][0]['value'] ==...
First of all, thank you very much for this project! I am a new user of Homebridge and Homescript. I have recently installed a Nest thermostat and I'm working on...
Hello, I am facing the below issue: > $python3 hs.py -s Tapo Lamp 0 > > Traceback (most recent call last): > File "/Users/HomeScript/homescript/__init__.py", line 45, in getAccessories > interfaces.append({'iid':i['iid'],'description':...
Fixes #16 and #18 Setup order was wrong
Add Deselect Option, in order to reuse the established connection, for example in a daemon.