Z-Wave Multi Channel (PE653)

I've been messing around with the 3.0 DTH and my main issue revolves around the creation of the child devices, as mentioned previously. I can get them created if I change this line:

addChildDevice("erocm123", "Switch Child Device", dni, null, [completedSetup: true, label: "${name}", isComponent: false, componentName: "ep${childNo}", componentLabel: "Switch ${childNo}"])

to this:

addChildDevice("erocm123", "Switch Child Device", dni, null)

Otherwise I get this error:

addChildDevice failed: groovy.lang.MissingMethodException: No signature of method: dev1531023368173126233545.addChildDevice() is applicable for argument types: (java.lang.String, java.lang.String, org.codehaus.groovy.runtime.GStringImpl, null, java.util.LinkedHashMap) values: [erocm123, Switch Child Device, 07-ep5, null, [label:Switch 5]]

Given my lack of experience with groovy, any help would be appreciated.

@kmheid - I have the iboot file from Frank. I also have a Windows XP 32bit VM that I created specifically for updating the Multiwave so it's not a huge problem to go back and forth.

1 Like

Give this a try:

addChildDevice("erocm123", "Switch Child Device", dni, [isComponent: false, name: "ep${childNo}", label: "Switch ${childNo}"])

Here is the documentation regarding Hubitat's implementation of Composite Device Drivers. You should be able to make some minor tweaks to the original code to make it work with Hubitat.

1 Like

I had a cell phone number for Frank, so tried it: "The customer you are calling is not accepting calls.".

Checked with the Intermatic folks and they confirmed Frank is retired (cell phone was company-issued). They also were adamant that v3.7 or v3.9 were specialized firmwares for apartment installations and to stay on v3.4. I pressed - hard - for any documentation on Z-Wave commands but came up empty.

That did seem to resolve the issue I was running into creating the child devices but commands still don't seem to be working. I tried turning on switch 3, which is my pool light, and get this in the logs:

2018-07-09 10:24:17.485:debug<<<<< rspFlg=false dly:1000/1000 <<<<< HubAction: MultiInstanceCmdEncap(command:1, commandClass:37, instance:16, parameter:[255]), delay 1000 <<<<< Dev cmd: MultiInstanceCmdEncap(command:1, commandClass:37, instance:16, parameter:[255]) --> 6006102501FF <<<<< HubAction: VersionGet(), delay 1000 <<<<< Dev cmd: VersionGet() --> 8611 <<<<< HubAction: delay 1000, delay 1000 <<<<< HubAction: 8611, 8611 <<<<< HubAction: ManufacturerSpecificGet(), delay 1000 <<<<< Dev cmd: ManufacturerSpecificGet() --> 7204 <<<<< HubAction: delay 1000, delay 1000 <<<<< HubAction: 7204, 7204

[dev:177]2018-07-09 10:24:17.483:tracel -> 7204

[dev:177]2018-07-09 10:24:17.482:tracel -> delay 1000

[dev:177]2018-07-09 10:24:17.481:tracel -> ManufacturerSpecificGet()

[dev:177]2018-07-09 10:24:17.480:tracel -> 8611

[dev:177]2018-07-09 10:24:17.479:tracel -> delay 1000

[dev:177]2018-07-09 10:24:17.477:tracel -> VersionGet()

[dev:177]2018-07-09 10:24:17.475:tracel -> MultiInstanceCmdEncap(command:1, commandClass:37, instance:16, parameter:[255])

[dev:177]2018-07-09 10:24:17.474:debug<<<<< rspFlg=false dly:1000/1000 <<<<< HubAction: VersionGet(), delay 1000 <<<<< Dev cmd: VersionGet() --> 8611 <<<<< HubAction: ManufacturerSpecificGet(), delay 1000 <<<<< Dev cmd: ManufacturerSpecificGet() --> 7204

[dev:177]2018-07-09 10:24:17.472:tracel -> ManufacturerSpecificGet()

[dev:177]2018-07-09 10:24:17.471:tracel -> VersionGet()

[dev:177]2018-07-09 10:24:17.469:debug+++++ refresh() DTH:Ver 3.00 state.Versioninfo=Versions: Firmware v3.7 DTH: Ver 2.06 zWaveLibraryType: 6 zWaveProtocol: v2.78

[dev:177]2018-07-09 10:24:17.462:debug+++++ setChanState(16, 255)

[dev:177]2018-07-09 10:24:17.458:debug+++++ setVSPSpeedInternal() speed=1

[dev:177]2018-07-09 10:24:17.453:debug+++++ cmdFromChild: childNo:7 val:255

[dev:177]2018-07-09 10:24:17.452:debugchildOn called in parent: dni=07-ep3 channelNumber(dni)=7

@CAL.hub, you got a more complete answer than me (I just emailed). The response they sent me when I asked if there was any way to get the 3.9 firmware was "Unfortunately that software will not be released. We apologize for any inconvenience."
That makes me think they are just going to kill the product line. What a waste. At least @keithriley has managed to work around the 3.4 firmware limitations for ST, and it sounds like you all are close to getting Hubitat working equally as well. Purchasing a Hubitat is worth it to me just to get this thing working properly. I can't wait to try it.

