Bigtimer output issue when off manually override

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!


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...

[{"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":[]}]

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?

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 :slightly_smiling_face:

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.
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.

[{"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"]]}]

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.

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.

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:

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?

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.

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.

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.

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

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