2.enable componenet list
3. in component list click on
link button appears on page
4. in property editor open Element specific list
5.open link-to-state list
6.find page to link and set
When creating a new Meta Point sometimes it is helpful to backfill values for it. This can be done by the generate history link in the Data Points table.
The most recent saved value for all Context Points is found and that date is used for the Starting date for the simulation. (If any context point has no saved values the Generation will fail here)
The oldest saved value for the Meta Point is found and that is used as the Ending date for the simulation. (If no values exist the current time is used)
The simulation is run from Starting to Ending times and a values are created and saved according to the Meta Point settings.
This means that a history can only be generated for times before the earliest Meta Point value.
Calls to set() tell the database to save this value regardless of logging type and do not send it out through the data source
1)make a virtual datasource binary datapoint, add it to the script context points. Tick the checkbox that this point triggers the script.
we shall call the context point switch.
Then add your mqtt point to the context. We shall call it toggle. It does not need the checkbox to the right filled. Ensure the mqtt point is settable
This is the script.
I was successful in following the suggestion and get access to JSON store in scripting data source. However, I cannot do the same in script area of Event Handler. I get the following error when trying to validate.