There’s something very odd going on in the very bottom line of the trace. It does confirm that you are activating switch three, note “EP3” , but for some reason it’s parsing out the 07 instead of the three, which leads it to believe you pressed the VSP1 switch. I’ll take a look at that sometime tomorrow to see what’s going on.

More than likey the cose was written for behome247's product line to give them the features they wanted. Not sure if there are issues with that aspect. Behome247 has a customized vera product they use for their property management portfolio. This is prolly why Vera will no longer support the standalone product.

@magicshot that makes a lot of sense. I had seen mention of Intermatic's work for behome247 before, but never took the time to see what it was. Thank you for connecting the dots.
I have heard that 3.9 works very well with Vera, but it had to be applied in the factory and is impossible to get now that Frank is gone. Without it (or someone with enough knowledge to work with 3.4), I guess the PE653 will never work properly with Vera or behome247. Shame.

@CAL.hub, could do me a favor and take pictures of each of the configuration screens on you remote? Be sure to get all the sun screens on the 5043 and the heater. There is some difference between yours and mine as your 653 is being sent the same command as me but it’s being ignored.

Just out of curiosity, i’m Located in Orlando. Where are you?

I'll try to get the screen pics to you this morning, but it might be later today.

I'm in Winter Springs. Are you far?

I'm in Windermere near MK. Probably about 35 min drive. Small World. Maybe I could come by with my Sniffer and capture some ZWave traces...

I'd be happy to host you here. Any way at all that I can be useful to the project. (I'm friends with the Windermere mayor. But most people that the USPS calls "Windermere" aren't actually in the corporate City limits of Windermere.)

Here are some pics of my PE953 configuration screens.

I really don't see why Hubitat Groovy would act differently, but give this a try. Find this function and remove the "-":

private channelNumber(String dni) {
dni.split("-ep")[-1] as Integer

change to:
dni.split("-ep")[1] as Integer

See if that changes the behavior. This line was picking up a 7 when it should have gotten the 3.

Good afternoon. At what point do you want me to start testing your new device?

I tried this and it seemed to fix the 3/7 mix-up but the child devices still don't actually do anything.

I downgraded to 3.4 FW so that I could test like for like. I reverted to the 2.06 driver and that seems to work, although I can't turn on switch 5 for some reason. I might need to completely reset the config on my 653 after downgrading, which I didn't do.

@JMack89427, Would you put some new traces for me please?

Are you using the same modified code as @JDogg016? I believe he was achieving device control. Is yours working OK from the device directly, but only the child devices are nonfunctional? Or not achieving any control at all? If one is working and the other is not, please put the traces of both. Thank you.

@JDogg016, If you are game, please take the latest 3.02 driver, apply the same changes you did previously, and give it a go. I look forward to your feedback.

I’m embarrassed to admit the litany of mistakes I made with your 3.0 code. I grabbed your 3.02 code, made the required changes, and it is fully functional, including the heater coming on based on temperature set point. I can post my modified code in a bit but I can’t thank you enough for your hard work!

Now I just need to figure out how to poll the device on a regular basis so Water Temp gets updated as well as the states of the switches and get a functioning dashboard :slight_smile:

That's great news @JMack89427! Sorry I didn't get this done sooner but I just published ver 3.03, which is my best attempt at consolidating most of the changes from this thread into a common source. Most of the changes are ST compatible so this will make future ports much easier. I covered:

  1. The extra List container (brackets) in the preferences section.
  2. Added [number] to three of the commands so they will work in the Hubitat test UI.
  3. Several changes to get to a common implementation of the multiinstance class. (let me know if there are any remaining compile issues)
  4. Issues with casting to double and parsing the endpoint are here as well.
  5. Copied in the addChildDevice code you created as a comment following the ST equivilent. Now you can just move the comments from one to the other. Search for "Hubitat".
  6. You still have to do a global search and replace "physicalgraph." to "hubitat.". I don't understand why Hubitat decided to change this, nor could I think of a clever Groovy abstraction that would work in both.

Bottom line, you should be able to take the following link and apply just the 2 changes in steps #5 and #6.
https://raw.githubusercontent.com/KeithR26/SmartThingsPublic/a55750fcb49a3aabd40972e991b06a555d522a94/devicetypes/keithr26/intermatic-pe653-pool-control-system.src/intermatic-pe653-pool-control-system.groovy

Please let me know of anything I missed....

@JDogg016, this should reduce your effort as well.

We still have open issues where some users cannot change the temperature setpoint. I have an plan to meet up with @CAL.hub and debug that issue in person.

Any other open issues? (I do also plan to add at least a command to set schedules, but no UI plans for that as yet)

Awesome! I'm just monitoring a pool party for my daughter so I'll see if I can get it modified and post that version as well.

As for the 3.02 code, it's here: Intermatic PE653 Pool Controller Driver v3.02 for Hubitat