SlideShare a Scribd company logo
1 of 35
Download to read offline
embeddedmonitor.com
    Innovation World Challenge
                    application
Contact information
 Luis Enrique Gonzalez Moctezuma
 luis.gonzalezmoctezuma@tut.fi
 +358466831833

 Application running on:
 www.embeddedmonitor.com
Outline
 User group
 Traditional GSM enabled devices
 GSM enabled devices with embeddedmonitor
 Using your account
 Quick start for testing the system
  Emulate messages
  From an Excel macro
User group
 This application is intended for all those
 areas of automation that use computational
 devices for controlling or monitoring a
 process and that would like to retrieve SMS
 alerts without having GSM enabled devices
 Areas
   Home automation
   Surveillance systems
   Factories
   Hobbyists etc.
Traditional GSM
               enabled devices
•Devices requires GSM modem and at least serial
communication port
•Communication between the devices and the GSM
should be implemented using the adequate AT
commands
•A dedicated SIM card per each GSM modem is needed

•Programming the necessary logic has to be done in the
devices to avoid an overflow of SMS in case of repetitive
alarms in a short period of time.
•Different communication protocols involved (need for
gateways)
Traditional GSM enabled devices architecture
 User side
                                Managing SMS
                                system




             RS232
              link

                                                Message flow control has to
                                                be programmed in the device

                                                Contact lists and numbers
                                                should be changed in the
         Filed        Serial                    device or gateways,
         bus                                    connecting directly to each of
                     protocol                   them
                                               Communication protocols have to
                                               be understood by gateway and
                                               device (communication interface
                                               coupling)
With
  embeddedmonitor.com
•If
  a device has Ethernet communication
capabilities then it can be enabled with
GSM communication with the proposed
architecture

•GSM communication capabilities can be
“embedded” virtually in Ethernet devices
Architecture description
 Ethernet devices or any device that supports TCP/IP (WiFi, etc.) can be
 implemented with HTTP so that it can post messages to a server.

 Posted messages can be sent as SMS by using a mobile operator
 server

 Messages are sent to users who are subscribed to the messages sent
 by the devices.

 Messages are not send necessarily immediately when received. A
 delay can be set so if an alarm is solved before its delay period, then
 message in the SMS queue is cleared

 When a SMS is going to be sent, it goes to an authorization stage that
 authorizes or denies the SMS sending according to the SMS flow
 control policies (Ex, Maximum number of SMS per account, user, etc.)
Proposed architecture
    User side
                   Microcontroller                     Managing SMS
                   (arduino)                           system




                                                          embeddedmonitor.com
Industrial controller                                     server
                                            Internet


                                                                        -Contacts
                                                                        -Devices
                                                                        -Subscriptions
                                                                        -Messages flow control
                                                                        -Messages log (monitor)

                                     HTTP communication               Sonera server
                                        (SOAP,RPC,Web
   LabView application
   running on PC                     Services,simple posts)
Benefits of the proposed
architecture
 All the elements speak the same protocol: HTTP
 All the next tasks can be done from an unique
 control point (embeddedmonitor.com server)
   Manage contacts lists
   Manage device lists
   Subscriptions from contacts to devices
   SMS flow control (restrictions)
   Messages visualization and storage


 No needs of SIM cards, GSM gateways/modems
 Easy communication by posts to the server
Potential use of the platform
(1/2)
  “By 2010, devices connected to the Internet will
  reach 35 billion (nearly 6 devices per person on the
  planet).” -Cerf, Vinton, "Cerf's Up: Social, Economic
  and Regulatory Issues: Internet in the Next Five to
  Ten Years." 2000 WorldCom, Inc.

  “By 2020, so many appliances, vehicles, and
  buildings will be online that it is likely there will be
  more Internet devices than people online at any
  given moment.” -Cerf, Vinton "Visions of the 21st
  Century: What Will Replace the Internet." TIME.com
  (June 19, 2000).
Potential use of the platform
(2/2)
 Devices with Ethernet capabilities can be
 found in the market like:
   Arduino with ethernet shield (famous hobbyists
   gadget)
   S1000 industrial controller unit with ethernet
   communication and web services (from INICO
   technologies)
   Chips like ENC624J600 give microcontroller
   ethernet capabilities in an easy way.
   Applications used in industry or laboratories
   can be connected as any other device to the
   platform, through a virtual device application
   installed in a computer.
      Ex. LabView from National Instruments
