edge driver for 1st generation smartthings multipurpose sensor with preference for use in garage doors
It seems that no one decides to try to save these smartthings devices from the garbage to use them as tilt detectors.
I have no device to test and I can only see, with a new multipurpose sensor samjin, that there is no fatal error that stops the driver from working.
I have added the fingerprints, the profile with the garage door usage preference and I have adapted the “smartsense-multi” subdriver from the stock driver to my driver.
I have created a TEST version
───────────────────────────────────────────────────
Name Zigbee Contact Mc-TEST
Version 2023-08-14T16:11:35.91346802
───────────────────────────────────────────────────
- id: Smartsense/multi/1
deviceLabel: Multipurpose Sensor
manufacturer: SmartThings
model: PGC313
deviceProfileName: smartsense-multi
- id: Smartsense/multi/2
deviceLabel: Multipurpose Sensor
manufacturer: SmartThings
model: PGC313EU
deviceProfileName: smartsense-multi
I think it should be enough to install the driver in the hub and make a driver change in the app.
I didn’t need to clear the app cache for the profile to appear with the garage door preference.
Try it and if it doesn’t work and someone sends me the error log, I’ll try to fix it.
I hope it works well!
UPDATE:
Something went wrong in publish TEST version to the channel and I saw now that it was not posted to the channel.
I just published it, but Zigbee contact Mc is the same as TEST version now, although it seems that nobody cared about the publication or not