Point stream control from dashboard21
Pages:
1|
|
JoeDG private msg quote post Address this user | |
| I'd love to see the ability to add a "control" to a dashboard that would change the value of a point stream. For example, I have a greenhouse temperature setpoint that is controlled by a point stream. It would be great to display a control on my dashboard that can change the value of this point stream. This would allow the creation of interactive dashboards, where the user can change parameters and see the results. |
||
| Post 1 IP flag post | ||
|
MikeMills private msg quote post Address this user | |
| We've had several requests for controls. Your suggestion would be fairly easy to implement. So your control would use the GroveStreams API and poll for the point stream value? If so, it's an easy solution but it would be a lot of wasted transactions given all the polling that would need to be done. One design we are considering is allowing a control value to be returned during a feed upload. A control would be associated with a component and whenever its value is changed, its new value is part of the Feed PUT response. We haven't thought through the details yet, but it would be nice to leverage the Feed PUT response. |
||
| Post 2 IP flag post | ||
|
|
JoeDG private msg quote post Address this user | |
| Correct, I would have to poll the stream value. It obviously could only be used for slowly updating systems, but it's a nice way to be able to change parameters from any location. Including a control value in the PUT response is a nice way to save transactions. As long as it could be safely ignored by the sender, It seems like a decent way to do it. |
||
| Post 3 IP flag post | ||
|
|
jonrichings private msg quote post Address this user | |
| Any news on when any kind of control functionality is to be added? The way you described doing it Mike is exactly what we need, but honestly without it, we can't make use of an otherwise brilliant platform. | ||
| Post 4 IP flag post | ||
|
MikeMills private msg quote post Address this user | |
| @jonrichings - Which technique is what you need: * "...your control would use the GroveStreams API and poll for the point stream value"? * "...allowing a control value to be returned during a feed upload"? |
||
| Post 5 IP flag post | ||
|
|
jonrichings private msg quote post Address this user | |
| Control value to be returned during an upload would probably be easiest to implement at both ends and, as you said, avoid needless polling. I'd use the same stream names/ID in the request so any stream could be requested. But I think it only really needs to be the last datapoint of any stream. Then there needs to be some way to add/change that last datapoint at the dashboard, though just manually writing it would work for us for now. | ||
| Post 6 IP flag post | ||
|
MikeMills private msg quote post Address this user | |
| Working on a reply | ||
| Post 7 IP flag post | ||
|
MikeMills private msg quote post Address this user | |
| Still working on a response. Forum keeps posting before I'm done... | ||
| Post 8 IP flag post | ||
|
MikeMills private msg quote post Address this user | |
