[RELEASE] Russound Multi-Zone Controller Integration

smartapp_av
russound
dth_av

(jelsco) #552

I guess i forgot to add whats wrong, The devices never add to ST. The logs above are from right when adding the proxy node to ST, just no devices ever show up.


(Jack) #553

Got it. Two things to check–first thing, the name of the individual zone device handler is wrong if you’re using the most current code from GitHub (it needs to be “MPR6Z Zone” and not “MPR6Z Zone - bass and treble”), so that’s a potential source. Second, I don’t see a “Controller” statement in your json. I don’t know if that would cause the issue, but here’s my json as an example (you can ignore the second controller statement I have, I have two linked controllers):

{
“port”: 8080,
“authCode”: “redacted”,
“mpr6z”: {
“serialPort”: “ttyUSB0”,
“baudRate”: 9600,
“sources”: [
“Airplay 1”,
“Airplay 2”,
“Airplay 3”,
“Source 4”,
“Upstairs Receiver”,
“Mini PC Audio”
],
“controllerConfig”: {
“type”: “discover”,
“controllers”: [
{
“controller”: 1,
“zones”: [
{
“zone”: 1,
“name”: “Master Bedroom”
},
{
“zone”: 2,
“name”: “Office”
},
{
“zone”: 3,
“name”: “Great Room”
},
{
“zone”: 4,
“name”: “Dining Room”
},
{
“zone”: 5,
“name”: “Den”
},
{
“zone”: 6,
“name”: “Master Bath”
}
]
},
{
“controller”: 2,
“zones”: [
{
“zone”: 1,
“name”: “Guest Bedroom”
},
{
“zone”: 2,
“name”: “Third Bedroom”
},
{
“zone”: 3,
“name”: “Gym”
},
{
“zone”: 4,
“name”: “Patio”
},
{
“zone”: 5,
“name”: “Hot Tub”
},
{
“zone”: 6,
“name”: “Unused”
}
]
}
]
}
}
}


(jelsco) #554

I added the controller back in, at some point in this thread removing it resolved a similar issues. Same issue adding controller back in.

Also the newest DH appears to be the ““MPR6Z Zone - bass and treble””

Would you be able to provide me with the version you have?
Scot


(jelsco) #555

Jack,
You got me on the right track. After adding the controller back in i started getting valid logs from ST. Line 145 in the smartapp calls for the “MPR6Z Zone” DH and not the new name “MPR6Z Zone - bass and treble”. Renamed the DH and all of the devices finally showed up.
Thank you!!!


(Jack) #556

That’s exactly what I did–renamed the device handler.


(Todd M) #557

Has anyone modified this code to replace source0(), source1(), source2()… with actual source names like radio, DVD, Cable box…?
It would certainly be easier to use those names in my webcore code.


(Kumar Mudedla) #558

@redloro Thanks for all of this, I am using your smartthings-nodeproxy for my Honeywell with envisalink and that is beautiful. Hope you can help me out on this issue with CAA66 and get me some sleep :slight_smile:

I have been watching and finally bought a CAA66 from eBay (they said its brand new but it doesn’t look like) it is just the amp (no keypads or remote) so not sure if its the amp issue or some thing that I setup, Envisalink working fine. rnet plug says completed discovery but I cant see any devices in the things. I tried many things by reeding through many posts here but no luck.

Running nodeproxy on Windows 10

C:\Users\HOME\smartthings-nodeproxy>node server.js
[2018-11-06T04:43:33.783Z] [stnp] SmartThings Node Proxy listening at http://:::8080
[2018-11-06T04:43:33.790Z] [stnp] Loaded plugin: envisalink
[2018-11-06T04:43:33.836Z] [stnp] Loaded plugin: rnet
[2018-11-06T04:43:33.839Z] [rnet] Detected serial ports: [“COM1”,“COM3”]
[2018-11-06T04:43:33.840Z] [evl3] Connected to Envisalink at 192.168.0.164:4025
[2018-11-06T04:43:33.842Z] [rnet] Connected to RNET: COM3
[2018-11-06T04:43:38.238Z] [evl3] {“type”:“partition”,“partition”:1,“state”:“armedstay”,“alpha”:“ARMED STAY”}
[2018-11-06T04:44:06.159Z] [stnp] ::ffff:192.168.0.106 GET /subscribe/192.168.0.106:39500
[2018-11-06T04:44:16.900Z] [stnp] ::ffff:192.168.0.106 GET /subscribe/192.168.0.106:39500
[2018-11-06T04:44:21.954Z] [stnp] ::ffff:192.168.0.106 GET /plugins/rnet/discover
[2018-11-06T04:44:21.955Z] [rnet] {“type”:“discover”,“zones”:[{“zone”:0,“name”:“Office”},{“zone”:1,“name”:“Bedroom”},{“zone”:2,“name”:“Bath room”},{“zone”:3,“name”:“Patio”},{“zone”:4,“name”:“Garage”},{“zone”:5,“name”:“new”}]}
[2018-11-06T04:44:21.956Z] [rnet] Completed controller discovery

