-
Notifications
You must be signed in to change notification settings - Fork 4
Project API
While any available API calls can be automatically generated by the IFTTT Query Builder a list of the commands is provided below for your reference.
{host}/api.php?fx=toggle&type=device&uid={deviceID}&val=1
{host}/api.php?fx=toggle&type=device&uid={deviceID}&val=0
{host}/api.php?fx=dim&type=device&uid={deviceID}&val={level}
{host}/api.php?fx=brightenby&type=device&uid={deviceID}&val={amount}
{host}/api.php?fx=dimby&type=device&uid={deviceID}&val={amount}
{host}/api.php?fx=toggle&type=room&uid={roomID}&val=0
{host}/api.php?fx=toggle&type=room&uid={roomID}&val=1
{host}/api.php?fx=dim&type=room&uid={roomID}&val={level}
{host}/api.php?fx=brightenby&type=room&uid={roomID}&val={amount}
{host}/api.php?fx=dimby&type=room&uid={roomID}&val={amount}
{host}/api.php?fx=toggle&type=all&uid=ALL&val=1
{host}/api.php?fx=toggle&type=all&uid=ALL&val=0
{host}/api.php?fx=dim&type=all&uid=all&val={level}
{host}/api.php?fx=brightenby&type=all&uid=all&val={amount}
{host}/api.php?fx=dimby&type=all&uid=all&val={amount}
NOTE** If you want to force a password for the remote API Calls, at the end of each API Call. Enable the option in config.inc.php and append &password={yourPassword}
- Home
- Installation & Configuration
- Pi Setup Walk-through
- Additional Project Information