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
icon

Accessibility Adjustments

icon RESET

Choose the right accessibility profile for you

OFF

Seizure Safe

Eliminates flashes and reduces color

OFF

Cognitive Disability

Assists with reading and focusing

OFF

Vision Impaired

Enhances the website's visuals

OFF

ADHD Friendly

More focus and fewer distractions

Content Adjustments

Adjust Scale

icon
100%
icon

Highlight Title

icon

Highlight Link

icon

Text Magnifier

icon

Readable Font

icon

Adjust Fontsize

icon
100%
icon

Align Center

icon

Adjust LineHeight

icon
100%
icon

Align Left

icon

Adjust LetterSpacing

icon
100%
icon

Align Right

icon

Color Adjustment

Low Saturate

icon

High Saturate

icon

Dark Contrast

icon

Light Contrast

icon

Set Text Colors

Monochrome

icon

Set Title Colors

High Contrast

icon

Set BackgroundColor

Orientation Adjustments

Muted

icon

Hide Images

icon

Read Mode

icon

Stop Animation

icon

Reading Mask

icon

Highlight Hover

icon

Big Black Cursor

mutedicon

Big White Cursor

icon

Hide Video/Audio

icon

Stop Video

icon

Stop Audio

icon

Hide Animation

icon

Reading Guide

icon

Useful Links