Contents

[Step 0] Advance preparation

[Step 1] Create a DynamoDB table

[Step 2] Get IAM Access Key

[Step 3] Login with your IoT.kyoto VIS account

[Step 4] Create a graph

[Option 1] Change graph settings

[Option 2] Set thresholds

[Option 3] Search past data

[Option 4] Download data in CSV file

[Option 5] Rearrange panels

[Option 6] Delete graph

[Step 0] Advance preparation

Things to prepare in advance

1. IoT.kyoto VIS configuration example

The following is a configuration example with IoT.kyoto VIS; note that your data has to be in Amazon DynamoDB in order to use IoT.kyoto VIS.

Overall configuration diagram

2. Data required to use IoT.kyoto VIS

Below shows the data required for IoT devices that output temperature and illuminance, as an example.

[UTC]
  YYYY-MM-DDThh:mm:ssZ
  YYYY-MM-DDThh:mm:ss.sssZ
  YYYY/MM/DDThh:mm:ssZ
  YYYY/MM/DDThh:mm:ss.sssZ
  UNIX timestamp(Integer 10 digits)
  UNIX timestamp(Integer 13 digits)
[Others]
  YYYY-MM-DD hh:mm:ss
  YYYY-MM-DD hh:mm:ss.sss
  YYYY-MM-DDThh:mm:ss+hhmm
  YYYY-MM-DDThh:mm:ss+hh:mm
  YYYY-MM-DDThh:mm:ss.sss+hhmm
  YYYY-MM-DDThh:mm:ss.sss+hh:mm
  YYYY/MM/DD hh:mm:ss
  YYYY/MM/DD hh:mm:ss.sss
  YYYY/MM/DDThh:mm:ss+hhmm
  YYYY/MM/DDThh:mm:ss+hh:mm
  YYYY/MM/DDThh:mm:ss.sss+hhmm
  YYYY/MM/DDThh:mm:ss.sss+hh:mm

3. How to write data to a DynamoDB table

{"light": 164, "ID": "id000", "time_sensor": "2016-03-28 15:16:48"}
{"light": 692, "ID": "id000", "time_sensor": "2016-03-28 15:16:49"}

[Step 1] Create a DynamoDB table

1. Sign in to the AWS Management Console.

How to connect to the dynamoDB console

2. Check your AWS region.

Check the region

3. Press [Create table] in the DynamoDB console.

create table

4. Enter any name in the table name field.

Determine table name

5. Enter any name for the partition key of the primary key.

Set partition key

6. Check the [Add sort key] box.

Add sort key

7. Enter any name for the sort key of the primary key.

Sort key setting

8. Make sure the box [Use default settings] is checked. Press [Create].

Creation of the Dynamodb table

[Step 2] Get IAM Access Key

Here we will be generating an access key that are granted access to table information of all DynamoDB tables and their data. If you want to narrow down the permission, please refer to the procedure here.

1. Open the Identity and Access Management (IAM) console.

IAM console selection

2. Select [Users] to open it. Press [Add user] to create a user with any name.

Add user

Create user

3. Set access authority.

Policy selection

4. Enter [Add Tag] as desired and press [Next: Review].

5. If there is no probrem with the content, press [Create user].

New user confirmation

csv download

How to create an Access Key with limited privileges

If you have already generated the access key, proceed to Step 3.

1. Open the Identity and Access Management (IAM) console.

IAM console selection

2. Select “Policies” to open it. Press [Create policy].

Policy creation screen

3. Create a policy that grants read-only permissions for a specific DynamoDB table.

4. Select [Users] to open it. Press [Add user] to create a user with any name.

Add user

Create user

5. Set access authority.

Policy selection

6. Enter [Add Tag] as desired and press [Next: Review].

7. If there is no probrem with the content, press [Create user].

New user confirmation

csv download

[Step 3] Login with your IoT.kyoto VIS account

Note: IoT.kyoto VIS does not support Internet Explorer; use modern browsers such as Google Chrome and Firefox.

0. Access IoT.kyoto VIS.

VIS login screen

  1. Sign In: sign in from here after completion of registration. (You can also use the login information registered on the old VIS site here.)

  2. Create Account: if you do not have an account, please create one from here.
  3. Forgot your password?: if you forget your account password, please reissue your password here.

1. Create an account

1.1. Press [Create Account] to go to the registration page.

VIS new registration screen

1.2. Enter your email address, ID and password.

If you prefer your ID to be the same as the email address, check “I prefer to use my email address as my ID”.

Accept the terms of service by checking “Agree with the Terms” and press [Register]; a confirmation email will be sent to the email address you entered.

Note: when setting the password, set it to 8 characters or more, including both uppercase and lowercase letters, and a number; an error may occur if this condition is not met.

1.3. Wait for the verification email to arrive.

Click the link in the email to complete registration.

2. If you forget your password

2.1. Press [Forgot your password?].

2.2. Enter your ID and press the [Reset Password].

Authentication code transmission screen

A verification code will be sent to the registered email address.

Note: your ID is required to reset the password.

2.3 Reset the password using the verification code in the email.

Enter the verification code in the form and set a new password.

Press [Reset Password] to complete the password reset.

Password reset

[Step 4] Create a graph

Graph screen menu

  1. General Settings: change time zone and language settings.
  2. IoT.kyoto: move to IoT.kyoto.
  3. How to Use: move to this page.
  4. Log out: log out.
  5. Add graph: add a graph.
  6. Rearrange panels: sort the graphs (if there are more than one).
  7. Change graph size: show the graphs in two columns or one column.

1. Add a graph

1.1. Press the [Add graph] icon.

Add Graph

2. Set the credential.

new credential setting

existing credential setting

3. Enter the table name.

Note: if the error message “Please check the table name” is shown, the table name you entered was not found. Make sure the table name is correct.

Note: if the error message “Please check the credential set in Step1.” is shown, it is possible that the authentication information is incorrect or the credential does not have sufficient permissions to access data. Please check each and if necessary, refer to [Step 2] Get IAM Access Key.

input table name confirm table info

4. Set the date and time format of sensor data.

format setting select format confirm format

5. Check the settings and save.

confirm graph setting

6. Select the sensor you want to display.

select sensor

When there is no sensor to display

add partition key

7. Select the display target key you want to display and draw a graph.

Note: graph may not be created if the latest data is older than the time range set in the graph setting (default is 5 minutes).

update target keys draw graph

[Option 1] Change graph settings

Here we will show you how to set the graph title and update frequency.

1. Go to the graph setting.

graph setting icon

manual setting

graph display setting

2. Change settings.

graph display setting overall

  1. You can change the title displayed at the top of the graph panel.

  2. You can change the interval to update the graph data.

    The minimum value is 1 second. Decreasing the value may narrow the graph drawing width.

  3. You can change the time range of data on the graph.

    If you choose “5 min.” for instance, the data within 5 minutes of the current time is targeted for the graph drawing.

  4. You can change the date and time format to be displayed on the horizontal axis of the graph.

  5. You can set the range of the vertical axis.

    If “off” is selected, the scale is automatically chosen.

  6. You can change how to connect the graph data.

  7. Selectable partition key can be deleted/added.

  8. Selectable display target keys can be deleted/added.

[Option 2] Set thresholds

1. Go to the threshold setting.

Graph setting selection

Threshold setting selection

2. Set thresholds for a target key.

Threshold setting

You can check the error history.

Anomaly history batch

Alarm history

You can receive email notifications by setting emails.

Alert mail example

[Option 3] Search past data

Search screen selection

2. Fill in the search conditions.

Enter search items

3. Get the graph.

search results

Note: data acquisition may fail depending on the read capacity of the referenced DynamoDB table; please narrow the search target period or adjust the read capacity of the DynamoDB table in this case.

[Option 4] Download data in CSV file

1. Go to the CSV download.

csv download selection

2. Specify the IoT device and the target period.

csv download condition entry

3. get a CSV file.

csv download result

Note: data download may fail if number of record exceeds 50,000 or the data size is over 5MB; please adjust the target period in this case.

Note: depending on the read capacity of the target DynamoDB table, the data acquisition may fail even if the target data size does not exceed the limitations; please adjust the target period or read capacity of DynamoDB table in this case.

[Option 5] Rearrange panels

This feature is available only when you have multiple graph panels.

1. Switch to panels sort mode.

Sort mode switching selection

2. Sort graph panels.

Graph move

3. Exit sort mode.

End sort

[Option 6] Delete graph

1. Press the [Delete This Graph] button.

Graph delete selection

2. Delete the graph.

Confirm graph deletion

Note: after confirmation, the settings of the graph may also be deleted.