Comments (8)
Figured it out.
For anyone experiencing this issue, it is due to the domain being set to "eu-iot.meross.com" instead of "iot.meross.com"
I assume only people in the US will have issue with this.
from merossiot.
It's been tested already on my own local source for a while now. I just decided to create a pull request now since I would like it to be up on pip. Thanks for the merge! One thing to make sure would be that @vincenzosuraci can also use the api still I cannot confirm if it works in EU the same way.
from merossiot.
Just my two cents. It is just a matter of handling the Exception when calling bed.get_status()
, so that it does not freeze the execution of the python script. A CommandTimeoutException
can occur for a variety of causes, e.g. internet leaks.
VS
from merossiot.
Surrounding the commands with a try: except did not work either
from merossiot.
Created a pull request to fix this issue.
from merossiot.
Hi @ace5987 ,
Nice spot. I've had very little time lately, so I could not look into that. Anyways I've just merged your PR. New version of the library is 0.3.0.0.b2. Could you check it's now working?
Alberto.
from merossiot.
from merossiot.
Hi.
I recently refreshed my Pi Zero image with Diet pi version, and installed the updated meross_iot=0.3.3.0. I'm running python 3.7.1 with GCC 8.3.0.
I'm having the same 'CommandTimeoutException' error since the new install. Previously, I was running meross_iot on a Raspbian bustar image, with older meross_iot module and no issues.
File "/home/dietpi/.local/lib/python3.7/site-packages/meross_iot/cloud/device.py", line 143, in execute_command
return self.__cloud_client.execute_cmd(self.uuid, command, namespace, payload, callback=callback, timeout=timeout)
File "/home/dietpi/.local/lib/python3.7/site-packages/meross_iot/cloud/client.py", line 321, in execute_cmd
raise CommandTimeoutException("A timeout occurred while waiting for the ACK: %d" % timeout)
meross_iot.cloud.exceptions.CommandTimeoutException.CommandTimeoutException: A timeout occurred while waiting for the ACK: 10
Any ideia what could be the issue?
Many thanks.
from merossiot.
Related Issues (20)
- Check if devices are online or offline HOT 1
- Cannot connect to the Meross Cloud
- using the library without using the meross cloud ? HOT 1
- I'm getting Invalid username/Password combination although they are correct. HOT 2
- Reading if MTS200b is heating? HOT 1
- MST960 reading current values is not possible HOT 3
- Meross changing the cloud api from 2024-01-01 HOT 4
- Logout fail HOT 1
- Meross Cloud API changed begining of January 2024 HOT 2
- Log entries HOT 10
- TypeError: async_from_user_password() missing 1 required positional argument: 'api_base_url'
- Is merossiot no longer working? HOT 4
- MerossManager._update_and_send_push' was never awaited HOT 5
- Incompatible with paho-mqtt 2.0 HOT 2
- hourly consumption MSS310 HOT 6
- https://iotx-eu.meross.com returns error 404 HOT 8
- Meross architecture clarification - recording electricity consumption HOT 2
- Operation of multiple MSS110 smart plugs HOT 4
- cannot reuse already awaited coroutine HOT 14
- MSH300HK/MS100F are not supported HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from merossiot.