hms-networks / IgnitionEwonConnector

Synchronize Ewon data to Ignition's Tag Historian
Apache License 2.0
10 stars 1 forks source link

Time Zones and Historical Data #149

Closed MaxHanson closed 3 days ago

MaxHanson commented 8 months ago

Does the connector account for the Flexy local time zone for Flexy historical data? Or is it necessary to select the "Record data in UTC" option in the Flexy Setup>System>General>Date & Time configuration?

alexjhawk commented 7 months ago

Hi @MaxHanson,

The Ignition Ewon Connector uses Ewon's DataMailbox API for historical data, which accounts for Flexy's local time zone configuration. The image below shows the time behavior when the 'Record data in UTC' option is checked or unchecked (the connector uses getdata/syncdata):

image

As shown, tag history, alarm states, and alarm history will use the local time stamp unless the 'Record data in UTC' option is selected.

Additional details of the time zone behaviors of the DataMailbox API can be found in the UTC Timestamp Logging Solution Sheet document.

Please let me know if you have any additional questions, and feel free to close this issue if I've been able to answer your question.

Best regards,

@alexjhawk