2.1.3 channels error

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Post Reply
Vesuvious911
Posts: 11
Joined: 27 Jan 2018 19:48

2.1.3 channels error

Post by Vesuvious911 »

Hello,

I am getting an error with the latest build, where not all my channels are being transmitted. I am only receiving input from my binary door sensor channel, and not my other 3 multilevel and 1 binary sensors. I was wondering if anyone else is having these types of issues?

Code: Select all

ZUNO_SETUP_CHANNELS(
  ZUNO_SENSOR_MULTILEVEL_TEMPERATURE(getterTemperature),
  ZUNO_SENSOR_MULTILEVEL_HUMIDITY(getterHumidity),
  ZUNO_SENSOR_MULTILEVEL_CO2_LEVEL(getterCo),
  ZUNO_SENSOR_BINARY_DOOR_WINDOW(getterDoor),
  ZUNO_SENSOR_BINARY_SMOKE(getterSmoke)
);
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: 2.1.3 channels error

Post by PoltoS »

Few things to check:
1. Do you have zunoSendReport for other channels?
2. Do you have correct getters for those channels?
3. Have you configured Multichannel Association to 1:0 in the first group (LifeLine)?

What controller do you have?
Vesuvious911
Posts: 11
Joined: 27 Jan 2018 19:48

Re: 2.1.3 channels error

Post by Vesuvious911 »

I do have the proper sendReports.

Code: Select all

  if (currentHumidity != humidity) {
    zunoSendReport(2);
  }
  if (currentTemp != temperature){
    zunoSendReport(1);
  }
  //Door Sensor
  currentDoorValue = digitalRead(DOORPIN);
  if (currentDoorValue != doorValue) {
    doorValue = currentDoorValue;
    Serial.print("Door: ");
    Serial.println(doorValue);
    zunoSendReport(4);
  }
  currentCoValue = analogRead(CO_PIN);
  if (currentCoValue != coValue) {
    coValue = currentCoValue;
    Serial.print("CO: ");
    Serial.println(coValue);
    zunoSendReport(3);
  }
  currentSmoke = digitalRead(SMOKE_PIN);
  if (currentSmoke != smokeValue) {
    smokeValue = currentSmoke;
    Serial.print("Smoke: ");
    Serial.println(smokeValue);
    zunoSendReport(5);
  }
}
I've got my getters.

Code: Select all

byte getterTemperature() {
  return temperature;
}

byte getterHumidity() {
  return humidity;
} 
byte getterCo() {
  return coValue;
}
byte getterSmoke() {
  return smokeValue ? 0 : 0xff;
}
byte getterDoor(void) {
  return doorValue ? 0xff : 0;
}
I'm not sure about the lifeline you are talking about. I also am using HomeAssistant as my interface, while using Razberry GPIO controller.
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: 2.1.3 channels error

Post by PoltoS »

As I remember, HomeAssistant is not realy friendly with Z-Wave MultiChannel Associations. Please seek for the messages in this Z-Uno subforum for last month - there were a discussion about this topic: https://forum.z-wave.me/viewtopic.php?f ... ant#p72965
Vesuvious911
Posts: 11
Joined: 27 Jan 2018 19:48

Re: 2.1.3 channels error

Post by Vesuvious911 »

Okay, thanks for the help. Just didn't know if something was known, since it was working on 2.1.2 and not on 2.1.3.
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: 2.1.3 channels error

Post by PoltoS »

Behaviour should not change between 2.1.2 and 2.1.3. if it did, please provide us controller logs to compare (if the controller is verbose enough).

Can you test it with other controllers?
Post Reply