I've got users receiving pop-up events/alarms that belong to other users. They also show in the events page. How can I make sure users only receive their own events?
Mango 3.7.7
Latest posts made by till
-
Users receiving pop-up events/alarms that belong to other users
-
RE: Email send failure
Turns out that the SEND TEST EMAIL doesn't send a test email using the values that you just entered but using the values that are saved. So you cannot test before saving.
-
Email send failure
Hi,
I'm using Mango 3.7. Recently I noticed I don't get any email alerts from Mango anymore. Event handlers are set up to send emails and they worked for years and years.
I went to email settings and confirmed the SMTP settings are still correct. I also tested the settings in a different tool and they definitely work.
When I hit the button to SEND TEST EMAIL, I get no email but an error message in Mango: Error sending email to 'test@mytestcompany.co.uk' — Email send failure
What can be wrong?
Cheers T -
Caching issues
Re: Problem with userModule caching
Is there any solution out there that does not require fiddling with NGINX?
THanks
-
RE: How to connect to the mango database (for resetting admin password)?
@terrypacker Cool that works. Removing both .h2 and .db was the key. I'll
Thanks -
How to connect to the mango database (for resetting admin password)?
I've got the Web Console running (sudo)
Web Console server running at http://127.0.1.1:8081 (others can connect)
But it cannot find the DB. The path is correct, there is a
/opt/mango/databases/mah2.199.h2.db
-
RE: Too much data for a datapoint
@terrypacker said in Too much data for a datapoint:
I shall give that a go, thanks.
-
Too much data for a datapoint
I get this exception
device_hub 'myDevice': Script error in point "myPoint": com.infiniteautomation.tsdb.IasTsdbException: com.infiniteautomation.tsdb.impl.BadRowException: Exception trying to serialize bytes: Data length can not exceed 65536
when trying to stuff too much into a virtual datapoint.
What other options do I have for storing a large amount of alphanumeric data. It's JSON, so I'm eying the JSON store but can't find any working examples of how to access that from a meta datapoint.
The code in https://forum.mango-os.com/topic/4495/calling-json-store-item-in-scripting-datasource/2?_=1630557115032 gives me another exception:
java.lang.RuntimeException: java.lang.ClassNotFoundException: com.serotonin.m2m2.Common.getBean
I need to publish these JSON objects to another mango instance eventually, which works fine with my datapoints.
-
RE: Script context points as enumerable
So I found this on CONTEXT_POINTS
CONTEXT_POINTS CONTEXT_POINTS is a variable declared in all scripting environments. It is a map of variable names to context point runtimes.
Is there more documentation somewhere?
.
Your example gives me a list of elements like this:
DataPointRT(id=1, name=MyPoint) DataPointRT(id=2, name=MyOtherPoint)
From there, how do I get to the full datapoint details, like value, last value, timestamp etc?
Where do I find out more about context point runtimes
Thanks