Skip to content

Paral-Sync can discover nspanel pro devices in the LAN, and after simple configuration, the local zigbee devices added by nspanel pro can be synchronized to eWeLink CUBE control.

License

Notifications You must be signed in to change notification settings

SuiKaSan/cc.ewelink.paral-sync.addon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eWeLink NsPanel Pro

What is eWeLink NsPanel Pro

eWeLink NsPanel Pro

Quick start

  1. generate the appid, appSecret required for front and back-end communication
  • server side

server/config/prod.ts

export const prodConf = {
    ...
    auth: {
        appId: '16-letter-or-number-combination',
        appSecret: '32-letter-or-number-combination',
    }
    ...
}
  • web frontend

web/config.ts

const PROD_APPID = 'prodConf.auth.appId string';
const PROD_SECRET = 'prodConf.auth.secret string';
  1. Generate eWeLink AppId and Secret by logging into eWeLink Developer Platform with your eWeLink account

Place the generated AppId and Secret in the following file

server/config/prod.ts

export const prodConf = {
    ...
    coolKit: {
        appId: '16-letter-or-number-combination',
        appSecret: '32-letter-or-number-combination',
    }
    ...
}
  1. Package the project

You can set the version of the image by editing the file version.

Executes the build script in terminal , which is used to pack the frontend and back-end code which generates a zip file named deploy.tar.gz.

sh bin/build.sh
  1. Build and upload the image
  • 4.1 Upload the deploy.tar.gz file to a Linux host with linux/arm/v7 architecture
  • 4.2 Unzip the deploy.tar.gz file
  • 4.3 Go to the deploy directory and execute sh push.sh in the terminal
  • 4.4 After building the image, you need to enter the docker hub account and password in the terminal to upload the image
  1. Install and run the image
  • 5.1 Open the eWeLink CUBE docker configuration page
  • 5.2 Search for the above uploaded image name
  • 5.3 After successful installation and run it with the corresponding parameters, you can use it on eWeLink CUBE.

Note: This image needs to scan the network of the host for obtaining the devices in the host LAN. So --network must be set to be host .

About

Paral-Sync can discover nspanel pro devices in the LAN, and after simple configuration, the local zigbee devices added by nspanel pro can be synchronized to eWeLink CUBE control.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 82.9%
  • Vue 14.2%
  • SCSS 1.6%
  • Shell 0.7%
  • JavaScript 0.2%
  • CSS 0.2%
  • Other 0.2%