Help getting monoprice in-wall module to work

Can someone please help me setup the monoprice (11989) in-wall on/off module (single relay) to work with openhab. The device is recognized as Vision Security in “Devices”.

The node shows as “green” but looking at the log, i receive an error saying: NODE 5: Error in doSet - no database found.

Any advice/ help would be greatly appreciated.

Give the “green light” in HABmin, it probably means that the device is working fine but the error suggests there’s no database entry which will limit your ability to configure the device, but it should work just fine.

If the device has configuration parameters, then you’ll need to get the database entry added, but otherwise it should work ok…

However, it would be useful when posting to provide the full line that’s logged in the log as I’m not 100% sure where this error is…

Chris, thank you very much for your quick response. My main concern is, that I am unable to control the module at this time. I have added the following in the item list:
Switch GOLight “Light” (Outdoor) { zwave=“5:0:command=BASIC” }

But I seemingly get no response from the device (and I believe I have it wired correctly :smile:).

Lastly, here is the output of the log after openhab starts:

2015-12-13 17:12:31.131 [INFO ] [.z.internal.ZWaveActiveBinding] - Update config, port = /dev/ttyUSB0
2015-12-13 17:12:31.138 [INFO ] [.z.internal.ZWaveActiveBinding] - Update config, healtime = 2
2015-12-13 17:12:31.143 [INFO ] [.service.AbstractActiveService] - ZWave Refresh Service has been started
2015-12-13 17:12:31.255 [INFO ] [b.z.i.protocol.ZWaveController] - Starting Z-Wave controller
2015-12-13 17:12:31.257 [INFO ] [b.z.i.protocol.ZWaveController] - Z-Wave timeout is set to 5000ms. Soft reset is false.
2015-12-13 17:12:31.260 [INFO ] [b.z.i.protocol.ZWaveController] - Connecting to serial port /dev/ttyUSB0
2015-12-13 17:12:31.457 [INFO ] [b.z.i.protocol.ZWaveController] - Serial port is initialized
2015-12-13 17:12:31.717 [INFO ] [.service.AbstractActiveService] - NTP Refresh Service has been started
2015-12-13 17:12:31.825 [INFO ] [.service.AbstractActiveService] - HTTP Refresh Service has been started
2015-12-13 17:12:33.872 [ERROR] [o.o.c.s.ScriptExecutionThread ] - Error during the execution of rule 'Compute humidex': Cannot cast org.openhab.core.types.UnDefType to org.openhab.core.library.types.DecimalType
2015-12-13 17:12:34.016 [INFO ] [g.openhab.model.script.Weather] - Temperature evolved of 0 degrees.
2015-12-13 17:12:34.937 [INFO ] [rialApiGetInitDataMessageClass] - NODE 1: Node found
2015-12-13 17:12:34.940 [INFO ] [rialApiGetInitDataMessageClass] - NODE 3: Node found
2015-12-13 17:12:34.943 [INFO ] [rialApiGetInitDataMessageClass] - NODE 4: Node found
2015-12-13 17:12:34.945 [INFO ] [rialApiGetInitDataMessageClass] - NODE 5: Node found
2015-12-13 17:12:34.948 [INFO ] [rialApiGetInitDataMessageClass] - ZWave Controller using Controller API
2015-12-13 17:12:34.951 [INFO ] [rialApiGetInitDataMessageClass] - ZWave Controller is Primary Controller
2015-12-13 17:12:34.953 [INFO ] [rialApiGetInitDataMessageClass] - ------------Number of Nodes Found Registered to ZWave Controller------------
2015-12-13 17:12:34.956 [INFO ] [rialApiGetInitDataMessageClass] - # Nodes = 4
2015-12-13 17:12:34.959 [INFO ] [rialApiGetInitDataMessageClass] - ----------------------------------------------------------------------------
2015-12-13 17:12:35.630 [WARN ] [.o.b.z.i.p.c.ZWaveCommandClass] - NODE 5: Unsupported command class SWITCH_ALL
2015-12-13 17:12:35.653 [WARN ] [.o.b.z.i.p.c.ZWaveCommandClass] - NODE 4: Unsupported command class SWITCH_ALL
2015-12-13 17:12:35.675 [WARN ] [.o.b.z.i.p.c.ZWaveCommandClass] - NODE 3: Unsupported command class SWITCH_ALL
2015-12-13 17:12:47.713 [ERROR] [.z.i.config.ZWaveConfiguration] - NODE 5: Error in doSet - no database found