What is
embeddedmonitor.com ?
It is a website that implements the
described proposed architecture.
Its meant to be used as a platform
for developing applications that
require monitoring, SMS alerts, etc.
The application range depends on
the user needs. (Surveillance,
factory, home automation, etc.)
Technologies involved in
embeddedmonitor.com
 HTTP communication
 SOAP and URL encoded data transfer
 XML documents (navigation and storage)
 SQL queries
 Publisher/subscriber asynchronous
 communication schema
 RESTful web services
 Some principles of message brokers
Using your account
Sign in
username: luis
password: demo
Add devices
In MyDevices add devices to your account
(position of the device can be stored)
Add SMS contacts
 Add SMS contacts
  The format of the mobile phone should be like
  358XXXXXXXXX (don’t include +)




                                       Clicking on the mobile
                                       phone allows user to
                                       call through skype or
                                       send SMS to the
                                       contact
Add subscriptions(1/2)
 When a device (publisher) reports a
 message, a contact (subscriber) will receive
 the message if is subscribed to that device
 and group
Add subscriptions(2/2)
 Messages from devices can be targeted to specific
 groups.
 For example, if a device runs out of material it can
 send a notification to the supplier group subscribed
 person(s), or if a operational failure occurs it can
 notify to the maintenance group subscribed persons.
 Examples:

                           Luis receives messages targeted to
                           group B from all devices
                           Lalo receives all messages from
                           TempController_1 device
                           Marta receives messages targeted to
                           group C from tut14 device
Modify Settings(1/2)
 Here it is possible to limit the flow of messages by
 setting limits like: maximum number of SMS that
 each device can send in one hour



                                  It is possible to visualize the
                                  current value of those
                                  variables. Very often SMS
                                  are not forwarded to users
                                  because one of those
                                  conditions has reached its
                                  limits
Modify Settings(2/2)
 For this application two conditions were implemented, but
 more conditions could be set if a more strict SMS flow control
 is required like:
   Maximum number of SMS to a contact/group per hour/day etc.
   Maximum number of SMS from messages with an specific ID
   Maximum number of SMS per message
   Maximum number of SMS for each device (some devices might
   have bigger priorities)

 All these conditions can be integrated in the same way to the
 authorization block that decides if the system is allowed to
 send the SMS
 Customizing the SMS flow control can be done easily for each
 device within the same framework
Messages log
 Received messages (no matter if they are
 targeted to an SMS contact) are shown in
 this section                    Reset messages are
                                    highlighted
                                    Field tag names are
                                    shown if they change
                                    from the previous
                                    message. So the user
                                    can configure the
                                    message field names
                                    and number of them
                                    whenever is required.
                                    The system is flexible
                                    to display those
                                    changes
Quick start for testing
           the system
Real and virtual devices
       The system was tested with a real device:
           The S1000, a controller unit that has ethernet and web
           services capabilities http://www.inicotech.com/


       For debugging and testing purposes, a virtual
       “device” was used. It is a website that sends the
       same *SOAP message that the real unit sends. The
       server does not know if the message comes from a
       PC, a controller unit or a virtual device



Soon there will be a video on the website   *SOAP protocol was used for this case but
of the system working with a S1000          it can be changed to any other protocol
                                            over HTTP
Emulating the message
 The message emulator or virtual device can
 be accessed from:
 http://www.embeddedmonitor.com/test/

 Or from the link emulate message in the
 navitagion bar:
Message emulator view

       Message
       emulator

                                       embeddedmonitor.com
                                       server
                          Internet




                        This message is the one that the ethernet
Industrial controller
                        device requesting the server services sends
Editing message body
                Messages should contain the
                Msg root element

                The number, name of fileds and
                value of fileds are flexible and
                they are decisions of the user.
                Recommended 5 fields.
                The message body contains the
                information the device needs to
                log, or target to SMS contacts
Msg element attributes (1/3)
The Msg root element can have the next attributes:

Key: Generated in My devices when adding a new device.
5 length code used to identify the device unit sending
messages to the server. Ex. Key=“ViHFh”

