Folks,
I have a Neo-Pixel LED and want it to blink like a heart beat.
Just wondering if anyone has any ideas on how to do it.
Folks,
I have a Neo-Pixel LED and want it to blink like a heart beat.
Just wondering if anyone has any ideas on how to do it.
This is one idea I made up just now messing around.
flows
but was problematic in rendering/showing the flow.[{"id":"4d9e128f61b30b9a","type":"trigger","z":"a1911aa3.c45be8","name":"","op1":"40","op2":"0","op1type":"num","op2type":"num","duration":"250","extend":false,"overrideDelay":false,"units":"ms","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":750,"y":5330,"wires":[["7a69456b898157aa"],["f2ea8ebf91675d97","7a69456b898157aa"]]},{"id":"7d52e8e1113688cd","type":"trigger","z":"a1911aa3.c45be8","name":"","op1":"20","op2":"0","op1type":"num","op2type":"num","duration":"250","extend":false,"overrideDelay":false,"units":"ms","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":970,"y":5380,"wires":[["7a69456b898157aa"],["7a69456b898157aa","ef16a26c16c1e3c2"]]},{"id":"49b7e79d69b3f6ee","type":"inject","z":"a1911aa3.c45be8","name":"Start","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":570,"y":5390,"wires":[["4d9e128f61b30b9a"]]},{"id":"7a69456b898157aa","type":"template","z":"a1911aa3.c45be8","name":"","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"rgb,3,0,{{payload}},0","output":"str","x":1130,"y":5330,"wires":[["cd95830a0d79ecd2","e007d147d4be7647"]]},{"id":"f2ea8ebf91675d97","type":"delay","z":"a1911aa3.c45be8","name":"","pauseType":"delay","timeout":"250","timeoutUnits":"milliseconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":760,"y":5380,"wires":[["7d52e8e1113688cd"]]},{"id":"22333e36399b9c35","type":"inject","z":"a1911aa3.c45be8","name":"Stop","repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"CONTROL","payload":"STOP","payloadType":"str","x":570,"y":5250,"wires":[["1048afc94a871bd0"]]},{"id":"14b8f1d26a67e16e","type":"inject","z":"a1911aa3.c45be8","name":"Go","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":"1","topic":"CONTROL","payload":"GO","payloadType":"str","x":570,"y":5290,"wires":[["1048afc94a871bd0"]]},{"id":"1048afc94a871bd0","type":"gate","z":"a1911aa3.c45be8","name":"","controlTopic":"CONTROL","defaultState":"open","openCmd":"GO","closeCmd":"STOP","toggleCmd":"toggle","defaultCmd":"default","persist":false,"x":570,"y":5330,"wires":[["4d9e128f61b30b9a"]]},{"id":"ef16a26c16c1e3c2","type":"delay","z":"a1911aa3.c45be8","name":"","pauseType":"delay","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":1105,"y":5380,"wires":[["1048afc94a871bd0"]],"l":false}]
I'm not seeing anything in your flow visual, although it appears to be formatted correctly...
Yeah, sorry I didn't include a debug
node.
I was wanting to get the timing right so it beats nicely.
Do you think the basics of how I did it good?
The code is there, but hidden somewhere on the left halfway down.
I probably didn't need to use that feature, but thought I'd try it.
If you Zoom right out and then scroll halfway down it becomes visible. I have posted a comment in the original post suggesting that the flow may need to be normalised before viewing.
If it isn't working, then just remove the flows
word so it doesn't try to render it - and add a comment to the original post about the flow viewer so we can track flows that aren't rendering properly.
(from my position)
It works though I admit what I posted was/IS rather small so is hard to see/find.
Which could be part of the problem.
As I said, if I zoom OUT, go to the left and about halfway down: I see it ok.
The last part.... Ok. Shall do.
(Done.)