Page 1 of 1
2.1.3 channels error
Posted: 19 Mar 2018 18:47
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)
);
Re: 2.1.3 channels error
Posted: 20 Mar 2018 12:33
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?
Re: 2.1.3 channels error
Posted: 20 Mar 2018 15:47
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.
Re: 2.1.3 channels error
Posted: 21 Mar 2018 02:32
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
Re: 2.1.3 channels error
Posted: 21 Mar 2018 17:30
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.
Re: 2.1.3 channels error
Posted: 24 Mar 2018 12:14
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?