Apollon77 / hap-controller-node

Node.js library to implement a HAP (HomeKit) controller
Mozilla Public License 2.0
55 stars 15 forks source link

Join device to your local wifi #225

Open stefandima opened 3 days ago

stefandima commented 3 days ago

I successfully pair Aqara FP2 device using this. I had to connect my laptop to the WIFI of the device and I was able to pair. Now, I want to send commands to the the device to connect to my local wifi network (sid and password), but I don't find any instructions. If I disconnect from the device WIFI, after pairing, this WIFI is not present anymore, and I cannot connect again to him. Does someone knows how to make my device, after pairing, to join my local wifi network ? Thanks.

Apollon77 commented 3 days ago

You need to add Wifi via Aqara app, then "unpair" their homekit again which usually keeps the wifi credentials and with this the device is still reachable on wifi. There are no HAP APIs that Iwould know to commission Wifi credentials