minimize datastore writes by specifing which properties are not indexed
create filter requires indexed property. reset state of device with last update was more than 30 minutes ago
hide device ID from from but pass it on post
created property is used on sort and therefore must be indexed.
take server and port as arguments