home automation socket
npm install
- port 5000 is used
- socket client have id which will be added on emit
End resources and json type /pinstate { "deviceStatusId":"pi111", "deviceState":"on", "pin1":"on", "pin2":"off", "pin3":"off", "pin4":"off", "pin5":"on" }
-
https://withease-withease.c9users.io/signup form fields (userId,password,email)
-
https://withease-withease.c9users.io/authenticate form fields (userId,password) get access token apply this token in header with x-access-token and make calls
-
https://withease-withease.c9users.io/state json data (userId,piid,state,pin,deviceTitle,pinTitle,timeStamp)
-
https://withease-withease.c9users.io/pidetail json data (userId,deviceTitle,piId)