WebThingsIO / webthing-arduino

Simple server for ESP8266, ESP32, Ethernet, or WiFi101-compatible boards compliant with Mozilla's proposed WoT API
Mozilla Public License 2.0
207 stars 78 forks source link

Support for array properties #120

Open jtc42 opened 4 years ago

jtc42 commented 4 years ago

It would be nice to have some support for properties to be arrays. For example, you could allow light colours to be defined as an RGB array, or support arrays of numbers for data collection.

Not really essential but I can think of a few cases where it’d be super useful.

rzr commented 3 years ago

hi well, colors can be defined as #RRGGBB strings, but maybe you had something else in mind ? like "animations" fade effects or anything else ?