How to use the Context storage in Node-Red
Csongor Varga
In any programming languages and processing logic you need to store information and retrieve them. In Node-Red we are processing data in messages separately and somehow data needs to be stored in between these messages. This is what the context stores are used for.
In this video we learn how to use the context in Node-Red through some home automation examples. Also learn the different context stores, persistent storage option, get tips and trick by going through examples and talk about don't dos.
Chapters: 0:00 Intro 1:03 Agenda 2:49 The basics 5:18 Store and read data to/from context 8:27 Compare data to last value 10:14 Min/Max calculation 13:28 Message counter 15:04 Time activated motion sensor 17:45 Thermostat example 21:03 Delete context data 22:06 Storage options/Persistent storage 25:52 Context in function node 36:23 Don't dos 39:31 Outro ... https://www.youtube.com/watch?v=vW3IZnml4y4
213173385 Bytes