homieiot / convention

🏡 The Homie Convention: a lightweight MQTT convention for the IoT
https://homieiot.github.io/
Other
705 stars 59 forks source link

Duration property #201

Closed mjcumming closed 4 years ago

mjcumming commented 4 years ago

Suggest we add a duration property following the ISO 8601 duration format.

The format is PTHHMMSSS, where:

P: Required and indicates a duration. T: Required and indicates a time. H: Indicates hour and is preceded by the number of hours, if hours are specified. M: Indicates minutes, and is preceded by the number of minutes, if minutes are specified. S: Indicates seconds, preceded by the number of seconds, if seconds are specified.

mjcumming commented 4 years ago

updated in https://github.com/homieiot/convention/commit/9905706e08c95b9dd1069032e8cae4b20f0ef496