-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Smarthing Arrival Sensor PGC410 support? #3790
Comments
Although it may be similar, it is no guarantee that it works so this first has to be tested. Try following https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html and add the following to {
zigbeeModel: ['PGC410'],
model: 'PGC410',
vendor: 'SmartThings',
description: 'Arrival sensor',
supports: 'presence',
fromZigbee: [
fz.STS_PRS_251_presence, fz.battery_3V,
fz.STS_PRS_251_beeping,
],
toZigbee: [tz.STS_PRS_251_beep],
meta: {configureKey: 2},
configure: async (device, coordinatorEndpoint) => {
const endpoint = device.getEndpoint(1);
await bind(endpoint, coordinatorEndpoint, ['genPowerCfg', 'genBinaryInput']);
await configureReporting.batteryVoltage(endpoint);
await configureReporting.presentValue(endpoint);
},
}, |
Thankyou for the reply. I have added into devices.js and now i get:
I have reopened devices.js with vi after this log and new entry is still there so i'm hoping i've done this right? thanks, |
Looks good, only the device fails to pair due to some timeouts. Can you make sure to keep the device awake by pressing buttons on it during pairing? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi, I have the same device and running into the same issue and hope you can resolve it? I'm in the UK and I believe this model is the only SmartThings arrival sensor available in the UK so I'm sure I won't be the only person grateful if we get this working. During testing I found that my device reports itself as "PGC410EU" instead of just "PGC410" so I made the necessary adjustments in devices.js I read the previous and you mention keeping it awake, I have done this but also ran debug level logging and here are the results:
Hopefully you can help get this resolved? |
Sorry i didn't follow up sooner but i too tried again by repeatedly pushing the only button on the device during pairing. i tried over 20 different pairing attempts pushing the button once every 10 seconds right down to pushing it several times a second to keep it awake. It gets picked up on first press after reset but always times out with 'not successfully paired'. Shame, as it's the only thing i miss from my old SmartThings and Hubitat setups. The battery life on this sensor was not great but it was a reliable presence sensor. I'm happy to post the sensor PCB and pay for return if it helps to get it working? |
No problem, follow the new thread though: #4055 Hopefully me and koenkk can get this working |
Hi,
Apologies, I am new to zigbee2mqtt and am just transferring all my automation stuff across to HA with this addon. I have successfully paired my Aqara & Smarthings sensors & switches but i am having trouble with my Smartthings Arrival sensor.
I have tried to follow the guide for adding new devices but get stuck at SSHing into HA, think i'm doing something wrong with the authorised_keys file so cannot access devices.js.
I get these log entries for the device:
{"ieeeAddr":"0xd052a800xxxxxxxx","type":"EndDevice","networkAddress":29735,"model":"PGC410","vendor":"-","description":"-","friendly_name":"Keys","manufacturerID":4362,"manufacturerName":"SmartThings","powerSource":"Unknown","modelID":"PGC410","hardwareVersion":3,"dateCode":"130324","lastSeen":1592748934795}]}'
It seems almost identical in function to this model:
#459
same battery & beep function just a different model number, PGC410.
Would it be possible to add support for this device?
Any help would be appreciated.
thanks,
ryan
The text was updated successfully, but these errors were encountered: