Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show value inside 'thing' #26

Closed
flatsiedatsie opened this issue Nov 20, 2018 · 4 comments
Closed

Show value inside 'thing' #26

flatsiedatsie opened this issue Nov 20, 2018 · 4 comments

Comments

@flatsiedatsie
Copy link
Contributor

I don't know if this is a MySController-rs or Mozilla Gateway issue. But I noticed that in the things overview all the devices created with MySController-rs just say 'thing' in the middle of them. While picture by Mozilla show that devices can also directly show their most relevant value in the middle of them.

Currently I have to click on a device to see its value.

This might be a reason not to merge devices into more complex versions, since then you will always need to click on them to see all the values they represent. I wonder how Mozilla is planning to handle this.

@freaktechnik
Copy link

To have a value displayed inside a thing you need to implement one of the capabilities: https://mozilla-iot.github.io/schemas/

Currently there aren't any fitting capabilities for weather stations or similar, though you may get acceptable results with https://mozilla-iot.github.io/schemas/#MultiLevelSensor since humidity can be represented as a LevelProperty (even if that's not totally correct).

@flatsiedatsie
Copy link
Contributor Author

flatsiedatsie commented Nov 20, 2018

Could adding schemas be something to include in this project?

@tsathishkumar
Copy link
Owner

That would be in webthing-rust crate.

@flatsiedatsie
Copy link
Contributor Author

This is now probably covered by
#24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants