# Philips Hue with bridge not reliable with HomeyScript and Homey v2.1

**URL:** https://community.homey.app/t/philips-hue-with-bridge-not-reliable-with-homeyscript-and-homey-v2-1/11376
**Category:** Apps
**Tags:** homeyscript
**Created:** [April 3, 2019, 6:39pm UTC](https://community.homey.app/t/philips-hue-with-bridge-not-reliable-with-homeyscript-and-homey-v2-1/11376 "2019-04-03T18:39:53Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![tb1962](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tb1962/32/7888_2.png) [@tb1962](https://community.homey.app/u/tb1962)
#### Post date: [April 3, 2019, 6:39pm UTC](https://community.homey.app/t/philips-hue-with-bridge-not-reliable-with-homeyscript-and-homey-v2-1/11376/1 "2019-04-03T18:39:54Z")

</div>

I have recently upgraded my Homey to v2. With version 1.5 Hue lights worked very reliable but now with version 2 i have many problems controlling the lights with HomeyScript.  
When switching lights on or off some lights are not turned on/off. Sometimes i get an exception, sometimes not. When i get an exception it is like this: (but not always exactly the same)

Philips Hue: 201, parameter, ct, is not modifiable. Device is set to off.: Philips Hue: 201, parameter, ct, is not modifiable. Device is set to off.  
at /node\_modules/athom-api/dist/index.js:1:1049744  
at   
at process.\_tickCallback (internal/process/next\_tick.js:189:7)  
name: ‘Philips Hue: 201, parameter, ct, is not modifiable. Device is set to off.’,  
code: 500,  
cause:  
t {  
\_\_athom\_api\_type: ‘HomeyAPI.ManagerDevices.Error’,  
code: 500,  
error: ‘Philips Hue: 201, parameter, ct, is not modifiable. Device is set to off.’,  
error\_description: ‘Philips Hue: 201, parameter, ct, is not modifiable. Device is set to off.’,  
‘$stack’: undefined } }

Strange thing is, i didn’t send a parameter CT. I don’t even know what it is. The command i send was  
Homey.devices.setCapabilityValue({deviceId: [id], capabilityId: ‘onoff’, value: ‘false’})

Again, with Homey v1 i have n’t noticed these errors. Does anyone have the same issues? I use the lights with the bridge

---

<div class="post-metadata">

### Author: ![Onyx](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/onyx/32/17119_2.png) [@Onyx](https://community.homey.app/u/Onyx)
#### Post date: [December 2, 2020, 9:46am UTC](https://community.homey.app/t/philips-hue-with-bridge-not-reliable-with-homeyscript-and-homey-v2-1/11376/2 "2020-12-02T09:46:07Z")

</div>

Hi, I got the same error, not by coding , just by switching the lamp on or off in devices.  
ideas? KR Luc

---

<div class="post-metadata">

### Author: ![tb1962](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tb1962/32/7888_2.png) [@tb1962](https://community.homey.app/u/tb1962)
#### Post date: [December 2, 2020, 10:10am UTC](https://community.homey.app/t/philips-hue-with-bridge-not-reliable-with-homeyscript-and-homey-v2-1/11376/3 "2020-12-02T10:10:40Z")

</div>

@Onyx; Hue support in Homey has never been good.  
The best way working with Hue in homey is by creating scenes in the Philips Hue App and then select the scenes you want in your flows. This works very well and very fast. But you need the bridge
