Created
July 25, 2020 13:55
-
-
Save eelcodijkstra/2d960c527a47687552507ce4b83b4a14 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "2d6c265f.5f4582", | |
"type": "tab", | |
"label": "ttn-dashboard", | |
"disabled": false, | |
"info": "" | |
}, | |
{ | |
"id": "7ccf696f.6e89a", | |
"type": "mqtt in", | |
"z": "2d6c265f.5f4582", | |
"name": "", | |
"topic": "ieni-2019/devices/+/up", | |
"qos": "2", | |
"broker": "f8750939.19b468", | |
"x": 190, | |
"y": 120, | |
"wires": [ | |
[ | |
"9333cb5a.2bb7d8" | |
] | |
] | |
}, | |
{ | |
"id": "9333cb5a.2bb7d8", | |
"type": "json", | |
"z": "2d6c265f.5f4582", | |
"name": "", | |
"property": "payload", | |
"action": "", | |
"pretty": false, | |
"x": 390, | |
"y": 120, | |
"wires": [ | |
[ | |
"fa53c382.6e92f8", | |
"a08ac852.65c64" | |
] | |
] | |
}, | |
{ | |
"id": "fa53c382.6e92f8", | |
"type": "debug", | |
"z": "2d6c265f.5f4582", | |
"name": "", | |
"active": true, | |
"tosidebar": true, | |
"console": false, | |
"tostatus": false, | |
"complete": "false", | |
"x": 550, | |
"y": 120, | |
"wires": [] | |
}, | |
{ | |
"id": "7c0a111d.3cb75", | |
"type": "ui_gauge", | |
"z": "2d6c265f.5f4582", | |
"name": "", | |
"group": "febde8db.f65de8", | |
"order": 0, | |
"width": 0, | |
"height": 0, | |
"gtype": "gage", | |
"title": "temperature", | |
"label": "units", | |
"format": "{{payload.celcius}}", | |
"min": 0, | |
"max": "50", | |
"colors": [ | |
"#00b500", | |
"#e6e600", | |
"#ca3838" | |
], | |
"seg1": "", | |
"seg2": "", | |
"x": 550, | |
"y": 220, | |
"wires": [] | |
}, | |
{ | |
"id": "15c98233.c9347e", | |
"type": "ui_gauge", | |
"z": "2d6c265f.5f4582", | |
"name": "", | |
"group": "397ba453.3b0e0c", | |
"order": 0, | |
"width": 0, | |
"height": 0, | |
"gtype": "gage", | |
"title": "barometer", | |
"label": "units", | |
"format": "{{payload.mbar}}", | |
"min": "960", | |
"max": "1060", | |
"colors": [ | |
"#00b500", | |
"#e6e600", | |
"#ca3838" | |
], | |
"seg1": "", | |
"seg2": "", | |
"x": 550, | |
"y": 280, | |
"wires": [] | |
}, | |
{ | |
"id": "a08ac852.65c64", | |
"type": "change", | |
"z": "2d6c265f.5f4582", | |
"name": "", | |
"rules": [ | |
{ | |
"t": "set", | |
"p": "payload", | |
"pt": "msg", | |
"to": "payload.payload_fields", | |
"tot": "msg" | |
} | |
], | |
"action": "", | |
"property": "", | |
"from": "", | |
"to": "", | |
"reg": false, | |
"x": 320, | |
"y": 240, | |
"wires": [ | |
[ | |
"7c0a111d.3cb75", | |
"15c98233.c9347e", | |
"4b05fe38.aa6af", | |
"10d8495b.7b77b7" | |
] | |
] | |
}, | |
{ | |
"id": "6b425f87.4eb4f", | |
"type": "ui_chart", | |
"z": "2d6c265f.5f4582", | |
"name": "temperature", | |
"group": "febde8db.f65de8", | |
"order": 0, | |
"width": 0, | |
"height": 0, | |
"label": "temperature", | |
"chartType": "line", | |
"legend": "false", | |
"xformat": "HH:mm:ss", | |
"interpolate": "linear", | |
"nodata": "", | |
"dot": false, | |
"ymin": "0", | |
"ymax": "50", | |
"removeOlder": 1, | |
"removeOlderPoints": "", | |
"removeOlderUnit": "86400", | |
"cutout": 0, | |
"useOneColor": false, | |
"colors": [ | |
"#1f77b4", | |
"#aec7e8", | |
"#ff7f0e", | |
"#2ca02c", | |
"#98df8a", | |
"#d62728", | |
"#ff9896", | |
"#9467bd", | |
"#c5b0d5" | |
], | |
"useOldStyle": false, | |
"x": 550, | |
"y": 340, | |
"wires": [ | |
[], | |
[] | |
] | |
}, | |
{ | |
"id": "f08cec03.67112", | |
"type": "ui_chart", | |
"z": "2d6c265f.5f4582", | |
"name": "mbar", | |
"group": "397ba453.3b0e0c", | |
"order": 0, | |
"width": 0, | |
"height": 0, | |
"label": "barometer", | |
"chartType": "line", | |
"legend": "false", | |
"xformat": "HH:mm:ss", | |
"interpolate": "linear", | |
"nodata": "", | |
"dot": false, | |
"ymin": "960", | |
"ymax": "1060", | |
"removeOlder": 1, | |
"removeOlderPoints": "", | |
"removeOlderUnit": "86400", | |
"cutout": 0, | |
"useOneColor": false, | |
"colors": [ | |
"#1f77b4", | |
"#aec7e8", | |
"#ff7f0e", | |
"#2ca02c", | |
"#98df8a", | |
"#d62728", | |
"#ff9896", | |
"#9467bd", | |
"#c5b0d5" | |
], | |
"useOldStyle": false, | |
"x": 530, | |
"y": 400, | |
"wires": [ | |
[], | |
[] | |
] | |
}, | |
{ | |
"id": "4b05fe38.aa6af", | |
"type": "change", | |
"z": "2d6c265f.5f4582", | |
"name": "", | |
"rules": [ | |
{ | |
"t": "set", | |
"p": "payload", | |
"pt": "msg", | |
"to": "payload.celcius", | |
"tot": "msg" | |
} | |
], | |
"action": "", | |
"property": "", | |
"from": "", | |
"to": "", | |
"reg": false, | |
"x": 320, | |
"y": 340, | |
"wires": [ | |
[ | |
"6b425f87.4eb4f" | |
] | |
] | |
}, | |
{ | |
"id": "10d8495b.7b77b7", | |
"type": "change", | |
"z": "2d6c265f.5f4582", | |
"name": "", | |
"rules": [ | |
{ | |
"t": "set", | |
"p": "payload", | |
"pt": "msg", | |
"to": "payload.mbar", | |
"tot": "msg" | |
} | |
], | |
"action": "", | |
"property": "", | |
"from": "", | |
"to": "", | |
"reg": false, | |
"x": 320, | |
"y": 400, | |
"wires": [ | |
[ | |
"f08cec03.67112" | |
] | |
] | |
}, | |
{ | |
"id": "f8750939.19b468", | |
"type": "mqtt-broker", | |
"z": "", | |
"name": "TTN-EU-mqtt", | |
"broker": "eu.thethings.network", | |
"port": "8883", | |
"tls": "ee6286cb.030f78", | |
"clientid": "", | |
"usetls": true, | |
"compatmode": true, | |
"keepalive": "60", | |
"cleansession": true, | |
"birthTopic": "", | |
"birthQos": "0", | |
"birthPayload": "", | |
"closeTopic": "", | |
"closeQos": "0", | |
"closePayload": "", | |
"willTopic": "", | |
"willQos": "0", | |
"willPayload": "" | |
}, | |
{ | |
"id": "febde8db.f65de8", | |
"type": "ui_group", | |
"z": "", | |
"name": "TTN-device-1-temperature", | |
"tab": "18f86ddf.f7110a", | |
"disp": true, | |
"width": "6", | |
"collapse": false | |
}, | |
{ | |
"id": "397ba453.3b0e0c", | |
"type": "ui_group", | |
"z": "", | |
"name": "TTN-device-1-barometer", | |
"tab": "18f86ddf.f7110a", | |
"disp": true, | |
"width": "6", | |
"collapse": false | |
}, | |
{ | |
"id": "ee6286cb.030f78", | |
"type": "tls-config", | |
"z": "", | |
"name": "", | |
"cert": "", | |
"key": "", | |
"ca": "", | |
"certname": "", | |
"keyname": "", | |
"caname": "", | |
"verifyservercert": false | |
}, | |
{ | |
"id": "18f86ddf.f7110a", | |
"type": "ui_tab", | |
"z": "", | |
"name": "TTN dashboard", | |
"icon": "dashboard" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dashboard for TTN messages with "celsius" and "mbar" fields.