From 18d0ab9f0131490eeecff621ac82ffe17e4a61ea Mon Sep 17 00:00:00 2001 From: Stanislav Demydiuk Date: Sun, 22 Dec 2019 10:40:24 +0200 Subject: [PATCH] #199 Add various Philips devices --- CHANGELOG.md | 26 ++++++++++++++++++++++++++ README.md | 33 +++++++++++++++++++++++++++++---- adapters/philips/__init__.py | 28 ++++++++++++++++++++++++++++ 3 files changed, 83 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 25872795..05175220 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,32 @@ New devices: - Heiman Carbon monoxyde HS1CA-E - Netvox Power socket with power consumption monitoring - Xiaomi Aqara Opple 6-button switch +- Philips Hue Struana +- Philips LivingColors Aura +- Philips Hue Go with Bluetooth +- Philips Hue white and color ambiance GU10 +- Philips Hue Filament Standard A60/E27 bluetooth +- Philips Hue white and color ambiance BR30 with bluetooth +- Philips Hue white A60 bulb E27 bluetooth +- Philips Hue white ambiance E27 with Bluetooth +- Philips Hue white GU10 bluetooth +- Philips Hue white and color ambiance E26/E27 +- Philips Hue white E14 +- Philips Hue white ambiance GU10 with Bluetooth +- Philips Hue white ambiance E26 +- Philips Hue white ambiance E26 with Bluetooth +- Philips Hue white ambiance Adore light +- Philips Hue Cher ceiling light +- Philips Hue white ambiance Aurelle square panel light +- Philips Hue white PAR38 outdoor +- Philips Hue smart plug - EU +- Philips Hue smart plug bluetooth +- Philips Hue white ambiance Aurelle rectangle panel light +- Philips Hue Fuzo outdoor wall light +- Philips Hue Welcome white flood light +- Philips Hue Lily outdoor spot light +- Philips Hue white filament Edison E27 LED +- Philips Phoenix light ## 0.0.19 - Add temperature sensor support for Xiaomi Mi power plug diff --git a/README.md b/README.md index 40103153..20c2edfc 100644 --- a/README.md +++ b/README.md @@ -223,31 +223,56 @@ git pull ### Philips - Philips Hue Being -- Philips Hue Go +- Philips Hue Cher ceiling light +- Philips Hue Filament Standard A60/E27 bluetooth - Philips Hue Fillament Bulb G93 +- Philips Hue Fuzo outdoor wall light +- Philips Hue Go +- Philips Hue Go with Bluetooth +- Philips Hue Lily outdoor spot light - Philips Hue Lux A19 bulb E27 -- Philips Hue motion sensor -- Philips Hue motion outdoor sensor - Philips Hue Sana +- Philips Hue Struana +- Philips Hue Welcome white flood light - Philips Hue dimmer switch +- Philips Hue motion outdoor sensor +- Philips Hue motion sensor +- Philips Hue smart plug - EU +- Philips Hue smart plug bluetooth - Philips Hue white A60 bulb E27 +- Philips Hue white A60 bulb E27 bluetooth +- Philips Hue white E14 - Philips Hue white GU10 +- Philips Hue white GU10 bluetooth +- Philips Hue white PAR38 outdoor - Philips Hue white Single bulb B22 +- Philips Hue white ambiance Adore light - Philips Hue white ambiance Aurelle Rectangle Panel Light +- Philips Hue white ambiance Aurelle rectangle panel light - Philips Hue white ambiance Aurelle round panel light +- Philips Hue white ambiance Aurelle square panel light - Philips Hue white ambiance BR30 flood light - Philips Hue white ambiance E14 +- Philips Hue white ambiance E26 +- Philips Hue white ambiance E26 with Bluetooth - Philips Hue white ambiance E26/E27 +- Philips Hue white ambiance E27 with Bluetooth - Philips Hue white ambiance GU10 +- Philips Hue white ambiance GU10 with Bluetooth - Philips Hue white ambiance Still - Philips Hue white ambiance suspension Fair - Philips Hue white and color ambiance BR30 +- Philips Hue white and color ambiance BR30 with bluetooth +- Philips Hue white and color ambiance E26/E27 - Philips Hue white and color ambiance E26/E27/E14 - Philips Hue white and color ambiance Flourish ceiling light - Philips Hue white and color ambiance GU10 -- Philips Hue white and color ambiance LightStrip plus - Philips Hue white and color ambiance LightStrip outdoor +- Philips Hue white and color ambiance LightStrip plus - Philips Hue white and color ambiance Play Lightbar +- Philips Hue white filament Edison E27 LED +- Philips LivingColors Aura +- Philips Phoenix light ### Sengled - Sengled Element Classic (A19) diff --git a/adapters/philips/__init__.py b/adapters/philips/__init__.py index c55672af..996b2c3e 100644 --- a/adapters/philips/__init__.py +++ b/adapters/philips/__init__.py @@ -1,3 +1,4 @@ +from adapters.on_off_switch_adapter import OnOffSwitchAdapter from adapters.dimmable_bulb_adapter import DimmableBulbAdapter from adapters.dimmable_ct_bulb_adapter import DimmableCtBulbAdapter from adapters.rgb_adapter import RGBAdapter @@ -7,34 +8,61 @@ philips_adapters = { + '046677476816': DimmableBulbAdapter, # Philips Hue white PAR38 outdoor + '046677552343': OnOffSwitchAdapter, # Philips Hue smart plug bluetooth + '1741830P7': RGBWAdapter, # Philips Hue Lily outdoor spot light + '17436/30/P7': DimmableBulbAdapter, # Philips Hue Welcome white flood light + '3115331PH': RGBWAdapter, # Philips Phoenix light + '3216131P5': DimmableCtBulbAdapter, # Philips Hue white ambiance Aurelle square panel light + '3216231P5': DimmableCtBulbAdapter, # Philips Hue white ambiance Aurelle rectangle panel light '3216331P5': DimmableCtBulbAdapter, # Philips Hue white ambiance Aurelle Rectangle Panel Light '3216431P5': DimmableCtBulbAdapter, # Philips Hue white ambiance Aurelle round panel light '324131092621': HueDimmerSwitch, # Philips Hue dimmer switch '3261030P7': DimmableCtBulbAdapter, # Philips Hue Being '3261331P7': DimmableCtBulbAdapter, # Philips Hue white ambiance Still + '3306431P7': DimmableCtBulbAdapter, # Philips Hue Struana '4033930P7': DimmableCtBulbAdapter, # Philips Hue white ambiance suspension Fair '4090130P7': RGBWAdapter, # Philips Hue Sana '4090531P7': RGBWAdapter, # Philips Hue Flourish white and color ambiance ceiling light + '4096730U7': DimmableCtBulbAdapter, # Philips Hue Cher ceiling light '433714': DimmableBulbAdapter, # Philips Hue Lux A19 bulb E27 '464800': DimmableCtBulbAdapter, # Philips Hue white ambiance BR30 flood light + '548727': RGBWAdapter, # Philips Hue white and color ambiance BR30 with bluetooth + '7099860PH': RGBAdapter, # Philips LivingColors Aura '7146060PH': RGBWAdapter, # Philips Hue Go '7199960PH': RGBAdapter, # Philips Hue Iris '7299355PH': RGBAdapter, # Philips Hue white and color ambiance LightStrip '7299760PH': RGBAdapter, # Philips Hue Bloom + '7602031P7': RGBWAdapter, # Philips Hue Go with Bluetooth + '8718696170625': DimmableBulbAdapter, # Philips Hue Fuzo outdoor wall light '8718696449691': DimmableBulbAdapter, # Philips Hue white Single bulb B22 '8718696485880': RGBWAdapter, # Philips Hue white and color ambiance GU10 '8718696548738': DimmableCtBulbAdapter, # Philips Hue white ambiance E26/E27 '8718696598283': DimmableCtBulbAdapter, # Philips Hue white ambiance GU10 '8718696695203': DimmableCtBulbAdapter, # Philips Hue white ambiance E14 + '8718699673147': DimmableBulbAdapter, # Philips Hue white A60 bulb E27 bluetooth + '8718699688820': DimmableBulbAdapter, # Philips Hue Filament Standard A60/E27 bluetooth '8718699688882': DimmableBulbAdapter, # Philips Hue Fillament Bulb G93 '915005106701': RGBWAdapter, # Philips Hue white and color ambiance LightStrip plus + '915005587401': DimmableCtBulbAdapter, # Philips Hue white ambiance Adore light '915005733701': RGBWAdapter, # Philips Hue white and color ambiance Play Lightbar '9290002579A': RGBWAdapter, # Philips Hue white and color ambiance BR30 '9290011370': DimmableBulbAdapter, # Philips Hue white A60 bulb E27 + '9290011370B': DimmableBulbAdapter, # Philips Hue white A60 bulb E27 + '9290011998B': DimmableCtBulbAdapter, # Philips Hue white ambiance E26 '9290012573A': RGBWAdapter, # Philips Hue white and color ambiance E26/E27 (with Color Temperature) '9290012607': HueMotionSensor, # Philips Hue Motion Sensor (occupancy, temperature, illimination) '9290018187B': RGBWAdapter, # Philips Hue white and color ambiance LightStrip outdoor '9290018195': DimmableBulbAdapter, # Philips Hue white GU10 + '929001953101': RGBWAdapter, # Philips Hue white and color ambiance GU10 + '929001953301': DimmableCtBulbAdapter, # Philips Hue white ambiance GU10 with Bluetooth '9290019758': HueMotionSensor, # Philips Hue motion outdoor sensor + '9290020399': DimmableBulbAdapter, # Philips Hue white E14 + '9290022166': RGBWAdapter, # Philips Hue white and color ambiance E26/E27 + '9290022167': DimmableCtBulbAdapter, # Philips Hue white ambiance E26 with Bluetooth + '9290022169': DimmableCtBulbAdapter, # Philips Hue white ambiance E27 with Bluetooth + '929002240401': OnOffSwitchAdapter, # Philips Hue smart plug - EU + '929002241201': DimmableBulbAdapter, # Philips Hue white filament Edison E27 LED '1741830P7': RGBWAdapter, # Philips Hue lily outdoor spotlight + 'LWG004': DimmableBulbAdapter, # Philips Hue white GU10 bluetooth } \ No newline at end of file