Hi Steve the flow is below.
OSC is Open Sound Control, it is a protocol for sending messages across UDP.
Thanks for any help.
Steve
[{"id":"585b49b.1d26cb8","type":"tab","label":"Schedule","disabled":false,"info":""},{"id":"b05d2abc.c27498","type":"udp out","z":"585b49b.1d26cb8","name":"","addr":"192.168.100.90","iface":"","port":"12321","ipv":"udp4","outport":"","base64":false,"multicast":"false","x":2040,"y":220,"wires":[]},{"id":"d12470a.45b239","type":"inject","z":"585b49b.1d26cb8","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"Schedule 1","payloadType":"str","x":2380,"y":1140,"wires":[["f52a058e.d3f818"]]},{"id":"949c3273.77805","type":"change","z":"585b49b.1d26cb8","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"\"clip ID \"&payload","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":2500,"y":1340,"wires":[[]]},{"id":"79ccc87d.9e6028","type":"inject","z":"585b49b.1d26cb8","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"stop-all","payload":"","payloadType":"str","x":100,"y":500,"wires":[["75f2d1d1.e5f92"]]},{"id":"ab52baff.c49f98","type":"inject","z":"585b49b.1d26cb8","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"start-all","payload":"","payloadType":"str","x":100,"y":540,"wires":[["75f2d1d1.e5f92"]]},{"id":"a1cdf62b.0414f8","type":"inject","z":"585b49b.1d26cb8","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"2","crontab":"","once":true,"onceDelay":0.1,"topic":"status-all","payload":"","payloadType":"str","x":110,"y":580,"wires":[["75f2d1d1.e5f92"]]},{"id":"9677f8db.0c7078","type":"udp in","z":"585b49b.1d26cb8","name":"","iface":"","port":"12345","ipv":"udp4","multicast":"false","group":"","datatype":"buffer","x":140,"y":120,"wires":[["e086c0c.12e234"]]},{"id":"9110933a.3d89c","type":"change","z":"585b49b.1d26cb8","name":"","rules":[{"t":"set","p":"topic","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":660,"y":120,"wires":[["75f2d1d1.e5f92"]]},{"id":"e06dd35d.6a1d9","type":"switch","z":"585b49b.1d26cb8","name":"","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"/schedule","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":470,"y":120,"wires":[["9110933a.3d89c"]]},{"id":"6e165e2.d2776a","type":"inject","z":"585b49b.1d26cb8","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"list-all","payload":"","payloadType":"str","x":90,"y":620,"wires":[["75f2d1d1.e5f92"]]},{"id":"c307a5c7.a10448","type":"change","z":"585b49b.1d26cb8","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.result[0].status.isRunning","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":980,"y":460,"wires":[["54e76aa5.c03ec4"]]},{"id":"54e76aa5.c03ec4","type":"switch","z":"585b49b.1d26cb8","name":"","property":"payload","propertyType":"msg","rules":[{"t":"true"},{"t":"false"}],"checkall":"true","repair":false,"outputs":2,"x":1170,"y":460,"wires":[["f7351c91.1bdd4","8159c5ad.4fc3f8"],["fbd6925d.7ef38","7a915c0.6bef1a4"]]},{"id":"f7351c91.1bdd4","type":"change","z":"585b49b.1d26cb8","name":"schedule on green","rules":[{"t":"set","p":"payload","pt":"msg","to":"[0,255,0]","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":1410,"y":360,"wires":[["23bad0f9.7193c"]]},{"id":"fbd6925d.7ef38","type":"change","z":"585b49b.1d26cb8","name":"schedule off red","rules":[{"t":"set","p":"payload","pt":"msg","to":"[255,0,0]","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":1400,"y":600,"wires":[["4eae10ff.f0e62"]]},{"id":"23bad0f9.7193c","type":"osc","z":"585b49b.1d26cb8","name":"Schedule on button control","path":"/style/bgcolor/1/3","metadata":false,"x":1740,"y":520,"wires":[["b05d2abc.c27498"]]},{"id":"f52a058e.d3f818","type":"osc","z":"585b49b.1d26cb8","name":"","path":"/style/text/1/1","metadata":false,"x":2530,"y":1140,"wires":[["b05d2abc.c27498"]]},{"id":"e086c0c.12e234","type":"osc","z":"585b49b.1d26cb8","name":"","path":"","metadata":false,"x":310,"y":120,"wires":[["e06dd35d.6a1d9"]]},{"id":"8414c055.fb11a","type":"osc","z":"585b49b.1d26cb8","name":"","path":"","metadata":false,"x":990,"y":220,"wires":[["b05d2abc.c27498"]]},{"id":"75f2d1d1.e5f92","type":"cronplus","z":"585b49b.1d26cb8","name":"","outputField":"topic","timeZone":"","persistDynamic":false,"commandResponseMsgOutput":"output2","outputs":2,"options":[{"name":"WDSlide 1","topic":"Slide 1","payloadType":"str","payload":"/press/bank/1/2","expressionType":"cron","expression":"0 45 10 ? * MON,TUE,WED,THU,FRI,SAT *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"},{"name":"WD_Video 1","topic":"Video 1","payloadType":"str","payload":"/press/bank/1/10","expressionType":"cron","expression":"0 05 11 ? * MON,TUE,WED,THU,FRI,SAT *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"},{"name":"WD_Video 2","topic":"Video 2","payloadType":"str","payload":"/press/bank/1/10","expressionType":"cron","expression":"0 22 13 ? * MON,TUE,WED,THU,FRI,SAT *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"},{"name":"WD_Video 3","topic":"Video 3","payloadType":"str","payload":"/press/bank/1/10","expressionType":"cron","expression":"0 39 15 ? * MON,TUE,WED,THU,FRI,SAT *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"},{"name":"WD_Video 4","topic":"Video 4","payloadType":"str","payload":"/press/bank/1/10","expressionType":"cron","expression":"0 56 17 ? * MON,TUE,WED,THU,FRI,SAT *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"},{"name":"Sunday Early Slide","topic":"Sunday Early Slide","payloadType":"str","payload":"/press/bank/1/2","expressionType":"cron","expression":"0 45 9 ? * SUN *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"},{"name":"SundayVideo1","topic":"SundayVideo1","payloadType":"str","payload":"/press/bank/1/10","expressionType":"cron","expression":"0 05 10 ? * SUN *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"},{"name":"SundayVideo2","topic":"SundayVideo2","payloadType":"str","payload":"/press/bank/1/10","expressionType":"cron","expression":"0 22 12 ? * SUN *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"},{"name":"SundayVideo3","topic":"SundayVideo2","payloadType":"str","payload":"/press/bank/1/10","expressionType":"cron","expression":"0 39 14 ? * SUN *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"},{"name":"SundayVideo4","topic":"SundayVideo4","payloadType":"str","payload":"/press/bank/1/10","expressionType":"cron","expression":"0 56 16 ? * SUN *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"},{"name":"projectorOnMon-Sat","topic":"projector on weekday","payloadType":"str","payload":"/press/bank/99/10","expressionType":"cron","expression":"0 30 10 ? * MON,TUE,WED,THU,FRI,SAT *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"},{"name":"projectorOffMon-Sat","topic":"projector off weekday","payloadType":"str","payload":"/press/bank/99/11","expressionType":"cron","expression":"0 15 20 ? * MON,TUE,WED,THU,FRI,SAT *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"},{"name":"projector on sunday","topic":"projector on sunday","payloadType":"str","payload":"/press/bank/99/10","expressionType":"cron","expression":"0 30 9 ? * SUN *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"},{"name":"projector off sunday","topic":"projector off sunday","payloadType":"str","payload":"/press/bank/99/11","expressionType":"cron","expression":"0 15 19 ? * SUN *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}],"x":440,"y":460,"wires":[["8414c055.fb11a"],["c307a5c7.a10448"]]},{"id":"c8ec1533.38f478","type":"change","z":"585b49b.1d26cb8","name":"set colour off","rules":[{"t":"set","p":"payload","pt":"msg","to":"[255,0,0]","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":2510,"y":1440,"wires":[["10c718ad.cdea37"]]},{"id":"75525179.13b33","type":"switch","z":"585b49b.1d26cb8","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"/press/bank/1/10","vt":"str"},{"t":"neq","v":"/press/bank/1/10","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":2350,"y":1460,"wires":[["c8ec1533.38f478"],["2c134e40.1213f2"]]},{"id":"10c718ad.cdea37","type":"osc","z":"585b49b.1d26cb8","name":"Hold Button Colour","path":"/style/bgcolor/1/10","metadata":false,"x":2730,"y":1460,"wires":[[]]},{"id":"2c134e40.1213f2","type":"change","z":"585b49b.1d26cb8","name":"set colour off","rules":[{"t":"set","p":"payload","pt":"msg","to":"[0,0,0]","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":2510,"y":1480,"wires":[["10c718ad.cdea37"]]},{"id":"96bb15e6.1f3198","type":"osc","z":"585b49b.1d26cb8","name":"Play Button Colour","path":"/style/bgcolor/1/11","metadata":false,"x":2730,"y":1540,"wires":[[]]},{"id":"9b71df8e.4e4f6","type":"change","z":"585b49b.1d26cb8","name":"set colour off","rules":[{"t":"set","p":"payload","pt":"msg","to":"[255,0,0]","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":2510,"y":1520,"wires":[["96bb15e6.1f3198"]]},{"id":"a0ef9fff.a4d9a","type":"switch","z":"585b49b.1d26cb8","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"/press/bank/1/11","vt":"str"},{"t":"neq","v":"/press/bank/1/11","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":2350,"y":1540,"wires":[["9b71df8e.4e4f6"],["b8348f07.9d709"]]},{"id":"b8348f07.9d709","type":"change","z":"585b49b.1d26cb8","name":"set colour off","rules":[{"t":"set","p":"payload","pt":"msg","to":"[0,0,0]","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":2510,"y":1560,"wires":[["96bb15e6.1f3198"]]},{"id":"18f4c3ba.6f3e8c","type":"inject","z":"585b49b.1d26cb8","name":"rescan","props":[{"p":"topic","vt":"str"}],"repeat":"60","crontab":"","once":false,"onceDelay":0.1,"topic":"/press/bank/99/3","x":1540,"y":1060,"wires":[["6484fbf9.d03e44"]]},{"id":"a83ab847.f29f28","type":"inject","z":"585b49b.1d26cb8","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"5","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":150,"y":820,"wires":[["5d39ab30.bf9d04"]]},{"id":"7bd20e.3b98edf4","type":"change","z":"585b49b.1d26cb8","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"mytime","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":540,"y":820,"wires":[["f95243a4.bdbe"]]},{"id":"f95243a4.bdbe","type":"osc","z":"585b49b.1d26cb8","name":"Set time and stop","path":"/style/text/1/1","metadata":false,"x":870,"y":820,"wires":[["b05d2abc.c27498"]]},{"id":"bf26ba8b.8d23e8","type":"function","z":"585b49b.1d26cb8","name":"add time and stop","func":"var time = msg.payload\nmsg.payload = \"Stop \" + time\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":2690,"y":1280,"wires":[[]]},{"id":"7ffc745d.d882ec","type":"status","z":"585b49b.1d26cb8","d":true,"name":"","scope":["75f2d1d1.e5f92"],"x":2260,"y":1080,"wires":[["660fdaff.34d404"]]},{"id":"9683dade.8687c8","type":"debug","z":"585b49b.1d26cb8","d":true,"name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":2710,"y":1080,"wires":[]},{"id":"660fdaff.34d404","type":"change","z":"585b49b.1d26cb8","d":true,"name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"status.text","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":2440,"y":1080,"wires":[["9683dade.8687c8"]]},{"id":"de6b463f.fa0f38","type":"debug","z":"585b49b.1d26cb8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"mytime","targetType":"msg","statusVal":"","statusType":"auto","x":510,"y":920,"wires":[]},{"id":"5d39ab30.bf9d04","type":"simpletime","z":"585b49b.1d26cb8","name":"","mydate":false,"myymd":false,"myyear":false,"mymonth":false,"mymonthn":false,"mydom":false,"mydoy":false,"myday":false,"myhourpm":false,"myhour":false,"mytime":true,"mytimes":false,"myminute":false,"myminutes":false,"mysecond":false,"mymillis":false,"myepoch":false,"myrawdate":false,"mypm":false,"x":370,"y":820,"wires":[["7bd20e.3b98edf4","de6b463f.fa0f38"]]},{"id":"6484fbf9.d03e44","type":"osc","z":"585b49b.1d26cb8","name":"","path":"","metadata":false,"x":1810,"y":1060,"wires":[["b05d2abc.c27498"]]},{"id":"4eae10ff.f0e62","type":"osc","z":"585b49b.1d26cb8","name":"schedule off button control","path":"/style/bgcolor/1/11","metadata":false,"x":1740,"y":560,"wires":[["b05d2abc.c27498"]]},{"id":"8159c5ad.4fc3f8","type":"change","z":"585b49b.1d26cb8","name":"schedule off black","rules":[{"t":"set","p":"payload","pt":"msg","to":"[0,0,0]","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":1410,"y":400,"wires":[["4eae10ff.f0e62"]]},{"id":"7a915c0.6bef1a4","type":"change","z":"585b49b.1d26cb8","name":"schedule on black","rules":[{"t":"set","p":"payload","pt":"msg","to":"[0,0,0]","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":1410,"y":540,"wires":[["23bad0f9.7193c"]]},{"id":"e74bd38c.dccdb","type":"comment","z":"585b49b.1d26cb8","name":"OSC control on/off schedule","info":"","x":200,"y":60,"wires":[]},{"id":"98fce9c7.dc4b98","type":"inject","z":"585b49b.1d26cb8","d":true,"name":"test button press","props":[{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"/press/bank/99/10","x":1560,"y":1120,"wires":[["6484fbf9.d03e44"]]}]