UI_LED (0.4.11) giving error "RangeError: Maximum call stack size exceeded" [SOLVED]

UI_LED (0.4.11) version giving error "RangeError: Maximum call stack size exceeded"

my input rate is 1 message per 10 second, alternating true and false
i now temporarily put a button node to show green and red color with change node providing msg.backgroundcolor and is working OK.

What is wrong with the LED settings ?

led

What is in your function node ?

What device is NR running on?
What node are you using to limit the msgs?
How long does it take till the error msg starts?
Are you sure the UI-LED is the culpret - If you click on the node id in the debug list does it highlight the ui-led node?

Since you limit msgs to one every 10 seconds, but the status seems to be flashing faster than every 10 seconds, you could possibly be creating a backlog of msgs filling memory.

Windows 10

Delay node setup to rate limit

immediately

Yes, the node id matches to Led node. and when i click on error message, this node gets highlighted as below

image

I noticed that too, but i have set the delay node to drop the intermediate messages.
here is the entire message object returned by the debug node

Note: In earlier message i had set for true and false inputs for LED, in the below example i have changed that to 0 and 1 (msg.payload), but the result is still the same.

the original message is getting generated by a Modbus TCP node reading a PLC memory node at 20 ms polling rate, later through RBE node is getting filtered to only TRUE values, the result is approximately 1 message per second, later in the flow getting reduced to 1 msg per 10 second. (note there are 2 rate limit nodes one for 0 and one for 1)

image

sorry, i did not reply to your query, since i have given even more information to another query.

Are you using the normal delay node?
What version of NR are you running?

Please export the chunk of the flow in your image and paste it into a reply.

image

i am using the core node delay only.

