We are introducing two new features available in the project editor. They could be found under the "Utilities" - "Functions" section.
First one is "Dice". It is a simple random number generator which rolls numbers from one to six.
Numbers can be rolled on demand - e.g. using action button to roll a dice, or automatically every 15 min.. That means, if a project is on, a dice will automatically roll a dice and once a needed number is rolled, actuator will be triggered.
Please note, that it is possible to select multiple states to trigger an actuator.
Second one is a "Counter". This utility increases a counted number each time the sensor gets required state. User can setup a start and stop index number as well as step and option to make a reset. Default step is one, but it may be changed. Once a stop index is reached, the next state will be "Done". That means, the last time counter will send an "Iterating" ("True") state is equal it's stop index.
If a "reset" option is enabled, after "Done" state it will start over and count again. If this option is not on, nothing else will happen, done will be it's final state.