Git Product home page Git Product logo

ewelink-web-ui's Introduction

Ewelink Web App

I am pleased to show you the simplest web tool for ewelink.

image-20210111000940316

Full open-source project

Instructions

Go to the Guide: docs/INSTALL.md

Privacy

The only use that we give to the credentials (email / password) is to obtain access from ewelink

const { email, password } = req.body;

const connection = new ewelink({
  email,
  password,
});

const data = await connection.getCredentials();

( email / password are data for 1 use only, they are not stored for anything )

This is what the access data for the Ewelink account and devices looks like

{
  "at": "*************",
  "rt": "*************",
  "user": {
    "clientInfo": {
      "model": "iPhone 11 Pro_iPhone12,3",
      "os": "iOS",
      "imei": "*************",
      "romVersion": "14.3",
      "appVersion": "4.8.1"
    },
    "_id": "*************",
    "email": "[email protected]",
    "password": "*************",
    "appId": "*************",
    "isAccepEmailAd": false,
    "createdAt": "2019-08-01T22:25:08.703Z",
    "apikey": "*************",
    "__v": 0,
    "lang": "en",
    "online": false,
    "onlineTime": "2021-01-10T23:15:14.852Z",
    "appInfos": [
      { "os": "ios", "appVersion": "" },
      { "os": "android", "appVersion": "4.6.0" }
    ],
    "ip": "179.13.51.15",
    "location": "",
    "offlineTime": "2021-01-10T23:16:21.459Z",
    "bindInfos": { "gaction": ["ewelink-google-home-v1", "ewelinkGoogleHome"] },
    "userStatus": "2",
    "nickname": "usertest",
    "countryCode": "+86",
    "currentFamilyId": "*************",
    "language": "en",
    "extra": { "ipCountry": "CO" }
  },
  "region": "us"
}

Once the access JSON is obtained, we use the data obtained at, region, etc...

const connection = new ewelink({
  at,
  region,
});

References:

eWelink API

Feedback

Feel free to make suggestions or feedback through github issues or Reddit

ewelink-web-ui's People

Contributors

devfx16 avatar rbatty-cl avatar rbatty19 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

ewelink-web-ui's Issues

Can not login

Hi
After logging in, it returns to the login page.

Does not work

Just tried from android tablet.
Finds devices but only get hourglass on ON/OFF commands.

Can't login

I can't login on https://ewelink-web.vercel.app/login. Do I have to install something locally? I can't resolve ewelink-web-app-server-instance-1.azurewebsites.net domain (request to https://ewelink-web-app-server-instance-1.azurewebsites.net/login fails with net::ERR_NAME_NOT_RESOLVED).

Local setup doc, and not all devices shown

thanks for your work. I'm looking to host this locally, however, I'm not an expert, may you please add a HowTo doc?
on the other hand, I tried to log in to the portal, but it doesn't list all my devices. it listed only 3, while I have 15 devices. Worth noting that I have multiple homes in the app, yet I tried to switch devices between homes and the web still showed 3 devices only.

Thanks

Does not work

It correctly identifies device and status, however when issuing on or off command, an hourglass (circle) goes on for ever...

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.