Advertisement
Guest User

lux naar brightness

a guest
Nov 12th, 2020
191
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [{"id":"577f8ae0.3cf5a4","type":"debug","z":"c114eb44.9a673","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":430,"y":264,"wires":[]},{"id":"26198e55.bb4caa","type":"group","z":"c114eb44.9a673","name":"Brightness output","style":{"label":true},"nodes":["644d1f75.717ad","cdec6d36.43c8f"],"x":598,"y":127,"w":380,"h":82},{"id":"644d1f75.717ad","type":"range","z":"c114eb44.9a673","g":"26198e55.bb4caa","minin":"400","maxin":"1","minout":"0","maxout":"100","action":"roll","round":true,"property":"payload","name":"","x":684,"y":168,"wires":[["cdec6d36.43c8f"]]},{"id":"cdec6d36.43c8f","type":"debug","z":"c114eb44.9a673","g":"26198e55.bb4caa","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":862,"y":168,"wires":[]},{"id":"7b8b8ccb.76d4b4","type":"group","z":"c114eb44.9a673","name":"Lux emulator","style":{"label":true},"nodes":["16541612.8141b2","f7c3aa21.250278","3d1b5962.89a116"],"x":26,"y":127,"w":502,"h":82},{"id":"16541612.8141b2","type":"function","z":"c114eb44.9a673","g":"7b8b8ccb.76d4b4","name":"","func":"for(x=400;x>1;x-=30){\n    \n    node.send({payload:x})\n}\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":276,"y":168,"wires":[["3d1b5962.89a116"]]},{"id":"f7c3aa21.250278","type":"inject","z":"c114eb44.9a673","g":"7b8b8ccb.76d4b4","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":132,"y":168,"wires":[["16541612.8141b2"]]},{"id":"3d1b5962.89a116","type":"delay","z":"c114eb44.9a673","g":"7b8b8ccb.76d4b4","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"0.5","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":432,"y":168,"wires":[["644d1f75.717ad","577f8ae0.3cf5a4"]]}]
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement