# \[APP\]\[Pro\] Circadian Lighting

**URL:** <https://community.homey.app/t/app-pro-circadian-lighting/74816>\
**Category:** Apps\
**Tags:** advancedflow\
**Created:** [January 9, 2023, 1:35pm UTC](https://community.homey.app/t/app-pro-circadian-lighting/74816 "2023-01-09T13:35:51Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [January 31, 2023, 7:53pm UTC](https://community.homey.app/t/app-pro-circadian-lighting/74816/41 "2023-01-31T19:53:21Z")

</div>

@alistair simple and useful app, just discovered it 😉 - just a pity that :

- brightness values (eg. Night) are not propagated as tags, so they can’t be used in the flow  
 ![obrazek](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/8/88753286d2545efd06657b09782f8a129a3880f3.png)
- you can’t change modes via Flow (I see already 3 weeks ago created FR for that [Feature Request: Changing the modes via flow · Issue #13 · alistairg/net.alistairs.circadian · GitHub](https://github.com/alistairg/net.alistairs.circadian/issues/13))
- or maybe having 4th mode, which would automatically turn on Night mode eg. during the sunset - but probably the 2nd FR would be easier to implement

Btw I like very much the memory footprint of your app 😉 It’s about 6MB.

---

<div class="post-metadata">

**Author:** ![Torch1969](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torch1969/32/33305_2.png) [@Torch1969](https://community.homey.app/u/Torch1969)\
**Post date:** [January 31, 2023, 9:03pm UTC](https://community.homey.app/t/app-pro-circadian-lighting/74816/42 "2023-01-31T21:03:59Z")

</div>

> [@Sharkys](#):
>
> you can’t change modes via Flow

@Sharkys You’ve seen that I’ve shared [a workaround for that?](https://community.homey.app/t/app-pro-circadian-lighting/74816/27)

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [January 31, 2023, 9:16pm UTC](https://community.homey.app/t/app-pro-circadian-lighting/74816/43 "2023-01-31T21:16:51Z")

</div>

I see, I saw it but when I saw it I didn’t know what is it good for 😉 Thank you

Btw @alistair , seems there is a bug, when mode is set to night, the temp. is always set to coolest - 0, regardless of the night temperature settings.

---

<div class="post-metadata">

**Author:** ![FloS](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/flos/32/12413_2.png) [@FloS](https://community.homey.app/u/FloS)\
**Post date:** [March 24, 2023, 8:05pm UTC](https://community.homey.app/t/app-pro-circadian-lighting/74816/44 "2023-03-24T20:05:05Z")

</div>

Fantastic app! The only thing that I’m missing is a setting for overriding the time the sun rises. Im awake a few hours before the sun rises and it would be great to adjust the light for that.

Basically like in the setting `sunrise_time` in the Home Assistant integration, this is based on.

---

<div class="post-metadata">

**Author:** ![Damian\_Surma](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/damian_surma/32/48817_2.png) [@Damian\_Surma](https://community.homey.app/u/Damian_Surma)\
**Post date:** [August 3, 2023, 11:03pm UTC](https://community.homey.app/t/app-pro-circadian-lighting/74816/45 "2023-08-03T23:03:14Z")

</div>

I have a question, how to get such an element in flow where you can enter these parameters in one lighting window? My all lamps and bulbs only have percentage setting options.

---

<div class="post-metadata">

**Author:** ![Damian\_Surma](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/damian_surma/32/48817_2.png) [@Damian\_Surma](https://community.homey.app/u/Damian_Surma)\
**Post date:** [August 3, 2023, 11:06pm UTC](https://community.homey.app/t/app-pro-circadian-lighting/74816/46 "2023-08-03T23:06:28Z")

</div>

I have a question, how to get such an element in flow where in the lighting window you can enter the dim level parameter? My all lamps and bulbs only have percentage setting options.

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [August 4, 2023, 5:43am UTC](https://community.homey.app/t/app-pro-circadian-lighting/74816/47 "2023-08-04T05:43:28Z")

</div>

When using the slider, the percentage is shown. Internally, the range 0…1 is used. Using a token instead of slider, you can pass a token with values in range 0…1.  
So you can use the circadian device token directly. Vlick in the token icon beside the slider and you can add it instead of selecting a value manually.

---

<div class="post-metadata">

**Author:** ![Damian\_Surma](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/damian_surma/32/48817_2.png) [@Damian\_Surma](https://community.homey.app/u/Damian_Surma)\
**Post date:** [August 4, 2023, 11:12pm UTC](https://community.homey.app/t/app-pro-circadian-lighting/74816/48 "2023-08-04T23:12:33Z")

</div>

Exactly, I looked at it over and over and didn’t see the tocen icon. Now it’s clear. I have another question, do you know if in the adaptive setting, you can shift the distribution of divisions into stages? I have the impression that the light gets warm and dim too quickly.

---

<div class="post-metadata">

**Author:** ![Vitaliy\_Yakovchuk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/vitaliy_yakovchuk/32/87193_2.png) [@Vitaliy\_Yakovchuk](https://community.homey.app/u/Vitaliy_Yakovchuk)\
**Post date:** [September 23, 2023, 8:13am UTC](https://community.homey.app/t/app-pro-circadian-lighting/74816/49 "2023-09-23T08:13:45Z")

</div>

Hi,

Thank you for creating such a great project!

I’m looking to enhance the application with the ability to manually set temperature and brightness within specific time intervals. For instance, in the morning, I want to utilize full brightness even though it might still be dark outside, and the same applies during working hours.

To this end, I’ve been experimenting with extending the functionality of the application. In my [fork](https://github.com/Vitaliy-Yakovchuk/net.alistairs.circadian/tree/main), I’ve introduced a new device type: “Circadian Timing Zone”.  
This addition provides three options to the original “Circadian Zone”:

- Fade Duration
- Timing JSON
- Timing JSON for Night Mode

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/e/2efb9c00963afc99e0de60955de1c6bd91f8a1db.png)

Within the JSON, adjustments can be made for the given intervals.

Here’s a JSON configuration example:

```json
{
    "01:00": {
        "temperature": "circadian",
        "brightness": 0.05
    },
    "06:00": {
        "temperature": 0,
        "brightness": 1
    },
    "19:00": {
        "temperature": 0.65,
        "brightness": 0.9
    },
    "20:00": {
        "temperature": 0.75,
        "brightness": 0.85
    },
    "21:00": {
        "temperature": "circadian",
        "brightness": 0.73
    },
    "22:00": {
        "temperature": "circadian",
        "brightness": "circadian"
    }
}

```

In this configuration, from 01:00, the device will utilize 5% brightness (0.05), maintaining the circadian temperature. From 06:00, it will operate at maximum brightness and the coolest temperature. Starting from 21:00, the device will use circadian temperature with 73% brightness, and from 22:00, it will fully revert to the original circadian options.

If the JSON fields are left empty, the device will operate as initially implemented, with only circadian lighting.

The “Fade Duration” option is introduced to prevent abrupt transitions or blinking when it’s time to switch. The light will gradually adjust during this duration. For instance, if “Fade Duration” is set to 60 (minutes), the light will begin to increase in brightness from 0.05 to 1 starting at 05:00, reaching full brightness at 06:00 (±3 minutes).

I’m interested in your thoughts on this. I could create a PR to merge these changes upstream (some refinements would still be needed in that case). I’m also willing to refactor the code to integrate these options with the original device. It will continue to operate as is if the JSONs are left empty.

What do you think?

---

<div class="post-metadata">

**Author:** ![Niclas](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/niclas/32/13339_2.png) [@Niclas](https://community.homey.app/u/Niclas)\
**Post date:** [September 24, 2023, 7:23am UTC](https://community.homey.app/t/app-pro-circadian-lighting/74816/50 "2023-09-24T07:23:14Z")

</div>

I’m using this app and I think that would be a very nice addition.

---

<div class="post-metadata">

**Author:** ![Jumpingtrees](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jumpingtrees/32/79538_2.png) [@Jumpingtrees](https://community.homey.app/u/Jumpingtrees)\
**Post date:** [January 20, 2024, 4:12pm UTC](https://community.homey.app/t/app-pro-circadian-lighting/74816/51 "2024-01-20T16:12:38Z")

</div>

Hello,

when I discovered this app I was quite happy as I am hoping to get a substitute for the natural lightning from the Hue app as the scene is not accessible through the Hue API. Somehow I am not able to make it work. Maybe somebody can help out.

I’ve added a circadian zone to my home.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/b/4b203a0a319fcdb99a31fab483b66b0c393300eb.png)

I’ve then created a flow with the trigger “circadian values changed”. Using the tag #Brigthness to set the dim level and do a calculation as described in this thread to get the color temperature.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/a/3ad9e33a9c06f06ed6c87b0e90ef052bb8b2166f.png)

When trying to start the flow the brightness seems to not be available. Setting the brightness to 1 and 100 seem to set maximum brightness, but the color temperature seems not to work.

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/0/5085268145cdb1f8e95888edff02cee258878e7a.png)

The result of the color calculation is 0.08. Maybe a factor of 10 to low?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/5/75160e7a59baf523a660b720310e2e993334de53.png)

Could somebody post a working flow and give me a hint why the brightness is not available when starting the flow?

BR  
Marco

---

<div class="post-metadata">

**Author:** ![Torch1969](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torch1969/32/33305_2.png) [@Torch1969](https://community.homey.app/u/Torch1969)\
**Post date:** [January 20, 2024, 6:02pm UTC](https://community.homey.app/t/app-pro-circadian-lighting/74816/52 "2024-01-20T18:02:27Z")

</div>

@Jumpingtrees  
For dim value it is good to know that in homey a dimlevel is always betweeen 0 (0%) and 1 (100%).

If you test a flow with triggercards and a trigger card has tags, you always have to enter a testvalue for that tag. If you want to use the actual value from the device, select the capability (brightness) from the device itself (like you did with colour temperature) in your flow.

The colour temperature depends on which type of colour temperature your lamp device needs. I have light bulb who can handle the colour temperature directly, and light bulbs who need the converted one.

---

<div class="post-metadata">

**Author:** ![Bence\_Molnar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bence_molnar/32/78988_2.png) [@Bence\_Molnar](https://community.homey.app/u/Bence_Molnar)\
**Post date:** [January 22, 2024, 4:44pm UTC](https://community.homey.app/t/app-pro-circadian-lighting/74816/53 "2024-01-22T16:44:11Z")

</div>

Hello for everybody!  
The app is perfect, I love it!

However I dont understand everything.  
Is there any manual how to use perfect by the app writer / owner?  
I miss some technical informations. Hard to find in forum the app capabilities and problems when only a user stupid because he dont know how the app working perfectly 🙂

What can trigger my added circudian zones “devices” what I use always by “adaptive” to set manual?  
I always use these adaptive, and today all of the “devices” zonas was on manual, however I did not log in to homey…

Thanks! 🙂  
Bence

---

<div class="post-metadata">

**Author:** ![Brian\_Chaney](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/brian_chaney/32/78960_2.png) [@Brian\_Chaney](https://community.homey.app/u/Brian_Chaney)\
**Post date:** [April 16, 2024, 8:48pm UTC](https://community.homey.app/t/app-pro-circadian-lighting/74816/54 "2024-04-16T20:48:55Z")

</div>

Dose this app only work for Hue Lights? I am trying to use this for my Wiz down lights but the app is not available when I try to do a flow.

Any help would be appreciated!

---

<div class="post-metadata">

**Author:** ![Torch1969](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torch1969/32/33305_2.png) [@Torch1969](https://community.homey.app/u/Torch1969)\
**Post date:** [April 17, 2024, 3:36pm UTC](https://community.homey.app/t/app-pro-circadian-lighting/74816/55 "2024-04-17T15:36:53Z")

</div>

@Brian_Chaney the app works for all devices with corresponding capabilities (dim level, colour temperature). See [my example](https://community.homey.app/t/app-pro-circadian-lighting/74816/23) for instance.

What do you mean with “ the app is not available?” Do you have a example or screenshot of what you’re trying to do?

---

<div class="post-metadata">

**Author:** ![Brian\_Chaney](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/brian_chaney/32/78960_2.png) [@Brian\_Chaney](https://community.homey.app/u/Brian_Chaney)\
**Post date:** [April 17, 2024, 4:20pm UTC](https://community.homey.app/t/app-pro-circadian-lighting/74816/56 "2024-04-17T16:20:32Z")

</div>

Hi Torch,

I have a Color and Tunable White 65W Equivalent 5/6 inch Integrated LED Dimmable Smart Wi-Fi Wiz Connected Remodel Downlight Kit and when I try to build a Flow your app is not there to choose from, so I can not build the flow.

Any idea what is wrong?

---

<div class="post-metadata">

**Author:** ![Torch1969](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torch1969/32/33305_2.png) [@Torch1969](https://community.homey.app/u/Torch1969)\
**Post date:** [April 17, 2024, 5:30pm UTC](https://community.homey.app/t/app-pro-circadian-lighting/74816/57 "2024-04-17T17:30:16Z")

</div>

Hello @Brian_Chaney  
First of all, this is not my app, I’m just a fellow user trying to help a new user of this app.

Did you add a “circadian zone” device already? If not, add this device and set the settings and then the trigger cards should be available.

Use one of the trigger cards in your flow and set the dim and/or colour values of your light with the flow cards of your light device, using the capabilities of the circadian zone device.

---

<div class="post-metadata">

**Author:** ![Brian\_Chaney](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/brian_chaney/32/78960_2.png) [@Brian\_Chaney](https://community.homey.app/u/Brian_Chaney)\
**Post date:** [April 17, 2024, 6:05pm UTC](https://community.homey.app/t/app-pro-circadian-lighting/74816/58 "2024-04-17T18:05:14Z")

</div>

Hi Torch,

I did add the app to my homey, but you said add the device and set the settings. That is where I get lost, can you elaborate?

Thanks!

---

<div class="post-metadata">

**Author:** ![Torch1969](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torch1969/32/33305_2.png) [@Torch1969](https://community.homey.app/u/Torch1969)\
**Post date:** [April 17, 2024, 7:23pm UTC](https://community.homey.app/t/app-pro-circadian-lighting/74816/59 "2024-04-17T19:23:45Z")

</div>

In devices screen of homey choose to add a device. Select the circadian lighting app and then select the circadian zone device to add. This device is needed to get the circadian lighting triggers and values.

---

<div class="post-metadata">

**Author:** ![Brian\_Chaney](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/brian_chaney/32/78960_2.png) [@Brian\_Chaney](https://community.homey.app/u/Brian_Chaney)\
**Post date:** [April 17, 2024, 7:51pm UTC](https://community.homey.app/t/app-pro-circadian-lighting/74816/60 "2024-04-17T19:51:28Z")

</div>

The device was already part of my flow, I just found the circadian lighting app yesterday and added to my homey, that’s the point the circadian lighting app dose not show up when I try to edited the flow.

See attached snip shot.

 ![Then](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/d/dd6b84d849d607a4c91bd2ec24a24611f24ca354.png)  
 ![When](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/f/1fe6081d432ffd5bad2ad5a4558d5a79b6feff98.png)

[Previous page](https://community.homey.app/t/app-pro-circadian-lighting/74816.md?page=2)

[Next page](https://community.homey.app/t/app-pro-circadian-lighting/74816.md?page=4)
