The application (written in perl) is used for environmental monitoring.
The two sorts of plugins we have discussed would
- Define new data fields that are calculated based on existing data. For example if you have air temperature and humidity, but want a dew point field, you can write a dew point plugin, install it and then any sensors that can provide the required fields will magically also provide dewpoint.
- Define an action. The app has the ability to trigger a notification if certain events occur. Right now we only offer one common behavior. We would like to allow our customers to create additional behaviors. For example, an action might be "Send SMS Message". Actions would need to have some UI associated with them.
The two types of plugins need not operate in the same way, as long as they are easy to install.
Plugins only need to run on the same machine as is hosting the main application.
The basic flow of execution would be:
- App collects data from sensor
- App calculates any custom fields from field plugins
- App checks for any conditions that would cause an alert
- If an alert occurs do any actions associated with the alert.
Worst case, we will be dealing with data collection occuring at most tens of times an hour across hundreds of sensors with tens of fields each. Depending on the connection type, it can take as little as 2 seconds to get data from a sensor, or as much as 2 minutes.
Thanks for the ideas.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.