- Create a new Thing using the Timer Thing Template.
- The Timer Thing will fire a Timer Event when the Timer's Update Rate has expired. The event is automatically present and does not need to be added manually.
Configuration
- The Timer Configuration is quite straightforward. It can be accessed via the Thing's Entity Configuration.
- Configuration allows for
- Enabling the Timer on Thing-Startup - whenever the Thing is started, e.g. when restarting ThingWorx or via the RestartThing Generic Service, also the Timer is enabled and will fire Events.
- Changing the Update Rate - in which intervall the Events will be fired (by default every minute [60000 milliseconds]).
- Changing the User Context - in which the Events will be handled. The user will need visibility and permission on e.g. executing Services or depending Things, which are required to run the Service triggered by the Event.
![image image](/t5/image/serverpage/image-id/63555i94E91940E060DE01/image-size/large?v=v2&px=999)
Services
- Timer Things inherit two Services by default from the Thing Template
- These will activate / de-activate the Timer and allow / disallow firing Events once the Update Rate has expired
- If a Timer is currently enabled or disabled can be seen in its properties
![image image](/t5/image/serverpage/image-id/63564i97A31E06FA932731/image-size/large?v=v2&px=999)
Last update:
Mar 01, 2018
09:24 AM