# Bigtimer output issue when off manually override

**URL:** <https://discourse.nodered.org/t/bigtimer-output-issue-when-off-manually-override/35117>\
**Category:** General\
**Created:** [31 October 2020 10:54 UTC](https://discourse.nodered.org/t/bigtimer-output-issue-when-off-manually-override/35117 "2020-10-31T10:54:09Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![cranx](https://avatars.discourse-cdn.com/v4/letter/c/a587f6/32.png) [@cranx](https://discourse.nodered.org/u/cranx)\
**Post date:** [31 October 2020 10:54 UTC](https://discourse.nodered.org/t/bigtimer-output-issue-when-off-manually-override/35117/1 "2020-10-31T10:54:09Z")

</div>

Hello all,

I've an issue with the Bigtimer palette.

For some reason and I really cannot figure out why, the Bigtimer is sending out an off payload while the Bigtimer has been "Off Manually Override" by an input signal "Manual".

As I can read in the instructions of Bigtimer when you send a "Manual" input the timer should pause/stop, but then why is it sending out an Off payload causing my lights to go off while the timer shouldn't do anything..

Hope to solve the issue with you guys, thanks!

Cranx

---

<div class="post-metadata">

**Author:** ![cranx](https://avatars.discourse-cdn.com/v4/letter/c/a587f6/32.png) [@cranx](https://discourse.nodered.org/u/cranx)\
**Post date:** [31 October 2020 11:27 UTC](https://discourse.nodered.org/t/bigtimer-output-issue-when-off-manually-override/35117/2 "2020-10-31T11:27:02Z")

</div>

Just to give some extra information, see below the flow. Either way, when pressing home/not-home the output of the timer will be "off" causing my lights to go off. Also when the timer is set off manual override, at the set "on" time (-30 min before sunset) the timer sends out an "off" message, again turning off my lights while i'm home and it is getting dark...

```auto
[{"id":"118d7317.d3079d","type":"inject","z":"f999a0c9.0779c","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"not_home","payloadType":"str","x":300,"y":700,"wires":[["df9574ff.f6a198"]]},{"id":"6c43d1db.e88a3","type":"inject","z":"f999a0c9.0779c","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"home","payloadType":"str","x":310,"y":740,"wires":[["df9574ff.f6a198"]]},{"id":"7c4df4a4.b37fbc","type":"bigtimer","z":"f999a0c9.0779c","outtopic":"","outpayload1":"on","outpayload2":"off","name":"Niet-thuis licht","comment":"","lat":"51.616119","lon":"5.541820","starttime":"5004","endtime":"1410","starttime2":0,"endtime2":0,"startoff":"-30","endoff":"60","startoff2":0,"endoff2":0,"offs":0,"outtext1":"","outtext2":"","timeout":1440,"sun":true,"mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"jan":true,"feb":true,"mar":true,"apr":true,"may":true,"jun":true,"jul":true,"aug":true,"sep":true,"oct":true,"nov":true,"dec":true,"day1":0,"month1":0,"day2":0,"month2":0,"day3":0,"month3":0,"day4":0,"month4":0,"day5":0,"month5":0,"day6":0,"month6":0,"day7":0,"month7":0,"day8":0,"month8":0,"day9":0,"month9":0,"day10":0,"month10":0,"day11":0,"month11":0,"day12":0,"month12":0,"d1":0,"w1":0,"d2":0,"w2":0,"d3":0,"w3":0,"d4":0,"w4":0,"d5":0,"w5":0,"d6":0,"w6":0,"xday1":0,"xmonth1":0,"xday2":0,"xmonth2":0,"xday3":0,"xmonth3":0,"xday4":0,"xmonth4":0,"xday5":0,"xmonth5":0,"xday6":0,"xmonth6":0,"xd1":0,"xw1":0,"xd2":0,"xw2":0,"xd3":0,"xw3":0,"xd4":0,"xw4":0,"xd5":0,"xw5":0,"xd6":0,"xw6":0,"suspend":false,"random":true,"randon1":false,"randoff1":false,"randon2":false,"randoff2":false,"repeat":false,"atstart":false,"odd":false,"even":false,"x":660,"y":820,"wires":[["4b5580f9.3ce7f"],[],[]]},{"id":"e2abfdff.7518b","type":"change","z":"f999a0c9.0779c","name":"Auto","rules":[{"t":"change","p":"payload","pt":"msg","from":"not_home","fromt":"str","to":"auto","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":470,"y":840,"wires":[["7c4df4a4.b37fbc"]]},{"id":"164d7912.403087","type":"change","z":"f999a0c9.0779c","name":"Manual","rules":[{"t":"change","p":"payload","pt":"msg","from":"home","fromt":"str","to":"manual","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":480,"y":800,"wires":[["7c4df4a4.b37fbc"]]},{"id":"df9574ff.f6a198","type":"switch","z":"f999a0c9.0779c","name":"Thuis/weg","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"home","vt":"str"},{"t":"eq","v":"not_home","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":290,"y":820,"wires":[["164d7912.403087"],["e2abfdff.7518b","f0968976.f6bef8"]]},{"id":"4b5580f9.3ce7f","type":"debug","z":"f999a0c9.0779c","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":810,"y":720,"wires":[]}]

```

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [31 October 2020 21:12 UTC](https://discourse.nodered.org/t/bigtimer-output-issue-when-off-manually-override/35117/3 "2020-10-31T21:12:43Z")

</div>

For me, with that flow, when I press `home`, bigtimer is sending "on". Is that not what you are seeing? If not then are you using the latest version of bigtimer (2.6.0)?

**[Edit]** The above was when tested at a time when the schedule was on. The status by the node changes from `On for ..hours ..mins` to `On Man.override`.  
If I test it when in a Off period then then it is Off when in auto and stays off when in manual. What are you seeing the status doing?

---

<div class="post-metadata">

**Author:** ![cranx](https://avatars.discourse-cdn.com/v4/letter/c/a587f6/32.png) [@cranx](https://discourse.nodered.org/u/cranx)\
**Post date:** [31 October 2020 23:11 UTC](https://discourse.nodered.org/t/bigtimer-output-issue-when-off-manually-override/35117/4 "2020-10-31T23:11:09Z")

</div>

Yes I'm using the latest version 2.6.0.

When I press `home` while inside or outside (doens't matter) the Bigtime times, the output will be `off` causing my lights to switch off when I'm home.

The Bigtimer shows `OFF Man. override` when pressing `home` but still outputs `off`, just don't know why. I want the timer to be off while at home, not the lights 🙂

---

<div class="post-metadata">

**Author:** ![gerry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gerry/32/21604_2.png) [@gerry](https://discourse.nodered.org/u/gerry)\
**Post date:** [1 November 2020 00:31 UTC](https://discourse.nodered.org/t/bigtimer-output-issue-when-off-manually-override/35117/5 "2020-11-01T00:31:27Z")

</div>

I've got to go with @Colin here, I loaded the flow and when I press the home I see the message "on" as well. Did you send us the entire flow? Also, if I delete the connection between the change node manual, and the timer, I get the output to go off. It seems there is some issue in your change nodes that even when you press home, the not\_home node outputs. You need to play with your settings a little to see if you can resolve that conflict.  
[EDIT]  
One thought, you have the switch node route the home and not\_home message to different outputs, then you have the change node look for a specific payload then change that to on or off. Since you have routed the message already why not set the change node to SET and then set the output to either on or off. When I tried this it seems to work as expected every time. Of course I may be wrong but give it a try. Also, I would set the not\_home message to auto which causes the timer to run in timer mode, and off sets the timer to off. On and Off doesn't seem to me to be what you are looking for. But maybe you could explain further.

```auto
[{"id":"4d2c93d9.40d544","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"118d7317.d3079d","type":"inject","z":"4d2c93d9.40d544","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"not_home","payloadType":"str","x":260,"y":120,"wires":[["df9574ff.f6a198"]]},{"id":"6c43d1db.e88a3","type":"inject","z":"4d2c93d9.40d544","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"home","payloadType":"str","x":270,"y":160,"wires":[["df9574ff.f6a198"]]},{"id":"7c4df4a4.b37fbc","type":"bigtimer","z":"4d2c93d9.40d544","outtopic":"","outpayload1":"on","outpayload2":"off","name":"Niet-thuis licht","comment":"","lat":"51.616119","lon":"5.541820","starttime":"5004","endtime":"1410","starttime2":0,"endtime2":0,"startoff":"-30","endoff":"60","startoff2":0,"endoff2":0,"offs":0,"outtext1":"","outtext2":"","timeout":1440,"sun":true,"mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"jan":true,"feb":true,"mar":true,"apr":true,"may":true,"jun":true,"jul":true,"aug":true,"sep":true,"oct":true,"nov":true,"dec":true,"day1":0,"month1":0,"day2":0,"month2":0,"day3":0,"month3":0,"day4":0,"month4":0,"day5":0,"month5":0,"day6":0,"month6":0,"day7":0,"month7":0,"day8":0,"month8":0,"day9":0,"month9":0,"day10":0,"month10":0,"day11":0,"month11":0,"day12":0,"month12":0,"d1":0,"w1":0,"d2":0,"w2":0,"d3":0,"w3":0,"d4":0,"w4":0,"d5":0,"w5":0,"d6":0,"w6":0,"xday1":0,"xmonth1":0,"xday2":0,"xmonth2":0,"xday3":0,"xmonth3":0,"xday4":0,"xmonth4":0,"xday5":0,"xmonth5":0,"xday6":0,"xmonth6":0,"xd1":0,"xw1":0,"xd2":0,"xw2":0,"xd3":0,"xw3":0,"xd4":0,"xw4":0,"xd5":0,"xw5":0,"xd6":0,"xw6":0,"suspend":false,"random":true,"randon1":false,"randoff1":false,"randon2":false,"randoff2":false,"repeat":false,"atstart":false,"odd":false,"even":false,"x":620,"y":240,"wires":[[],[],[]]},{"id":"e2abfdff.7518b","type":"change","z":"4d2c93d9.40d544","name":"Auto","rules":[{"t":"set","p":"payload","pt":"msg","to":"auto","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":430,"y":260,"wires":[["7c4df4a4.b37fbc"]]},{"id":"164d7912.403087","type":"change","z":"4d2c93d9.40d544","name":"Manual","rules":[{"t":"set","p":"payload","pt":"msg","to":"off","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":440,"y":220,"wires":[["7c4df4a4.b37fbc"]]},{"id":"df9574ff.f6a198","type":"switch","z":"4d2c93d9.40d544","name":"Thuis/weg","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"home","vt":"str"},{"t":"eq","v":"not_home","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":250,"y":240,"wires":[["164d7912.403087"],["e2abfdff.7518b"]]}]

```

---

<div class="post-metadata">

**Author:** ![cranx](https://avatars.discourse-cdn.com/v4/letter/c/a587f6/32.png) [@cranx](https://discourse.nodered.org/u/cranx)\
**Post date:** [1 November 2020 11:55 UTC](https://discourse.nodered.org/t/bigtimer-output-issue-when-off-manually-override/35117/6 "2020-11-01T11:55:09Z")

</div>

The issue is that when I press `home` the timer gives an `off` output as can been seen in the debug node. What should happen (what I want) is that when `home` is pressed, the timer pauses/stops untill I press `not_home` as the message will be `auto` and sets the timer back to it's schedule.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [1 November 2020 12:21 UTC](https://discourse.nodered.org/t/bigtimer-output-issue-when-off-manually-override/35117/7 "2020-11-01T12:21:13Z")

</div>

> [@cranx](#):
>
> The issue is that when I press `home` the timer gives an `off`

Is that running _exactly_ the flow you exported in your second post? If you think it is can you re-import it from here into a new tab in the editor and test it again. If it fails then post a screenshot. Showing us what is happening, after you press not\_home then another after pressing home.

---

<div class="post-metadata">

**Author:** ![cranx](https://avatars.discourse-cdn.com/v4/letter/c/a587f6/32.png) [@cranx](https://discourse.nodered.org/u/cranx)\
**Post date:** [1 November 2020 13:44 UTC](https://discourse.nodered.org/t/bigtimer-output-issue-when-off-manually-override/35117/8 "2020-11-01T13:44:43Z")

</div>

Yes that is the exact flow. Tried in a new tab but get the same problem. When pressing `not_home` the timer gives an `off` output which is correct because it is now daylight and when not home the lights should be off. Then when pressing `home` it also sends out an `off` message turning the lights off when home, see below screenshots:

 ![not_home](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/5/451dde23684f2bdc428d2cc26e05f938f3599ae6.png)  
 ![home](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/2/1261475913ebcb3e99e957c4f3d2b99109766b70.png)

Even if I try input STOP or OFF it will still output `off` when I want it to do nothing. Am I using the wrong timer here? Is this timer not capable of doing what I want?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [1 November 2020 13:50 UTC](https://discourse.nodered.org/t/bigtimer-output-issue-when-off-manually-override/35117/9 "2020-11-01T13:50:34Z")

</div>

That is exactly as the node spec says. Putting it into manual just holds it at the current output, so if it is Off when in Auto mode then putting into manual will just send the same again.

I have just seen your edit, do you mean it is not the fact that in manual the state is off, but the fact that when you switch it to manual it sends Off even though the output was already off? If that is all the problem is then you could put an RBE node on the output so it won't pass the same value again.

---

<div class="post-metadata">

**Author:** ![cranx](https://avatars.discourse-cdn.com/v4/letter/c/a587f6/32.png) [@cranx](https://discourse.nodered.org/u/cranx)\
**Post date:** [1 November 2020 13:56 UTC](https://discourse.nodered.org/t/bigtimer-output-issue-when-off-manually-override/35117/10 "2020-11-01T13:56:22Z")

</div>

> but the fact that when you switch it to manual it sends Off even though the output was already off

That is exactly what I mean. The first output was already Off and it is sending again an Off output causing the lights to go Off while home. RBE node should solves this, thanks for pointing that node out to me!

Although it would be nice if this could me incorperated into the timer node itself.

Let me try the RBE node and see if that solves my problem.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [1 November 2020 14:01 UTC](https://discourse.nodered.org/t/bigtimer-output-issue-when-off-manually-override/35117/11 "2020-11-01T14:01:30Z")

</div>

Generally for a node such as bigtimer the output should be considered a state not a command. the logic that picks the state up should combine it with any other relevant information (such as whether you are at home or not) when deciding what to do.

---

<div class="post-metadata">

**Author:** ![cranx](https://avatars.discourse-cdn.com/v4/letter/c/a587f6/32.png) [@cranx](https://discourse.nodered.org/u/cranx)\
**Post date:** [1 November 2020 14:20 UTC](https://discourse.nodered.org/t/bigtimer-output-issue-when-off-manually-override/35117/12 "2020-11-01T14:20:12Z")

</div>

Ah okee, now I understand the working principle of the timer. To solve the issue I added an `current state` node after the timer to check if nobody is at home, if nobody is at home the message will be passed through to switch off the lights during daylight.

Thanks for helping out!

Edit: btw, using Home Assistant palette

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [15 November 2020 14:20 UTC](https://discourse.nodered.org/t/bigtimer-output-issue-when-off-manually-override/35117/13 "2020-11-15T14:20:35Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
