Issue with BigTimer - First Output not sending any messages

1,296 views
Skip to first unread message

Scott

unread,
Apr 6, 2018, 2:28:50 PM4/6/18
to Node-RED
Hi All,

I'm sort of new to Node-Red and FUC*ING LOVE IT!!  It's just what I needed to kick my Home Assistant automation up a notch, and just make them easier to figure out.... anyhow, that's not why I'm posting here...

The reason is that I came across BigTimer (which is pretty awesome, as I'm sure many of you know) but the problem I'm having is that no matter what I try, I cant get ANY output through the First output of the node.
I've done some troubleshooting, and I find that no matter what time setting I try, or manual inputs I push through bigtimer, I NEVER get anything out of the first (topmost) output on bigtimer. If I connect debug to the second output, I get the message as intended, at switch time, and every minute as well, and when I manually push ON or OFF through input. But in any of those circumstances, I NEVER see any output through the first output... Any ideas why this isn't working?

As a workaround, I have put an RBE node attached to the second output to simulate a working first output.  But its cumbersome and doesn't work well with manual input commands.

PS - I have tried this on several different new bigtimer nodes, and even on multiple tabs and flows... I get the same results each time. Thanks for any advice!!



NRv0.18.4 Running on Hassio (Docker) with BigTimer v1.8.1



















This is a cross-post from a comment I left on Peter's blog... he responded quickly to my comment there, but was unable to help.

Scott

unread,
Apr 6, 2018, 2:31:20 PM4/6/18
to Node-RED
Er... I immediately regret cursing in my first post here... sorry... I just get really excited about Node-Red!!!

urs.epp...@switch.ch

unread,
Apr 6, 2018, 3:10:31 PM4/6/18
to Node-RED
Hello Scott
I'm using bigtimer too for some home automation tasks. And yes, the topmost output is where the messages with the configured payload appear. So obviously I'm puzzled about your problem as are probably others too.
Please post the flow with your five nodes, then I can import it on my system and have a look at the configuration.
The answer might be delayed until Monday, there is still a lot of snow in the Swiss mountains and I intend to get onto a peak since the weather is fine.
Kind regards,
Urs.

Scott

unread,
Apr 6, 2018, 3:16:22 PM4/6/18
to Node-RED
Thank you for the offer to help...  below are the nodes I'm testing with... 

Enjoy the mountains, first and foremost!!

[{"id":"aaabcd85.ff007","type":"bigtimer","z":"4f7665b.ff2899c","outtopic":"","outpayload1":"","outpayload2":"","name":"Big Timer","lat":"42.81846","lon":"-73.89403","starttime":"1290","endtime":"1380","startoff":0,"endoff":"-9","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,"d1":0,"w1":0,"d2":0,"w2":0,"d3":0,"w3":0,"d4":0,"w4":0,"d5":0,"w5":0,"suspend":false,"random":false,"repeat":true,"atstart":true,"odd":false,"even":false,"x":404.5,"y":462.5,"wires":[["f075fc39.3f54"],["e77ec12c.33466"],[]]},{"id":"63750f44.6140b","type":"inject","z":"4f7665b.ff2899c","name":"","topic":"","payload":"on","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":229.5,"y":429,"wires":[["aaabcd85.ff007"]]},{"id":"30ac95aa.dbdb4a","type":"inject","z":"4f7665b.ff2899c","name":"","topic":"","payload":"off","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":228.5,"y":482,"wires":[["aaabcd85.ff007"]]},{"id":"f075fc39.3f54","type":"debug","z":"4f7665b.ff2899c","name":"once","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":621.5,"y":426,"wires":[]},{"id":"e77ec12c.33466","type":"debug","z":"4f7665b.ff2899c","name":"repeat","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":619,"y":483,"wires":[]}]

Flynn

unread,
Apr 6, 2018, 4:50:44 PM4/6/18
to Node-RED
You haven't configured big timer correctly..  here is one of my flows which output on and off commands...

[{"id":"7055426f.25a67c","type":"bigtimer","z":"7f4ac226.7916fc","outtopic":"pool/pump","outpayload1":"ON","outpayload2":"OFF","name":"Pool Pump Timer","lat":"46.1222","lon":"-1.0516","starttime":"600","endtime":"1020","startoff":0,"endoff":0,"offs":0,"outtext1":"ON","outtext2":"OFF","timeout":1440,"sun":true,"mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"jan":false,"feb":false,"mar":true,"apr":true,"may":true,"jun":true,"jul":true,"aug":true,"sep":true,"oct":false,"nov":false,"dec":false,"day1":0,"month1":0,"day2":0,"month2":0,"day3":0,"month3":0,"day4":0,"month4":0,"day5":0,"month5":0,"d1":0,"w1":0,"d2":0,"w2":0,"d3":0,"w3":0,"d4":0,"w4":0,"d5":0,"w5":0,"suspend":false,"random":false,"repeat":true,"atstart":true,"odd":false,"even":false,"x":530,"y":80,"wires":[["b7d85ea3.d21e5"],[],["1fb31bb.b8156e4"]]},{"id":"b7d85ea3.d21e5","type":"mqtt out","z":"7f4ac226.7916fc","name":"Pool Pump","topic":"cmnd/devboard_36/POWER2","qos":"1","retain":"","broker":"a5e63177.c349e","x":770,"y":40,"wires":[]},{"id":"ea08244d.781328","type":"inject","z":"7f4ac226.7916fc","name":"","topic":"","payload":"ON","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":170,"y":140,"wires":[["71c7ade4.2f4b34"]]},{"id":"9af1ccbb.b71f5","type":"inject","z":"7f4ac226.7916fc","name":"","topic":"","payload":"OFF","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":150,"y":40,"wires":[["26706714.b5c568"]]},{"id":"26706714.b5c568","type":"ui_button","z":"7f4ac226.7916fc","name":"","group":"bc8de484.4a1278","order":0,"width":"3","height":"1","passthru":true,"label":"Switch Pump OFF","color":"yellow","bgcolor":"grey","icon":"","payload":"OFF","payloadType":"str","topic":"","x":330,"y":40,"wires":[["7055426f.25a67c"]]},{"id":"71c7ade4.2f4b34","type":"ui_button","z":"7f4ac226.7916fc","name":"","group":"bc8de484.4a1278","order":0,"width":"3","height":"1","passthru":true,"label":"Switch Pump ON","color":"yellow","bgcolor":"grey","icon":"","payload":"ON","payloadType":"str","topic":"","x":330,"y":140,"wires":[["7055426f.25a67c"]]},{"id":"1fb31bb.b8156e4","type":"change","z":"7f4ac226.7916fc","name":"pump is now ...","rules":[{"t":"change","p":"payload","pt":"msg","from":"ON","fromt":"str","to":"Pool Pump is now on","tot":"str"},{"t":"change","p":"payload","pt":"msg","from":"OFF","fromt":"str","to":"Pool pump is now off","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":760,"y":100,"wires":[["2b8398e2.2d4e58"]]},{"id":"2b8398e2.2d4e58","type":"ui_audio","z":"7f4ac226.7916fc","name":"","group":"bc8de484.4a1278","voice":"en-GB","always":true,"x":840,"y":200,"wires":[]},{"id":"21f8adab.929472","type":"status","z":"7f4ac226.7916fc","name":"pool pump status","scope":["7055426f.25a67c"],"x":350,"y":269,"wires":[["9724adaf.69668"]]},{"id":"9724adaf.69668","type":"change","z":"7f4ac226.7916fc","name":"output status not msg","rules":[{"t":"set","p":"payload","pt":"msg","to":"status.text","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":550,"y":269,"wires":[["d64353fb.c0897"]]},{"id":"d64353fb.c0897","type":"ui_text","z":"7f4ac226.7916fc","group":"bc8de484.4a1278","order":0,"width":"6","height":"1","name":"","label":"Pump status","format":"{{msg.payload}}","layout":"row-center","x":740,"y":269,"wires":[]},{"id":"a5e63177.c349e","type":"mqtt-broker","z":"","name":"localhost","broker":"localhost","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"willTopic":"","willQos":"0","willPayload":"","birthTopic":"","birthQos":"0","birthPayload":""},{"id":"bc8de484.4a1278","type":"ui_group","z":"","name":"Pump","tab":"fa121ba6.b36f38","order":1,"disp":true,"width":"6","collapse":false},{"id":"fa121ba6.b36f38","type":"ui_tab","z":"","name":"Pool","icon":"dashboard","order":4}]

 

Colin Law

unread,
Apr 6, 2018, 5:17:43 PM4/6/18
to node...@googlegroups.com
Export the flow and post it here so we can try it.  Select the nodes then Ctrl+E (or do it from the hampburger menu).

Colin

--
http://nodered.org
 
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/8a83a1ae-688e-407c-bfc0-032bf709dec8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Scott

unread,
Apr 6, 2018, 10:49:44 PM4/6/18
to Node-RED
@Flynn - THANK YOU! my issue was super simple... I probably missed it from the documentation, but at least to me, it was not obvious - intuitively I would have thought a 1/0 would be sent out of the first output, just like the repeating output... But, one MUST have a value in the ON/OFF boxes for that first output to work at all.  Thank you again for sending your bigtimer for me to compare the config.

Colin Law

unread,
Apr 7, 2018, 2:25:47 AM4/7/18
to node...@googlegroups.com
On 7 April 2018 at 03:49, Scott <scott...@gmail.com> wrote:
@Flynn - THANK YOU! my issue was super simple... I probably missed it from the documentation, but at least to me, it was not obvious - intuitively I would have thought a 1/0 would be sent out of the first output, just like the repeating output... But, one MUST have a value in the ON/OFF boxes for that first output to work at all.  Thank you again for sending your bigtimer for me to compare the config.

I think it would be a bug in the node if it acted as you describe.  The fields define what to output. If you have nothing in the field then it should output nothing.

Colin

 

--
http://nodered.org
 
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
Reply all
Reply to author
Forward
0 new messages