Dly: (integer)Amount of minutes that the system is going
to wait before sending an SMS to the subscribed contact if
not Reset message is received. Ex.
Dly=“3” (if no reset message received within the next 3
minutes an SMS is sent)
 Dly=“0” (an SMS is sent as soon as received)
Msg element attributes (2/3)
 Grp: Group to which the SMS is targeted. Contacts
 subscribed to this group and device will receive the
 SMS.
   Possible values: A,B,C,*
   If * is chosen the message is targeted to all the groups
 Ex. Grp=“A” or Grp=“*”
 Reset: If this attribute is present with the value of
 True, the message is a reset message and will
 cancel all the messages in queue intended to be
 sent as SMS
 Ex. Reset="True"
Msg element attributes (3/3)
 The next shows which parameters are
 required for each type of message:

 Message without SMS targets
  Required: Key
 Message with SMS targets
  Required: Key,Dly,Grp
 Reset message
  Required: Key, Reset=“True”
Response from the server




    In the response from the server it is possible to see some
    useful data for debugging like:
        contacts found as subscribed
        Content of message (body)
        If authorization fails it shows the reasons like in the last
        red box (If messages are sent with Dly>0 the
        authorization can not be visualized since it is computed
        when the deadline arrives)
Message storage and SMS
targeting
 Once the Message is received it is saved in
 the database and they can be visualized in
 the link of: Messages log in the user account
 When the system sends SMS these changes
 can be visualized in the link of: Settings .
   If SMS are not being authorized most likely is
   because the constrains are met. Recommended
   to increase the constrain limits
Using embeddedmonitor.com
from an Excel file
 A simple macro in an Excel file can post data in
 embeddedmonitor.com

 The data is encoded in the URL of the post (simple)

 The message attributes described in the previous
 example remains the same

 Since the macro runs in VBA it can run in other
 Microsoft Office programs like:
     MS Access, Word
Using embeddedmonitor.com
from an Excel file




 Go to embeddedmonitor.com to
 download this example

More Related Content

What's hot

Iirdem implementation of smart homes and industrial automation system with se...
Iirdem implementation of smart homes and industrial automation system with se...Iirdem implementation of smart homes and industrial automation system with se...
Iirdem implementation of smart homes and industrial automation system with se...
Iaetsd Iaetsd
 
Data sheet en_us_1860884875
Data sheet en_us_1860884875Data sheet en_us_1860884875
Data sheet en_us_1860884875
amthanhbosch
 
Wireless electronic notice board using gsm technolgy
Wireless electronic notice board using gsm technolgyWireless electronic notice board using gsm technolgy
Wireless electronic notice board using gsm technolgy
dhanshri_deshmukh
 

What's hot (15)

GSM Report_2013
GSM Report_2013GSM Report_2013
GSM Report_2013
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
 
Home Automation Control System using SMS
Home Automation Control System using SMSHome Automation Control System using SMS
Home Automation Control System using SMS
 
Iirdem implementation of smart homes and industrial automation system with se...
Iirdem implementation of smart homes and industrial automation system with se...Iirdem implementation of smart homes and industrial automation system with se...
Iirdem implementation of smart homes and industrial automation system with se...
 
Distributed Computer Control System
Distributed Computer Control SystemDistributed Computer Control System
Distributed Computer Control System
 
Ieeepro techno solutions ieee embedded project - multi channel remote contr...
Ieeepro techno solutions   ieee embedded project - multi channel remote contr...Ieeepro techno solutions   ieee embedded project - multi channel remote contr...
Ieeepro techno solutions ieee embedded project - multi channel remote contr...
 
Fo mi 40-ds
Fo mi 40-dsFo mi 40-ds
Fo mi 40-ds
 
GSM BASED e-NOTICE BOARD SRS
GSM BASED e-NOTICE BOARD SRSGSM BASED e-NOTICE BOARD SRS
GSM BASED e-NOTICE BOARD SRS
 
Home Security System Using Gsm Modem
Home Security System Using Gsm ModemHome Security System Using Gsm Modem
Home Security System Using Gsm Modem
 
IRJET- Wireless Monitoring of Distribution Tranformer and Inform to Electrica...
IRJET- Wireless Monitoring of Distribution Tranformer and Inform to Electrica...IRJET- Wireless Monitoring of Distribution Tranformer and Inform to Electrica...
IRJET- Wireless Monitoring of Distribution Tranformer and Inform to Electrica...
 
