Somfy ZWave Blinds (Dimmer)

@JDogg016 I don't have shades, but using "clue" in the title of (Dimmer) I tried asking Siri to do some dimmer stuff. All of it worked.

I said to Siri "close the dimmer" and she said "hmmm.. that feature is not available for dimmer."

Is that what you're saying?? That a specific use of "open" or "close" worked before, but now you have to use "on" or "off"?

I tried the awkward phrasing of "Off the dimmer" and she did it. Same with "On the dimmer"

No. What I am saying is on/off does not work with curtains (has not for some time and it should not). When I tell Alex/Siri to: (i) close the curtains or; (ii) set the curtains to 0 (like a dimmer) nothing happens. Not only do the curtains not close, there are no logs to show the command went anywhere.

However, if I say (i) open the curtains or; (ii) set the curtains to 100 everything works just fine and I receive logs from HE.

#veryodd

I havent migrated my somfy z wave yet but will report back if I have the same issue...

working for me. I have my shades as z-wave dimmer and alexa could turn on/off and set to any level right now. One odd time i told her to turn on shade 1 and she said shade 1 is not responding but she turned it on.

Is this is a different device type than mine which is 'Generic Z-Wave Shade'

The fact that it is a 'Shade' works in conjunction with @tonesto7 home bridge app and the Alexa app. So, for instance, if I walk into the bedroom and say Alexa/Siri turn on the lights the curtains will not open (turn on) because they are NOT lights/dimmer but a 'Generic Z-Wave Shade'.

my fault. I am using generic z-wave dimmer. I didn't want generic z-wave shade due to RM not allowing to select more than one shade at a time for rules.

Ahh.. that's clearer.. although not making it easier to understand how one command works, one doesn't.

I'll try adding a Virtual with the Generic ZWave Shade driver and see what I see. That's as close as I'll ever get to shades I think. :smiley:

Thanks for all your help. This is something that recently began happening. We don't close the curtains often by voice as they close automatically each night, but the odd part is that when a user issues the voice command, Siri/Alexa understands the command and appears to comply but there are no results and no logs showing.

Thank you all again.

The Generic ZWave Shadedriver is both a switch and a shade. You should be able to do what you are doing AND what JDogg016 is too.

1 Like

@JDogg016 I have the Virtual Shade added and added to HomeBridge. It shows on my iOS devices and I can tap it to getting "moving" but without something to indicate the ends I don't think this test helps.

I am getting an error in the logs.

dev:12232018-11-15 02:10:59.892 pm errorgroovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Integer#minus.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
	[class java.lang.Character]
	[class java.lang.Number] (setPosition)
dev:1223 2018-11-15 02:10:59.826 pm info A Virtual Shade is closing
app:874 2018-11-15 02:10:59.894 pm info Command Successful for Device A Virtual Shade | Command setPosition()
app:874 2018-11-15 02:10:59.766 pm info Process Command | DeviceId: 1223 | Command: (setPosition)

I click the "Open"" driver button and Homebridge hears about it, but the driver shows the same error:

dev:12232018-11-15 02:17:43.870 pm errorjava.lang.NumberFormatException: For input string: "" (open)
dev:12232018-11-15 02:17:43.836 pm infoA Virtual Shade is openingapp:8742018-11-15 02:17:43.876 pm debugSending DEVICE Event (A Virtual Shade | WINDOWSHADE: opening) to Homebridge at (192.168.7.129:8005)

And moving on to Siri...
I asked her to open then close the shade. Both resulted in her saying "OK"
For the Open, Homebridge logs show:

app:8742018-11-15 02:20:26.144 pm infoCommand Successful for Device A Virtual Shade | Command setPosition()
app:8742018-11-15 02:20:26.118 pm debugSending DEVICE Event (A Virtual Shade | WINDOWSHADE: closing) to Homebridge at (192.168.7.129:8005)
app:8742018-11-15 02:20:26.039 pm infoProcess Command | DeviceId: 1223 | Command: (setPosition)
app:8742018-11-15 02:20:06.986 pm infoCommand Successful for Device A Virtual Shade | Command setPosition(100)
app:8742018-11-15 02:20:06.907 pm infoProcess Command | DeviceId: 1223 | Command: (setPosition) | Param1: (100)

The driver log Shows:

dev:12232018-11-15 02:25:04.300 pm errorgroovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Integer#minus.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
	[class java.lang.Character]
	[class java.lang.Number] (setPosition)
dev:12232018-11-15 02:25:04.235 pm infoA Virtual Shade is closing
dev:12232018-11-15 02:24:51.574 pm errorjava.lang.NumberFormatException: For input string: "" (setPosition)
dev:12232018-11-15 02:24:51.523 pm infoA Virtual Shade is opening

This isn't any kind of good test BUT it does seem to show that communication from Siri through Homebridge to the Hubitat driver is functioning. I'm getting logs, bad as they are, and you're not.

Yes and your logs are quite detailed compared to mine.

This is my log for when I use HE 'open' or use Siri or use Alexa " to open the curtains"

[dev:12](http://192.168.7.201/logs#dev12)2018-11-15 04:48:03.383 pm [debug](http://192.168.7.201/device/edit/12)tt: 46

[dev:12](http://192.168.7.201/logs#dev12)2018-11-15 04:48:03.380 pm [debug](http://192.168.7.201/device/edit/12)travelTime: null | level: 99 | crntPos: 255

All aside, I hope someone can take a look at this and determine a solution

Havent tried the open/close yet after updating to 2.0. I do have a question regarding getting battery levels from the default HE drivers for my Somfy battery powered shades. Is that possible or is something I'm not seeing?

@tonesto7 is maintaining this code for both Hubitat and ST.

You may want to go to his github and file an Issue:

He doesn't get notification of messages from this community - he checks in and finds he has a dozen, for example.

I think this is a HE issue. Like I said the same issue arises when I use both Siri and Alexa.

Prior to 2.0 Open and Close both worked using Siri and Alexa.__

Why wouldn’t you port the app to change with how HE works? Just curious if adding a couple lines in a posted ST app would be better than to clutter the switch category? My home has 35 windows with blinds in it. That would be 35 switches I would have to deal with in non-blind applications to scroll or accidentally select.

Just saying my preference is we don’t replicate bad programming practices because of a platform that didn’t listen to its community and then the community got creative with switches.

1 Like

I actually suggested this approach from the beginning. HE should expose the actual device driver code so the community can make it their own and get it perfectly correct.

1 Like

Current thinking, I agree.

Anyone have a thought on this one..... my curtains are currently closed (for real) and home bridge shows them as open.

When I try to close them using home bridge/siri or alexa this is the resulting log.

[dev:12](http://192.168.7.201/logs#dev12)2018-12-08 10:13:13.907 pm [error](http://192.168.7.201/device/edit/12)groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Integer#minus. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [class java.lang.Character] [class java.lang.Number] (setPosition)

Anyone? This is quite annoying.