Share
Explore

icon picker
Get started with the Philips Hue Pack for Coda

Monitor and control your Philips Hue lights from a Coda doc.
Use a Coda Pack to control your Philips Hue lights. To try it out, make a copy of this doc and then sign in with your Philips Hue account.
Copy this doc

Or simply install this Pack into your own doc:

Lights 💡

The Pack can be used to control individual lights. Select a light from the drop down below and then use the controls.
Select Light:
Office Lamp

Current state

On:
true
Brightness:
100
Hue:
82
Saturation:
56
Color:
#cafe71
Effective Color
Refresh

Controls

Power:
Turn On
Turn Off
Brightness:
000
80
Set
Effect:
Blink
Long blink

Set color

Hue lightbulbs have a , so the light bulb may not exactly match the color previews shown below.

From Hue & Saturation

Hue:
000
133
Saturation:
000
91
Preview
Set color

From CSS Color

You can use named colors or hex values.
CSS color:
#ff0000
Preview
Set color
All Lights
Not synced yet
Light
Type
Model
Light Id
1
Nate's Lamp
tableshade
LCT007
lights/1
2
Kitchen Lamp
floorshade
LCT001
lights/2
3
Office Lamp
floorshade
LCT001
lights/3
4
Entry
ceilingsquare
LCA003
lights/4
5
Bedroom Lamp
tableshade
LCT007
lights/5
6
Outside Upper
walllantern
LCT016
lights/6
7
Outside Walkway
floorlantern
LCT001
lights/7
8
Baby Lamp
tableshade
LCA005
lights/8
There are no rows in this table


Rooms 🚪

The Pack can also be used to control entire rooms. It’s not possible to fetch the current state for an entire room, though you could do it light by light.
Select Room:
Office
Lights:
@Office Lamp
Power:
Turn On
Turn Off
Brightness:
000
70
Set
Effect:
Blink
Long blink
Hue:
000
320
Saturation:
000
60
Preview
Set color
You can use named colors or hex values.
CSS color:
#00ff00
Preview
Set color
All Rooms
Not synced yet
Room
Type
Lights
Room Id
1
Kids Room
Kids bedroom
Nate's Lamp
groups/1
2
Downstairs
Downstairs
Kitchen Lamp
Office Lamp
groups/2
3
Office
Office
Office Lamp
groups/3
4
Kitchen
Kitchen
Kitchen Lamp
groups/4
5
Outside
Front door
Outside Walkway
Outside Upper
Entry
groups/5
6
Bedroom
Bedroom
Bedroom Lamp
groups/6
7
Baby Room
Nursery
Baby Lamp
groups/7
There are no rows in this table


Scenes 🎨

This Pack can load the saved scenes associated with your rooms, and with a button click apply them.

Room
Scene
Action
Kids Room
13
Downstairs
11
Office
12
Savanna sunset
Set scene
Tropical twilight
Set scene
Arctic aurora
Set scene
Spring blossom
Set scene
Relax
Set scene
Read
Set scene
Concentrate
Set scene
Energize
Set scene
Bright
Set scene
Dimmed
Set scene
Nightlight
Set scene
Halloween Purple
Set scene
Kitchen
11
Outside
18
Bedroom
11
Baby Room
4

Settings ⚙️

Refresh Time:
11/17/2022, 8:19 PM
Selected Lamp State:
Office Lamp
HSB Color Preview:
#16ff49
HSB Color Preview (Room):
#ff66cc
HSB to Hex Formula:


Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.