In this tutorial we will show how to set EasyIoT Cloud to display picture from IP camera. The camera image is also visible in a mobile application.
Sometimes we want to see the picture from a camera and not just the sensor values in EasyIoT Cloud. With module type MT_IMAGE, we can display an image from a remote location such as an IP camera.
First we'll register with EasyIoT Cloud. Then go to Configure -> Modules and press button "Add Module".
Select module type "Image - MT_IMAGE" and save module. Then go to Sensor.Parameter1 and under value, set URL to camera. For test purpose we will use some random traffic camera, but you can change it to suits your purpose. In our tutorial we will use the URL http://kamere.dars.si/kamere/msc2pics/Cam22_SPEED_IZHOD.jpg and save parameter.
That's all we need to display a picture in the EasyIoT Cloud Web and Mobile app. If we also want to refresh picture, we add additional parameter to module (Add Parameter button in module config) and name it Settings.RefreshInterval. We will also set the refresh interval in the parameter value. Refresh interval is in seconds. In our case we set the value to 5 and save the parameter. With this settings picture will be automatically updated in refresh intervals.
At the end, the module configuration looks like this:
The camera image is also visible in the EasyIoT Android application.