Closed JustinTweedie closed 2 years ago
Hi @JustinTweedie !
Have you tried to use the dome OPC UA server at opc.tcp://opcua.prediktor.com:4880 to see if you get the same issue with timestamps there?
The following is returned.
1970-01-01 02:27:04 75.9 1970-01-01 02:27:04 84.4 1970-01-01 02:27:04 92.8 1970-01-01 02:27:04 101 1970-01-01 02:27:04 107 1970-01-01 02:27:04 115 1970-01-01 02:27:04 124 1970-01-01 02:27:04 132 1970-01-01 02:27:04 141 1970-01-01 02:27:04 149 1970-01-01 02:27:04 155 1970-01-01 02:27:04 163 1970-01-01 02:27:04 172 1970-01-01 02:27:04 -180 1970-01-01 02:27:04 -172 1970-01-01 02:27:04 -163 1970-01-01 02:27:04 -155 1970-01-01 02:27:04 -149 1970-01-01 02:27:04 -141 1970-01-01 02:27:04 -132 1970-01-01 02:27:04 -124 1970-01-01 02:27:04 -115 1970-01-01 02:27:04 -107 1970-01-01 02:27:04 -101 1970-01-01 02:27:04 -93 1970-01-01 02:27:04 -84
Best Regards Justin Tweedie
WEBSITE www.acusys.co.za
QSE, Level 2 BEE Contributor Justin Tweedie - Managing Director AcuSYS Software Solutions (Pty) Ltd 604 Broadbury Circle, Irene, Gauteng, South Africa
T: +27 (12) 667-1889 M: +27 (82) 814-9431 E: @.*** Website http://www.acusys.co.za | vCard http://www.acusys.co.za/images/TweedieJustin.vcf | LinkedIn https://www.linkedin.com/in/justintweedie
On Fri, 25 Jun 2021 at 11:48, Andreas L @.***> wrote:
Hi @JustinTweedie https://github.com/JustinTweedie !
Have you tried to use the dome OPC UA server at opc.tcp:// opcua.prediktor.com:4880 to see if you get the same issue with timestamps there?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/grafana/opcua-datasource/issues/32#issuecomment-868378887, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT5AYX3UGF7N3UWH2E42QSLTURGHPANCNFSM47GKZA7Q .
Hi, Justin! What kind of aggregation have you specified? Raw or Interpolative are usually good choices.
Br. Oddvar
Using RAW.
Tried both and the result is the same. Is there a log file somewhere?
Best Regards Justin Tweedie
WEBSITE www.acusys.co.za
QSE, Level 2 BEE Contributor Justin Tweedie - Managing Director AcuSYS Software Solutions (Pty) Ltd 604 Broadbury Circle, Irene, Gauteng, South Africa
T: +27 (12) 667-1889 M: +27 (82) 814-9431 E: @.*** Website http://www.acusys.co.za | vCard http://www.acusys.co.za/images/TweedieJustin.vcf | LinkedIn https://www.linkedin.com/in/justintweedie
On Fri, 25 Jun 2021 at 13:06, Oddvar Grønning @.***> wrote:
Hi, Justin! What kind of aggregation have you specified? Raw or Interpolative is usually good choices.
[image: image] https://user-images.githubusercontent.com/49193684/123415707-f324bc80-d5b5-11eb-8f23-0eeda694a75b.png
Br. Oddvar
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/grafana/opcua-datasource/issues/32#issuecomment-868421165, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT5AYX2G7UBCUZBLZQNCH6DTURPMPANCNFSM47GKZA7Q .
You should find log files beneath the plugin directory. plugins\opcua\logs
Br. Oddvar
Logs show nothing :( No error / warning
Best Regards Justin Tweedie
WEBSITE www.acusys.co.za
QSE, Level 2 BEE Contributor Justin Tweedie - Managing Director AcuSYS Software Solutions (Pty) Ltd 604 Broadbury Circle, Irene, Gauteng, South Africa
T: +27 (12) 667-1889 M: +27 (82) 814-9431 E: @.*** Website http://www.acusys.co.za | vCard http://www.acusys.co.za/images/TweedieJustin.vcf | LinkedIn https://www.linkedin.com/in/justintweedie
On Fri, 25 Jun 2021 at 13:37, Oddvar Grønning @.***> wrote:
You should find log files beneath the plugin directory. plugins\opcua\logs
Br. Oddvar
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/grafana/opcua-datasource/issues/32#issuecomment-868436431, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT5AYX3S3QT5W6D5JREPASTTURS5ZANCNFSM47GKZA7Q .
Hi Justin,
I'd think this is something wrong in the build/compile, as this doesn't happen other places we've seen. Could you try to build it on another machine?
This is on a fresh install of Ubuntu
After the Yarn and Make I copied the "dist" folder to /var/lib/grafana/plugins/opcua
The plugin is unsigned so I had to configure grafana to allow for that.
Connection is good and data is refreshed just the datetime not updating.
Any suggestions on the build and install process?
Best Regards Justin Tweedie
WEBSITE www.acusys.co.za
QSE, Level 2 BEE Contributor Justin Tweedie - Managing Director AcuSYS Software Solutions (Pty) Ltd 604 Broadbury Circle, Irene, Gauteng, South Africa
T: +27 (12) 667-1889 M: +27 (82) 814-9431 E: @.*** Website http://www.acusys.co.za | vCard http://www.acusys.co.za/images/TweedieJustin.vcf | LinkedIn https://www.linkedin.com/in/justintweedie
On Fri, 25 Jun 2021 at 15:14, Andreas L @.***> wrote:
Hi Justin,
I'd think this is something wrong in the build/compile, as this doesn't happen other places we've seen. Could you try to build it on another machine?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/grafana/opcua-datasource/issues/32#issuecomment-868491265, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT5AYX2DDWXLB6CTL6CXSSLTUR6MFANCNFSM47GKZA7Q .
Hello @JustinTweedie,
Could it be that https://github.com/grafana/opcua-datasource/commit/470f76fed44d3d4754bb43181ebc8f86efd4e38e have fixed your issue? It is part of the main branch now.
@JustinTweedie The plugin is listed in the official store now, so that should make it a lot easier for you to test it again. Thanks to @srclosson :-)
I have compiled the plugin on a Ubuntu machine with the latest Grafana version. The OPC UA connects correctly but all timestamps are "1970-01-01 02:27:04".