HomeHome AutomationA word or 400 about NodeRED's context explorer

A word or 400 about NodeRED’s context explorer

I was not aware of the NodeRED’s context explorer, so I want to make sure your life with NodeRED is as easy as possible. This tool will save you a lot of time trying to troubleshoot your flows.

NodeRED’s context explorer

Despite my good knowledge of NodeRED, I totally missed this feature. I can only imagine how many of you also never read the changelogs issued by NodeRED. It’s available with NodeRED v0.19, So here is the catchup.

What are contexts?

In my NodeRED for beginners series I explained that NodeRED has 3 built in variables with different scopes:

  • context
  • flow
  • global

These can be set and reused. A super useful feature to get the data outside of the nodes. You can read about the specifics in the link.

To fully enjoy the context data, you should make it persistent, otherwise, it will perish with the NodeRED server reboot. I have the complete guide to that already.

Context Explorer

Open your NodeRED and look at the right side panels. You will find NodeRED’s context explorer. In there you will find 3 sections.

Global

It will display all global values that are currently set across all flows.

Flow

These are just set flow variables that are persistent to that flow.

Node

It will pull all the node context data that is currently set.

All context data can be refreshed on request (see refresh icons) so you can actually observe how your values will change after some actions have been performed. The context data can be saved and refreshed individually as well.

Conclusion

This is a live saver for me as my recent projects have so many variables, that I use a notepad to keep track of how I name it. It would be nice to be able to change the name of the variables from that menu and have this reflected across your flows. Something to look forward in the next updates perhaps? Let me know if you knew about this function in this Reddit thread.

PayPal

Nothing says "Thank you" better than keeping my coffee jar topped up!

Patreon

Support me on Patreon and get an early access to tutorial files and videos.

image/svg+xml

Bitcoin (BTC)

Use this QR to keep me caffeinated with BTC: 1FwFqqh71mUTENcRe9q4s9AWFgoc8BA9ZU

Smart Ideas with

Automate your space in with these ecosystems and integrate it with other automation services

client-image
client-image
client-image
client-image
client-image
client-image
client-image
client-image
client-image

Learn NodeRED

NodeRED for beginners: 1. Why do you need a NodeRED server?

0
To server or not to server? That's a very silly question!

Best Automation Projects

Tuya SDK for beginners: Intro to Tuya Cloud API

0
Working with Tuya Cloud API. A guide to Cloud automation for beginners, get started with REST!

NEST your old thermostat under $5

0
Nest-ing up your older thermostat under $5

Nora – Google Assistant in NodeRED

0
Integrate Google Assistant with NodeRED thanks to Nora - NodeRED home automation

Sonoff Zigbee Bridge – review

0
Sonoff line up will soon include Sonoff Zigbee Bridge and more Zigbee sensors - here is the first look

DIY Smart Washing Machine – for about 15 bucks!

0
Learn how to add washing machine notifications to your Google Home on the cheap

Smart Home

We’ve seen this before: SwitchBot K10+ PRO

0
This is an odd one. Building on the success of SwitchBot K10+ they released SwitchBot K10+ PRO - but is the experience actually better?

Is this the smart panel we have waited for?

0
ITEAD has released a new smart panel: Sonoff NSPanel Pro 120 - have they learned the lesson from the terrible launch of the original Pro? Let's see what's new.

Aqara FP1E detects motionless humans

0
This isn't exactly a new device, it's an interaction of the original Aqara presence sensor. Aqara FP1E brings Matter, ZigBee and new triggers to your smart home

SwitchBot S10: cleaning re-imagined!

0
SwitchBot S10 promises unattended vacuuming and mopping so you can focus on things you love and care for. Does it deliver?

Sonoff for households and gardens

0
ITEAD released two ZigBee devices to manage water in your household and gardens. Now you can monitor the flow and dispense water with Sonoff SWV and prevent water damage using the Sonoff Water Leak sensor with a twist.