I received the engineering spec from Aeotec, so I was able to write a functional device type for the . Aeon Labs DSC24 Smart Switch. This is the newer version of the Aeon Labs Smart Energy Switch DSC06 that adds the ability to monitor current and voltage in addition to watts and total energy (kWh). This device type remains ACTIVE so no need to poll the device from a SmartApp to keep it reporting.
Here are some of the preferences I have implemented for the device:
Enable/Disable the remote switch if you only care about energy monitoring
Set the interval that device reports to the SmartThings hub
Enable/Disable power events in the Activity log for the device
Adjust how the switch responds to the âSwitch Allâ command
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.
Thank you for developing this device type. Iâve got ten of these Aeotec Smart Switches and thanks to you, now I can see how much power the attached appliances are using. I also appreciate the addition of the preference configs for the device within the app.
How can I get the watts/amps to poll more frequently within the app (less than a minute)? I tried hitting the refresh button. Do I need to modify the code?
Also, any chance youâd be willing to generate a similar device type for the Aeotec Smart Dimmer, 2nd Edition (DSC25)?
You would have to change the code to refresh faster than 1 minute. It should be easy enough to do by removing the minute scaling at the top of the configure() method.
def configure() {
//Get the values from the preferences section
def reportIntervalSecs = 60;
if (reportInterval) {
//reportIntervalSecs = 60 * reportInterval.toInteger()
reportIntervalSecs = reportInterval.toInteger()
}
My one concern about that might be flooding the hub with updates and I am not sure of the refresh rate of the phone apps.
of late the displace on the app is not updating and i have it logging it to google spreadsheet and even thats not updated
when i do a manual refresh it shows up in the log but the tile is not updated
Hi There,
I want to have a preference to change the operation of the outlet to momentary i.e. if i turn it on it turns off in say 1 or 2 seconds. This is so i can use it to trigger my garage door opener.
Iâm not smart enough to change the code so was hoping someone could assist?