Skip to content

Instantly share code, notes, and snippets.

@cerebrate
Created April 21, 2017 03:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cerebrate/d61be63a4dbf18448bede5cf79a66bb7 to your computer and use it in GitHub Desktop.
Save cerebrate/d61be63a4dbf18448bede5cf79a66bb7 to your computer and use it in GitHub Desktop.
setting saver flow
[
{
"id": "acb5d49b.eed3f8",
"type": "ui_numeric",
"z": "9af1e491.e34a28",
"name": "",
"label": "Normal",
"group": "172d0d4f.b40b73",
"order": 5,
"width": 0,
"height": 0,
"passthru": true,
"topic": "thermostatNormalSetting",
"format": "{{value}}",
"min": "50",
"max": "100",
"step": 1,
"x": 660,
"y": 1280,
"wires": [
[
"6d4baffc.ad0f6",
"4bd9e7cd.3a8068"
]
]
},
{
"id": "6d4baffc.ad0f6",
"type": "change",
"z": "9af1e491.e34a28",
"name": "",
"rules": [
{
"t": "set",
"p": "normalSetting",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1000,
"y": 1280,
"wires": [
[]
]
},
{
"id": "4bd9e7cd.3a8068",
"type": "leveldb out",
"z": "9af1e491.e34a28",
"level": "6846add2.1761b4",
"operation": "store",
"name": "",
"x": 1020,
"y": 1340,
"wires": []
},
{
"id": "68efb6f4.26ea08",
"type": "inject",
"z": "9af1e491.e34a28",
"name": "",
"topic": "thermostatNormalSetting",
"payload": "get",
"payloadType": "str",
"repeat": "",
"crontab": "",
"once": true,
"x": 160,
"y": 1280,
"wires": [
[
"e8ed4548.f1c1b8"
]
]
},
{
"id": "e8ed4548.f1c1b8",
"type": "leveldb in",
"z": "9af1e491.e34a28",
"level": "6846add2.1761b4",
"name": "",
"x": 440,
"y": 1280,
"wires": [
[
"acb5d49b.eed3f8"
]
]
},
{
"id": "172d0d4f.b40b73",
"type": "ui_group",
"z": "",
"name": "Thermostat",
"tab": "f2b2cc3.438083",
"order": 3,
"disp": true,
"width": "6"
},
{
"id": "6846add2.1761b4",
"type": "leveldbase",
"z": "",
"db": "/home/pi/.ariadne/settings.ldb"
},
{
"id": "f2b2cc3.438083",
"type": "ui_tab",
"z": "",
"name": "Summary",
"icon": "home",
"order": 1
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment