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
Homie-Statistical-Values #102
Comments
Hey, |
Any user defined (probably read-only) Property serves as a "statistic value". It probably makes sense to define some "$type"s instead like "battery" etc. |
So currently in 3.0 we have a section defined as
The spec, doesn't specify if this is or isnt open to users or implementation to add there own device stat or not. The issue is, if it is locked down then over time will have request to add more and more stats... and if it is open for user or implementation to add there own, then how do we auto discover these dynamic stats? My proposal is to just have a these implemented as a node, which comes with property discoverabilty, with unit and format ect.... |
We are on the same side here. Statistics should become node/properties. The issue: at the moment the convention doesn't want to specify nodes (that do not start with a $), see Thomas comments. it'd vote for removing the current flawed design and specify those nodes separately as in #101 |
Sorry @davidgraeff , that as a response to @ThomDietrich request, just to clarify things hopefully for anyone else reading. |
To resurrect this old topic: Is everybody d'accord to remove $stats for 4.0 and reintroduce it in a different form (probably via extension?)? |
@davidgraeff sounds good, lets come up with an extension |
I think the arguments to limit the $stats section are sound. How will online/offline detection be handled going forward? |
MQTT last will. |
@davidgraeff Thanks, that is indeed a clean solution. |
With the specification of the stats extension in #171, what further steps need to be taken to close this issue? |
@timpur Please reopen if necessary |
There has been talk if we should implement device stats as a node. The Mian reason (IMHO) is so that the user can add there own device sensor out side of the spec, and these stats would automatically be discoverable.
We could leave the spec as is, recommending the most common stats, but also recommend implentations implent stats as a node if they like.
I'm not sure of the solution, but I like the idea, as I don't want to be adding every possible stat to the convention.... (Over time)
The text was updated successfully, but these errors were encountered: