Gāday guys
I am really enjoying experimenting with the Z-UNO, and have no problem with OUTPUTS - as many as I like.
INPUTS, however, are driving me insane - the documentation, and the guy who supports it on the official forum, acknowledge this but talk in riddles so am hoping some of you can better explain.
When I create a single input it works a treat. Define the channel, create the getter, and then in the main loop read the relevant and if a change is detected raise a zuneSendReport(x).
The problem is when there are multiple inputs. Letās say even just two. Define TWO channels, create both getters, and in the main loop read both ports and if a change is detected on the first one raise a zuneSendReport(1) (assuming it is the first defined channel) and the other obviously zuneSendReport(2).
Only the first works - you can see the flicker of the green LED that traffic is being send over Z-WAVE and my Vera Plus shows the input status change. However for the second one nothing happens. I can write debug code and see that it is executing - and I can swap the two channels around and transfer the problem between them. Likewise I can create 3, 4, 5 inputs and only the first works.
The official documentation does state that, when it comes to inputs, if you have more than one of the same type then only the first will work. Okay great thatās my exact scenario. It then goes on to say that you need to use MultiChannel Association Command Class and that instead of association of Life Line group with node 1 (controller) use association with 1:0 (node 1, channel 0). Cool, so what the heck does that mean?
Iāve hunted through the programming reference, the Arduino IDE setting, the device settings in Vera, and cannot for the life of me work this out.
The official support guy suggests a couple of things to people who ask this same question:
- āSet parameter 12ā - no difference
- āPlease try to remove node #1 (controller is usually it is #1) from the the Association group #1 and add in MCA #1:0 (channel 0 of the controller)ā - this is as meaningless to me as the similar description above
- āMulti channels are not available in the user interface, only by raw commandsā - still no help?
- Various other explanations of the above, but in English sentences that donāt make sense (Iām thinking the guy is not native English) - so still no help
Iām thinking I am missing something really obvious, but it has me stumped as you would think you simply define a bunch of inputs and they simply workā¦ just like with outputs. But it is made VERY clear that is not the case, that by design you need to do something, but finding out exactly what it is I need to do has frustrated me for two days now. I notice a few of you have posted here saying it has worked well for you, so hopefully someone can clarifying what Iām missing
Cheers
Chris