Binding a wifi device like lanbon


i have a question about binding a wifi device like lanbon switch. It will be great if anyone has a documentation how i can bind it?


Every WiFi maker has their own interface for working with that device. If OH doesn’t have a binding that already knows how to talk to that maker’s devices then you need to figure out if there is a published API for it or if someone has reverse engineered the API. If not you will have to reverse engineer the API yourself.

I thought there is an universal API for this purpose. In worst case i have to develop my own API.

thanks for your reply

There is no such thing as a universal API in home automation.


You will not be developing your own API. You will be discovering how to use the API that lanbon has exposed and made available to you. Or reverse engineering the secret API they use.