{"id":179860,"date":"2021-05-07T00:28:20","date_gmt":"2021-05-07T07:28:20","guid":{"rendered":"https:\/\/m2msupport.net\/m2msupport\/?page_id=179860"},"modified":"2021-05-07T00:34:19","modified_gmt":"2021-05-07T07:34:19","slug":"create-a-data-model-for-a-iot-device-using-iot-cloud-tester","status":"publish","type":"page","link":"https:\/\/m2msupport.net\/m2msupport\/create-a-data-model-for-a-iot-device-using-iot-cloud-tester\/","title":{"rendered":"Create a data model for a IoT device using IoT Cloud Tester"},"content":{"rendered":"<p>Data models define the data that devices will send to the Google Cloud Platform<\/p>\n<p><a href=\"https:\/\/m2msupport.net\/m2msupport\/download-iot-cloud-tester\/\">IoT Cloud Tester<\/a>\u00a0 application provides an easy interface create new data models for IoT devices.<\/p>\n<h1>To create a data model for a IoT device,<\/h1>\n<ul>\n<li>Select the project.<\/li>\n<li>In the &#8216;Data Model&#8217; tab, press &#8216;Add Model&#8217;.<\/li>\n<\/ul>\n<p>Following information is required to create data models,<\/p>\n<ul>\n<li>Name of the data model<\/li>\n<li>Data model fields.\n<ul>\n<li>Field Name<\/li>\n<li>Field Type &#8211; Number, Name, Alphanumeric, Normal Distribution<\/li>\n<li>Field options\n<ul>\n<li>Name &#8211; First Name, Last Name, Full Name<\/li>\n<li>Number &#8211; Lower limit, Upper limit, Decimal places<\/li>\n<li>Alphanumeric &#8211; length<\/li>\n<li>Normal Distribution &#8211; Mean, Standard Deviation, Decimal places<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><a href=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/05\/create_model.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-179872\" src=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/05\/create_model.png\" alt=\"\" width=\"868\" height=\"793\" srcset=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/05\/create_model.png 868w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/05\/create_model-300x274.png 300w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/05\/create_model-768x702.png 768w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/05\/create_model-600x548.png 600w\" sizes=\"auto, (max-width: 868px) 100vw, 868px\" \/><\/a><\/p>\n<p>With the &#8216;Preview Test Data&#8217; option, a sample auto-generated data can be previewed.<\/p>\n<p><a href=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/05\/preview_model.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-179873\" src=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/05\/preview_model.png\" alt=\"\" width=\"612\" height=\"632\" srcset=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/05\/preview_model.png 612w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/05\/preview_model-291x300.png 291w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/05\/preview_model-600x620.png 600w\" sizes=\"auto, (max-width: 612px) 100vw, 612px\" \/><\/a><\/p>\n<p>Once the data model is added, it can be associated to any device.<\/p>\n<p><a href=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/05\/associate_data_model.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-179869\" src=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/05\/associate_data_model.png\" alt=\"\" width=\"863\" height=\"769\" srcset=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/05\/associate_data_model.png 863w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/05\/associate_data_model-300x267.png 300w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/05\/associate_data_model-768x684.png 768w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2021\/05\/associate_data_model-600x535.png 600w\" sizes=\"auto, (max-width: 863px) 100vw, 863px\" \/><\/a><\/p>\n<div class=\"video-responsive\"><iframe loading=\"lazy\" id=\"youTubePlayer\" src=\"https:\/\/www.youtube.com\/embed\/M9rbQS23CNo?hd=1\" width=\"750\" height=\"421\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Data models define the data that devices will send to the Google Cloud Platform IoT Cloud Tester\u00a0 application provides an easy interface create new data models for IoT devices. To create a data model for a IoT device, Select the &hellip; <a href=\"https:\/\/m2msupport.net\/m2msupport\/create-a-data-model-for-a-iot-device-using-iot-cloud-tester\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"iot_tutorial_template.php","meta":{"footnotes":""},"class_list":["post-179860","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/179860","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/comments?post=179860"}],"version-history":[{"count":2,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/179860\/revisions"}],"predecessor-version":[{"id":179874,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/179860\/revisions\/179874"}],"wp:attachment":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/media?parent=179860"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}