This release makes Sensor map easier to use when your image is full of pins: a new sidebar lists all your pins with their live values, you can find and highlight any pin in one click, edit a pin by simply clicking it, and remove several pins at once.
What’s new:
Read more about Sensor map.
This release makes Geofence easier to use when you manage many fences: a new sidebar lists all your geofences, you can see live which devices are inside each fence, assign devices in one click, and clean up several fences at once.
What’s new:
Read more about Geofence.
Devices that collect several measurements and send them together in one message, such as a tracker that buffers its positions or a sensor that reports once an hour, can now be decoded with JavaScript conversion without losing any reading. Your converter can return a list of readings, each with its own time, and every reading is stored in the asset history.
What’s new:
at timeconverter(code, timestamp), where timestamp is the moment the message reached AllThingsTalk, in milliseconds since 1 January 1970 (UTC); for LoRaWAN and other network integrations, it is the time the network server gives, if it gives one. Use it to work out the time of each reading from its ageExisting converters keep working without any change.
Read more about JavaScript conversion.
Several states in one HTTP request
When a request to the HTTP API (PUT /device/{id}/state) carries several states of a device, as an array or through a converter that returns several readings, they are now processed together: every reading is stored, and the newest one becomes the current state. A reading sent without a time gets the moment it arrived.
Checks on reading times
A reading with a time more than 5 minutes in the future, or older than 7 days, is still stored, and the device debug log now shows a warning, so you can spot a device that sends its local time as UTC. Readings more than 14 hours in the future are refused.
Batch activations keep the valid rows
When some rows of a CSV import have an invalid format, the valid rows are now created and the result lists the failed rows with the reason, instead of rejecting the whole file. Read more on Revamped Activations.
The Things Network duplicates stored once
When the same uplink from The Things Network (v3) arrives more than once, for example through two webhooks, it is stored only once.
Cleaner device debug log
Authorization headers and tokens that a network sends with its messages are shown masked in the device debug log.
MQTT devices stay connected when they publish on their own topics
When a device publishes a message on a topic of its own, outside the AllThingsTalk topics (for example a status message right after it connects), the MQTT broker now ignores that message and keeps the connection open instead of closing it. Readings you want to store still go to the state topics. Read more on MQTT Messaging API.