I still can't get it working.. Could you please share some screenshots how you configured it? Do I need to you some specific values for datapoints tags keys?
Latest posts made by dovydasz
-
RE: Pi Portfolio creating
-
RE: New Feature Request: Expansion of "Discard Extreme Values" feature with a "Discard if Delta > X" argument.
@mattfox said in New Feature Request: Expansion of "Discard Extreme Values" feature with a "Discard if Delta > X" argument.:
just have another idea... use an event that fires on update and deletes the latest value if it's greater than n size of your previous value... it'd be no different than infinite coding the exact same behavi
I have a very similar situation as Turbo. Could you please help with an example how to create an event which fires some script for deleting the last value?
-
Grey out data points if no connection
Hello,
Could you suggest how to grey out or change a color of data points in dashboards and watch lists when there is no connection with data source?Dovydas
-
RE: Accessing remote running mango on Internet and mobile.
Just install Teamviewer (https://www.teamviewer.com/ on PC with Mango. Teamviewer lets you to connect to PC remotely to see computers display and to control it as you be in front of it. Then customer should install the same on his home PC. Then customer could connect to PC with Mango from home PC. I think it's the easiest solution for you.
Good luck!
-
permission groups
Hello,
I'm trying to make different permission groups to separate datapoints and dashboards for different users.
So now I created a user 'test' with permissions group 'user1', Added some datapoints for this group and edited my dashboard page "apzvalgine" to "Permissions required: user, user1" in Edit menu items window.
Administration ->System settings -> Permissions: edited all fields with 'user' to 'user,user1', so the same settings for both groups.But after I login with this user 'test' I'm redirected to blank webpage with url:
http://192.168.0.21/ui/not-found?path=%2Fui%2Fapzvalgine firefox console shows: https://pastebin.com/9cYPvsKb
But if I go to http://192.168.0.21/point_details.shtm I can see all datapoints I gave for this usergroup.
I think I'm missing some settings for MangoUI to be set..?
Dovydas
-
apache2 reverse proxy setup
Hello,
I'm trying to make access to mango via Apache reverse proxy installed on the same machine, and after that I will try to use Let's Encrypt certificate.
Now my apache .conf looks like:
<VirtualHost *:80> RewriteEngine On RewriteCond %{HTTP:Connection} Upgrade [NC] RewriteCond %{HTTP:Upgrade} websocket [NC] RewriteRule /(.*) ws://127.0.0.1:8080/$1 [P,L] ProxyRequests off <Location /> ProxyPass http://127.0.0.1:8080/ ProxyPassReverse / </Location> </VirtualHost>
Actually with this setup I can open Mango webpage, can see datapoints, but some my points are pictures (datasource: HTTP Images) which aren't loaded.
Failed to load resource: net::ERR_CONNECTION_REFUSED http://127.0.0.1:8080/imageValue/1516192015304_110.jpg
As you see they still have localhost address..
Can you help me with this setup?
-
Data Source Copy error
Hello,
I'm trying to make a copy of all Data Source (SNMP) with Data points inside but get an error:
PreparedStatementCallback; SQL [INSERT INTO eventDetectors (xid,sourceTypeName,typeName,data,dataPointId) VALUES (?,?,?,?,?)]; Unique index or primary key violation: "EVENTDETECTORSUN1_INDEX_D ON PUBLIC.EVENTDETECTORS(XID) VALUES ( /* 83 */ CAST('ED_36ee074e-96d4-4fa2-a7ab-581e45afd47d_43' AS VARCHAR_IGNORECASE) )"; SQL statement: INSERT INTO eventDetectors (xid,sourceTypeName,typeName,data,dataPointId) VALUES (?,?,?,?,?) [23505-181]; nested exception is org.h2.jdbc.JdbcSQLException: Unique index or primary key violation: "EVENTDETECTORSUN1_INDEX_D ON PUBLIC.EVENTDETECTORS(XID) VALUES ( /* 83 */ CAST('ED_36ee074e-96d4-4fa2-a7ab-581e45afd47d_43' AS VARCHAR_IGNORECASE) )"; SQL statement: INSERT INTO eventDetectors (xid,sourceTypeName,typeName,data,dataPointId) VALUES (?,?,?,?,?) [23505-181]
If I remove Event Detectors from Data Points then I can make a copy.
If I'm copying just Data point with Event Detector then Mango makes a copy but without Event Detector configured.. -
RE: Displaying time and date in text form
Hello,
how can I uppercase letters?
Now I have:<ma-now update-interval="1 SECONDS" output="time"></ma-now> <div >{{time|maMoment: 'format':'MMMM Do, dddd'}}</div> // sausio 12-oji, penktadienis <div >{{time|maMoment: 'format':'dddd'}}</div> // penktadienis
All letters are lowercase always...
Locale on OS is set to Lithuania:
[mango@Mango ~]$ localectl status
System Locale: LANG=lt_LT.utf8
VC Keymap: us
X11 Layout: us -
RE: List of events for users
I think I found that it's a Firefox issue..
I can see events list with Chrome browser (for both user and superadmin), and with MS Edge, but it's not working on Firefox ESR 52.5.2 (32-bit) for Windows. So it's not related to user permissions.
And I checked on Firefox 57.0.1 (64-bit) for Ubuntu - it's working as well.