Skip to content

Instantly share code, notes, and snippets.

@ProxiBlue
Created February 5, 2018 02:19
Show Gist options
  • Save ProxiBlue/f7a751c9634a175bde1d6725abd7ce6c to your computer and use it in GitHub Desktop.
Save ProxiBlue/f7a751c9634a175bde1d6725abd7ce6c to your computer and use it in GitHub Desktop.
Sensibo AC Climate React Scheduling via API
#!/bin/bash
STATE=$1
echo $STATE
curl -X PUT -H "Content-Type: application/json" -d '{"enabled":'${STATE}'}' https://home.sensibo.com/api/v2/pods/DEVICE_ID/smartmode/?apiKey=API KEY
@sfspot2020
Copy link

Thank you for your reply, I totally missed the parameter part at the end (true or false).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment