Commit Graph

14 Commits

Author SHA1 Message Date
Vinay Rao
318cdedaec Merge pull request #1702 from scottvlaminck/add_outlet_capability
add Outlet capability
2017-02-21 10:28:12 -08:00
Scott Vlaminck
649ed033d0 add Outlet capability 2017-02-21 11:07:51 -06:00
Zach Varberg
c6d6ba85f5 Properly create event for outlet power
We were not properly creating the event before returning it, causing us
to not actually generate the power event.

This resolves: https://smartthings.atlassian.net/browse/PROB-1518
2017-02-15 13:49:47 -06:00
Zach Varberg
65d4a811b0 Clean up smartsense DTHs
This continues an effort to clean up the SmartSense DTHs and move as
much of the logic as possible into the library.  This simplifies the DTH
and has the advantage of having only a single location where issues need
to be fixed.
2017-02-01 09:12:15 -06:00
Zach Varberg
930c4ed914 Increase zigbee message delays
This changes our smartsense DTHs that don't use the ZigBee library for
everything to have larger delays between ZigBee messages.  This is to
reduce the network load to try to work around some of the poorer
behaving ZigBee routers we support.

This resolves: https://smartthings.atlassian.net/browse/DPROT-223
2017-01-06 10:45:13 -06:00
Zach Varberg
cf9d123aa0 Handle all messages in smartpower dimming outlet
Previously the implementation of isKnownDescription didn't cover all
possible messages that could be parsed and this caused null pointer
exceptions with certain messages.  This now handles all the
possibilities.

This resolves: https://smartthings.atlassian.net/browse/DVCSMP-2227
2016-11-14 11:08:30 -06:00
Zach Varberg
4115d8c65f Pass unhandled messages up to the cloud
Currently these DTHs return null when they parse a message that they
don't have specific handling for.  This ends up sending the message up
to the cloud as an event, which prevented us from potentially parsing
that message in the cloud.  By instead returning an empty map we can
instead send the message up to the cloud to be parsed there.  This
allows us to add handling in the cloud for new message without requiring
and AppEngine deploy for them to work.

This resolves: https://smartthings.atlassian.net/browse/DPROT-200
2016-11-03 09:59:23 -05:00
Zach Varberg
409658e899 Call refresh before configure
With the changes in https://smartthings.atlassian.net/browse/DPROT-168
it can take a little longer for the configuration process for a device
to complete.  As a result sensor values may not be available immediately
by calling the refresh commands before the configure commands we can
populate those values sooner.

This resolves: https://smartthings.atlassian.net/browse/DPROT-177
2016-10-13 09:51:22 -05:00
Vinay Rao
0353a059f0 Merge pull request #37 from workingmonk/smartpower_new_dt
Updating smartpower outlet device type to use zigbee library
2015-08-26 20:44:48 -07:00
Vinay Rao
b10308fe5c Handling the power issues via configuring 2015-08-25 20:57:27 -07:00
Matt Nohr
9b67f4f894 Add back canChangeIcon to device types 2015-08-25 21:04:34 -05:00
Vinay Rao
91719ba5ca Updating the power config based on the discussion with CentraLite and the sniffer data 2015-08-25 13:10:18 -07:00
Jesse O'Neill-Oine
66287082c0 Meta-data updates to enable multi-attribute-tiles for most important first devices. Note: several cases use a 'multi-attribute-tile' to show only a single attribute to get the larger & richer display of multi-attribute-tiles 2015-08-11 14:59:46 -05:00
bflorian
6ad3c4fd7a Initial commit 2015-08-04 15:49:03 -07:00