主页 > 云服务器 > > 正文

云主机_mysql默认数据库_返利

来源:胜利云 发布时间:2021-09-08 12:50 标签:MySQL默认数据库主机返利
浏览:

With the new IoT Services on the SAP HANA Cloud Platform (HCP) it has become very easy to connect any kind of data to the SAP HANA Cloud Platform.

In this post I like to show you, how to use IFTTT and Zapier to connect your iPhone (or any other kind of "smart" thing) via the IoT Service to the SAP HANA Cloud Platform.

The final scenario will look like this:

Unfortunately it is not possible to access directly from IFTTT the HCP because in this channel it is not possible to add some customer REST header data. This is the reason we use Zapier as a Webservice "Trigger".

If you have already a hanatrial account and use the IoT services continue at chapter Create IoT Service for IFTTT data.

Get a free developer account for SAP HANA Cloud Platform

To create a account register at https://hanatrial.ondemand.com

Log on to the SAP HANA Cloud Platform Cockpit https://account.hanatrial.ondemand.com/cockpit

Enable the IoT Service

Now you see the Internet of Things Services Cockpit

Click on Deploy Message Management Service and enter your Account ID, User Name, Password and Deploy

Confirm that you won’t to deploy the message management services

Now you’ll notice that a new block will show-up in the screen. You’ll find the link to the installed MMS application at the bottom. Click on that link.

The link will bring you to a newly created Java application called iotmms. Assign your own user to the role IoT-MMS-User. To do that click on the Roles tab on the left.

Select the role Iot-MMS-User with a click on the respective row. Now click on the Assign button and add your user to the list of Individual Users.

Click again on the Overview tab your iotmms Java Application and check if the State is Started. Click on the link you find under the Application URLs.

The Message Management Service of the IoT Services is now finally up-and-running on your account.

Before wecan send data to the SAP IoT Service we have to create following master data:

Therefore we have to go to the Internet of Things Services Cockpit.

You can access this direct from the service area in the HCP or with the tile View registered devices and device types from the Message Management Service

First create a Device Types by selecting the tile Device Types. Create a new Device Type with the +

Enter the Name "iPhone" and press the Create Button

After that your first device type is created. Go back to the overview area with the back button.

Now create a Message Types by selecting the tile Message Types

Create a new Message Types with the +

Press the Create Button. After that your first message type is created. Go back to the overview area.

Now create a Device by selecting the tile Devices. Create a new Device with the +

After the creation an OAuth Access Token is displayed. Please save the Token local.

You will use this later in the IFTTT service. Go back to the overview area.

The master date for your first device is created successfully

Switch to the Message Management Service

Select the tile Send and receive messages via HTTP

In this area you can check if your web service work successfull.

Modify the HTTP endpoint with the Device ID from your iPhone e.g.:

https://iotmmsp1941081208trial.hanatrial.ondemand.com/com.sap.iotservices.mms/v1/internal/http/data/ce0d060f-05c1-48a7-ae45-6280cabef8d2

Hint: ce0d060f-05c1-48a7-ae45-6280cabef8d2 IS NOT the TOKEN it is the ID of the device

Change the JSON message e.g.:

{"mode":"sync","messageType":"1b8c3a684f51dfddfe27″,"messages":[{"value":"First Test"}]}

Hint: 1b8c3a684f51dfddfe27 is the ID of the message type

Hint: value is the field name I used in the message type

Press the POST button, check the results in the lower section and go back to the overview area.

You can find the necessary ID’s in the Internet of Things Services Cockpit.

Select the tile display stored message. There you can find the just created table with your test values. The table is automatically created by the first POST message.

Create an account at Discover new Recipes – IFTTT

Create an account at The best apps. Better together. – Zapier

This a two web application you can use for free.

Download IFTTT from Apple App store and log on with your just created IFTTT account.

(There is a similar IFTTT app availed for android smart phone)

Log on at the Zapier homepage and "MAKE A ZAP".

Select as incoming on the left site Webhooks by Zapier and choose Catch Hook.

Select Webhooks by Zapier also on the right site and choose Custom Request. Continue to the next step.

Save the link for access Zapier webhooks https://zapier.com/hooks/catch/XXXX/

After we contine with Zapier we have to implement the IFTTT part. Log on at your IFTTT account with a web browser and slect "My Recipes". Create a Recipe.

Choose a trigger Channel – in my example I use iOS location, but you can use any kind of trigger you wont.

Select You enter or exit an area in step 2.

Complete the iOS location trigger by searching for a area.

Choose MAKER as action channel.

发表评论
验证码: 点击我更换图片

注:网友评论仅供其表达个人看法,并不代表本站立场。

热门文章

  • 云存储_企业邮箱是怎么申请_便宜的
    <strong>云存储_企业邮箱是怎么申请_便宜的</strong>

    云存储_企业邮箱是怎么申请_便宜的

    雪花数据仓库中的端到端加密2016年4月13日作者:马丁·亨切尔彼得·波维尼克云数据安全,工程作者:马丁·亨切尔和彼得·波维尼克。保护客户数据是雪花...

  • 分布式数据库_八度网络云主机_便宜的
    <strong>分布式数据库_八度网络云主机_便宜的</strong>

    分布式数据库_八度网络云主机_便宜的

    在云数据库服务的世界里,对客户来说,没有什么比不间断地访问他们的数据更重要的了。在在线游戏和金融服务等交易率较高的行业,即使是最小的中断...

  • 数据库服务器_服务器带宽_哪家好
    <strong>数据库服务器_服务器带宽_哪家好</strong>

    数据库服务器_服务器带宽_哪家好

    图1。派特法是一家领先的油田服务公司派特法为能源客户锁定价值派特法设计、建造、运营和维护石油、天然气和可再生能源资产。公司致力于数字化转型...

  • MySQL数据库_不能用邮箱注册企业邮箱吗
    <strong>MySQL数据库_不能用邮箱注册企业邮箱吗</strong>

    MySQL数据库_不能用邮箱注册企业邮箱吗

    如今,企业被迫维护两种类型的分析系统:数据仓库和数据湖。数据仓库提供了有关业务健康状况的重要见解。数据湖可以发现客户、产品、员工和流程的...

  • 微软云_服务器售后_年度促销
    <strong>微软云_服务器售后_年度促销</strong>

    微软云_服务器售后_年度促销

    使用Azure的客户管理密钥进行数据加密2019年9月6日|3分钟读取作者:保卢斯雪花新闻,雪花科技2017年,雪花宣布使用AWS密钥管理服务(KMS)支持客户管理密...

云储存

更多 >
  • <strong>数据库_北京网站建设_安全稳定</strong>
    数据库_北京网站建设_安全稳定

    9月17日,SAP大学联盟大中华区负责人杨珍妮(Jenny Yang)为西安电子科技大学学生做了SAP讲座。学生80人,教授1人。演讲者简要介绍了SAP ERP,并举例说明了...

  • <strong>域名解析_阿里云个人邮箱_速度快</strong>
    域名解析_阿里云个人邮箱_速度快

    我叫Bruno Cavestro,是一个技术极客,对SAP BusinessObjects customization充满热情。当我发现SAP Lumira时,我立刻爱上了它的扩展机制。但是,我浏览了一些关于SAP...

云储存消息队列_美国服务器ip_代金券
云储存域名注册_天翼云盘电脑版_便宜的
云储存数据库_服务器系统有哪些_返现
云储存网站服务器_美国免费虚拟主机_测评
云储存云主机_外网无法访问服务器_企业级