Comments (5)
Hello @BeepLoveKarki
I never saw any existing code or info for these functionalities, so i think some reverse engineering must be done on the app.
Will be great if someone has time and energy to make this research.
from ewelink-api.
@BeepLoveKarki just wait for me to do it and then @skydiver will nicely copy-paste it ;) without adding any credits....
from ewelink-api.
Hey @peterbuga, let me know how to credit you, i'd be happy to do this.
from ewelink-api.
@skydiver Hi man, i'm on inspecting eWeLink-app i successfully Pair the devices with WIFI but i need your help for registering the device to SONOFF servers for example at: as-disp.coolkit.cc after the Pairing success i have payload for sending to register device but i need to send action to SONOFF Hardware via SOCKET action looks like this: 'register' same as other actions like 'update' and the URL looks like this: wss://as-disp.coolkit.cc:443 we don't need any SSL for this because it's on SONOFF servers not in our localServer so how can we done this via SOCKET? as i saw in your library supports Listening-events not Sending-events!
Thank you.
from ewelink-api.
@skydiver Hi man, i'm on inspecting eWeLink-app i successfully Pair the devices with WIFI but i need your help for registering the device to SONOFF servers for example at: as-disp.coolkit.cc after the Pairing success i have payload for sending to register device but i need to send action to SONOFF Hardware via SOCKET action looks like this: 'register' same as other actions like 'update' and the URL looks like this: wss://as-disp.coolkit.cc:443 we don't need any SSL for this because it's on SONOFF servers not in our localServer so how can we done this via SOCKET?
We'd need a complete replacement for the sonoff server for registration process.
as i saw in your library supports Listening-events not Sending-events!
The listener is getting the events from the sonoff server not the local devices.
the ZeroConf stuff being added will allow local control after the devices are registered.
from ewelink-api.
Related Issues (20)
- Install error
- Trouble with getDevicePowerUsage
- How do I know the type of device (Power meter, thermometer, etc.)? HOT 1
- Slow api, ETIMEDOUT, ECONRESET, ECONNREFUSED HOT 14
- problem with setInterval wsp.send('ping') openWebSocket.js HOT 1
- { error: 500, msg: 'SyntaxError: Unexpected token < in JSON at position 0' } HOT 1
- New and Simple REST API with Ready Scripts
- Error 401: Wrong account or password HOT 21
- ewelink
- Unable to install on Raspberry Pi
- THR316 doesn't update
- Unable to use power consumption with sonoff POW Elite HOT 6
- Get Voltage and current on POWR2 device HOT 2
- CoolkIt: Announcement regarding the expiration of the APPID referenced in this project and the cessation of maintenance of the v1 interface, suggesting migration HOT 7
- Error 401: Wrong account or password -- again HOT 54
- Error: 406 { error: 406, msg: 'Authentication failed' } HOT 21
- Support for changing the network indicator led?
- Is There Any PHP Version HOT 1
- error: 401, msg: 'Wrong account or password'
- Sonoff Dual R3 - Power Consumption Issue HOT 1
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 ewelink-api.