DZone
IoT Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > IoT Zone > EasyIoT Cloud and Accessing a Camera

EasyIoT Cloud and Accessing a Camera

How to use the EasyIoT Cloud Platform to display video from a connected camera.

Igor Jarc user avatar by
Igor Jarc
·
Apr. 17, 16 · IoT Zone · Tutorial
Like (5)
Save
Tweet
4.57K Views

Join the DZone community and get the full member experience.

Join For Free

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.

easyiot cloud camera module

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.

easyiot cloud image refresh

at the end, the module configuration looks like this:

easyiot cloud module config

the camera image is also visible in the easyiot android application.

Cloud

Published at DZone with permission of Igor Jarc, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • The Web Performance APIs Reference
  • Back to Basics: Accessing Kubernetes Pods
  • Why Should You Choose ReactJS for Your Next Project?
  • Hide Your API Keys With an API Proxy Server

Comments

IoT Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo