Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including node-red-contrib-esplogin with all npm packages installed. Try it out:

node-red-contrib-esplogin lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("node-red-contrib-esplogin/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

node-red-contrib-esplogin v1.3.6

This node is specifically designed to work with tech.scargill.net home control software.

A node to handle ESP8266 login to a central controller

Purpose

The esplogin node is specifically designed to work with the home control software at https://tech.scargill.net/home-control-2016/ taking in MQTT login data from ESP8266 boards and outputting MQTT to our ESP8266 boards to give them time, date and dusk dawn info.

It also outputs logging info to MSQL, SQLITE databases as well as for a flat output file and JSON format time and dusk/dawn.

Output

Output is generated every 12 hours to all units (toesp) and on demand to any unit requesting info (xxx/toesp) by sending a payload including the ID of the unit (xxx.id)

The information includes the time, dusk and dawn info for a given long/lat. Search on the https://tech.scargill.net site for "home control 2017"

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free