Data sheet en_us_1860884875
Data sheet en_us_1860884875Data sheet en_us_1860884875
Data sheet en_us_1860884875
 
Wireless electronic notice board using gsm technolgy
Wireless electronic notice board using gsm technolgyWireless electronic notice board using gsm technolgy
Wireless electronic notice board using gsm technolgy
 
J04701080085
J04701080085J04701080085
J04701080085
 
IRJET - Visible Light Communication for Video Transmission
IRJET - Visible Light Communication for Video TransmissionIRJET - Visible Light Communication for Video Transmission
IRJET - Visible Light Communication for Video Transmission
 
What\'s the deal with M2M?
What\'s the deal with M2M?What\'s the deal with M2M?
What\'s the deal with M2M?
 

Similar to Embedded monitordescription

Ed unit c embedded system
Ed   unit c embedded systemEd   unit c embedded system
Ed unit c embedded system
Dayal Sati
 
3rd KuVS meeting
3rd KuVS meeting3rd KuVS meeting
3rd KuVS meeting
steccami
 
Sms based wireless appliances control
Sms based wireless appliances controlSms based wireless appliances control
Sms based wireless appliances control
Sourabh Bhattacharya
 

Similar to Embedded monitordescription (20)

B1803011013
B1803011013B1803011013
B1803011013
 
Internet of things unit-1
Internet of things unit-1Internet of things unit-1
Internet of things unit-1
 
Gsm based control system
Gsm based control systemGsm based control system
Gsm based control system
 
Ed unit c embedded system
Ed   unit c embedded systemEd   unit c embedded system
Ed unit c embedded system
 
Esd notes iae
Esd notes iaeEsd notes iae
Esd notes iae
 
ATS @Station
ATS @StationATS @Station
ATS @Station
 
The art of control systems 110915
The art of control systems 110915The art of control systems 110915
The art of control systems 110915
 
G010133748
G010133748G010133748
G010133748
 
A Proposed Cost Effective Prototype Model for PLC Based GSM Remote Control in...
A Proposed Cost Effective Prototype Model for PLC Based GSM Remote Control in...A Proposed Cost Effective Prototype Model for PLC Based GSM Remote Control in...
A Proposed Cost Effective Prototype Model for PLC Based GSM Remote Control in...
 
3rd KuVS meeting
3rd KuVS meeting3rd KuVS meeting
3rd KuVS meeting
 
01362503
0136250301362503
01362503
 
Resume
ResumeResume
Resume
 
Network Management System (Contact: info@exceleron-communications.com)
Network Management System (Contact: info@exceleron-communications.com)Network Management System (Contact: info@exceleron-communications.com)
Network Management System (Contact: info@exceleron-communications.com)
 
Pawan..bsnl
Pawan..bsnlPawan..bsnl
Pawan..bsnl
 
Sms based wireless appliances control
Sms based wireless appliances controlSms based wireless appliances control
Sms based wireless appliances control
 
Iisi tv6p887 894-khiyal592
Iisi tv6p887 894-khiyal592Iisi tv6p887 894-khiyal592
Iisi tv6p887 894-khiyal592
 
InduSoft Web Studio and MQTT for Internet of Things Applications
InduSoft Web Studio and MQTT for Internet of Things ApplicationsInduSoft Web Studio and MQTT for Internet of Things Applications
InduSoft Web Studio and MQTT for Internet of Things Applications
 
home autimation using GSM
home autimation using GSMhome autimation using GSM
home autimation using GSM
 
K010426371
K010426371K010426371
K010426371
 
Chapter-2 Internet of Things.pptx
Chapter-2 Internet of Things.pptxChapter-2 Internet of Things.pptx
Chapter-2 Internet of Things.pptx
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 

