Z-Uno multiple Sensors not seen in Domoticz
Posted: 04 Aug 2018 09:51
Hello ,
first of all , thank you for your beautiful device, it works great and makes lot of fun.
But i have a few questions about a project i want to realize :
I`m using Z-Uno to get the filllevel of a cistern visualized in domoticz.
The Z-uno is connected to a AJ-SR04M ultrasonic sensor and has a little oled display for debug purposes.
It should be battery based in the future but the optimization it is not finished by now.
The Wakeup with zunoSetBeamCountWU is working fine .
I have just updated to 2.1.5 beta and rewritten the code for the zunoLoad/SaveCFGParam Function to get to work again .
First question :
I want to use multiple Sensors and made it with
In domoticz i see only the switch and the tank capacity as a device, the other two devices are missing and only seen in the openzwave panel.
The Associations in this snippet is for testing the difference between different Assoc. variants and the visibility of the needed devices in domoticz.
Is there a solution to get the other 2 devices seen on domoticz ?
Second question:
Currently I'm saving Parameters for the shape of the cistern to the eeprom using zunoLoad/SaveCFGParam . In the Zwave System I should build a XML File to define the corresponding CFG values and use them in the domoticz or whatever control server system. But if I am using multiple Z-Uno projects aside there is no possibility of defining different XML descriptions because every Z-Uno is recongized as identical.
So is there another way to solve this problem ?
Regards Wolfgang
first of all , thank you for your beautiful device, it works great and makes lot of fun.
But i have a few questions about a project i want to realize :
I`m using Z-Uno to get the filllevel of a cistern visualized in domoticz.
The Z-uno is connected to a AJ-SR04M ultrasonic sensor and has a little oled display for debug purposes.
It should be battery based in the future but the optimization it is not finished by now.
The Wakeup with zunoSetBeamCountWU is working fine .
I have just updated to 2.1.5 beta and rewritten the code for the zunoLoad/SaveCFGParam Function to get to work again .
First question :
I want to use multiple Sensors and made it with
Code: Select all
ZUNO_SETUP_CHANNELS(
ZUNO_SWITCH_BINARY(getterSwitch1, setterSwitch1),
ZUNO_SENSOR_MULTILEVEL(
ZUNO_SENSOR_MULTILEVEL_TYPE_DISTANCE,
0, // scale is meters
SENSOR_MULTILEVEL_SIZE_TWO_BYTES,
2, // two decimals after dot
getter_sensordistance
),
ZUNO_SENSOR_MULTILEVEL(
ZUNO_SENSOR_MULTILEVEL_TYPE_TANK_CAPACITY,
0, // scale is liters
SENSOR_MULTILEVEL_SIZE_TWO_BYTES,
0, // no decimals after dot
getter_filllevel
),
ZUNO_SENSOR_MULTILEVEL(
ZUNO_SENSOR_MULTILEVEL_TYPE_GENERAL_PURPOSE_VALUE,
0, // scale is %
SENSOR_MULTILEVEL_SIZE_TWO_BYTES,
0, // no decimals after dot
getter_fillpercent
)
);
ZUNO_SETUP_ASSOCIATIONS(
ZUNO_ASSOCIATION_GROUP_SET_VALUE_AND_DIM,
ZUNO_ASSOCIATION_GROUP_SET_VALUE_AND_DIM,
ZUNO_ASSOCIATION_GROUP_SET_VALUE_AND_DIM
); // to control other devices
In domoticz i see only the switch and the tank capacity as a device, the other two devices are missing and only seen in the openzwave panel.
The Associations in this snippet is for testing the difference between different Assoc. variants and the visibility of the needed devices in domoticz.
Is there a solution to get the other 2 devices seen on domoticz ?
Second question:
Currently I'm saving Parameters for the shape of the cistern to the eeprom using zunoLoad/SaveCFGParam . In the Zwave System I should build a XML File to define the corresponding CFG values and use them in the domoticz or whatever control server system. But if I am using multiple Z-Uno projects aside there is no possibility of defining different XML descriptions because every Z-Uno is recongized as identical.
So is there another way to solve this problem ?
Regards Wolfgang