this is what I see from Live logging when I click done on the Russound app in smarthtings

797a8f53-07b6-4cb2-9752-51ab3ff260d4 12:19:29 AM: trace Russound RNET event: index:E5, mac:305A3A572147, headers:Tk9USUZZIC9ub3RpZnkgSFRUUC8xLjENCkNPTlRFTlQtVFlQRTogYXBwbGljYXRpb24vanNvbg0KQ09OVEVOVC1MRU5HVEg6IDE5MQ0Kc3RucC1wbHVnaW46IHJuZXQNCkhvc3Q6IDE5Mi4xNjguMC4xMDY6Mzk1MDANCkNvbm5lY3Rpb246IGNsb3Nl, body:eyJ0eXBlIjoiZGlzY292ZXIiLCJ6b25lcyI6W3siem9uZSI6MCwibmFtZSI6Ik9mZmljZSJ9LHsiem9uZSI6MSwibmFtZSI6IkJlZHJvb20ifSx7InpvbmUiOjIsIm5hbWUiOiJCYXRoIHJvb20ifSx7InpvbmUiOjMsIm5hbWUiOiJQYXRpbyJ9LHsiem9uZSI6NCwibmFtZSI6IkdhcmFnZSJ9LHsiem9uZSI6NSwibmFtZSI6Im5ldyJ9XX0=

797a8f53-07b6-4cb2-9752-51ab3ff260d4 12:19:29 AM: trace Body: [type:discover, zones:[[name:Office, zone:0], [name:Bedroom, zone:1], [name:Bath room, zone:2], [name:Patio, zone:3], [name:Garage, zone:4], [name:new, zone:5]]]

797a8f53-07b6-4cb2-9752-51ab3ff260d4 12:19:29 AM: trace Headers: [NOTIFY /notify HTTP/1.1:, CONTENT-TYPE:application/json, CONTENT-LENGTH:191, stnp-plugin:rnet, Host:192.168.0.106, Connection:close]

797a8f53-07b6-4cb2-9752-51ab3ff260d4 12:19:29 AM: trace SmartThings Node Proxy: index:E5, mac:305A3A572147, headers:Tk9USUZZIC9ub3RpZnkgSFRUUC8xLjENCkNPTlRFTlQtVFlQRTogYXBwbGljYXRpb24vanNvbg0KQ09OVEVOVC1MRU5HVEg6IDE5MQ0Kc3RucC1wbHVnaW46IHJuZXQNCkhvc3Q6IDE5Mi4xNjguMC4xMDY6Mzk1MDANCkNvbm5lY3Rpb246IGNsb3Nl, body:eyJ0eXBlIjoiZGlzY292ZXIiLCJ6b25lcyI6W3siem9uZSI6MCwibmFtZSI6Ik9mZmljZSJ9LHsiem9uZSI6MSwibmFtZSI6IkJlZHJvb20ifSx7InpvbmUiOjIsIm5hbWUiOiJCYXRoIHJvb20ifSx7InpvbmUiOjMsIm5hbWUiOiJQYXRpbyJ9LHsiem9uZSI6NCwibmFtZSI6IkdhcmFnZSJ9LHsiem9uZSI6NSwibmFtZSI6Im5ldyJ9XX0=

797a8f53-07b6-4cb2-9752-51ab3ff260d4 12:19:29 AM: trace Body: null

797a8f53-07b6-4cb2-9752-51ab3ff260d4 12:19:29 AM: trace Headers: [HTTP/1.1 200 OK:, X-Powered-By:Express, Date:Tue, 06 Nov 2018 06, Connection:keep-alive, Content-Length:0]