Embedded monitordescription

  • 1. embeddedmonitor.com Innovation World Challenge application
  • 2. Contact information Luis Enrique Gonzalez Moctezuma luis.gonzalezmoctezuma@tut.fi +358466831833 Application running on: www.embeddedmonitor.com
  • 3. Outline User group Traditional GSM enabled devices GSM enabled devices with embeddedmonitor Using your account Quick start for testing the system Emulate messages From an Excel macro
  • 4. User group This application is intended for all those areas of automation that use computational devices for controlling or monitoring a process and that would like to retrieve SMS alerts without having GSM enabled devices Areas Home automation Surveillance systems Factories Hobbyists etc.
  • 5. Traditional GSM enabled devices •Devices requires GSM modem and at least serial communication port •Communication between the devices and the GSM should be implemented using the adequate AT commands •A dedicated SIM card per each GSM modem is needed •Programming the necessary logic has to be done in the devices to avoid an overflow of SMS in case of repetitive alarms in a short period of time. •Different communication protocols involved (need for gateways)
  • 6. Traditional GSM enabled devices architecture User side Managing SMS system RS232 link Message flow control has to be programmed in the device Contact lists and numbers should be changed in the Filed Serial device or gateways, bus connecting directly to each of protocol them Communication protocols have to be understood by gateway and device (communication interface coupling)
  • 7. With embeddedmonitor.com •If a device has Ethernet communication capabilities then it can be enabled with GSM communication with the proposed architecture •GSM communication capabilities can be “embedded” virtually in Ethernet devices
  • 8. Architecture description Ethernet devices or any device that supports TCP/IP (WiFi, etc.) can be implemented with HTTP so that it can post messages to a server. Posted messages can be sent as SMS by using a mobile operator server Messages are sent to users who are subscribed to the messages sent by the devices. Messages are not send necessarily immediately when received. A delay can be set so if an alarm is solved before its delay period, then message in the SMS queue is cleared When a SMS is going to be sent, it goes to an authorization stage that authorizes or denies the SMS sending according to the SMS flow control policies (Ex, Maximum number of SMS per account, user, etc.)
  • 9. Proposed architecture User side Microcontroller Managing SMS (arduino) system embeddedmonitor.com Industrial controller server Internet -Contacts -Devices -Subscriptions -Messages flow control -Messages log (monitor) HTTP communication Sonera server (SOAP,RPC,Web LabView application running on PC Services,simple posts)
  • 10. Benefits of the proposed architecture All the elements speak the same protocol: HTTP All the next tasks can be done from an unique control point (embeddedmonitor.com server) Manage contacts lists Manage device lists Subscriptions from contacts to devices SMS flow control (restrictions) Messages visualization and storage No needs of SIM cards, GSM gateways/modems Easy communication by posts to the server
  • 11. Potential use of the platform (1/2) “By 2010, devices connected to the Internet will reach 35 billion (nearly 6 devices per person on the planet).” -Cerf, Vinton, "Cerf's Up: Social, Economic and Regulatory Issues: Internet in the Next Five to Ten Years." 2000 WorldCom, Inc. “By 2020, so many appliances, vehicles, and buildings will be online that it is likely there will be more Internet devices than people online at any given moment.” -Cerf, Vinton "Visions of the 21st Century: What Will Replace the Internet." TIME.com (June 19, 2000).
  • 12. Potential use of the platform (2/2) Devices with Ethernet capabilities can be found in the market like: Arduino with ethernet shield (famous hobbyists gadget) S1000 industrial controller unit with ethernet communication and web services (from INICO technologies) Chips like ENC624J600 give microcontroller ethernet capabilities in an easy way. Applications used in industry or laboratories can be connected as any other device to the platform, through a virtual device application installed in a computer. Ex. LabView from National Instruments
  • 13. What is embeddedmonitor.com ? It is a website that implements the described proposed architecture. Its meant to be used as a platform for developing applications that require monitoring, SMS alerts, etc. The application range depends on the user needs. (Surveillance, factory, home automation, etc.)
  • 14. Technologies involved in embeddedmonitor.com HTTP communication SOAP and URL encoded data transfer XML documents (navigation and storage) SQL queries Publisher/subscriber asynchronous communication schema RESTful web services Some principles of message brokers
  • 17. Add devices In MyDevices add devices to your account (position of the device can be stored)
  • 18. Add SMS contacts Add SMS contacts The format of the mobile phone should be like 358XXXXXXXXX (don’t include +) Clicking on the mobile phone allows user to call through skype or send SMS to the contact
  • 19. Add subscriptions(1/2) When a device (publisher) reports a message, a contact (subscriber) will receive the message if is subscribed to that device and group
  • 20. Add subscriptions(2/2) Messages from devices can be targeted to specific groups. For example, if a device runs out of material it can send a notification to the supplier group subscribed person(s), or if a operational failure occurs it can notify to the maintenance group subscribed persons. Examples: Luis receives messages targeted to group B from all devices Lalo receives all messages from TempController_1 device Marta receives messages targeted to group C from tut14 device
  • 21. Modify Settings(1/2) Here it is possible to limit the flow of messages by setting limits like: maximum number of SMS that each device can send in one hour It is possible to visualize the current value of those variables. Very often SMS are not forwarded to users because one of those conditions has reached its limits
  • 22. Modify Settings(2/2) For this application two conditions were implemented, but more conditions could be set if a more strict SMS flow control is required like: Maximum number of SMS to a contact/group per hour/day etc. Maximum number of SMS from messages with an specific ID Maximum number of SMS per message Maximum number of SMS for each device (some devices might have bigger priorities) All these conditions can be integrated in the same way to the authorization block that decides if the system is allowed to send the SMS Customizing the SMS flow control can be done easily for each device within the same framework
  • 23. Messages log Received messages (no matter if they are targeted to an SMS contact) are shown in this section Reset messages are highlighted Field tag names are shown if they change from the previous message. So the user can configure the message field names and number of them whenever is required. The system is flexible to display those changes
  • 24. Quick start for testing the system
  • 25. Real and virtual devices The system was tested with a real device: The S1000, a controller unit that has ethernet and web services capabilities http://www.inicotech.com/ For debugging and testing purposes, a virtual “device” was used. It is a website that sends the same *SOAP message that the real unit sends. The server does not know if the message comes from a PC, a controller unit or a virtual device Soon there will be a video on the website *SOAP protocol was used for this case but of the system working with a S1000 it can be changed to any other protocol over HTTP
  • 26. Emulating the message The message emulator or virtual device can be accessed from: http://www.embeddedmonitor.com/test/ Or from the link emulate message in the navitagion bar:
  • 27. Message emulator view Message emulator embeddedmonitor.com server Internet This message is the one that the ethernet Industrial controller device requesting the server services sends
  • 28. Editing message body Messages should contain the Msg root element The number, name of fileds and value of fileds are flexible and they are decisions of the user. Recommended 5 fields. The message body contains the information the device needs to log, or target to SMS contacts
  • 29. Msg element attributes (1/3) The Msg root element can have the next attributes: Key: Generated in My devices when adding a new device. 5 length code used to identify the device unit sending messages to the server. Ex. Key=“ViHFh” Dly: (integer)Amount of minutes that the system is going to wait before sending an SMS to the subscribed contact if not Reset message is received. Ex. Dly=“3” (if no reset message received within the next 3 minutes an SMS is sent) Dly=“0” (an SMS is sent as soon as received)
  • 30. Msg element attributes (2/3) Grp: Group to which the SMS is targeted. Contacts subscribed to this group and device will receive the SMS. Possible values: A,B,C,* If * is chosen the message is targeted to all the groups Ex. Grp=“A” or Grp=“*” Reset: If this attribute is present with the value of True, the message is a reset message and will cancel all the messages in queue intended to be sent as SMS Ex. Reset="True"
  • 31. Msg element attributes (3/3) The next shows which parameters are required for each type of message: Message without SMS targets Required: Key Message with SMS targets Required: Key,Dly,Grp Reset message Required: Key, Reset=“True”
  • 32. Response from the server In the response from the server it is possible to see some useful data for debugging like: contacts found as subscribed Content of message (body) If authorization fails it shows the reasons like in the last red box (If messages are sent with Dly>0 the authorization can not be visualized since it is computed when the deadline arrives)
  • 33. Message storage and SMS targeting Once the Message is received it is saved in the database and they can be visualized in the link of: Messages log in the user account When the system sends SMS these changes can be visualized in the link of: Settings . If SMS are not being authorized most likely is because the constrains are met. Recommended to increase the constrain limits
  • 34. Using embeddedmonitor.com from an Excel file A simple macro in an Excel file can post data in embeddedmonitor.com The data is encoded in the URL of the post (simple) The message attributes described in the previous example remains the same Since the macro runs in VBA it can run in other Microsoft Office programs like: MS Access, Word
  • 35. Using embeddedmonitor.com from an Excel file Go to embeddedmonitor.com to download this example