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

Node or node property #16

Closed
bertmelis opened this issue Dec 21, 2016 · 3 comments
Closed

Node or node property #16

bertmelis opened this issue Dec 21, 2016 · 3 comments

Comments

@bertmelis
Copy link

bertmelis commented Dec 21, 2016

Imagine a water consumption meter which is read out by an esp8266. the esp counts pulses as total consumption and calculaties the current flow.
Would you split up consumption and flow into separate nodes of would you see them as different properties of 1 node.

@gorootde
Copy link
Contributor

I would see them as different properties of the same node. According to the specification examples, a node is defined as a sensor, the values that can be read from the sensor are the properties.

@bertmelis
Copy link
Author

I was a bit confused with the relation to the real life "thing". When you take the current weather for example, you have different nodes: temperature, humidity, wind...
In my example, the real life thing is the watermeter from which you can pick up several items.

But as I read between the lines of your answer, when the different items are very closely related to each other, you can see them as node properties:
weather items are very loosely related: different nodes
watermeter items are closely related: node properties
rollershutter position and slat position are not related: different nodes
....

@ThomDietrich
Copy link
Collaborator

I believe that is the idea.
I have automated a whole coffee machine. Everything is closely related --> One node "machine" with around 10 properties ;)

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