[ { "@id": "dtmi:seeedkk:ReButton;1", "@type": "Interface", "contents": [ { "@id": "dtmi:seeedkk:ReButton:batteryVoltage;1", "@type": [ "Telemetry", "Voltage" ], "description": { "en": "Battery Voltage value.", "ja": "バッテリーの電圧値を通知。" }, "displayName": { "en": "Battery Voltage", "ja": "バッテリー電圧" }, "name": "batteryVoltage", "schema": "double", "unit": "volt" }, { "@id": "dtmi:seeedkk:ReButton:actionCount;1", "@type": "Telemetry", "description": { "en": "Number of button events.", "ja": "ボタンイベントの通知回数" }, "displayName": { "en": "Action Count", "ja": "アクションカウント" }, "name": "actionCount", "schema": "integer" }, { "@id": "dtmi:seeedkk:ReButton:singleClick;1", "@type": [ "Telemetry", "Event" ], "description": { "en": "Single Click event.", "ja": "シングルクリックを通知" }, "displayName": { "en": "Single Click", "ja": "シングルクリック" }, "name": "singleClick", "schema": "string" }, { "@id": "dtmi:seeedkk:ReButton:doubleClick;1", "@type": [ "Telemetry", "Event" ], "description": { "en": "Double Click event.", "ja": "ダブルクリックを通知" }, "displayName": { "en": "Double Click", "ja": "ダブルクリック" }, "name": "doubleClick", "schema": "string" }, { "@id": "dtmi:seeedkk:ReButton:tripleClick;1", "@type": [ "Telemetry", "Event" ], "description": { "en": "Triple Click event.", "ja": "トリプルクリックを通知" }, "displayName": { "en": "Triple Click", "ja": "トリプルクリック" }, "name": "tripleClick", "schema": "string" }, { "@id": "dtmi:seeedkk:ReButton:longPress;1", "@type": [ "Telemetry", "Event" ], "description": { "en": "Long Press event.", "ja": "ロングクリックを通知" }, "displayName": { "en": "Long Press", "ja": "ロングクリック" }, "name": "longPress", "schema": "string" }, { "@id": "dtmi:seeedkk:ReButton:superLongPress;1", "@type": [ "Telemetry", "Event" ], "description": { "en": "Super Long Press event", "ja": "スーパーロングクリックを通知" }, "displayName": { "en": "Super Long Press", "ja": "スーパーロングクリック" }, "name": "superLongPress", "schema": "string" }, { "@id": "dtmi:seeedkk:ReButton:message;1", "@type": [ "Telemetry", "Event" ], "description": { "en": "Button Event message.", "ja": "ボタンイベントのメッセージを通知" }, "displayName": { "en": "Message", "ja": "メッセージ" }, "name": "message", "schema": "string" }, { "@id": "dtmi:seeedkk:ReButton:actionNum;1", "@type": [ "Telemetry", "Event" ], "description": { "en": "Type of button event.", "ja": "ボタンイベントの種類を通知" }, "displayName": { "en": "Action Number", "ja": "アクション番号" }, "name": "actionNum", "schema": "string" }, { "@id": "dtmi:seeedkk:ReButton:temperature;1", "@type": [ "Telemetry", "Temperature" ], "description": { "en": "Temperature value notified if environment sensors (SHT31, SHT35, BME280) are connected", "ja": "環境センサ(SHT31,SHT35,BME280)が接続されている場合に通知される温度データ" }, "displayName": { "en": "Temperature", "ja": "温度" }, "name": "temperature", "schema": "double", "unit": "degreeCelsius" }, { "@id": "dtmi:seeedkk:ReButton:humidity;1", "@type": [ "Telemetry", "RelativeHumidity" ], "description": { "en": "Humidity value notified if environment sensors (SHT31, SHT35, BME280) are connected", "ja": "環境センサ(SHT31,SHT35,BME280)が接続されている場合に通知される湿度データ" }, "displayName": { "en": "Humidity", "ja": "湿度" }, "name": "humidity", "schema": "double", "unit": "percent" }, { "@id": "dtmi:seeedkk:ReButton:pressure;1", "@type": [ "Telemetry", "Pressure" ], "description": { "en": "Barometric pressure value notified if environment sensor (BME280) is connected", "ja": "環境センサ(BME280)が接続されている場合に通知される気圧データ" }, "displayName": { "en": "Barometric pressure", "ja": "気圧" }, "name": "pressure", "schema": "double", "unit": "pascal" } ], "displayName": "ReButton", "@context": [ "dtmi:iotcentral:context;2", "dtmi:dtdl:context;2" ] } ]