-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
ESP32-MQTT-JSONSCADA- MONGODB flow #116
Comments
First try to connect the device to a MQTT broker and then JSON-SCADA to the broker. To see mqtt logs do this: Does your device has Sparkplug B? If not do not use spBv1.0 topics. |
My device(esp32) is connected to Mqtt broker and then broker is receiving the data.From there to how to connect with json scada? |
https://github.com/riclolsen/json-scada/blob/master/src/mqtt-sparkplug/README.md Basically put the broker address in endpointURLs, and list topics in topics parameter. Username and password if necessary. Restart the service JSON_SCADA_mqttsparkplugclient. |
Given like that only what u mentioned, now If json scada is connected to mqtt broker where have to see that ? |
Better look first at the logs. To see mqtt logs do this: |
Odd unexpected error on MongoBD changestream! The log should be something like this |
Connection to mongo and broker are ok now. |
here im getting data from mqtt broker to mongodb so , do i need postgres or can i directly send these json payload to display viewer to observe changes in svg file? |
You have to use the tags created in mongodb by the MQTT driver. Use the tags to markup objects in the SVG files. |
Demo Tags in admin page and MongoDB real-time data ID , all related to opc-UA only. |
One more doubt , We need just 12 set of parameters only , so can we edit the schema as per our customise or we have use as per demo only ??? |
When the data is already loaded by the protocol driver to MongoDB it doesn't matter the protocol anymore, values acquired will flow to SVG as requested identified by the "tag" field from the mongo document. In fact, the demo SVG presents IEC-104 data only, not OPC. So, it is just a matter of studying the demo SVG files. |
SAGE (Cepel) HTML/SVG Displays (SAGE-web) where it is? |
This is specific to displays created for the Brazilian SCADA SAGE. It is possible to convert those displays to SVG and animate in JSON-SCADA. |
I have detected problems with the MQTT driver in version 0.29, now fixed in version 0.30! |
Dear companion,
Here am working on project , My Sensor data (Temperature and Speed ) get from module and its connected through mqtt protocol. now so I want to see that data on JSON-SCADA Display Viewer which is in .SVG file .
In SVG file I created my Own layout Shape and also i done Tag . Now the
Que 1. how my .svg file and inside Tag will communicate to my Real time Data with help of MQTT Protocol Driver.
Que 2 : I need some details about Json-Scada and MQTT protocol connection. below i attached image reference
que 3 : How to set configuration between MongoDB , MQTT Protocol Connection and tag ID
Que 4: Should i add MongoDB Library In my Arduino Code or Not for storing data ? Or only Mqtt config is Enough ? Like just giving mqtt broker details in my arduino code as im getting my data in mqtt broker frome there I'm confused about sending data to json scada
hope i explained you as much understandable if not pls excuse and am expecting your valid reply...:)
The text was updated successfully, but these errors were encountered: