[RELEASE] EZMultiPli - Plug-in Motion / Temp / Light Sensors + Night Light

has anyone got the - temp offset to work? I keep getting this error when I try to enter a - value

errorjava.lang.NumberFormatException: For input string: "0-" on line 370 (updated)

It seems like the platform isn't accepting negative values with this particular Z-Wave command. Hey @mike.maxwell, when sending a negative value using scaledConfigurationValue, it is returning the following error:

errorjava.lang.NumberFormatException: For input string: "0-" on line 370 (updated)

The error says 0-, even though the data is in the format -1, -2, -3, etc.

1 Like

I've made an issue for it.

2 Likes

Did this make this update?

Im gonna say no. Looks like the error still happens with negative numbers

correct, didn't make it into 2.1.0, shooting for 2.1.1

2 Likes

thanks Mike....

ok, this will be fixed in platform 2.1.1

1 Like

Probably should have posted this here.

Anyone else having this problem?

I haven't, but do you have a robot vacuum? I've had mine set off motion sensors before.

I have four of them and motion seems solid to me.

I do, but it wasn't running at the time. I was actually awake when this one sensed motion but everyone was in the same room no where near the sensor.

finally got it to pair but the light is not working nor temp just reports motion

Weird, do you get any errors? Is it on the C7?

I have 4 of them but I'm using the C3.

I excluded it an readded it seems th think its working better got motion and temp but thinks its already on when it is not and i try to turn the light on.. I therefore thought maybe the color so I trieed setting hue color etc in the device panel and i get this error in the logs

I thought maybe the color is not working through the device panel so tried an automation on motion
still not working

dev:2902020-08-13 12:32:03.177 am errorgroovy.lang.MissingMethodException: No signature of method: user_driver_erocm123_EZmultiPli_fix_481.setHue() is applicable for argument types: (java.math.BigDecimal) values: [100] Possible solutions: getAt(java.lang.String) (setHue)

dev:2902020-08-13 12:31:59.084 am errorgroovy.lang.MissingMethodException: No signature of method: user_driver_erocm123_EZmultiPli_fix_481.setSaturation() is applicable for argument types: (java.math.BigDecimal) values: [100] (setSaturation)

dev:2902020-08-13 12:31:58.283 am errorgroovy.lang.MissingMethodException: No signature of method: user_driver_erocm123_EZmultiPli_fix_481.setHue() is applicable for argument types: (java.math.BigDecimal) values: [88] Possible solutions: getAt(java.lang.String) (setHue)

dev:2902020-08-13 12:31:57.451 am debugsetColor() : [saturation:86, hue:82, level:89]

it looks like there is no switch capability should witch or on of show up on the right as one of the current states it should be either on or off not nothing?

Current States

  • checkInterval : 7320
  • color : #ff00ff
  • illuminance : 0
  • motion : active
  • temperature : 74.5

Which hub do you have (C-3, C-5, or C-7)? I haven't tested the device on a C-7 so I wonder if that is the problem.

c7 i have given up on it for now.. even with latest firmware.. now i excluded it and cannot even get it to pair again.. i think it had pretty old firmware if i remember like 2.2 or something.. i have ordered a newer one .. i like using them in places as night lights with motion alll in one.

I did update the driver with c-7 support (although I haven't tested it).

When you include it does it ask for which security level to use? S0, S2, etc?

If so, what level are you choosing?

you get an error in the logs for the device unless you comment out the delay lines in the following function

def setColor(value) {
if (debugEnable) log.debug "setColor() : ${value}"
def myred
def mygreen
def myblue
def hexValue
def cmds = []

if ( value.level == 1 && value.saturation > 20) {
	def rgb = huesatToRGB(value.hue as Integer, 100)
    myred = rgb[0] >=128 ? 255 : 0
    mygreen = rgb[1] >=128 ? 255 : 0
    myblue = rgb[2] >=128 ? 255 : 0
} 
else if ( value.level > 1 ) {
	def rgb = huesatToRGB(value.hue as Integer, value.saturation as Integer)
    myred = rgb[0] >=128 ? 255 : 0
    mygreen = rgb[1] >=128 ? 255 : 0
    myblue = rgb[2] >=128 ? 255 : 0
} 
else if (value.hex) {
	def rgb = value.hex.findAll(/[0-9a-fA-F]{2}/).collect { Integer.parseInt(it, 16) }
    myred = rgb[0] >=128 ? 255 : 0
    mygreen = rgb[1] >=128 ? 255 : 0
    myblue = rgb[2] >=128 ? 255 : 0
}
else {
    myred=value.red >=128 ? 255 : 0
    mygreen=value.green >=128 ? 255 : 0
    myblue=value.blue>=128 ? 255 : 0
}
cmds << "200100"

// cmds << " delay 250"
if (myred!=0) {
cmds << "33060002FF"
//cmds << "delay 150"
cmds << "330702"
}
if (mygreen!=0) {
cmds << "33060003FF"
//cmds << "delay 150"
cmds << "330703"
}
if (myblue!=0) {
cmds << "3306000400"
//cmds << "delay 150"
cmds << "330704"
}
// cmds << " delay 100"
cmds << zwave.basicV1.basicGet()

hexValue = rgbToHex([r:myred, g:mygreen, b:myblue])
if(hexValue) sendEvent(name: "color", value: hexValue, displayed: true)
commands(cmds)

}

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.