Alexa Additional feature request for Multiroom Groups

This is a collection of wishes and needs for the next versions of Z-Way/Z-Cloud/Z-Box
Post Reply
micky1500
Posts: 146
Joined: 07 Feb 2016 16:29

Alexa Additional feature request for Multiroom Groups

Post by micky1500 »

Alexa "Groups" do not work with devices on my z-way.
Alexa App is not returning a "Device Type" during Discovery.

Device type: Other is showing in the Alexa app on my phone for most devices.
For Alexa "Groups" to work it needs a type.
This is for people with multiple Echo's. Can go into a room and say "Alexa turn on lights" and it will turn on the lights in that room only.

I have tried a temporary fix that works, but this fix assumes every "switchMultilevel" is a light.
Added the line and restarted z-way
Then did a "Discover" in Alexa webpage



---
/opt/z-way-server/automation/userModules/Alexa/index.js
At line 1250 i added "appliance.applianceTypes.push("LIGHT");"

case "switchMultilevel":
appliance.actions.push("turnOn", "turnOff", "setPercentage", "incrementPercentage", "decrementPercentage");
appliance.applianceTypes.push("LIGHT");
break;
---
Raspi 4(Buster), Zwave Version 3.0.6 x It's not my fault... I am not z-way team, just a user of a great system.

micky1500
Posts: 146
Joined: 07 Feb 2016 16:29

Re: Alexa Additional feature request for Multiroom Groups

Post by micky1500 »

Over a year later.
Still Alexa Rooms don't work.

Now Alexa app version 1.1.0
settings got lost after upgrade, file now dated 02/02/2020. Reapplied fix, 4 lines added.(updated, will only amend lights)
\\PI-4\PiShare\opt\z-way-server\automation\modules\Alexa\index.js

line 1198:
switch(vDev.get("deviceType")) {
case "switchBinary":
appliance.actions.push("turnOn", "turnOff");
if (_.contains(["Light"], vDev.get("metrics:title"))) { //Added May 2020 - Check for word "Light" in description
appliance.applianceTypes.push("LIGHT"); } //Added May 2020 - Set Device type for Alexa Discovery
break;
case "switchMultilevel":
appliance.actions.push("turnOn", "turnOff", "setPercentage", "incrementPercentage", "decrementPercentage");
if (_.contains(["Light"], vDev.get("metrics:title"))) { //Added May 2020 - Check for word "Light" in description
appliance.applianceTypes.push("LIGHT"); } //Added May 2020 - Set Device type for Alexa Discovery
break;
Raspi 4(Buster), Zwave Version 3.0.6 x It's not my fault... I am not z-way team, just a user of a great system.

micky1500
Posts: 146
Joined: 07 Feb 2016 16:29

Re: Alexa Additional feature request for Multiroom Groups

Post by micky1500 »

My old fix only worked for dimmable lights.
I've done an update, which now means it will check and only Tell Alexa about devices with the Device name "Light"
Multiroom works now for Multilevel and Binary types.

Although after an upgrade of z-way, the fix will need to be applied again.
Raspi 4(Buster), Zwave Version 3.0.6 x It's not my fault... I am not z-way team, just a user of a great system.

Jayceon55
Posts: 1
Joined: 22 May 2020 10:48

Re: Alexa Additional feature request for Multiroom Groups

Post by Jayceon55 »

Kartar Globetrac 5036 Tractor: Guys here I will talk about the Kartar Globetrac 5036 Tractor Price, Performance, Attachments, Specification and more so follow our post and get details regarding Kartar Globetrac 5036 Tractor in a single page.
https://tractorsinfo.net/kartar-globetr ... ification/

notyboya
Posts: 2
Joined: 17 Dec 2019 19:00

Re: Alexa Additional feature request for Multiroom Groups

Post by notyboya »

Thanks for sharing this information. I really like your post very much. You have really shared an informative and interesting post with people.. https://onlinesurvey.onl/

Post Reply