I'm trying to setup a scene controller with my Z-UNO
When I included the zuno on my smartThings controller, it is paired as a Window/Door sensor !!
I tried pairing after reset and after rescue mode, nothing changes.
When I activate the buttons, nothing appears in the smartThings log.
When I press the service button, this is was I get in the log:
4ee70845-f3fe-4c3f-9a60-5e3b8eb5299f 8:30:09 AM: debug parsed 'zw device: 80, command: 3003, payload: 00 01 ' to [name:contact, value:closed, descriptionText:Z-Wave Door/Window Sensor is closed, isStateChange:false, displayed:false, linkText:Z-Wave Door/Window Sensor]
WHAT AM I DOING WRONG?
//Z-UNO Scene control
#define BTN_PIN1 9
#define BTN_PIN2 10
#define CONTROL_GROUP 1
#define LED_PIN 13
byte lastValue1 = HIGH;
byte lastValue2 = HIGH;
byte currentValue1 = digitalRead(BTN_PIN1);
byte currentValue2 = digitalRead(BTN_PIN2);
if (currentValue1 == HIGH && currentValue2 == HIGH)
// Button 1
if (currentValue1 != lastValue1)
lastValue1 = currentValue1;
if (lastValue1 == LOW)
zunoSendToGroupScene(CONTROL_GROUP, 1); // if button pressed - activate scene 1
// Button 2
if (currentValue2 != lastValue2)
lastValue2 = currentValue2;
if (lastValue2 == LOW)
zunoSendToGroupScene(CONTROL_GROUP, 2); // if button pressed - activate scene 2
Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
1 post • Page 1 of 1