-
Notifications
You must be signed in to change notification settings - Fork 6
REQUEST: Add support for latest Smartthings Motion Sensor (GP-U999SJVLBHC) #7
Comments
Can you give me some direction on whats involved in twerking the app to work🥺 I have tried the obvious (changing manufacturers id and model is, adding the additional capabilities in the interview. No luck) |
Would be keen to work with you to update to support more devices like water sensor, newer motion sensors and buttons from smartthings and then add to community store for more usage. I have all the below devices, and could test. If they all work, could add other devices from groovy. (Happy to help with icons, descriptions etc. Its just the capabilities and cluster coding I don't understand) https://store.homey.community/ SmartThings Motion Sensor (2018) SmartThings Button (2018) SmartThings Moisture Sensor (2018) SmartThings Power Outlet Australia (2018) {this will use same capabilities as US model below, but interviews as below naming) SmartThings Power Outlet US (2018) |
Hi! It's been a while since I worked on this. Essentially the manifest (app.json) needs to list a device with the correct id's https://apps.developer.homey.app/wireless/zigbee#manifest And then either a simple inheritance of the driver can be created for that device, or a copy with modifications can be made. In the Homey SDK some common attributes are supported via easy functions while others need a more complicated mapping. To get these working the groovey file was of good help to me when I did this for my devices but for some of the functionality I had to play a bit around. For the first device it might be something like this: "drivers": [ "zigbee": { I could maybe make a branch one day with those values so you can try them to see if that driver works ok for that one. |
Can you have a look at the branch called feature/motion-2018 (pull request #9 ) and see if it works for your device? |
Device pairs, but no function. FYI: I had to drop the SDK field in app.json from 3 to 2, as the code wouldn't install with error. I have 10 of them, so am keen to work with you. |
/INTERVIEW EXPORT/ "ids": { |
SmartthingsMotionInterview.txt
Attached is the output from the interview with all required details.
https://github.com/SmartThingsCommunity/SmartThingsPublic/blob/master/devicetypes/smartthings/smartsense-motion-sensor.src/smartsense-motion-sensor.groovy
Device is Samjin / motion in the groovy 👍 (same groovy as motionv5)
Name Can be SmartThings Motion Sensor (2018)
Thanks mate
The text was updated successfully, but these errors were encountered: