garfonso / dlinkwebsocketclient Goto Github PK
View Code? Open in Web Editor NEWAllows to control D-Link DSP-W115 and DSP-W245 smartplugs and maybe other devices using the "mydlink" app.
License: MIT License
Allows to control D-Link DSP-W115 and DSP-W245 smartplugs and maybe other devices using the "mydlink" app.
License: MIT License
Hello,
do you think it is possible to integrate this service on node red?
thank's for your job
I removed my Dlink from mydlink app , then I add back only to wifi then I closed the application
I have tried to run:
node switch.js 192.168.1.11 <PIN_CODE> 1 0
And I got
Signed in!
Getting state
Had error: { Error: API Error 2: system error
at WebSocketClient._getSetting (/mnt/dlink_websocketclient/index.js:282:27)
at process._tickCallback (internal/process/next_tick.js:68:7) code: 2 }
What does it mean please?
If I make a wrong with PIN code I got:
Signed in!
Getting state
Had error: { Error: API Error 424: invalid device token
at WebSocketClient._getSetting (/mnt/dlink_websocketclient/index.js:282:27)
at process._tickCallback (internal/process/next_tick.js:68:7) code: 403 }
More a question and less an issue
I found your code coincidentally and had a quick look. Do you happen to know if it is possible to read the consumption in Watt and if this is the current consumption and/or total ? I have a DSP-W245 which after 20 or so attempts runs fine with the app but would be happy to dump the app.
Btw: I ask myself if the device will stick to the schedule if it loses the Internet connection. I haven't seen a setSchedule function or alike and this makes me think that this might run outside of the device
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.