ewelink-api-python
ewelink-api-python copied to clipboard
An API wrapper around the ewelink-api
Exception has occurred: TypeError unsupported operand type(s) for |: 'types.GenericAlias' and 'type' File "C:\Utils\repository\ewelink-monitor\ewelink\models\enumerations.py", line 65, in Power def __getitem__(self, channels: tuple[int, ...] | int): File "C:\Utils\repository\ewelink-monitor\ewelink\models\enumerations.py", line 57, in...
Not an issue - just some kudos! I had used https://github.com/skydiver/ewelink-api successfully in node/javascript, but needed a Python version. Initially I found https://github.com/lucien2k/sonoff-python and spent a day failing to make...
I cloned the repo into my directory and executed the code: import ewelink from ewelink import Client, DeviceOffline @ewelink.login('password', '[email protected]') async def main(client: Client): print(client.region) print(client.user.info) print(client.devices) device = client.get_device('XXXXX')...
So I tried to connect my ewelink device via the example in the documentation which is import ewelink from ewelink import Client, DeviceOffline @ewelink.login('password', '[email protected]') async def main(client: Client): print(client.region)...
How can we install the module? the 'pip install ewelink' command says: ERROR: Could not find a version that satisfies the requirement ewelink (from versions: none) ERROR: No matching distribution...
Hello everyone. I want to control ewelink devices with php codes. Is there any code for this?
Hello, We apologize for the inconvenience you are experiencing. We would be glad to assist you in troubleshooting the issue. Regarding the error message 403, it typically indicates that the...
Today i found out that my automatizations were off which was very weird, I'm using a few smart reles with ewelink and so far they were working flawlessly. Debugging a...
- Changed the Application ID to match one that is still valid - Changed device ID to hex (as it's not decimal) - Added a new 'stay' power state for...
Get "Not recognized" response....