Comments (6)
Is there any plan to support Chinese users?tks!
from sucks.
This should be the login server address of the Chinese version of the application。
{
"Chinese": {
"users": "users.ecouser.net:8000",
"lg": "lg.ecouser.net:8020",
"ne": "ne.ecouser.net:8018",
"dl": "dl.ecouser.net",
"msg": "msg.ecouser.net:5223",
"lb": "lb.ecouser.net",
"AppServer": "app.ecouser.net:8024"
},
"TW": {
"users": "users-as.ecouser.net:8000",
"lg": "lg-as.ecouser.net:8020",
"ne": "ne-as.ecouser.net:8018",
"dl": "dl-as.ecouser.net",
"msg": "msg-as.ecouser.net:5223",
"lb": "lb-as.ecouser.net"
},
"MY": {
"users": "users-as.ecouser.net:8000",
"lg": "lg-as.ecouser.net:8020",
"ne": "ne-as.ecouser.net:8018",
"dl": "dl-as.ecouser.net",
"msg": "msg-as.ecouser.net:5223",
"lb": "lb-as.ecouser.net"
},
"JP": {
"users": "users-as.ecouser.net:8000",
"lg": "lg-as.ecouser.net:8020",
"ne": "ne-as.ecouser.net:8018",
"dl": "dl-as.ecouser.net",
"msg": "msg-as.ecouser.net:5223",
"lb": "lb-as.ecouser.net"
},
"SG": {
"users": "users-as.ecouser.net:8000",
"lg": "lg-as.ecouser.net:8020",
"ne": "ne-as.ecouser.net:8018",
"dl": "dl-as.ecouser.net",
"msg": "msg-as.ecouser.net:5223",
"lb": "lb-as.ecouser.net"
},
"TH": {
"users": "users-as.ecouser.net:8000",
"lg": "lg-as.ecouser.net:8020",
"ne": "ne-as.ecouser.net:8018",
"dl": "dl-as.ecouser.net",
"msg": "msg-as.ecouser.net:5223",
"lb": "lb-as.ecouser.net"
},
"HK": {
"users": "users-as.ecouser.net:8000",
"lg": "lg-as.ecouser.net:8020",
"ne": "ne-as.ecouser.net:8018",
"dl": "dl-as.ecouser.net",
"msg": "msg-as.ecouser.net:5223",
"lb": "lb-as.ecouser.net"
},
"IN": {
"users": "users-as.ecouser.net:8000",
"lg": "lg-as.ecouser.net:8020",
"ne": "ne-as.ecouser.net:8018",
"dl": "dl-as.ecouser.net",
"msg": "msg-as.ecouser.net:5223",
"lb": "lb-as.ecouser.net"
},
"KR": {
"users": "users-as.ecouser.net:8000",
"lg": "lg-as.ecouser.net:8020",
"ne": "ne-as.ecouser.net:8018",
"dl": "dl-as.ecouser.net",
"msg": "msg-as.ecouser.net:5223",
"lb": "lb-as.ecouser.net"
},
"US": {
"users": "users-na.ecouser.net:8000",
"lg": "lg-na.ecouser.net:8020",
"ne": "ne-na.ecouser.net:8018",
"dl": "dl-na.ecouser.net",
"msg": "msg-na.ecouser.net:5223",
"lb": "lb-na.ecouser.net"
},
"FR": {
"users": "users-eu.ecouser.net:8000",
"lg": "lg-eu.ecouser.net:8020",
"ne": "ne-eu.ecouser.net:8018",
"dl": "dl-eu.ecouser.net",
"msg": "msg-eu.ecouser.net:5223",
"lb": "lb-eu.ecouser.net"
},
"ES": {
"users": "users-eu.ecouser.net:8000",
"lg": "lg-eu.ecouser.net:8020",
"ne": "ne-eu.ecouser.net:8018",
"dl": "dl-eu.ecouser.net",
"msg": "msg-eu.ecouser.net:5223",
"lb": "lb-eu.ecouser.net"
},
"UK": {
"users": "users-eu.ecouser.net:8000",
"lg": "lg-eu.ecouser.net:8020",
"ne": "ne-eu.ecouser.net:8018",
"dl": "dl-eu.ecouser.net",
"msg": "msg-eu.ecouser.net:5223",
"lb": "lb-eu.ecouser.net"
},
"NO": {
"users": "users-eu.ecouser.net:8000",
"lg": "lg-eu.ecouser.net:8020",
"ne": "ne-eu.ecouser.net:8018",
"dl": "dl-eu.ecouser.net",
"msg": "msg-eu.ecouser.net:5223",
"lb": "lb-eu.ecouser.net"
},
"MX": {
"users": "users-eu.ecouser.net:8000",
"lg": "lg-eu.ecouser.net:8020",
"ne": "ne-eu.ecouser.net:8018",
"dl": "dl-eu.ecouser.net",
"msg": "msg-eu.ecouser.net:5223",
"lb": "lb-eu.ecouser.net"
},
"DE": {
"users": "users-eu.ecouser.net:8000",
"lg": "lg-eu.ecouser.net:8020",
"ne": "ne-eu.ecouser.net:8018",
"dl": "dl-eu.ecouser.net",
"msg": "msg-eu.ecouser.net:5223",
"lb": "lb-eu.ecouser.net"
},
"PT": {
"users": "users-eu.ecouser.net:8000",
"lg": "lg-eu.ecouser.net:8020",
"ne": "ne-eu.ecouser.net:8018",
"dl": "dl-eu.ecouser.net",
"msg": "msg-eu.ecouser.net:5223",
"lb": "lb-eu.ecouser.net"
},
"CH": {
"users": "users-eu.ecouser.net:8000",
"lg": "lg-eu.ecouser.net:8020",
"ne": "ne-eu.ecouser.net:8018",
"dl": "dl-eu.ecouser.net",
"msg": "msg-eu.ecouser.net:5223",
"lb": "lb-eu.ecouser.net"
},
"AU": {
"users": "users-eu.ecouser.net:8000",
"lg": "lg-eu.ecouser.net:8020",
"ne": "ne-eu.ecouser.net:8018",
"dl": "dl-eu.ecouser.net",
"msg": "msg-eu.ecouser.net:5223",
"lb": "lb-eu.ecouser.net"
},
"IT": {
"users": "users-eu.ecouser.net:8000",
"lg": "lg-eu.ecouser.net:8020",
"ne": "ne-eu.ecouser.net:8018",
"dl": "dl-eu.ecouser.net",
"msg": "msg-eu.ecouser.net:5223",
"lb": "lb-eu.ecouser.net"
},
"NL": {
"users": "users-eu.ecouser.net:8000",
"lg": "lg-eu.ecouser.net:8020",
"ne": "ne-eu.ecouser.net:8018",
"dl": "dl-eu.ecouser.net",
"msg": "msg-eu.ecouser.net:5223",
"lb": "lb-eu.ecouser.net"
},
"SE": {
"users": "users-eu.ecouser.net:8000",
"lg": "lg-eu.ecouser.net:8020",
"ne": "ne-eu.ecouser.net:8018",
"dl": "dl-eu.ecouser.net",
"msg": "msg-eu.ecouser.net:5223",
"lb": "lb-eu.ecouser.net"
},
"BE": {
"users": "users-eu.ecouser.net:8000",
"lg": "lg-eu.ecouser.net:8020",
"ne": "ne-eu.ecouser.net:8018",
"dl": "dl-eu.ecouser.net",
"msg": "msg-eu.ecouser.net:5223",
"lb": "lb-eu.ecouser.net"
},
"DK": {
"users": "users-eu.ecouser.net:8000",
"lg": "lg-eu.ecouser.net:8020",
"ne": "ne-eu.ecouser.net:8018",
"dl": "dl-eu.ecouser.net",
"msg": "msg-eu.ecouser.net:5223",
"lb": "lb-eu.ecouser.net"
},
"default": {
"users": "users-ww.ecouser.net:8000",
"lg": "lg-ww.ecouser.net:8020",
"ne": "ne-ww.ecouser.net:8018",
"dl": "dl-ww.ecouser.net",
"msg": "msg-ww.ecouser.net:5223",
"lb": "lbo.ecouser.net"
}
}
from sucks.
Is it possible to support China (CN)? China is not in the region list in the Ecovacs app. In China, we need to use this app https://itunes.apple.com/cn/app/%E9%98%BF%E9%87%8C%E6%99%BA%E8%83%BD/id933148709?mt=8 from Alibaba to set up Wifi connection.
from sucks.
I believe it is possible to support China. The host names for the various servers use a pattern that's different than the rest of the world. Since Ecovacs doesn't provide test servers or API documentation, this change is best made by somebody in China.
The two parts that need to change for sure are where URLs are generated. Here:
https://github.com/wpietri/sucks/blob/master/sucks/__init__.py#L151
and here:
https://github.com/wpietri/sucks/blob/master/sucks/__init__.py#L169
Ideally, any change would preserve existing behavior while adding China support. But if that's too intimidating, a good place to start would be a patch that makes it work just for China, and we can jointly work on it from there.
from sucks.
Now I provide HAR files of Thor application, hoping to support China.
from sucks.
Hope our dev can do it :(
from sucks.
Related Issues (20)
- Ecovacs Ozmo 950 - home assistant integration - Recipient unavailable
- Get consumables working in the UK HOT 1
- Ozmo950 - Json Communication HOT 5
- Is there a way to control multiple robots? HOT 2
- sleekxmppfs.basexmpp WARNING fulljid property deprecated. Use boundjid.resource HOT 1
- Deebot 600 Series - "performing clean command" then does nothing HOT 1
- Could you please make a release? HOT 7
- Error type: wait, Error condition: recipient-unavailable HOT 1
- Incorrect Ecovacs continent code for some countries HOT 4
- Cannot connect: 404 wait recipient-unavailable xmlns error? HOT 3
- How to directly controll the robot
- Who helps me? HOT 1
- Deebot 600 on HA not working HOT 9
- Request for official Ecovacs API docs HOT 18
- Support for deebot 500? HOT 1
- DEEBOT OZMO 610 Clean not working
- How to logon from the UK? HOT 4
- I hoping to support China. HOT 1
- Hard coded Client Secrets HOT 1
- get status
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 sucks.