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

$location property. #3

Closed
jayaras opened this issue May 3, 2016 · 1 comment
Closed

$location property. #3

jayaras opened this issue May 3, 2016 · 1 comment

Comments

@jayaras
Copy link

jayaras commented May 3, 2016

Thoughts on adding a $location device property? This would prevent having to overload the $name field with location info and possibly make searching easier.. or does this belong 'outside' of homie?

@marvinroger
Copy link
Member

Well, device properties are properties that are actually related to the device itself, not it's environment. A location depends of the environment. You will tell me that on the convention, the example for the $name property is Bedroom temperature sensor, but after consideration, this is not "idiomatic" Homie, so I'll update this to Temperature sensor.

So yes, I think this is the role of the controller to know and manage the location of each device.

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

2 participants