I am attempting to add an MCO Home two way switch MH-S412 to the zwave database. Although there is a similar switch already present it does not use the same parameters.
Attempting to add it manually to the DB is apparently not a good idea and i have been suggested to use a .xml. How do I go about doing this? & Where is this file available?
For those who have access to the openhab zwave database the switch is partially added perhaps you can shed some light on whats the best approach.
Then the device is fully discovered, the xml file will be in the zwave folder in your userdata area. The location of userdata depends on how OpenHAB was installed. On many Linux systems it is /usr/lib/openhab.
There are actually 2 different database entries for this switch, with differing device identification. It would be helpful to know which you have. I find it easiest to use HABmin and go to
Configuration -> Things -> [your switch]. In the right pane, all the way at the bottom, expand Attributes . The Manufacturer & Type/Id are what we are interested in. Here i an example from a different device. Do not worry if it shows "unknown Manufacturer. That just means OpenHABian does not know.
@Bruce_Osborne been trying to add it to the database with no luck, the endpoints is the part which is causing me most issues since there is no clear info on the manual.
The Endpoints come from the xml file.
The main manual pieces, other than the description & instructions, are the configuration parameters & the association groups. That information is usually contained in the users manual.
I do not see your entry. Just the two I mentioned.
@sihui just for future devices to be added. Did the .xml provide a template and the parameters to be entered and then filled from the manual?
Also there is not much information on folder location where the .xml file is located. I guess this depends on the distro you are using. In my case it was /var/lib/openhab2/zwave/. Running “locate zwave” command provided the path of the directory.
I am running the Snapshot when is the device addition available.