How to use the monitor function on the CMe2100

There is a function for performing a certain action when something happens in the CMe2100 and CMi2110. It is called "Monitor" and it isnt described in the manual.

With the Monitor function you can program the device to, for example, sending an alarm sms when a meter or sensor shows a specific temperature, I/O and so on. 
A CMEX40 can be used with this function to perform an I/O action based on some kind of measurement etc.

There is 5 separate monitors that you can activate, the same as the pushreports.

These commands can be sent to the device to administrate the monitor function.

set common.monitor.enabled= (enabled the general monitor function in the device)
set monitor.enabled= (enabled the monitor function in the device)
set monitor.cron= (specifies how often/when the monitor will read the meters/sensors for information that will affect the function)
set monitor1.enabled= (enabled monitor1)
set monitor1.expression= (what data will it look at and how)
set monitor1.set.delay= (how long delay shall it be, before an action is done)
set monitor1.reset.delay= (how long delay shall the reset of the function have)
set monitor1.set.info= (what should be included in the "active" sms sent)
set monitor1.reset.info= (what should be included in the "deactive" sms sent)
set monitor1.filter.device.includelist= (which devices should be included in this monitoring function)
set monitor1.reset.command= (what kind of action should be taken when the monitor is reset)
set monitor1.set.command= (what kind of action should be taken when the monitor is activated)
set monitor1.sms.to= (here you can specify a phone number including countrycode, to where to send an sms notice )
set monitor1.resetonchange= (if you want a parameter to reset the monitor)

Example: 

I want to get an sms notice when I measure >40% humidity in my roomsensor.

set common.monitor.enabled=true
set monitor.enabled=true
set monitor.cron="* * * * *"
set monitor1.enabled=true
set monitor1.expression=$mbus.dib.relative_humidity.0.0.0.>40
set monitor1.set.delay=0
set monitor1.reset.delay=0
set monitor1.set.info=Humidity above 40% in house A, NOT GOOD.
set monitor1.reset.info=Humidity below 40% in house B, ORDER RESTORED.
set monitor1.filter.device.includelist=61000423
set monitor1.reset.command=report 2
set monitor1.set.command=report 2
set monitor1.sms.to=+467000000000

Another example:

Me and my friend want to get an event email and an sms when a CMEX40 (02003873) is affected on the digital input.

set monitor.enabled=true
set monitor.cron="* * * * *"
set common.sms.to=+4670000000,+46711111111
set common.monitor.enabled=true
set monitor1.filter.device.includelist=02003873
set monitor1.expression=$mbus.dib.digital_input>0
set monitor1.set.info=pump alarm active
set monitor1.reset.info=pump alarm returned to normal
set monitor1.set.delay=0
set monitor1.reset.delay=0
set monitor1.set.command="report 1007;report 2"
set monitor1.reset.command="report 1007;report 2"
set common.email.to=example@example.com,example2@example.com

Another example:

I also want my CMEX40 to activate/deactivate the digital output in addition to the example above.

set monitor.enabled=true
set monitor.cron="* * * * *"
set common.sms.to=+4670000000,+46711111111
set common.monitor.enabled=true
set monitor1.filter.device.includelist=02003873
set monitor1.expression=$mbus.dib.digital_input>0
set monitor1.set.info=pump alarm active, breaker on
set monitor1.reset.info=pump alarm returned to normal, breaker off
set monitor1.set.delay=0
set monitor1.reset.delay=0
set monitor1.set.command="report 2;report 1007;device 02003873 bron"
set monitor1.reset.command="report 2;report 1007;device 02003873 broff"
set common.email.to=example@example.com,example2@example.com

 

Important! The [-] and [/] isnt allowed, use _ instead.

Use complete numbers with 0. For example 02003873 and not 2003873

Also use ; and not , at the command lines.

There is normally a delay of the digital outputs on the cmex40 when used together with the monitor function. 15 sec + the monitor refresh rate is normal.

 

 

mceclip0.png




CMex40 user manual
https://www.elvaco.com/Image/GetDocument/en/99/cmex40%20users%20manual%20english.pdf

 

Was this article helpful?

0 out of 0 found this helpful
Have more questions? Submit a request

Comments (0 comments)

Article is closed for comments.