ady624 / webCoRE

webCoRE is a web version of CoRE
GNU General Public License v3.0
251 stars 984 forks source link

Piston virtual switches. #91

Open martinlong1978 opened 4 years ago

martinlong1978 commented 4 years ago

A bit of a work-in-progress really, but in a working state.

This creates a virtual switch for each piston, allowing them to be executed directly from the Smartthings app. This also allows a piston to be executed by, for example, a scene. Or allows a Google Home Routine to execute a piston directly.

Work to be done - lots of housekeeping. For example renaming of the switch when piston name changes. It might perhaps also be desirable to only create these switches when desired - this might require front-end work to add a flag to create the virtual switch.