WebThingsIO / gateway

WebThings Gateway - a self-hosted web application for monitoring and controlling a building over the web
http://webthings.io/gateway
Mozilla Public License 2.0
2.62k stars 339 forks source link

Write-only properties #3082

Open benfrancis opened 1 year ago

benfrancis commented 1 year ago

As a web thing developer I want to expose write-only properties so that I can represent state of a device which can be written but not read.

The WoT Thing Description specification has a writeOnly member of the DataSchema object for this purpose, but designing a user interface for this might be tricky.

I personally haven't come across a use case for this yet, but there definitely are use cases (e.g. legacy X10 devices which have a one-way communication protocol), so we could eventually implement support for this for completeness.