I checked the following PINOUTS (17 to 23) with all interfering with another Binary Switch (2,3 or 4)
Then I changed the PINOUT'S to 8 to 5, the result that the sketch and UI now works as intended.
Can anyone explain why there is interference on PINS 17 to 23 or are those PINS reserved for other uses, if so what is the use?
Otherwise, I'm one happy chappy with this and thanks to everyone who helped me with my first project in C.
Now to add momentary switching option to this.
Define ZUNO Channel
-
- Posts: 201
- Joined: 05 Sep 2016 22:27
Re: Define ZUNO Channel
Hi,
In you last post you mention "pin 17", did you mean "pin 18"? In the code you are not using pin 17...
It might be that the pin 18 also be used as input for INT 1 interfere with the usage as a button. You can try using 19/20/21/22 instead.
I have 3 Z-Unos and use a different controller, but unfortunately I can't test it at the moment.
Regards,
Andreas.
yes, my mistake, you are right! The zunoSendReport() always send to the controller...
Code: Select all
Instruct Z-Uno to send an unsolicited report to the controller.
It might be that the pin 18 also be used as input for INT 1 interfere with the usage as a button. You can try using 19/20/21/22 instead.
I have 3 Z-Unos and use a different controller, but unfortunately I can't test it at the moment.
Regards,
Andreas.
fhem.de - ZWave development support
Re: Define ZUNO Channel
There are different code revisions, each one had different PIN OUTS, the last sketch with published code was an earlier version, since then it has undergone many revisions.
The code works and I'm happy to work forward from here, Next is to design a PCB with onboard power supply (240VAC to 5VDC).
The code works and I'm happy to work forward from here, Next is to design a PCB with onboard power supply (240VAC to 5VDC).
-
- Posts: 201
- Joined: 05 Sep 2016 22:27
Re: Define ZUNO Channel
Ok,
good to hear that it is working now! Was the problem related to the INT Pin?
Regards,
Andreas.
good to hear that it is working now! Was the problem related to the INT Pin?
Regards,
Andreas.
fhem.de - ZWave development support
Re: Define ZUNO Channel
The INT1 and INT2 must be the problem.
Re: Define ZUNO Channel
Can you send us by mail a sketch that works and another one that do not and we test them again. And a clear description what do you do in your test to reveal the issue.
Can you test same non-working skech in Z-Way instead of Vera and HS? If you can reproduce it with Z-Way too, please send us the log from the test.
Can you test same non-working skech in Z-Way instead of Vera and HS? If you can reproduce it with Z-Way too, please send us the log from the test.
Re: Define ZUNO Channel
Sent working version of 4 & not working version of 6 channel.