Created
April 26, 2016 06:43
-
-
Save jforge/5ef35b695222962314e6d9f8e32ff7ad to your computer and use it in GitHub Desktop.
This file contains hidden or 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":"2bea36d2.c3a802","type":"ui_tab","z":"f4b9d0bf.90fe58","name":"Home","icon":"dashboard","order":"1"},{"id":"a2ee8427.7e26b8","type":"mqtt-broker","z":"f4b9d0bf.90fe58","broker":"things.online","port":"1883","clientid":"node-red-evolux","usetls":false,"verifyservercert":true,"compatmode":true,"keepalive":"60","cleansession":true,"willTopic":"","willQos":"0","willRetain":null,"willPayload":"","birthTopic":"","birthQos":"0","birthRetain":null,"birthPayload":""},{"id":"6fa412ff.12821c","type":"debug","z":"f4b9d0bf.90fe58","name":"","active":true,"console":"false","complete":"false","x":843,"y":146,"wires":[]},{"id":"b8e48a88.979868","type":"mqtt | |
| in","z":"f4b9d0bf.90fe58","name":"Rotary Encoder | |
| Count","topic":"tinkerforge/bricklet/rotary_encoder/o3B/count","broker":"a2ee8427.7e26b8","x":135,"y":182.5,"wires":[["4905fab2.44ea64"]]},{"id":"4a01eaae.7cbe5c","type":"inject","z":"f4b9d0bf.90fe58","name":"Segment | |
| Display Start | |
| Counter","topic":"tinkerforge/bricklet/segment_display_4x7/pUj/start_counter/set","payload":"{ | |
| \"value_from\": 0, \"value_to\": 500, \"increment\": 5, \"length\": | |
| 100}","payloadType":"json","repeat":"","crontab":"","once":true,"x":199,"y":441.5,"wires":[["91e22d3f.cf847"]]},{"id":"e85f4797.ab66c","type":"inject","z":"f4b9d0bf.90fe58","name":"Segment | |
| Display | |
| Reset","topic":"tinkerforge/bricklet/segment_display_4x7/pUj/segments/set","payload":"{ | |
| \"segments\": [ 0, 0, 0, 0 ], \"brightness\": 0, \"colon\": | |
| false}","payloadType":"json","repeat":"","crontab":"","once":false,"x":168,"y":491,"wires":[["91e22d3f.cf847"]]},{"id":"91e22d3f.cf847","type":"mqtt | |
| out","z":"f4b9d0bf.90fe58","name":"Segment Display | |
| 4x7","topic":"","qos":"","retain":"","broker":"a2ee8427.7e26b8","x":853.1110916137695,"y":586.7222595214844,"wires":[]},{"id":"f2558488.5b197","type":"inject","z":"f4b9d0bf.90fe58","name":"Segment | |
| Display | |
| 1","topic":"tinkerforge/bricklet/segment_display_4x7/pUj/segments/set","payload":"{ | |
| \"segments\": [ 1, 0, 0, 0 ], \"brightness\": 0, \"colon\": | |
| false}","payloadType":"json","repeat":"","crontab":"","once":false,"x":197,"y":556,"wires":[["91e22d3f.cf847"]]},{"id":"a2b94158.9ada6","type":"ui_button","z":"f4b9d0bf.90fe58","tab":"2bea36d2.c3a802","name":"Start | |
| Segment Counter","payload":"{ \"value_from\": 0, \"value_to\": 500, | |
| \"increment\": 5, \"length\": | |
| 100}","topic":"tinkerforge/bricklet/segment_display_4x7/pUj/start_counter/set","group":"Segment | |
| Display","order":1,"x":155,"y":352,"wires":[["91e22d3f.cf847"]]},{"id":"f594419a.ad7a3","type":"ui_gauge","z":"f4b9d0bf.90fe58","tab":"2bea36d2.c3a802","name":"Gauge | |
| CO2","group":"Environmental","order":"1","format":"{{value}}","min":"400","max":"3000","x":839,"y":70,"wires":[]},{"id":"56c789fb.3866c","type":"mqtt | |
| in","z":"f4b9d0bf.90fe58","name":"CO2 | |
| Sensor","topic":"tinkerforge/bricklet/co2/xt3/co2_concentration","broker":"a2ee8427.7e26b8","x":106,"y":78,"wires":[["1fbaab17.833bad"]]},{"id":"4765c65a.18b98","type":"ui_slider","z":"f4b9d0bf.90fe58","tab":"2bea36d2.c3a802","name":"Slider","topic":"","group":"Rotary | |
| Encoder","order":1,"min":"-30","max":"+30","x":834,"y":242,"wires":[[]]},{"id":"eba4414c.748678","type":"contrib-json","z":"f4b9d0bf.90fe58","engine":"JSONSelect","command":"jq","expr":":root | |
| > .co2_concentration","complete":"property","prop":"payload","name":"Get | |
| CO2 | |
| concentration","x":501,"y":67.5,"wires":[["f594419a.ad7a3"]]},{"id":"1fbaab17.833bad","type":"json","z":"f4b9d0bf.90fe58","name":"","x":290,"y":78.5,"wires":[["eba4414c.748678"]]},{"id":"4905fab2.44ea64","type":"json","z":"f4b9d0bf.90fe58","name":"","x":327,"y":181.5,"wires":[["b3858169.b8ab18"]]},{"id":"b3858169.b8ab18","type":"contrib-json","z":"f4b9d0bf.90fe58","engine":"JSONSelect","command":"jq","expr":":root | |
| > .count","complete":"property","prop":"payload","name":"Get Rotary | |
| Encoder | |
| Count","x":550,"y":236,"wires":[["4765c65a.18b98"]]},{"id":"4bc5adde.214224","type":"inject","z":"f4b9d0bf.90fe58","name":"Segment | |
| Display | |
| 2","topic":"tinkerforge/bricklet/segment_display_4x7/pUj/segments/set","payload":"{ | |
| \"segments\": [ 0, 1, 0, 0 ], \"brightness\": 0, \"colon\": | |
| false}","payloadType":"json","repeat":"","crontab":"","once":false,"x":195,"y":594,"wires":[["91e22d3f.cf847"]]},{"id":"779bbc25.8d509c","type":"ui_button","z":"f4b9d0bf.90fe58","tab":"2bea36d2.c3a802","name":"Stop | |
| Segment Counter","payload":"{ \"segments\": [ 0, 0, 0, 0 ], | |
| \"brightness\": 0, \"colon\": | |
| false}","topic":"tinkerforge/bricklet/segment_display_4x7/pUj/segments/set","group":"Segment | |
| Display","order":1,"x":155,"y":391,"wires":[["91e22d3f.cf847"]]},{"id":"32661cca.e8e4b4","type":"mqtt | |
| in","z":"f4b9d0bf.90fe58","name":"Rotary Encoder | |
| button","topic":"tinkerforge/bricklet/rotary_encoder/o3B/pressed","broker":"a2ee8427.7e26b8","x":136,"y":272,"wires":[["bfcef4a0.01421"]]},{"id":"bfcef4a0.01421","type":"json","z":"f4b9d0bf.90fe58","name":"","x":328,"y":287.5,"wires":[["1895886a.9448a"]]},{"id":"48e45b79.adf45c","type":"ui_switch","z":"f4b9d0bf.90fe58","tab":"2bea36d2.c3a802","name":"Switch","topic":"","group":"Rotary | |
| Encoder","order":1,"onvalue":"true","offvalue":"false","x":839,"y":320,"wires":[[]]},{"id":"1895886a.9448a","type":"contrib-json","z":"f4b9d0bf.90fe58","engine":"JSONSelect","command":"jq","expr":":root | |
| > .pressed","complete":"property","prop":"payload","name":"Get Rotary | |
| Encoder | |
| Button","x":551,"y":306.5,"wires":[["48e45b79.adf45c","6fa412ff.12821c"]]},{"id":"97e30ac.c6dd978","type":"inject","z":"f4b9d0bf.90fe58","name":"Segment | |
| Loop","topic":"tinkerforge/bricklet/segment_display_4x7/pUj/segments/set","payload":" | |
| [{ \"segments\": [ 1, 0, 0, 0 ], \"brightness\": 7, \"colon\": false}, { | |
| \"segments\": [ 0, 1, 0, 0 ], \"brightness\": 7, \"colon\": false}, { | |
| \"segments\": [ 0, 0, 1, 0 ], \"brightness\": 7, \"colon\": false}, { | |
| \"segments\": [ 0, 0, 0, 1 ], \"brightness\": 7, \"colon\": false}, { | |
| \"segments\": [ 0, 0, 0, 2 ], \"brightness\": 7, \"colon\": false}, { | |
| \"segments\": [ 0, 0, 0, 4 ], \"brightness\": 7, \"colon\": false}, { | |
| \"segments\": [ 0, 0, 0, 8 ], \"brightness\": 7, \"colon\": false}, { | |
| \"segments\": [ 0, 0, 8, 0 ], \"brightness\": 7, \"colon\": false}, { | |
| \"segments\": [ 0, 8, 0, 0 ], \"brightness\": 7, \"colon\": false}, { | |
| \"segments\": [ 8, 0, 0, 0 ], \"brightness\": 7, \"colon\": false}, { | |
| \"segments\": [ 16, 0, 0, 0], \"brightness\": 7, \"colon\": false}, { | |
| \"segments\": [ 32, 0, 0, 0], \"brightness\": 7, \"colon\": false}, { | |
| \"segments\": [ 0, 0, 0, 0], \"brightness\": 7, \"colon\": false} | |
| ]","payloadType":"json","repeat":"1","crontab":"","once":true,"x":493,"y":368.5,"wires":[["9111975b.13131"]]},{"id":"9111975b.13131","type":"splitter","z":"f4b9d0bf.90fe58","name":"","property":"payload","x":664.6667022705078,"y":440.05553436279297,"wires":[["91e22d3f.cf847"]]}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment