I thought I’d share my DTH for this device since nothing exists yet from SmartThings. I bought this for $13.69 (that includes shipping from China) and got this working in ST for both the Classic and the new app. It’s a nice and tiny little device that reports on every change in LUX. It also mounts using magnets or double sided tape.
There’s still a little work to do with regards to commenting/documenting certain parts of the code, but the code will work. The new app is also a challenge with having it show up right (motion sensor shows up for me as a capability), but that’s not a DTH issue. We just have to wait for ST to recognize ocfDeviceType: “oic.r.sensor.illuminance” (got that from ST’s own documentation BTW).
The correct fingerprint is included in the DTH, so it will join correctly, but just in case it joins as a “Thing” (I joined it using the Classic app), go to the IDE and change the DTH to be the one you created from this code.
Anyway, hopefully this will help anyone else who bought one of these. Also, feel free to tweak, fix, update this code as you see fit.