EcoSmart Zigbee Remote

Pretty easy. :slight_smile: I figured out what it sends for holds and releases and added these as events, but you won’t get use of “released” in SmartThings (not sure it supports this). I added that so Hubitatters could probably get this event through on HubConnect (haven’t tested that yet so don’t know for sure–not sure how it handles events that are barely real on ST).

I also didn’t like the idea of one child device for each of the four buttons, so this is just one device with four buttons. (I’m not sure why the original was written that way…do new-style SmartApps not like multi-button devices?) Per device capabilities, pushed is generated as expected for all buttons, and held (and pseudo-released) only for 2 and 3:

EDIT: I have changed this to link to a file on GitHub instead of embedding the code in this post.

4 Likes