I have a challenge that I´m working on now for days, which, for Node-Red Pros is probably the most easy thing to solve. But as I just can´t get my head around it, I just address this to the community and see if this can be easily solved
Here is my setup: Beside Home Assistant I run another Smart Home System (“Homee”) which is providing an API node for Node-Red. This API node is configured to store and constantly update data from all devices added to it in the global context of Node-Red (see picture attached).
Here is my challenge: The whole setup actually works quite well, as all device information gets synched to Node-Red. But now I want to use this information in I all kind of different flows but I just don´t know how to access this data. This can probably be done by any kind of Java Script magic in a function node but as I have literally zero coding skills, I´m quite limited here
Request for help: This may sound pretty simple for you but if anyone could point me in the direction of how to i.e. access a current value from such node that has been stored in global context this would really help me a lot!
I dont know that those values really exist as context stores, I have yet been able to extract them. You can get the current state of entities with the get entities, event state, and current state nodes.
To set a global use a change node. Here the incoming payload will be stored as global.nameValue