# Troubleshooting a wake-up alarm

**URL:** https://discourse.nodered.org/t/troubleshooting-a-wake-up-alarm/13225
**Category:** General
**Created:** [12 July 2019 16:26 UTC](https://discourse.nodered.org/t/troubleshooting-a-wake-up-alarm/13225 "2019-07-12T16:26:53Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![bluenote73](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bluenote73/32/10100_2.png) [@bluenote73](https://discourse.nodered.org/u/bluenote73)
#### Post date: [12 July 2019 16:26 UTC](https://discourse.nodered.org/t/troubleshooting-a-wake-up-alarm/13225/1 "2019-07-12T16:26:54Z")

</div>

Phew! First couple days with node-red and I'm mostly converted over as far as my mission critical functions. I imported a wake-up alarm from here: [https://www.wouterbulten.nl/blog/tech/custom-wake-up-light-with-node-red/](https://www.wouterbulten.nl/blog/tech/custom-wake-up-light-with-node-red/)

But while the 1% turn on works, the get/increase light setting does not.  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/2/2981a261e598f0b6e2e706d6a00cfa3c3f098946.png)

This is the error I get: 7/12/2019, 9:25:02 AM[node: Get new light setting](http://xxxxx:1880/#)msg : string[55]

"Error get-template: Request failed with status code 500"

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/9/945530c55a53ccfc26ee077cf55c57e5e0bd7956.png)

Thanks for any help!

---

<div class="post-metadata">

### Author: ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)
#### Post date: [12 July 2019 17:16 UTC](https://discourse.nodered.org/t/troubleshooting-a-wake-up-alarm/13225/2 "2019-07-12T17:16:37Z")

</div>

what is the (readable) debug output of the `1 minute loop` and what does the `Get new light setting node` accept as input ?

---

<div class="post-metadata">

### Author: ![bluenote73](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bluenote73/32/10100_2.png) [@bluenote73](https://discourse.nodered.org/u/bluenote73)
#### Post date: [12 July 2019 21:12 UTC](https://discourse.nodered.org/t/troubleshooting-a-wake-up-alarm/13225/3 "2019-07-12T21:12:33Z")

</div>

Hopefully I'm doing this right. Here's debug output from 1 minute loop:  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/a/a69895cc66b0a4a61ee921b2f36ccfd16759604e.png)

I don't know how to answer your second question, sorry (do you mind directing me how to do so?)
