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?
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. -
List of events for users
Hello,
Only superuser can see events. Any other user see:
{{$pagination.min()}} - {{$pagination.max()}} {{$pagination.label.of}} {{$pagination.total}}I think I did something wrong with permissions but can't find what.. :(
-
SNMP set-request sent with wrong community
Hello,
I have SNMP v1 Data source with settings:
Read community: public
Write community: privateSo then I try to set a value, mango always sends "community: public" instead of "private" (checked with wireshark). What I'm doing wrong? Device replays with "authenticationFailure" but it works if I set-request with community:private (checked).
Regards,
Dovydas -
webcam view
Hello,
I need help to add video from hikvision ip camera to dashboard.
I can see video (MJPEG) with web browser on this link: http://user:password@192.168.222.31/Streaming/channels/1/previewSo I think I need to create HTTP Image data source. Then I create data point and URL field with a link I wrote.
In dashboard designer I create ma-point-value with this datapoint but it doesn't work.I think I need to write some code in "Webcam live feed code"? :) Do you have any example about this?
Regards,
Dovydas -
RE: Intesis integration
There were some errors (can't find jar or smth) on updating process so I just extracted m2m2-core-3.2.2.zip into my Mango directory. And yes, there were two files - mango-3.2.1.jar and mango-3.2.2.jar, so I deleted 3.2.1 and now it started with HttpBuilder.
Thanks! Going to analyze your script.. -
RE: Intesis integration
Hello Phillip,
thanks for your answer!I updated my Mango to newest version 3.2.2+20171009170034 but unfortunately still have this error:
ReferenceError: "HttpBuilder" is not defined in at line number 15Should I install this somehow manually?
Dovydas
-
Intesis integration
Hello
I'm wondering how to integrate air conditioners connected with Intesis adapters.
They provide this REST API documentation:
https://www.intesishome.com/developers/rest-api-documentation/Can you give some tips or even better examples of how to do it with Mango?
Sincerely,
Dovydas -
RE: Events Table refreshing
Sorry, just found that there is an upgrade for MangoUI and it seems that now it works like I want. But would be great to play some alarm sound if there is a new event.
-
Events Table refreshing
Hello,
I have just started to learn and check if Mango would be a good choice for my current project. I think I'll have lots of questions because I'm not familiar with HTML programming... :)
But the first thing I really need is to refresh Events Table when the new event occurs. Now I can see only “a clock with number” on right top corner. Is it possible to add new row into table immediately? Is it possible to show some popup window and/or play sound if new event occurs?
Now I’m using free-m2m2-core-3.2.1.
Best Regards,
Dovydas