WebThingsIO / thing-url-adapter

Proxy adapter for Web Thing API endpoints
Mozilla Public License 2.0
21 stars 18 forks source link

Barebones event support #76

Closed hobinjk closed 5 years ago

hobinjk commented 5 years ago

Allows events without a timestamp to instead provide a unique ID and get one assigned by the gateway. Useful for embedded devices without an RTC.

hobinjk commented 5 years ago

Yeah, the spec has the conflicting ideas of /events doesn't have to return every event that has happened and timestamp isn't mandatory. I was considering hashing event.data or tracking when /events has been purged/truncated but this seemed like a better workaround

mrstegeman commented 5 years ago

👍