TylerDurden
(Tyler Durden)
November 11, 2020, 5:33am
#1
Has anyone actually gotten the Zooz Zen20 version 1.0 powerstrip to work in the new app? I can power on/off the entire strip, but none of the child devices for the individual outlets respond. I tried removing the device and rejoining it. It created new child devices when the strip was added from the new app, but still the child devices don’t respond.
TylerDurden:
Has anyone actually gotten the Zooz Zen20 version 1.0 powerstrip to work in the new app? I can power on/off the entire strip, but none of the child devices for the individual outlets respond. I tried removing the device and rejoining it. It created new child devices when the strip was added from the new app, but still the child devices don’t respond.
The link below is for the built-in handler which probably wasn’t updated for component device support in the new mobile app.
If you replace lines 214-216 with the line below and install it as a new handler, it should create working child devices the next time you join it.
isComponent: false])
/**
* Zooz ZEN20 Power Strip Outlet
*
* Implementation of the Zooz ZEN20 power strip that uses the new composite device capabilities to provide individual
* control of each outlet from SmartApps as well as the mobile app. Incorporates contributions from:
*
* Eric Maycock (https://github.com/erocm123/SmartThingsPublic/blob/master/devicetypes/erocm123/zooz-power-strip.src/zooz-power-strip.groovy)
* Robert Vandervoort (https://github.com/robertvandervoort/SmartThings/blob/master/zooZ-Strip-ZEN20/device_type-zooZ-strip-ZEN20_v1.0)
*
* Copyright 2017 SmartThings
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License
* for the specific language governing permissions and limitations under the License.
*
This file has been truncated. show original
TylerDurden
(Tyler Durden)
December 13, 2020, 6:42am
#3
Thanks @krlaframboise , that did the trick.