AlanB
December 31, 2019, 8:35am
1
Hi all
I'm using the code as supplied in the following post for my Xiaomi Aqara Wall Switch (QBKG03LMQBKG04LM, no neutral).
NOTE: Although many users have had great success using them, Xiaomi / Aqara ZigBee devices are NOT officially supported or guaranteed to work on the Hubitat Elevation platform.
I am maintaining a collection Xiaomi device drivers for Hubitat in a GitHub repository, at veeceeoh/xiaomi-hubitat .
These device drivers are based on the bspranger/Xioami repository of device handlers for SmartThings, but with significant modifications and improvements for use only on the Hubitat Elevation hub platform. …
But I'm getting an error in the logs as below.
java.lang.NullPointerException: Cannot invoke method sendEvent() on null object on line 88 (parse)
I assumed that all those codes are well used. Is it just me that's getting the error or have I done something wrong?
Thanks for any help.
Alan
bobbles
December 31, 2019, 10:53am
2
Did you install the Generic Child Switch Driver first.
Then click on the create child button.
I have these installed with no errors being generated.
AlanB
December 31, 2019, 12:25pm
3
I didn't, thanks, done now. I'm not too sure exactly what to do but I clicked on "recreate child devices" but am still getting the error. There was no create child button.
bobbles
December 31, 2019, 12:32pm
4
If you have no rules etc. tied to the device yet, I would delete all the devices, don't delete the Device Types you have installed, and re-pair the light switch.
Now set the options, one button or two buttons and save.
Now press create child devices and all should be good. (Hopefully).
I'm pretty sure this is what I had to do as I think I ended up in the same situation.
1 Like
Royski
December 31, 2019, 12:33pm
5
Use the delete child’s, then wait a little then hit Configure. Then recreate the child’s, make sure you can use them and no errors.
1 Like
Royski
December 31, 2019, 12:34pm
6
And depending on single or double, set the switches in the prefs accordingly before you do the above
1 Like
AlanB
January 1, 2020, 8:38am
7
Thanks for the help. Got it running in the end.
2 Likes
system
Closed
September 22, 2022, 5:53pm
8
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.