smarthomecontrol

1.1.1 • Public • Published

Smart Home Control powered by NETPIE

By using this, first step you need to install Node.js after that type "npm install smarthomecontrol" then go to https://netpie.io/ to get APPID, APPKEY, APPSECRET, then let do follow this example

var Smarthome = require("smarthomecontrol");

const APPID = "APPID"; const KEY = "APPKEY"; const SECRET = "APPSECRET"; const ALIAS = "ALIAS";

You can get ALIAS from SmartHomeControl on Google Play Store https://play.google.com/store/apps/details?id=com.tanomsup.mac.smarthomecontrol

To connect

Smarthome.connect(APPID, KEY, SECRET, ALIAS);

To Chat to another device

Smarthome.sendMessage("reciever", "message");

To make notification in your mobile phone

Smarthome.sendMessage("reciever", "alert:message");

More info go to https://netpie.io/getstarted

If you have a question or report bug send email to mactanomsup@gmail.com

/smarthomecontrol/

    Package Sidebar

    Install

    npm i smarthomecontrol

    Weekly Downloads

    5

    Version

    1.1.1

    License

    ISC

    Last publish

    Collaborators

    • mactanomsup