Data Mailbox - getting alarm history returns

Hi, I recently set up Data Mailbox as shown in the attached image.

I have selected tag group ‘A’ which contains no tags, so I was expecting to get a blank response from the request (where credentials have been obfuscated with ‘xxxx’ )

https://data.talk2m.com/getdata?&t2mdevid=xxxxxxxxxxxxxxxxx&t2maccount=xxxxxxxx&t2musername=xxxxxxxx&t2mpassword=xxxxxxxx

However, I’m getting a bunch of alarm history information (see second attachment). Is this how the data mailbox response is supposed to work? Or is there a separate request that only asks for historical values of points, not historical alarm history of the points?

Thank you.


Hello acl,
Thank you for using the forum. Due to the nature of this issue and to better serve you, we have created a support ticket. Any further troubleshooting steps will be done through our ticketing portal. To access support tickets please use the following link and sign in, if you don’t have a password, please use the forgot password option.
https://support.hms-networks.com/hc/

Thank you!

To follow up here with what was found out it the ticket it looks like all the data was old data from other devices that previously pushed data into his account.
All data can be cleaned from the data mailbox with the clean command.
image

Hi Deryck,

After cleaning, the API calls for “getdata?” still will show values from new alarms. Is there a way to only pull historic values of tags? Historic alarm values are not necessary for my use case so if I could have a parameter to only read historic values (not alarms), that would make things easier. Is this possible?

Thanks!

Hi Ryan,

Getdata retrieves all data. The Json response separates the data the historic alarms. You have an array for "historic and an array for for ‘alarmHistory’ . Once you have the data you should be able to pick what array of data you need.

Deryck