View single post by mattbrain
 Posted: Thursday Nov 16th, 2017 05:41 pm
 PM  Quote  Reply  Full Topic 
mattbrain



Joined: Tuesday Jun 12th, 2007
Location: United Kingdom
Posts: 185
Status: 
Offline

  back to top

Hi Wexfordman

Regular Comfort Outputs allow control and report back their status, as do alarm state controls. Comfort Inputs only report their status.

In terms of your request, I believe you have lights which are controlled via Responses and report their status via Counters. I believe to solve this we need create a device which allows control via Responses and reports status from Counters - and there are at least 2 ways we could do this.

1. Create a new device type which talks directly to the Comfort Bridge as do all the other Comfort controls in SmartThings. This would require a little development (probably by me or Ben, but I am happy to support another wiling volunteer) and could be added as an optional component in the same way that Response control is implemented.

2. Create a virtual device and use CoRE, webCore or other SmartThings code to link it to the associated Comfort Response and Counter Devices. This would probably be the quickest way to make this happen, although it isn't the most elegant (as it relies on other devices and creates a chain of dependancies).

Take a look at the behaviour of the Comfort Output devices as it transitions state - It goes from Off -> Turning On -> On. It has states 'Turning On' and 'Turning Off' along with error states 'Unknown' etc. which represent the last know good state of the device. With a device which uses Responses to control it and receiving status via Counters we need to think carefully about how state should be represented and what happens if a light which is already on is turned on (does the counter send a further unsolicited update to reflect the same state).

I don't have access to a lighting system which does this, but I could try and pull something together if you are a willing to be a guinea pig - unless you or someone else fancies having a crack at it...

Thanks,

Matt

 Close Window