HTTP API for LB110

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

HTTP API for LB110

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
HTTP API for LB110
HTTP API for LB110
2017-02-13 10:24:22
Model : LB110

Hardware Version : Not Clear

Firmware Version :

ISP :

Is there actual documentation on the LB110 and its interface. The HS110 has open source code that shows how it works, so was hoping for a sample for the LB series.

Thanks,
Jack
  0      
  0      
#1
Options
4 Reply
Re:HTTP API for LB110
2017-02-24 00:38:17
I actually need this documentation for my LB100 setup. Please advise!
  0  
  0  
#2
Options
Bulb API
2017-02-25 00:58:55
I have developed a limited api for the LB-120 series as well as Samsung SmartThings device handler. The API is currently limited to the light control and information functions. I do not yet have the functions to control schedule. I am willing to share, if you wish. List of commands tested on LB-120 and LB-130.
Get Energy Monitor Functions
getDailyEnergy (month, year)
getMonthlyEnergy (year)
Get Schedule/Timer Functions
getSchedule ()
getNextSchedAction ()
getTimerRules ()
getAntiTheft ()
Get Light Data Functions
getLightState ()
getLightParameters ()
getLightDetails ()
getLightWattage ()
Get Bulb Data Functions
getSysInfo ()
getAlias ()
getModel ()
getMACAddress ()
getCloudInfo ()
Set Light Functions
setLightOnWithTrans (power, transition)
setLightState (lightState, stateValue)
setLightColor (hue, saturation)
  0  
  0  
#3
Options
Source Files
2017-02-25 07:04:00
My source files are now at: https://github.com/DaveGut/TP-Link-Bulbs
  0  
  0  
#4
Options
Some hacks on PHP to command plugs and light bulbs
2017-08-18 22:55:49
Picking from here and there, I put together a few pieces of PHP code to command plugs and light bulbs.
It is very much a draft and functionality is partial. Feel free to comment and reuse.

http://blaya.club/SmartHome/2017/08/15/tp-link-api-same-hacks-on-php/
  0  
  0  
#5
Options

Information

Helpful: 0

Views: 1070

Replies: 4