Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Download the sample device solution here.

Download the sample channels here.

If you import the sample channels into a new tab, you should have a Config Source channel and a Config Consumer channel. You’ll notice the Config Source channel has a different title color and a hatched background. This is a Non-Processing channel which is loaded before regular channels.

Info

The samples have changed slightly from the below screenshots. The intent, however, remains the same.

...

If you edit this channel, you’ll notice the Non Processing Channel checkbox is set.

...

The Shared Config Source device has a simple UI to edit a few fields as well as a map tables tab. This UI edits the configuration that is shared with other devices. The Configuration Consumer device (in the Config Consumer channel) uses code similar to the above examples (device code) to get a reference to the shared configuration. The device UI displays a json-serialized version of the configuration so we can easily visualize the consumers view of the shared configuration. This UI refreshes every 5 seconds (while the UI is visible), so we can make changes to the source configuration and then visualize that change in the consumer device.

...