I just received my MCOHome MH9 CO2 Monitor, but this device was not in the Z Wave database so I added it myself. But I don’t know if everything is correct because this is the first time I’m adding a device myself. Could please someone verify this?
I’ve added an mh9-co2.xml in the mcohome folder with this content:
<?xml version="1.0" encoding="utf-8"?>
<Product>
<Model>MH9-CO2</Model>
<Label lang="en">CO2 Monitor</Label>
<CommandClasses>
<Class>
<id>0x20</id> <!-- BASIC -->
</Class>
<Class>
<id>0x21</id> <!-- SENSOR_MULTILEVEL -->
</Class>
<Class>
<id>0x70</id> <!-- CONFIGURATION -->
</Class>
<Class>
<id>0x71</id> <!-- ALARM -->
</Class>
<Class>
<id>0x85</id> <!-- ASSOCIATION -->
</Class>
<Class>
<id>0x72</id> <!-- MANUFACTURER_SPECIFIC -->
</Class>
<Class>
<id>0x86</id> <!-- VERSION -->
</Class>
</CommandClasses>
<Configuration>
<Parameter>
<Index>1</Index>
<Type>byte</Type>
<Default>1000</Default>
<Size>2</Size>
<Minimum>1</Minimum>
<Maximum>2000</Maximum>
<Label lang="en">CO2 Notification threshold</Label>
<Help lang="en">CO2 Notification threshold</Help>
</Parameter>
</Configuration>
<Associations>
<Group>
<Index>1</Index>
<Maximum>5</Maximum>
<Label lang="en">Notifications</Label>
<SetToController>true</SetToController>
</Group>
<Group>
<Index>2</Index>
<Maximum>1</Maximum>
<Label lang="en">Gateway</Label>
<SetToController>true</SetToController>
</Group>
</Associations>
</Product>
I also added the device to the products.xml like this:
<Product>
<Reference>
<Type>0905</Type>
<Id>0201</Id>
</Reference>
<Model>MH9-CO2</Model>
<Label lang="en">CO2 Monitor</Label>
<ConfigFile>mcohome/mh9-co2.xml</ConfigFile>
</Product>
So far everything is working. I was able to add my z wave stick to both association groups and I can receive the values from the device. Could please someone verify and add this to the binding?