# Uibuilder and KNX Ultimate - How to read the initial value?

**URL:** https://discourse.nodered.org/t/uibuilder-and-knx-ultimate-how-to-read-the-initial-value/53538
**Category:** General
**Tags:** uibuilder
**Created:** [10 November 2021 22:26 UTC](https://discourse.nodered.org/t/uibuilder-and-knx-ultimate-how-to-read-the-initial-value/53538 "2021-11-10T22:26:54Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![philipp-bender](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/philipp-bender/32/50802_2.png) [@philipp-bender](https://discourse.nodered.org/u/philipp-bender)
#### Post date: [10 November 2021 22:26 UTC](https://discourse.nodered.org/t/uibuilder-and-knx-ultimate-how-to-read-the-initial-value/53538/1 "2021-11-10T22:26:54Z")

</div>

Hey,

I need an idea of how I can read the initial values of my KNX bus.  
I want to build a dashboard and initialize all widgets with the current values. For example Light on / off.

This is my current flow:

 ![Bildschirmfoto 2021-11-10 um 23.15.11](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/f/dfc01d58f7287f4b4156847444acc6f4e11254d0.png)

But the onChange listener does not work for the first value and I dont want to send all values in a cyclic interval.

The uibuilder sends a ctrl msg if it is ready:

`uibuilderfe: prop set - prop: sentCtrlMsg, val: {"uibuilderCtrl":"ready for content","cacheControl":"REPLAY","from":"client","_socketId":"F2dcZjiO9GQXOKnHAABT"}`

Do you have an idea or an example flow?

greets  
Philipp

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [11 November 2021 02:29 UTC](https://discourse.nodered.org/t/uibuilder-and-knx-ultimate-how-to-read-the-initial-value/53538/2 "2021-11-11T02:29:37Z")

</div>

What I think you want is the cache example. So that whatever gets sent to the uibuilder node is saved. Connect the second output from uibuilder back to the cache node so that when a new client connects, the cache node sends the cache.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [10 January 2022 02:30 UTC](https://discourse.nodered.org/t/uibuilder-and-knx-ultimate-how-to-read-the-initial-value/53538/3 "2022-01-10T02:30:28Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
