Skip to content

Espruino code for JS-devices connected with Aurora-Server

Notifications You must be signed in to change notification settings

urcoilbisurco/Aurora-Nodes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aurora Things

Espruino code for JS-devices connected with Aurora-Server

Setup

You need to have an ESP8266 microcontroller. Flash it with https://github.com/thingsSDK/flasher.js Then follow the instruction on this page for setup the client: https://github.com/thingsSDK/thingssdk-cli

Installation

create an "_env.js" file with inside:

export default env=[
  "http://xxx.com", //URL of aurora-server
  "XX.XX.XX.XX", //IP address of MQTT server
  1883 //port of MQTT server
];

Also, use

C.setupPin(PIN)

to setup the pin used for the Access Point button.

Then run

  npm install
  npm run dev

Todo

  • if C.pin is not defined, then C.start_setup is called automatically on Wi-Fi error.

About

Espruino code for JS-devices connected with Aurora-Server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published