Date: Oct 15 2018
2. Register User
3. IP cameras
8. REST services and M2MData arduino library
9. Related links
This platform is aimed at enthusiasts who
have a basic knowledge of Internet of Thing (IoT) devices. M2mlight.com is
a free basic platform service for IoT devices. You can store your cameras,
sensors, actuators and alerts data in the cloud. Then, using your desktop
or smartphone via the Internet, you can see the videos, graphs, maps and
statistics of these devices.
Cameras, sensors and actuators can
receive and send data using a microcontroller like Arduino, Raspberry Pi
or Esp8266; and then, through a gateway or router can send this
information to the m2mlight platform in the cloud.
HTTP and RTSP protocols are used for
cameras; and, sensors, actuators and alarms use the HTTP and MQTT
2. REGISTER USER
A user account has the following main fields:
In order to use this platform you need to
register as a user using the option Login
and then Register User.
If you want to change your account
information, including your password, you have to use the Account
- Email Address: required. Your
Email Address will be your user identifier in m2mlight.com. All messages
from cameras, sensors, actuators and alerts will be sent to this
- Name: required. Your user
- Password: required. Your
password of at least 7 characters
- Time Zone: required. Pick your
Time Zone. It is important to stored
your data with the appropriate
- Domain: optional. The domain
of your home or small business. For example: caletagreen.com. This field
is not required but it is necessary if you want to use the subdomains
- Town/City, Address and Phone: optional.
- Api_key: informative. This api_key is an unique identifier of
Policy of this website. You can read this policy in the indicated link.
3. IP CAMERAS
With the second part of this
dialog, you can add or register a new camera. The maximum number of cameras
that you can register is 4.
An IP camera is a device connecting
directly to an Ethernet network.
The IP CAMERAS option allows you to manage your Ip cameras. You can add,
delete and edit a camera. It permits you to stop and start the motion
characteristic of a camera. Also, you can monitor and see camera videos.
A camera has the following required fields:
- Brand: you have to choose the
brand of your camera. The brands listed are those supported
by m2mlight at this moment.
- Model: the model of your
- Protocol: the stream protocol.
It can be http or rtsp.
- Environment: it can be Outdoor
- Name: the camera name. You
can not have two cameras with the same name.
- Ip or domain: the IP address
or the domain of the camera. It is the internal IP address or
sub-domain. The system checks
that it is a valid value.
- Port: the camera port number
- User name: the camera user
- Password: the camera password
In the first part of this dialog, you will
find the list of your cameras. Using the Edit
button you can update the camera properties. With the Delete
button you remove a camera and its motion registers; you need to confirm
this previously. The Stop
button allow to stop motion property and the Start
button allow to start motion property.
Api_key is the unique identifier of
the camera and you can not change this value.
The Status of a camera can
Daemons process check periodically each camera and set this status.
- Motion property is enable
- Motion property is disable
- Camera is disconnected for any reason
Using the Monitor button you
can see online the camera and its motions videos of the last month.
With the Live Cameras Panel
button, you can see all cameras on line.
A sensor is a device that detects changes
in the ambient conditions and transmits this information. For example,
there are sensors of temperature, light, humidity, motion, electric
current, power consumption, etc.
The SENSORS option allows you to manage
your sensors. You can add, delete and edit a sensor. With this option you
define sensors that have periodically values: singles values or location
values (longitude and latitude). In this platform, coordinates values
obtained from GPS devices are considered sensors.
For a sensor, you can upload data and see its status. For example, you can
see if the sensors values are out of range, according to defined min and
Also, you can display and download stored data, and see graphs of these
With the second part of this dialog, you can add or register a
new sensor. The maximum number of sensors you can register is 10.
A sensor has
the following fields:
- Name: required. The sensor
name. You can not have two sensors with the same name.
- Sensor type: you have two
alternatives, single value (default) or location values. If you choice
location values the measure field is always Degrees (longitude and
required. A standard unit used to express the size, amount, or degree of
something. For example: Watts.
- Email-messages: you can choice
enable or disable. Enable, if you want to receive email messages when
the sensor is not registering values or the data are out of range.
Disable, if you do not receive email messages.
- Minimum value: optional. The
minimum value to be within a certain range.
- Maximum value: optional. The
maximum value to be within a certain range.
If you define minimum or maximum value,
after each insert of a new value the system checks if this value exceeded
the defined range and it informs you with an email.
In the first part of this dialog, you will
find the list of your sensors. Using the Edit
button you can update the sensor properties. With the Delete
button you remove a sensor and its register values; you need to confirm
this previously. The Stop button set the disable status
and the Start button set the
The Status of a sensor can be:
- Sensor is enable and it is registering values
- Sensor is disable
- Sensor is not registering values
Sensor values are out of range
Daemons process check periodically each
sensor and set this status. If
a sensor has not registered
a value in the cloud in the last
10 minutes, the system changes its
state and sends a email message to
user if Email-messages property is enable.
For a sensor, the minimum interval between two
inserted values is 10 seconds.
you try to insert a value
in a range of less than 10
seconds, the value will not inserted.
for a sensor, the minimum interval between
two emails sent is 3,600 seconds (one hour).
Namely, if there are continuous news, you will receive a separate email
for at least one hour.
is the unique identifier of the sensor and you can not change this value. You can add sensor values using this api_key and the Server functions or M2MData
The Graphics button allow you to see line
graphs of these data, graphs by 5 minutes, an hour, a day,
a week or a month.
graphics work with most popular browsers:
Chrome and Firefox.
Using the Data
button you can display and download stored data.