To make long story short.
I am planning to use PixelBlaze with my Hubitat Elevation (HE) Home Automation controller.
Thanks to @zranger1 the HE Driver already exist and Jon even made some updates in
order to propagate digital io pin status from PB all the way to HE.
I just tested this setup successfully.
There is a very simple code required on the PixelBlaze side:
export var digitalIn
var dititalIn_Pin = 26
pinMode(dititalIn_Pin, INPUT_PULLUP)
export function beforeRender(delta) {
digitalIn = digitalRead(dititalIn_Pin)
}
export function render(index) {
}
My question is:
Is it possible to run this (or whatever) code globally (i.e. outside the specific pattern)
or I must include the same code in each pattern to be used with HE?
Most likely the answer is “NO” but just in case I am asking.