797a8f53-07b6-4cb2-9752-51ab3ff260d4 12:19:29 AM: trace SmartThings Node Proxy: index:E4, mac:305A3A572147, ip:C0A80064, port:1F90, requestId:418fe01c-1116-4b9a-9cf7-6f2ecaedfaca, headers:SFRUUC8xLjEgMjAwIE9LDQpYLVBvd2VyZWQtQnk6IEV4cHJlc3MNCkRhdGU6IFR1ZSwgMDYgTm92IDIwMTggMDY6MTk6MzEgR01UDQpDb25uZWN0aW9uOiBrZWVwLWFsaXZlDQpDb250ZW50LUxlbmd0aDogMA==, body:

797a8f53-07b6-4cb2-9752-51ab3ff260d4 12:19:24 AM: trace Body: null

797a8f53-07b6-4cb2-9752-51ab3ff260d4 12:19:24 AM: trace Headers: [HTTP/1.1 200 OK:, X-Powered-By:Express, Date:Tue, 06 Nov 2018 06, Connection:keep-alive, Content-Length:0]

797a8f53-07b6-4cb2-9752-51ab3ff260d4 12:19:24 AM: trace SmartThings Node Proxy: index:E3, mac:305A3A572147, ip:C0A80064, port:1F90, requestId:d420ea00-d1ab-4498-8880-7d4b8de4a5a2, headers:SFRUUC8xLjEgMjAwIE9LDQpYLVBvd2VyZWQtQnk6IEV4cHJlc3MNCkRhdGU6IFR1ZSwgMDYgTm92IDIwMTggMDY6MTk6MjYgR01UDQpDb25uZWN0aW9uOiBrZWVwLWFsaXZlDQpDb250ZW50LUxlbmd0aDogMA==, body:

797a8f53-07b6-4cb2-9752-51ab3ff260d4 12:19:24 AM: debug getChildDevices(true), children=0


#559

Have you added the Smart App and the Device Handler to ST? When you complete the controller discovery, it’s sending the zones back to ST so they should get auto-created. Are you not seeing the RNET: ... devices in your device list?

You should see devices automatically created for these zones:


(Kumar Mudedla) #560

Thanks for the quick reply, yes I did added device handler and smart app and I am configuring the smart app with the IP and auth code but devices are not created


(Kumar Mudedla) #561

@redloro do you think its an issue with the usb to serial cable or the controller itself ? I am using the same cable as you mentioned in the 1st post of this thread


(Ken) #562

You can test the connection by running the commands for the controller. See post #204 in this thread for commands you can try.


(Kumar Mudedla) #563

@redloro @KenJ , my bad I was using very old config sample (I had that with envisalink from last year) now I am able to see the zones in the ST app, and now another issue is the controller (CAA66) is not responding at all to on/off zones or anything. I am ordering new usb to serial to test this out. Please let me know if there is any other way to test this communication to controller without the keypads ( I see the KP6 keypad cost is $150)

Do you think the controller not accepting the Rnet command via serial port ? is there way to reset this ?

thank you for helping on this.


(Peter) #564

I have a russound cam 6.6. When I manually press power on the wall it does not sync correctly with the smarthings app. It still shows off. In the app i have to press twice to turn off. As i said the app does not sync with the wall control. I really enjoy using this. Can someone shed some light on the syncing issues.


#565

If you’re using the same serial cable from post #1 then it should be ok… it’s the same one I have. But it could be the problem. The other thing I have seen cause a problem especially with used units is that the ID on the unit has been changed from the default 0 or 1… I can’t remember. I think there’s a dip switch or something on the Russound to set the device ID. Check yours and make sure it’s set to whatever is the factory default.

Also make sure that when you turn the power ON/OFF from the device handler, you see the commands in the console being sent to the Russound.


#566

Yeah I think there was a problem syncing the updates from keypads with the device handlers… basically it came down to me not having any keypads to test with so the adapter only does what Russound published in their docs… I think you can tap the “Refresh” button in the bottom right and it should update the status in the device handler.


(Peter) #567

Thanks for the update. Pressing the refresh button on the app does update the status. Would it be possible to have the keypads and app synced in the future? What is needed?


(Kumar Mudedla) #568

Yes I am using the same serial as you listed and tried with other too with no luck, it looks like the controller is bad as setup button (on the front panel) does nothing was trying to reset to factory mode so the ID will be 0. Seller from eBay sending me another unit for me to test. Also I ordered a KPL keypad so I will test them out to see where the issue is.

thank you so much for helping on this.


(Kumar Mudedla) #569

just wanted to inform you , received anther CAA66 unit and its working fine. Awesome work and thank you so much for helping on this.