If I toggle the light on/off I don’t see any error messages in the log. Is there a particular area that I should start looking into? any thoughts?

Thanks again

I just had an electrician out and he confirmed that the switch is wired correctly. However, I am still unable to turn the switch on/off.
I would like to use the following xml file link but when I replace the current nodeX.xml with the content of the link it resets after restarting openhab.
Alternatively, I would like to associate a different product from the product database with the node but cannot find any explanation on how to do that.

Can someone please help me

Please can you provide a debug log when the binding starts, or at least the Type/Id that HABmin reports.

That’s because you can’t :smile:

The database needs to be properly managed to avoid problems that could misconfigure devices. Why do you want to use the XML you mention - is this the switch you have?

I am clearly new to habmin … please see attached the screen-shot from habmin showing the node with Type/ID based on my research I narrowed the device down to be a zl7431 switch from vision security (also listed in the device DB). However, I don’t think that the device is being recognized as such

I can also post the debug log if that helps.

Thank you VERY much for your help Chris

Correct - but with the info you’ve provided here I can change that :smile:

I’ll update shortly, and if the nightly build works, it should be available tomorrow…

Done - let me know if it helps…

I am still unable to operate the switch.

my item file looks like this:
Switch GarageOLight “Garage Entrance Light” (Outdoor) { zwave=“6:0:command=SWITCH_BINARY, respond_to_basic=true”}

I also created a “debug” file for all zwave sensors but I am not sure how to share it on this site.

Any thoughts/ help would be greatly appreciated.
THANKS again

link to the log file

Could someone please help me trouble shoot the issue. I am not able to find any clues in the log that would tell me why the switch is not working.
Any thoughts and help would be greatly appreciated.

Thank you very much

OK I noted that the switch seems to be polled with the following every 3 minutes:

2016-01-12 12:56:17.940 [DEBUG] [z.internal.ZWaveNetworkMonitor:341 ]- NODE 6: Sending periodic PING.
2016-01-12 12:56:17.942 [DEBUG] [c.ZWaveNoOperationCommandClass:72 ]- NODE 6: Creating new message for command No Operation
2016-01-12 12:56:17.943 [DEBUG] [o.b.z.i.protocol.SerialMessage:109 ]- NODE 6: Creating empty message of class = SendData (0x13), type = Request (0x00)

if I try to turn on the switch I see the following log entry:
2016-01-12 12:58:30.572 [DEBUG] [.ZWaveBinarySwitchCommandClass:146 ]- NODE 6: Creating new message for application command SWITCH_BINARY_SET
2016-01-12 12:58:30.574 [DEBUG] [o.b.z.i.protocol.SerialMessage:109 ]- NODE 6: Creating empty message of class = SendData (0x13), type = Request (0x00)

… after both messages being placed on the stack and successfully received I don’t see any follow-up behavior.

What strikes me as odd is that both messages state “creating empty message class”. Does that mean that an empty message is being transmitted? It might make sense to ping the switch but not for transmitting a “switch” command !!!

Also, the “type = Request (0x00)” is, according to the manual, equal to binary switch = off. I would expect the log to show the command 0xFF to be transmitted to the switch to turn it on.

Any thoughts would be greatly appreciated.


This issue and post is resolved. The binding is recognizing the switch correctly and the switch can be configured as a simple binary item. The difficulties I experienced were due to some faulty hardware!!