tim-hellhake / chromecast-adapter

Chromecast device adapter for WebThings Gateway
MIT License
6 stars 2 forks source link

Add Chromecast icon for Things dashboard #2

Open cr0ybot opened 5 years ago

cr0ybot commented 5 years ago

Not sure if there's even an API endpoint for this yet, but it would be nice for Chromecast devices to show up with the characteristic icon (outlined/filled depending on state) instead of the default on/off icon in the Things dashboard without having to upload a custom icon.

freaktechnik commented 5 years ago

Sadly that's not something an adapter (or webthing) can do. Presentation is entirely decided by the gateway.

See https://github.com/mozilla-iot/gateway/issues/861

cr0ybot commented 5 years ago

Thanks for pointing me to this. It's been hard as a newcomer to Things Gateway programming to find information.

freaktechnik commented 5 years ago

I can recommend two primary sources of information on what is possible:

https://mozilla-iot.github.io/wot/ https://mozilla-iot.github.io/schemas/