[{"id":"8bb839718b1d6c84","type":"subflow","name":"Live_Count","info":"","category":"","in":[{"x":50,"y":30,"wires":[{"id":"91da47723797bd66"}]}],"out":[{"x":720,"y":120,"wires":[{"id":"7ff01ba413762010","port":0}]},{"x":500,"y":30,"wires":[{"id":"a95679867733ddcb","port":0}]}],"env":[],"meta":{},"color":"#DDAA99"},{"id":"a95679867733ddcb","type":"Message Counter","z":"8bb839718b1d6c84","name":"","units":"minutes","interval":"1","alignToClock":true,"generator":"internal","x":220,"y":90,"wires":[["89c5696d146a6ec4"],["7ff01ba413762010"]]},{"id":"89c5696d146a6ec4","type":"change","z":"8bb839718b1d6c84","name":"","rules":[{"t":"set","p":"reset","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":560,"y":70,"wires":[["7ff01ba413762010"]]},{"id":"7ff01ba413762010","type":"counter","z":"8bb839718b1d6c84","inc":1,"name":"","x":560,"y":120,"wires":[[]]},{"id":"d775b584ecae4a59","type":"switch","z":"8bb839718b1d6c84","name":"","property":"payload","propertyType":"msg","rules":[{"t":"true"}],"checkall":"true","repair":false,"outputs":1,"x":280,"y":30,"wires":[["a95679867733ddcb"]]},{"id":"91da47723797bd66","type":"rbe","z":"8bb839718b1d6c84","name":"","func":"rbe","gap":"","start":"","inout":"out","septopics":true,"property":"payload","topi":"topic","x":160,"y":30,"wires":[["d775b584ecae4a59"]]},{"id":"5049cae6b8577308","type":"function","z":"32d2ad2e.c7ff22","name":"PLC Running ? M20","func":"msg.payload = msg.payload[20]\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":995,"y":300,"wires":[["b23fc6d55370ee92"]],"l":false},{"id":"c1d400b99b29dec9","type":"debug","z":"32d2ad2e.c7ff22","name":"Status","active":false,"tosidebar":false,"console":false,"tostatus":true,"complete":"bcolor","targetType":"msg","statusVal":"payload","statusType":"auto","x":1500,"y":220,"wires":[]},{"id":"f3d3091caa30f3b3","type":"ui_button","z":"32d2ad2e.c7ff22","name":"","group":"513419908d693a02","order":8,"width":"2","height":"2","passthru":false,"label":"{{plcstatus}}","tooltip":"","color":"","bgcolor":"{{bcolor}}","className":"","icon":"","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":1510,"y":280,"wires":[[]]},{"id":"f449e9d5fdf45179","type":"switch","z":"32d2ad2e.c7ff22","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"0","vt":"str"},{"t":"eq","v":"1","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":1145,"y":290,"wires":[["9c88e53c274c0587","1dfa0770160c1790"],["e827cbc9a8d25884","bf8af67adcf20e2c"]],"l":false},{"id":"e827cbc9a8d25884","type":"change","z":"32d2ad2e.c7ff22","name":"R","rules":[{"t":"set","p":"bcolor","pt":"msg","to":"red","tot":"str"},{"t":"set","p":"payload","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1310,"y":290,"wires":[["c1d400b99b29dec9","f3d3091caa30f3b3"]]},{"id":"9c88e53c274c0587","type":"change","z":"32d2ad2e.c7ff22","name":"G","rules":[{"t":"set","p":"bcolor","pt":"msg","to":"green","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":1310,"y":240,"wires":[["f3d3091caa30f3b3","c1d400b99b29dec9"]]},{"id":"1dfa0770160c1790","type":"delay","z":"32d2ad2e.c7ff22","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"10","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"allowrate":false,"outputs":1,"x":1350,"y":340,"wires":[["62ed4333c24ad0d9","7cd24a796c46e915"]]},{"id":"926e669be078adf4","type":"debug","z":"32d2ad2e.c7ff22","name":"","active":false,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":1370,"y":460,"wires":[]},{"id":"bf8af67adcf20e2c","type":"delay","z":"32d2ad2e.c7ff22","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"10","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"allowrate":false,"outputs":1,"x":1350,"y":380,"wires":[["62ed4333c24ad0d9","7cd24a796c46e915"]]},{"id":"b23fc6d55370ee92","type":"subflow:8bb839718b1d6c84","z":"32d2ad2e.c7ff22","name":"","env":[],"x":1035,"y":400,"wires":[["d4ab513797ac2922"],[]],"l":false},{"id":"d4ab513797ac2922","type":"function","z":"32d2ad2e.c7ff22","name":"","func":"msg.payload20 = msg.payload;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1095,"y":400,"wires":[["ef364ed2ce35d531"]],"l":false},{"id":"ef364ed2ce35d531","type":"calculator","z":"32d2ad2e.c7ff22","name":"","inputMsgField":"payload","outputMsgField":"payload","operation":"mod","constant":"2","round":false,"decimals":0,"x":1090,"y":450,"wires":[["926e669be078adf4","f449e9d5fdf45179"]]},{"id":"62ed4333c24ad0d9","type":"debug","z":"32d2ad2e.c7ff22","name":"","active":false,"tosidebar":true,"console":false,"tostatus":true,"complete":"true","targetType":"full","statusVal":"payload","statusType":"auto","x":1540,"y":350,"wires":[]},{"id":"7cd24a796c46e915","type":"ui_led","z":"32d2ad2e.c7ff22","order":9,"group":"513419908d693a02","width":"2","height":"2","label":"","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"#ff0000","value":"0","valueType":"num"},{"color":"#008000","value":"1","valueType":"num"}],"allowColorForValueInMessage":false,"shape":"circle","showGlow":true,"name":"","x":1540,"y":420,"wires":[]},{"id":"513419908d693a02","type":"ui_group","name":"SEL_PAR","tab":"d90e028674af84a9","order":1,"disp":false,"width":"61","collapse":false,"className":""},{"id":"d90e028674af84a9","type":"ui_tab","name":"LIVE","icon":"dashboard","order":1,"disabled":false,"hidden":false}]

by the way, if i use the same LED node with Cronplus input settings of 2 second alternating 0 and 1 pulse, it is working without any problem,

image

What happens if you bypass the delay nodes?

same error is shown

sorry, will try to post with original program logic, this is with 0 and 1 instead of true and false

Something else that might be useful would be to stop node red and start it again in a terminal. Wait till the error appears, then copy/paste the full terminal output here.

Sorry, I run the node red as a windows NSSM service. I am not aware of what is 'running in a terminal' mean. Can you pls explain how to do that ?

does that mean to run with DOS command ?

I don't use Windows so someone else will have to chip in. Don't the node red docs for running on Windows tell you that?


Welcome to Node-RED
===================

14 Dec 10:12:43 - [info] Node-RED version: v2.1.4
14 Dec 10:12:43 - [info] Node.js  version: v14.17.3
14 Dec 10:12:43 - [info] Windows_NT 10.0.19042 x64 LE
14 Dec 10:15:53 - [info] Loading palette nodes
14 Dec 10:16:00 - [info] Dashboard version 3.1.2 started at /ui
14 Dec 10:16:01 - [info] Settings file  : C:\Users\OEE.Hosur\.node-red\settings.js
14 Dec 10:16:01 - [info] Context store  : 'default' [module=localfilesystem]
14 Dec 10:16:01 - [info] User directory : \Users\OEE.Hosur\.node-red
14 Dec 10:16:01 - [warn] Projects disabled : editorTheme.projects.enabled=false
14 Dec 10:16:01 - [info] Flows file     : \Users\OEE.Hosur\.node-red\flows.json
14 Dec 10:16:01 - [info] +-----------------------------------------------------
14 Dec 10:16:01 - [info] | uibuilder v4.1.4 initialised
14 Dec 10:16:01 - [info] | root folder: \Users\OEE.Hosur\.node-red\uibuilder
14 Dec 10:16:01 - [info] | Using Node-RED's webserver at:
14 Dec 10:16:01 - [info] |   http://10.180.18.18:1880/ or http://localhost:1880/
14 Dec 10:16:01 - [info] | Installed packages:
14 Dec 10:16:01 - [info] |   jquery, socket.io
14 Dec 10:16:01 - [info] +-----------------------------------------------------
14 Dec 10:16:02 - [info] Server now running at http://127.0.0.1:1880/
14 Dec 10:16:02 - [info] Starting flows
14 Dec 10:16:02 - [info] [cronplus:48379b45fb9be286] createTask - index: 0, static: true, opt: {"name":"schedule1","topic":"schedule1","payloadType":"default","payload":"","expressionType":"cron","expression":"0 0 10 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
2021-12-14 04:46:02: Connecting to modbustcp slave at 10.180.18.50:502 unit_id: 0
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56942
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56939
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56936
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56934
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56932
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56930
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56928
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56926
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56924
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56920
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56917
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56914
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56912
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56909
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56906
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56904
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56903
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56901
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56899
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56897
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56828
14 Dec 10:16:03 - [info] [cronplus:6ae0de83c65eae55] createTask - index: 0, static: true, opt: {"name":"schedule1","topic":"schedule1","payloadType":"num","payload":"0","expressionType":"cron","expression":"0/2 * * * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:25ebd2f2c9249a1a] createTask - index: 0, static: true, opt: {"name":"schedule1","topic":"schedule1","payloadType":"num","payload":"1","expressionType":"cron","expression":"0/2 * * * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron-8 Hour] createTask - index: 0, static: true, opt: {"name":"schedule1","topic":"schedule1","payloadType":"str","payload":"A","expressionType":"cron","expression":"0 1 14 * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron-8 Hour] createTask - index: 1, static: true, opt: {"name":"schedule2","topic":"schedule2","payloadType":"str","payload":"B","expressionType":"cron","expression":"0 1 22 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron-8 Hour] createTask - index: 2, static: true, opt: {"name":"schedule3","topic":"schedule3","payloadType":"str","payload":"C","expressionType":"cron","expression":"0 1 6 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [warn] Unknown context store 'memory' specified. Using default store.
14 Dec 10:16:03 - [info] [cronplus:Cron- Every Hour - A Shift] createTask - index: 0, static: true, opt: {"name":"s1","topic":"s1","payloadType":"num","payload":"1","expressionType":"cron","expression":"0 1 7 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron- Every Hour - A Shift] createTask - index: 1, static: true, opt: {"name":"s2","topic":"s2","payloadType":"num","payload":"2","expressionType":"cron","expression":"0 1 8 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron- Every Hour - A Shift] createTask - index: 2, static: true, opt: {"name":"s3","topic":"s3","payloadType":"num","payload":"3","expressionType":"cron","expression":"0 1 9 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron- Every Hour - A Shift] createTask - index: 3, static: true, opt: {"name":"s4","topic":"s4","payloadType":"num","payload":"4","expressionType":"cron","expression":"0 1 10 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron- Every Hour - A Shift] createTask - index: 4, static: true, opt: {"name":"s5","topic":"s5","payloadType":"num","payload":"5","expressionType":"cron","expression":"0 1 11 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron- Every Hour - A Shift] createTask - index: 5, static: true, opt: {"name":"s6","topic":"s6","payloadType":"num","payload":"6","expressionType":"cron","expression":"0 1 12 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron- Every Hour - A Shift] createTask - index: 6, static: true, opt: {"name":"s7","topic":"s7","payloadType":"num","payload":"7","expressionType":"cron","expression":"0 1 13 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron- Every Hour - A Shift] createTask - index: 7, static: true, opt: {"name":"s8","topic":"s8","payloadType":"num","payload":"8","expressionType":"cron","expression":"0 1 14 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron-Every Hour - B Shift] createTask - index: 0, static: true, opt: {"name":"s1","topic":"s1","payloadType":"num","payload":"1","expressionType":"cron","expression":"0 1 15 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron-Every Hour - B Shift] createTask - index: 1, static: true, opt: {"name":"s2","topic":"s2","payloadType":"num","payload":"2","expressionType":"cron","expression":"0 1 16 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron-Every Hour - B Shift] createTask - index: 2, static: true, opt: {"name":"s3","topic":"s3","payloadType":"num","payload":"3","expressionType":"cron","expression":"0 1 17 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron-Every Hour - B Shift] createTask - index: 3, static: true, opt: {"name":"s4","topic":"s4","payloadType":"num","payload":"4","expressionType":"cron","expression":"0 1 18 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron-Every Hour - B Shift] createTask - index: 4, static: true, opt: {"name":"s5","topic":"s5","payloadType":"num","payload":"5","expressionType":"cron","expression":"0 1 19 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron-Every Hour - B Shift] createTask - index: 5, static: true, opt: {"name":"s6","topic":"s6","payloadType":"num","payload":"6","expressionType":"cron","expression":"0 1 20 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron-Every Hour - B Shift] createTask - index: 6, static: true, opt: {"name":"s7","topic":"s7","payloadType":"num","payload":"7","expressionType":"cron","expression":"0 1 21 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron-Every Hour - B Shift] createTask - index: 7, static: true, opt: {"name":"s8","topic":"s8","payloadType":"num","payload":"8","expressionType":"cron","expression":"0 1 22 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron-Every Hour - C Shift] createTask - index: 0, static: true, opt: {"name":"s1","topic":"s1","payloadType":"num","payload":"1","expressionType":"cron","expression":"0 1 23 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron-Every Hour - C Shift] createTask - index: 1, static: true, opt: {"name":"s2","topic":"s2","payloadType":"num","payload":"2","expressionType":"cron","expression":"0 1 00 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron-Every Hour - C Shift] createTask - index: 2, static: true, opt: {"name":"s3","topic":"s3","payloadType":"num","payload":"3","expressionType":"cron","expression":"0 1 01 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron-Every Hour - C Shift] createTask - index: 3, static: true, opt: {"name":"s4","topic":"s4","payloadType":"num","payload":"4","expressionType":"cron","expression":"0 1 02 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron-Every Hour - C Shift] createTask - index: 4, static: true, opt: {"name":"s5","topic":"s5","payloadType":"num","payload":"5","expressionType":"cron","expression":"0 1 03 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron-Every Hour - C Shift] createTask - index: 5, static: true, opt: {"name":"s6","topic":"s6","payloadType":"num","payload":"6","expressionType":"cron","expression":"0 1 04 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron-Every Hour - C Shift] createTask - index: 6, static: true, opt: {"name":"s7","topic":"s7","payloadType":"num","payload":"7","expressionType":"cron","expression":"0 1 05 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron-Every Hour - C Shift] createTask - index: 7, static: true, opt: {"name":"s8","topic":"s8","payloadType":"num","payload":"8","expressionType":"cron","expression":"0 1 06 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron-8 Hour] createTask - index: 0, static: true, opt: {"name":"schedule1","topic":"schedule1","payloadType":"str","payload":"A","expressionType":"cron","expression":"0 1 7,8,9,10,11,12,13,14 * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron-8 Hour] createTask - index: 1, static: true, opt: {"name":"schedule2","topic":"schedule2","payloadType":"str","payload":"B","expressionType":"cron","expression":"0 1 15,16,17,18,19,20,21,22 * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron-8 Hour] createTask - index: 2, static: true, opt: {"name":"schedule3","topic":"schedule3","payloadType":"str","payload":"C1","expressionType":"cron","expression":"0 1 23 * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron-8 Hour] createTask - index: 3, static: true, opt: {"name":"schedule4","topic":"schedule4","payloadType":"str","payload":"C2","expressionType":"cron","expression":"0 1 00,1,2,3,4,5,6 * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron- Every 15 Minutes] createTask - index: 0, static: true, opt: {"name":"schedule1","topic":"schedule1","payloadType":"default","payload":"","expressionType":"cron","expression":"0 0/15  * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron- Every 5 Minutes] createTask - index: 0, static: true, opt: {"name":"schedule1","topic":"schedule1","payloadType":"default","payload":"","expressionType":"cron","expression":"0  * * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron- Every Minute] createTask - index: 0, static: true, opt: {"name":"schedule1","topic":"schedule1","payloadType":"global","payload":"time","expressionType":"cron","expression":"0 * * * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron- Every Minute] createTask - index: 0, static: true, opt: {"name":"schedule1","topic":"schedule1","payloadType":"default","payload":"","expressionType":"cron","expression":"0 * * * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56658
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56657
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56655
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56654
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56653
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56652
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56650
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56649
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56648
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56646
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56645
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56644
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56640
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56638
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56637
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56635
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56634
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56633
CTOR: MessageCounterNode
INFO! 1 | minutes | true
timeToNextTick: 56606
14 Dec 10:16:03 - [info] [cronplus:Cron-Every Minute] createTask - index: 0, static: true, opt: {"name":"schedule1","topic":"schedule1","payloadType":"str","payload":"A","expressionType":"cron","expression":"0 * 6-13 * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron-Every Minute] createTask - index: 1, static: true, opt: {"name":"schedule2","topic":"schedule2","payloadType":"str","payload":"B","expressionType":"cron","expression":"0 * 14-21 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron-Every Minute] createTask - index: 2, static: true, opt: {"name":"schedule3","topic":"schedule3","payloadType":"str","payload":"C","expressionType":"cron","expression":"0 * 22-5 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron-Every Minute] createTask - index: 0, static: true, opt: {"name":"schedule1","topic":"schedule1","payloadType":"num","payload":"1","expressionType":"cron","expression":"0 0/1 * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron-Every 8 Hours] createTask - index: 0, static: true, opt: {"name":"schedule1","topic":"schedule1","payloadType":"bool","payload":"true","expressionType":"cron","expression":"0 1 6/8 * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron-Every Second] createTask - index: 0, static: true, opt: {"name":"schedule1","topic":"schedule1","payloadType":"bool","payload":"true","expressionType":"cron","expression":"* * * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:95965f6ce97b9954] createTask - index: 0, static: true, opt: {"name":"schedule1","topic":"schedule1","payloadType":"date","payload":"","expressionType":"cron","expression":"* * * * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] [cronplus:Cron-Every Minute] createTask - index: 0, static: true, opt: {"name":"schedule1","topic":"schedule1","payloadType":"date","payload":"","expressionType":"cron","expression":"0 * * * * *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}
14 Dec 10:16:03 - [info] Started flows
14 Dec 10:16:04 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:05 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:06 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:07 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:08 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:09 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:10 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:12 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:13 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:14 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:15 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:16 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:17 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:18 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:19 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:20 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:21 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:22 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:23 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:24 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:25 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:26 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:27 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:28 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:29 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:30 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:31 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:32 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:33 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:34 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:35 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:36 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:37 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:38 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:39 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:40 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:41 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:42 - [error] [ui_led:7cd24a796c46e915] RangeError: Maximum call stack size exceeded
14 Dec 10:16:42 - [info] Stopping flows
2021-12-14 04:46:42: Modbus TCP:Closing
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
CLEANUP
2021-12-14 04:46:43: Disconnecting from modbustcp slave at 10.180.18.50:502
14 Dec 10:16:43 - [info] Stopped flows
Terminate batch job (Y/N)?

Can anyone help please ?

Finally got it working...... :slight_smile:
I just had a hunch and deleted all the properties of the input message to the LED node except the msg.payload
and the error stopped !

image

blink_led

Work out which one it is and post an issue in the nodes GitHub page (showing the contents of the critical property) so the author can address it. Please post the link here too please.

It was the msg.settings property.

I removed all the delete rules in the change node and found that only the msg.settings if not deleted was giving the error.
The contents of settings are as below (originating from Modbus TCP node

image

I tried a lot, but could not comprehend the website, how to log an issue. Sorry.
will keep trying. (a little help required)

Register with github then click New Issue here

The github page for a node is (usually) linked to from the node-red flows site page for the node.