Comments (5)
Same for me on Debian Strech.
In power_plug.py, replace the begining of ClientStatus class by :
class ClientStatus(Enum):
INITIALIZED = 1
CONNECTING = 2
CONNECTED = 3
SUBSCRIBED = 4
CONNECTION_DROPPED = 5
and remove import of auto :
from enum import Enum
from merossiot.
Hi guys,
this happen because you are using python 3 rather than python 3.7. Just install pip37/python37 to overcome such issue.
from merossiot.
Yes but I want to use your lib in a Debian application and build a .deb package, so I have to use the official Python3 version (3.5)...
from merossiot.
Ok, Since it's not a big deal to fallback to classic Enum, I'll update the code in this week so that you can make it work with Python 3.5.
BR
from merossiot.
Done, fixed by @4cca22a473c9a801c70edda64d1e9d733c35ad21.
New version should be fine for your needs!
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.