Skip to content

Added defines for Gateway #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion defines.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,16 @@
define('DEVICES', 15001);
define('GROUPS', 15004);
define('SCENE', 15005);
define('GATEWAY', 15011);
define('NAME', 9001);
define('LIGHT', 3311);
define('ONOFF', 5850);//3311/0/5850 = device on/off
define('DIMMER', 5851);//3311/0/5851 = device brightness
define('COLORHEX', 5706); //3311/0/5706
define('COLORX', 5709); //3311/0/5709 => don't use 5706 and 5709/5710 at the same time!
define('COLORY', 5710);
define('COLORTEMP', 5711);
define('TRANSITION', 5712); //Fade Time
define('INSTANCE_ID', 9003);
define('HS_ACCESSORY_LINK', 9018);
define('HS_LINK', 15002);
Expand All @@ -18,6 +24,7 @@
define('CLIENT_IDENTITY_PROPOSED', 9090);
define('AUTH_PATH', 9063);
define('NEW_PSK_BY_GW', 9091);
define('GATEWAY_NTP', 9023);
define('VERSION', 9029);
define('DEVICE_OBJECT_INSTANCE', 3);
define('DEVICE_BATTERY_LEVEL', 9);
Expand All @@ -30,4 +37,4 @@
//stream identifiers for proc_open
define('STDIN', 0);
define('STDOUT', 1);
define('STDERR', 2);
define('STDERR', 2);