Ok thanks for your advice. I will look at your suggestion. Thanks once again
Posts made by ramhuzaini
-
RE: Error in sending email
-
Error in sending email
Hi there,
I am currently did not receive anymore report sent through email. I did not touch anything on the setting. It worked fine before. i am using mango version 3.7.8. Can somebody advice me on this matter
Best regards
huzaini -
Getting value at specific time using metadata scripting
Hi there,
I am still new with mango. Can somebody help me on how can I get a value at specific time (let say 8am) in metadata scripting. This is because I would like to calculate the use of (e.g. energy ) so far from that particular time. Is the below code is fine
return p1.lastValue - p1.pointValueAt(8)
-
RE: Calculating energy consumption for off-peak hour, peak hour, today, yesterday, current month and previous month
Thanks @mattfox for the information. I will try to explore the things you said.
-
RE: Calculating energy consumption for off-peak hour, peak hour, today, yesterday, current month and previous month
Hi Gordoe,
The energy consumption in accumulating form -
Calculating energy consumption for off-peak hour, peak hour, today, yesterday, current month and previous month
Hi there,
I have data point that read energy consumption (kwH) from a power meter. I would like to know how can I divide the data into off-peak hour consumption and peak-hour consumption. In addition, I would also like to calculate the total consumption for today, yesterday, current month and previous month. I am still quite new with mango. Can somebody assist me on this matter or share any link that can be helpful for solving my problem.
best regards
Ramhuzaini -
Error when saving page using dashboard designer
Hi there,
I have an error message written error saving page " page name" -undefined when I tried to save my page in dashboard designer. When I click at the add/edit menu item, the section in Link to content ask me to choose a custom page. However, I cannot write not click. I am missing something that might be accidently deleted. Hope that someone can advise me on this problem.
best regards
Ramhuzaini -
RE: Mango cannot run after installation
@mattfox
Ok thanks for that information. Will do that.best regards
Ramhuzaini -
RE: Bad credential when login the first time
@nurr Can you guide me on how to do that
-
RE: Mango cannot run after installation
Hi everyone,
I have solved the problem. The problem is that I cannot run Mango through remote desktop connection. It has to be run directly from the pi. Anyway that everyone for your advice
best regards
Ramhuzaini -
Bad credential when login the first time
Hi
I have a problem when try to login for the first time. I have used
username: admin and password: adminthe system said that it is bad credentials. Do we have any other username and password
-
RE: Mango cannot run after installation
@cwangv Hi
What do you mean by different GUI?
-
RE: Mango cannot run after installation
@dan Hi dan
pi@raspberrypi:~ $ java -version
openjdk version "11.0.9.1" 2020-11-04
OpenJDK Runtime Environment (build 11.0.9.1+1-post-Raspbian-1deb10u2)
OpenJDK Server VM (build 11.0.9.1+1-post-Raspbian-1deb10u2, mixed mode)
pi@raspberrypi:~ $ javac -version
javac 11.0.9.1 -
RE: Mango cannot run after installation
Hi there. Below is the ma.log file
INFO 2021-01-25T19:21:46,322 (com.serotonin.m2m2.Main.main:121) - Starting Mango 3.7.7 with Schema Version: 29 WARN 2021-01-25T19:21:48,623 (com.serotonin.m2m2.Lifecycle.webServerInitialize:1067) - BROWSE action not supported on your platform, unable to open browser at startup. INFO 2021-01-25T19:21:48,679 (com.serotonin.m2m2.Lifecycle.loadLic:583) - Checking license... INFO 2021-01-25T19:21:48,680 (com.serotonin.m2m2.Lifecycle.loadLic:670) - License file not found INFO 2021-01-25T19:21:49,187 (com.serotonin.m2m2.db.H2Proxy.initializeImpl:64) - Initializing H2 connection manager INFO 2021-01-25T19:22:00,682 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:133) - Spring context 'runtimeContext' refreshed: org.springframework.context.annotation.AnnotationConfigApplicationContext@15a8c6f INFO 2021-01-25T19:22:00,701 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextStarted:147) - Spring context 'runtimeContext' started: org.springframework.context.annotation.AnnotationConfigApplicationContext@15a8c6f INFO 2021-01-25T19:22:00,945 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initialize:176) - Starting 0 Publishers... INFO 2021-01-25T19:22:00,946 (com.serotonin.m2m2.rt.RuntimeManagerImpl.initialize:188) - 0 Publisher's started in 8ms INFO 2021-01-25T19:22:07,206 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:133) - Spring context 'rootWebContext' refreshed: Root WebApplicationContext INFO 2021-01-25T19:22:12,432 (com.infiniteautomation.mango.spring.MangoRuntimeContextConfiguration.contextRefreshed:133) - Spring context 'jspDispatcherContext' refreshed: WebApplicationContext for namespace 'JSP_DISPATCHER-servlet' INFO 2021-01-25T19:24:48,311 (com.serotonin.m2m2.Lifecycle.terminate:400) - Mango Lifecycle terminating...
-
Mango cannot run after installation
Hi there,
I have a problem running my mango 3.7.7 after installation on raspberry pi 4. I have already install java jdk and set the JAVA_HOME environment variable. When I run the mango using command ./ma.sh start the following message appear. Please advise me how to solve this problem
MA_HOME is /home/pi/mango3 root@cgsprototype:/home/pi/mango3/bin# MA removing dead pid file for PID: 8487 ma-start: MA started with Process ID: 6118 INFO 2021-01-25T08:44:00,790 (com.serotonin.m2m2.Main.main:121) - Starting Mango 3.7.7 with Schema Version: 29 No protocol specified Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using ':10.0' as the value of the DISPLAY variable. at java.desktop/sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at java.desktop/sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:102) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.desktop/sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:61) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:315) at java.desktop/java.awt.GraphicsEnvironment$LocalGE.createGE(GraphicsEnvironment.java:101) at java.desktop/java.awt.GraphicsEnvironment$LocalGE.<clinit>(GraphicsEnvironment.java:83) at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:129) at java.desktop/sun.awt.X11.XToolkit.<clinit>(XToolkit.java:231) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:315) at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:588) at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:583) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.desktop/java.awt.Toolkit.getDefaultToolkit(Toolkit.java:582) at java.desktop/java.awt.Desktop.isDesktopSupported(Desktop.java:328) at com.serotonin.m2m2.Lifecycle.webServerInitialize(Lifecycle.java:1061) at com.serotonin.m2m2.Lifecycle.initialize(Lifecycle.java:221) at com.serotonin.m2m2.Main.main(Main.java:159)
best regards
Ramhuzaini -
Problem to generate excel report
Hi there,
I have a problem to generate report from excel. Every time I run the report mango will lost its connectivity (connectivity lost and restoring connectivity) and frozen. I seems that the java perform high activity in my cpu. For your information, I am using mango v3.7.7 and java jdk-14.0.1. Hope that you can help me on this matter
best regards
Ramhuzaini -
How to disable event detector for certain time
Hi there,
Can we disable the event detectors for certain time. E.g. from 5pm to 9pm the system will stop sending alert message coming from event detector
best regards
ramhuzaini -
RE: How to auto start mango in Windows 10
@ralf Thanks for your help
-
How to auto start mango in Windows 10
Hi there,
Can somebody advice me on how to make mango auto start when we turn on the Windows PC
best regards
Ramhuzaini