ewelink-api-python icon indicating copy to clipboard operation
ewelink-api-python copied to clipboard

Is There Any PHP Version

Open huseyinergen opened this issue 2 years ago • 6 comments

Hello everyone. I want to control ewelink devices with php codes. Is there any code for this?

huseyinergen avatar Nov 11 '23 18:11 huseyinergen

Hello everyone. I want to control ewelink devices with php codes. Is there any code for this?

I have made an implementation to PHP, currently it can authorize, get all devices and get device data by deviceId. Currently I have a lot to do, but maybe in the future I will add methods to change device states. Feel free to contribute :)

PJanisio avatar Jun 07 '24 19:06 PJanisio

Hello. Can you share with us your code?

huseyinergen avatar Jun 08 '24 08:06 huseyinergen

Hello. Can you share with us your code?

Oh I didn't add repo link ? ;)

https://github.com/PJanisio/ewelinkApiPhp

PJanisio avatar Jun 08 '24 11:06 PJanisio

Pre released version of php is already there: https://github.com/PJanisio/ewelinkApiPhp/releases/tag/v0.9.5

It is no longer port of this repository, but different approach. Enjoy.

PJanisio avatar Jun 12 '24 20:06 PJanisio

I can not login with my credentials. Can you write me where we add our informations?

huseyinergen avatar Jun 13 '24 19:06 huseyinergen

I can not login with my credentials. Can you write me where we add our informations?

You have to put your credentials in Constants.php, but please create an issue in my repository: https://github.com/PJanisio/ewelinkApiPhp

To not make a mess to an author of this one and than I can guide you.

PJanisio avatar Jun 13 '24 19:06 PJanisio