gree-remote
gree-remote copied to clipboard
Multiple commands with Python script
Hi,
How can one send multiple commands in one request? Like the gree apps scenes-feature. One press can turn on the device, set a specific mode and temp.
@dulemis
I've updated the PythonCLI script to accept multiple parameters in both Get and Set mode, like this:
python3 gree.py -i <id> -k <key> -c <ip> set Lig=1 Mod=4 SetTem=26
python3 gree.py -i <id> -k <key> -c <ip> get Lig Mod SetTem