Tulip/Banner 24V GPIO: K50L2RGB7ALSQ

This sample/template flow can be used for integration of the Banner K50L2RGB7ALSQ Pro Indicator with Alarm with the Tulip no-code app building platform through the use of 24V GPIO on an EdgeIO device. Refer to the Tulip Knowledge Base for more information.

[{"id":"704a2615af616ef1","type":"tab","label":"K50L2RGB7ALSQ (light w/ alarm)","disabled":true,"info":"Only the Alarm is working\r\nThe RGB Lights are not working unless the alarm is also on","env":[]},{"id":"daac4ada44cce5b6","type":"group","z":"704a2615af616ef1","name":"GPIO","style":{"label":true},"nodes":["36d20514a299dbda","22100f31a2c6f17f","c28aff826c9e0dc7","8b3e8cd23db312a8","60e01fda5a77c240","a7bed95541cd5658","abca06b3ae19e2bb"],"x":34,"y":19,"w":732,"h":162},{"id":"c224a5c675a1c2da","type":"group","z":"704a2615af616ef1","name":"Trigger 9 Colors","style":{"label":true},"nodes":["b11c9071c3cb2183","681505e3998a4d75","dcd2d592913c7f15","1b7659a86aa7d099","33ea4a6bf75e0f5f","ffacfc18bc85e971","b16d3b2de530f8c7","9f882b974419e1cc","ab7849d2899376cb","1382d154443e7816","503e301fce039fab","70bd8fb3e1539e5a","2c650d7824242a33","552bde12906abcc9","83d8f7f8de6941dd","78476442363b2726","e7431e4ec58861d6"],"x":34,"y":199,"w":1112,"h":322},{"id":"36d20514a299dbda","type":"tulip-digital-output","z":"704a2615af616ef1","g":"daac4ada44cce5b6","name":"tulip-digital-output","pinsWriteEnabled":[true,true,true,true],"pinLevels":[true,true,true,true],"configMode":"static","x":390,"y":100,"wires":[]},{"id":"22100f31a2c6f17f","type":"inject","z":"704a2615af616ef1","g":"daac4ada44cce5b6","name":"Turn On GPIO","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":150,"y":100,"wires":[["36d20514a299dbda"]]},{"id":"c28aff826c9e0dc7","type":"inject","z":"704a2615af616ef1","g":"daac4ada44cce5b6","name":"Turn Off GPIO","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":150,"y":60,"wires":[["8b3e8cd23db312a8"]]},{"id":"8b3e8cd23db312a8","type":"tulip-digital-output","z":"704a2615af616ef1","g":"daac4ada44cce5b6","name":"tulip-digital-output","pinsWriteEnabled":[true,true,true,true],"pinLevels":[false,false,false,true],"configMode":"static","x":390,"y":60,"wires":[]},{"id":"b11c9071c3cb2183","type":"comment","z":"704a2615af616ef1","g":"c224a5c675a1c2da","name":"White wire needs to be wired to GPOUT (current setup: Pin 3)","info":"","x":740,"y":240,"wires":[]},{"id":"681505e3998a4d75","type":"inject","z":"704a2615af616ef1","g":"c224a5c675a1c2da","name":"Turn on Green Light","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":170,"y":300,"wires":[["dcd2d592913c7f15"]]},{"id":"dcd2d592913c7f15","type":"tulip-digital-output","z":"704a2615af616ef1","g":"c224a5c675a1c2da","name":"Turn on GPIO 3","pinsWriteEnabled":[false,true,true,true],"pinLevels":[false,false,true,false],"configMode":"static","x":360,"y":300,"wires":[]},{"id":"1b7659a86aa7d099","type":"inject","z":"704a2615af616ef1","g":"c224a5c675a1c2da","name":"Turn off Light","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":190,"y":240,"wires":[["33ea4a6bf75e0f5f"]]},{"id":"33ea4a6bf75e0f5f","type":"tulip-digital-output","z":"704a2615af616ef1","g":"c224a5c675a1c2da","name":"Turn off both GPIO 2+3","pinsWriteEnabled":[false,true,true,false],"pinLevels":[true,false,false,true],"configMode":"static","x":390,"y":240,"wires":[]},{"id":"ffacfc18bc85e971","type":"comment","z":"704a2615af616ef1","g":"c224a5c675a1c2da","name":"Gray wire needs to be wired to GPOUT (current setup: Pin 2). Gray wire controls alarm","info":"","x":820,"y":440,"wires":[]},{"id":"b16d3b2de530f8c7","type":"inject","z":"704a2615af616ef1","g":"c224a5c675a1c2da","name":"Turn on Yellow Light","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":170,"y":340,"wires":[["9f882b974419e1cc"]]},{"id":"9f882b974419e1cc","type":"tulip-digital-output","z":"704a2615af616ef1","g":"c224a5c675a1c2da","name":"Turn on GPIO 2+4","pinsWriteEnabled":[false,true,true,true],"pinLevels":[false,true,false,true],"configMode":"static","x":370,"y":340,"wires":[]},{"id":"ab7849d2899376cb","type":"tulip-digital-output","z":"704a2615af616ef1","g":"c224a5c675a1c2da","name":"Turn on only GPIO 2","pinsWriteEnabled":[false,true,true,true],"pinLevels":[false,true,false,false],"configMode":"static","x":380,"y":380,"wires":[]},{"id":"1382d154443e7816","type":"inject","z":"704a2615af616ef1","g":"c224a5c675a1c2da","name":"Turn on Red Light","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":170,"y":380,"wires":[["ab7849d2899376cb"]]},{"id":"503e301fce039fab","type":"inject","z":"704a2615af616ef1","g":"c224a5c675a1c2da","name":"Turn off Alarm","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":150,"y":440,"wires":[["70bd8fb3e1539e5a"]]},{"id":"70bd8fb3e1539e5a","type":"tulip-digital-output","z":"704a2615af616ef1","g":"c224a5c675a1c2da","name":"Turn on only GPOUT 1","pinsWriteEnabled":[true,false,false,false],"pinLevels":[true,true,false,true],"configMode":"static","x":380,"y":440,"wires":[]},{"id":"2c650d7824242a33","type":"inject","z":"704a2615af616ef1","g":"c224a5c675a1c2da","name":"Turn on Alarm","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":150,"y":480,"wires":[["552bde12906abcc9"]]},{"id":"552bde12906abcc9","type":"tulip-digital-output","z":"704a2615af616ef1","g":"c224a5c675a1c2da","name":"Turn off only GPOUT 1","pinsWriteEnabled":[true,false,false,false],"pinLevels":[false,false,false,true],"configMode":"static","x":380,"y":480,"wires":[]},{"id":"83d8f7f8de6941dd","type":"comment","z":"704a2615af616ef1","g":"c224a5c675a1c2da","name":"Color Inputs","info":"Input 1: Brown (Pin 4)\nInput 2: White (Pin 3)\nInput 3: Blue (Pin 1)","x":630,"y":300,"wires":[]},{"id":"abca06b3ae19e2bb","type":"comment","z":"704a2615af616ef1","g":"daac4ada44cce5b6","name":"Wiring","info":"Blue -> GPOUT-\nAll other wires -> GPOUT","x":570,"y":60,"wires":[]},{"id":"60e01fda5a77c240","type":"comment","z":"704a2615af616ef1","g":"daac4ada44cce5b6","name":"Blue -> GPOUT-","info":"Blue -> GPOUT-\nAll other wires -> GPOUT","x":600,"y":100,"wires":[]},{"id":"a7bed95541cd5658","type":"comment","z":"704a2615af616ef1","g":"daac4ada44cce5b6","name":"All other wires -> GPOUT","info":"Blue -> GPOUT-\nAll other wires -> GPOUT","x":630,"y":140,"wires":[]},{"id":"78476442363b2726","type":"tulip-digital-output","z":"704a2615af616ef1","g":"c224a5c675a1c2da","name":"Turn on GPOUT 3+4","pinsWriteEnabled":[false,true,true,true],"pinLevels":[false,false,true,true],"configMode":"static","x":840,"y":380,"wires":[]},{"id":"e7431e4ec58861d6","type":"inject","z":"704a2615af616ef1","g":"c224a5c675a1c2da","name":"Turn on Red Light","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":630,"y":380,"wires":[["78476442363b2726"]]}]

Flow Info

Created 8 months, 3 weeks ago
Rating: not yet rated

Actions

Rate:

Node Types

Core
  • comment (x6)
  • inject (x9)
Other
  • group (x2)
  • tab (x1)
  • tulip-digital-output (x9)

Tags

  • Tulip
  • Banner
  • GPIO
  • K50L2RGB7ALSQ
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option