[Logo] Mango Community
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Messages posted by: apl
Forum Index » Profile for apl » Messages posted by apl
Author Message
Here is code lifted fom an other program - hope this helps



Arne
I created a new datasource and got the following stack trace trying to export all:



I have no such property alarmLevel.

Any idea what happend?

The sources com.serotonin.json are missing (GPL violation?)

Thanks in advance

Arne
Hi,

JFreeChart supports multiple scaling groups, it would be handy to draw values that lie in a different range onto the same chart with different scalings.
For instance if you have a binary value and temperatures at 70 °C and a outside temp at 6 °C. Currently its hard to find the correlation of the values.

If I draw a chart where one value is stable and the value is stable after the chart time ends, it will only be drawn to the last changed point in the time range of the chart. Maybe provide "virtual" values at the begin? and end if the time range.

I encounter some funny charts where a value chages drastically in a short term (it jumps) and was before for a long time very stabel. Instead of a steep acend I get a slow.
Solution: If a value changes store not only the actual changed value but store as well the last value of the stable sequence.

Arne
No I think not exactly what I want.

I want something like:

var isCurrentlyON = p11.value > p11.valueBeforeThis.value;
result.value = isCurrentlyON;
result.time = p11.time - (p11.value - p11.valueBeforeThis.value) * 1000;
return result;


This should calculate the exact timestamp when the burner switches ON.

Arne
Hi, I have added a new protocol to mango (openv4j) for Viessmann heating systems (http://www.viessmann.com and (the reverse engeneering page in german) http://openv.wikispaces.com/). - One If its stable source code will follow.

so reading one value take 3 sec ... to get the timepoint of burner starts I get the operating time for the burner.... So I thougth getting the change and then calculate the difference from the last value gives the timepoint of start/end very precicely.

So is ther a way to archive this?? - Set value and timepoint for that value?


Arne
Happens for me too.

Arne
Hi Antsu,

the user tomcat6 exists in /etc/passwd and the group tomcat6 in /etc/groups.
the user tomcat6 can't login (shell is /bin/false in passwd).

Assuming you have put mango to /var/lib/tomcat6/webapps/ROOT
you can follow the following steps to setup mango with derby

1. cd /var/lib/tomcat6/webapps/
2. chown -R tomcat6.tomcat6 ROOT
3. mkdir /var/lib/mango
4. chown -R tomcat6.tomcat6 /var/lib/mango

5. Look at /var/lib/tomcat6/webapps/ROOT/WEB-INF/classes/env.properties
if you use the database derby change the line db.url to db.url=/usr/local/mango/mangoDB

Look out for the security manager issue.

for the other stuff see http://mango.serotoninsoftware.com/forum/posts/list/208.page

Arne
Is there a way to implement this:

I would like to see an check box that has the following meaning:
if the event become inactive the alert is automatically aknownledged.


Arne
Hi,

the SQL-Update syntax is

UPDATE tablenname
SET A=3, B=4
where A=1

Hope this helps

Arne
I have some projects hosted on sf - it is OK for me (they seem to offer git as well)
But I have no problems with others ....

Arne

Nothing is wrong with sending bug to matt - I agree fully He is doing a fine job .

But sometimes it may be useful to know when a bug is fixed to go ahead.
Hi,

I found some bugs in mango and I am tired to send them to Matthew - I think the bugs reports would mess up this forum..

I would like to see some bugtracking system like bugzilla, where one can track the live of the beast.

Any idea to handle this?

Arne

Hint:

Http receiver on Debian (5.0) and Ubuntu (09.10) use IPV6 when logging in to localhost, so the whitelist never matches.

Workaround: use 127.0.0.1 instead of localhost.

Solution: add IPV6 capabilities to whitelist in mango

Arne
Hi,

if you want to use serial communication (i.e. /dev/ttyS* or /dev/ttyUSB*) you must add the user tomcat6 (for tomcat6) to the group dialout in the file /etc/groups.

To disable the security manager set TOMCAT6_SECURITY=no.

In my installation I got a ClassNotFoundException from the derby classloader - it works without security manager well.

Arne
Maybe this helps:

http://mango.serotoninsoftware.com/forum/posts/list/163.page

if not please look in the tomcat logs at: /var/log/tomcat6/

Arne
 
Forum Index » Profile for apl » Messages posted by apl
Go to:   
Powered by JForum 2.1.9 © JForum Team