-
Notifications
You must be signed in to change notification settings - Fork 63
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
OPC Status monitoring #22
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, good morning.
I continue working with this excellent software. It works really well.
I am trying to implement an alert system which uses red and green color to represent the opcstatus quality of all of my assets but I am having some issues, I don't really know if they come from node-opcua-logger or if they come from InfluxDB query.
The goal is very simple, to represent the status of the machines OPC using red and green colors dependig on opc quality "good" or bad".
Attached you can find a sample screenshot:
![Capture](https://user-images.githubusercontent.com/36837980/64849480-bfacb400-d613-11e9-8c3b-386f0bb2b404.PNG)
Attached you can find a sample config file. All the tags that I am using are called "OPC" and are booleans.
`# A polled node
#XXXXXX_CNC
[[measurements]]
name="OPC"
dataType="boolean"
tags= {plant="XXXX", asset="XXXX", device="CNC"}
nodeId="ns=2;s=XXXXXXXXXXXXXXXXXXXX"
collectionType="polled"
pollRate=1#samples/minute
deadbandAbsolute=0
deadbandRelative=0
'# A polled node
#XXXXXXXXXXX_CNC
![Capture3](https://user-images.githubusercontent.com/36837980/64849494-c6d3c200-d613-11e9-9590-d8caa9e94b5b.PNG)
[[measurements]]
name="OPC"
dataType="boolean"
tags= {plant="XXXXX", asset="XXXX", device="PC"}
nodeId="ns=2;s=XXXXXXXXXXXXXXXXXXXXXXXX"
collectionType="polled"
pollRate=1#samples/minute
deadbandAbsolute=0
deadbandRelative=0
`
Attached you can find InfluxDB query in Grafana:
![Capture2](https://user-images.githubusercontent.com/36837980/64849461-b6234c00-d613-11e9-9bbc-95f65c7d55db.PNG)
Could you help me? Something that I can show is that apparently, values are not recorded when quality is "Bad".
Thanks in advance!!!
The text was updated successfully, but these errors were encountered: