To respond to a few specific questions:
-
nothing you can do with a device type handler can permanently damage your device, but you might have to factory reset it.
-
you have to check the user guide for the device to find out exactly how to reset it. Some are reset just by removing the battery and replacing it, but some require that you hold down a little button while the batteries replaced or some other action.
-
are you aware that ALL groovy device type handlers are in the process of being discontinued as SmartThings moves to a new architecture? So most people are not writing anything in Groovy these days.
The replacement are “edge Drivers“ written in the Lua programming language.
This is why @nayelyz gave you the following link.
If you’d like more details about edge, see the community FAQ:
FAQ: I have no idea what Edge is. Is that a new developer tool? (2022)
-
as @milandjurovic71 mentioned, there are a couple of edge drivers already available that should work with your device. So that’s very good news. You will need to get it reset. And then subscribe to the edge driver. Other people can give you the details of that process.
-
Smartthings has been having some platform issues over the last week or so and that might have introduced some additional difficulties for you. It’s often a good idea to check the status page. They don’t post all the issues there, but usually the major ones will be listed. At least that way you’ll know if it’s worth working on before they get it fixed.
- Aqara Devices are often difficult to pair to a smartthings hub. One community member has written a list of tips and tricks that might help. (The topic title is a clickable link.)
- both smartthings and Aqara have announced that they will have at least some support for Matter, the new industry standard for communicating between devices of different brands. Sometime in the next six months or so it should become way easier to use aqara devices with smartthings. Instead of pairing the Aqara devices to a smartthings hub, A new option will be to pair them to their own hub (easy) and then bring that hub into your smartthings account, which should also be an easy process. The hub will bring many of its devices with it. So if everything goes as planned, you will end up with a local, reliable, easy setup. No custom code required. Plus you will be able to get regular firmware updates for your Aqara devices, something which is quite difficult to do now.
Of course that’s all if everything goes as planned and we don’t have an exact timeline. But I just thought it might be nice to know that within a year or so this entire process should be much much easier.
———-
Anyway, I hope that answers some of your specific questions from your first post, while a lot of the information you got from other people in the thread should be very helpful in other regards.
Welcome to the community!