Giter VIP home page Giter VIP logo

dlinkwebsocketclient's People

Contributors

garfonso avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dlinkwebsocketclient's Issues

Node-red

Hello,
do you think it is possible to integrate this service on node red?
thank's for your job

Client network socket disconnected before secure TLS connection was established

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 }

Watt consumption

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.