Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    smarthomecontrolpublic

    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


    Keywords

    none

    install

    npm i smarthomecontrol

    Downloadslast 7 days

    4

    version

    1.1.1

    license

    ISC

    last publish

    collaborators

    • avatar