SmartThingsCommunity / SmartThingsPublic

SmartThings open-source DeviceType Handlers and SmartApps code
https://developer-preview.smartthings.com/docs/devices/hub-connected/get-started
2.56k stars 90.02k forks source link

Automation with Z-Wave Water/Temp/Light Sensor #3368

Open jsturess opened 6 years ago

jsturess commented 6 years ago

Nice no I have a device…, but I cant use it for a automation or a scene in classic smartthings. It is not visible in the different automations lists. But you can see its properties

The new version of Smartthings, if you click on the device you cant see its properties, nothing happens??? You can create an automation, but only with water, temperature and battery data, but not the lux.

I also had problem to compile the code, due to "runLocally:" was true, had to change it to false

tpmanley commented 6 years ago

I'll assume you're referring to the DTH in this PR: https://github.com/SmartThingsCommunity/SmartThingsPublic/pull/3344/files. Once that PR is merged and the DTH is released to production (between 1-2 weeks from when the PR is merged) you should be able to join devices that have a fingerprint in that DTH or manually select it for a device that doesn't have a fingerprint. Then you won't have to self publish it and mess around with the runLocally flag.

In both the new app and the Classic all you should be able to install Smart Lighting and then create a New Lighting Automation that triggers off of Illuminance. In the new app the Custom Automation feature will continue to support for more triggers over time.