2 ms·
i'm trying to nudge Grafana into the direction of IoT/SCADA control, so we can be both, a great way to viz (data sources) and to control (data sinks). not perso
by leeoniya 2y ago
i'm trying to nudge Grafana into the direction of IoT/SCADA control, so we can be both, a great way to viz (data sources) and to control (data sinks). not personally a huge fan of having to recommend Home Assistant for that use case :)
(i work at Grafana Labs)
- recursinging 2y agoThis would be great. Were using Grafana dashboards for thermal vacuum testing. Everyone is always asking for simple SCADA functionality.
- hackernewds 2y agocould you expand on your comment? what is data sinks as applied to your idea?
- leeoniya 2y agosimilar to how you can make plugins for data sources, you can make plugins for data sinks, like write over modbus, or POST to http API or, publish to some kind of MQTT broker, etc. since IoT devices have limited storage, usually the metrics are dumped into another system like Prometheus. but that Prometheus data source used plotting cannot be used to control the device, which will have another endpoint and another API, so we need some kind of concept of data sinks. at least that's my idea right now, allow data links configured in the panels to poke some "data sink" with values that are available in the DataFrame or custom-entered into the UI, like we do with traceID for Exemplars, etc.
- nagisa 2y agoHave you seen/know about NodeRED? I myself have moved away from HA/OpenHAB-likes to NodeRED as that allows me control that's more... restricting. At its heart NodeRED is a visual programming tool (and I think it wouldn't be a terrible fit for Grafana), but what NodeRED has and Grafana doesn't is a community which built a very significant number of packages that integrate with various protocols and devices used in home automation. I see a potential for some integration and/or idea sharing here. But it is also important to understand that the set of people who want to fiddle with their homes is much, much larger than the set of people who (are able to) program. Which is why HA and the likes are so popular.
- applied_heat 2y agoIf grafana supported numeric entry fields and buttons it could easily replace wonderware intouch etc. Traditional scada systems have such brutal plotting abilities they are ripe for disruption
- leeoniya 2y agofor sure. we're continuously adding capabilities to the Canvas panel to support SCADA-type and flowchart use cases. https://grafana.com/docs/grafana/latest/panels-visualizations/visualizations/canvas/ https://grafana.com/docs/grafana/latest/panels-visualization... there's some initial movement towards "press Canvas element -> invoke HTTP api call": https://www.youtube.com/watch?v=T6fg1TpfBUg https://www.youtube.com/watch?v=T6fg1TpfBUg we added streaming/websocket data sources a few major versions back. i'm hoping to make something more standardized and pluggable like data sources.
- applied_heat 2y agoI think OPC-UA uses http, and there are OPC-UA servers to talk to Just about every type of device, so maybe it is already possible. I was looking at the canvas element to do an electrical single line diagram.