I just added an Inovelli NZW37, and installed this driver: https://raw.githubusercontent.com/InovelliUSA/Hubitat/master/Drivers/inovelli-2-channel-smart-plug-nzw37.src/inovelli-2-channel-smart-plug-nzw37.groovy
I can turn the whole thing (both channels) on/of, but I can't control the channel individually. in the device page when I try to turn the child on/of nothing happens. I saw somewhere how the child channels should show up separately in the device list, but I'm not seeing that.
Thanks in advance.
There is a second driver needed for the child devices.
/**
* Switch Child Device
*
* Copyright 2017 Eric Maycock
*
* 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.
*
*/
metadata {
definition (name: "Switch Child Device", namespace: "InovelliUSA", author: "Eric Maycock") {
capability "Switch"
capability "Actuator"
capability "Sensor"
This file has been truncated. show original
Read this post (and thread a bit). There may be other drivers to install. I don't recall if he rolled everything up into the parent/child drivers.
It took me a while to sort out how to get the switch to work as separate switches, so heres the following guide:
Go to the github page linked above and copy the raw text for your device
paste this into the drivers code--> new driver on hubitat.
Add the zwave device as normal, following Inovelli's included instructions (standard discover +power on device near hubitat)
Set the zwave device type as the inovelli device and save. You should now be able to manually control he device, but not auto…
@bjcowles do I add the second driver as a new driver too? Can I assign two drivers to one device?
You just need to have the switch child device driver saved in the driver code section. Hopefully, you can go back into the parent device's settings, press the save preferences button, and the two child devices will be created for you. back on the device page, you should see something like this
1 Like