Search found 1 match

by Arnold88
Tuesday 18 February 2025 13:26
Forum: Node-RED
Topic: script not proper old vs new node-red version
Replies: 11
Views: 1255

Re: script not proper old vs new node-red version

Your issue is that hum_stat and bar_for are not declared before use Try adding let or var at the beginning of the function, e.g.: let hum_stat = 0; before switch.Same for bar_for.New Node-RED versions require explicit variable declarations These errors are common after updates Other variables might ...