bmmiller
(Brandon)
July 9, 2015, 3:30pm
7
Use this Device Type:
I received the engineering spec from my friends at Aeotec, so I was able to write a functional device type for the Aeon Labs Z-Wave Smart Energy Switch . I know @bmmiller has already written a device type for this but included some preference that people might find useful.
This device type remains ACTIVE so no need to poll the device from a SmartApp to keep it reporting
You can disable the remote switch if you only care about energy monitoring
You can adjust the interval that device reports to the SmartThings hub
You can adjust in the preferences how the switch responds to the “Switch All” command
You can turn on/off the debugging for the device though the UI
I also commented all of the possible configuration values in the code if someone wants to subvert the device to their own will.
E…
SmartApp:
/**
* Alert on Power Consumption
*
* Copyright 2014 George Sudarkoff
*
* 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.
*
*/
import groovy.time.*
definition(
name: "Better Laundry Monitor",
This file has been truncated. show original
I have a SmartApp that I wrote that is what I use but most people are using the one I linked above.
The only caveat I’ve noticed is that the device type seems to report readings multiple times in certain situations resulting in a notification for each reading, meaning you might get 2 notifications at the same instant. The reason for the notification is still accurate and good, but if this sort of thing bothers you (or your wife) you might want to mitigate it in some way. It doesn’t bother us enough for me to look into it.