AceExpert / ewelink-api-python

An API wrapper around the ewelink-api
30 stars 11 forks source link

Is There Any PHP Version #12

Open huseyinergen opened 1 year ago

huseyinergen commented 1 year ago

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

PJanisio commented 5 months ago

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 :)

huseyinergen commented 5 months ago

Hello. Can you share with us your code?

PJanisio commented 5 months ago

Hello. Can you share with us your code?

Oh I didn't add repo link ? ;)

https://github.com/PJanisio/ewelinkApiPhp

PJanisio commented 5 months ago

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.

huseyinergen commented 5 months ago

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

PJanisio commented 5 months ago

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.