Web App interface to control the "Connected by TCP" bulbs
PHP CSS JavaScript Batchfile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
TCP documents Added in some quick security checks for users who want to use this wi… Nov 28, 2017
css Scene Create/Edit can now handle schedules! Dec 24, 2017
js Shuffled some files around, cleaned up some things. Added some option… Dec 10, 2017
.gitignore UI Update, IFTTT query builder, merge of scripts. Still lots to do bu… Dec 7, 2017
.htaccess UI Update, IFTTT query builder, merge of scripts. Still lots to do bu… Dec 7, 2017
README.md Update README.md Feb 8, 2018
Sample Windows Task Scheduler file.xml Token check and sample schedule file Nov 28, 2016
api.php Special request feature add - scene state. Currently assumes if a dev… Jan 7, 2018
config.inc.php Merge pull request #11 from bren1818/sktaylortrash-patch-1 Dec 18, 2017
createDevice.php Added Script for bulb discovery. Fixed a few bugs. Cleaned up device … Dec 21, 2017
discoverBulbs.php Added Script for bulb discovery. Fixed a few bugs. Cleaned up device … Dec 21, 2017
include.php Added two missing images, displaying info on paused scenes. Added not… Dec 21, 2017
index.php Disabled settings for scenes now represented in GUI Jan 6, 2018
info.php Added "button" identifier to lights if they have a remote associated … Dec 22, 2017
queryBuilder.php Setting a Val= on scene fails Dec 31, 2017
runSchedule.bat Added Jquery Touchpunch for better Mobile UI Drag operations, added a… Aug 9, 2016
runSchedule.php Hot fix for running Schedule Dec 10, 2017
scenescreatedit.php Disabled settings for scenes now represented in GUI Jan 6, 2018
scheduler.php Added "button" identifier to lights if they have a remote associated … Dec 22, 2017
setDateTime.php Added two missing images, displaying info on paused scenes. Added not… Dec 21, 2017
viewLogs.php Shuffled some files around, cleaned up some things. Added some option… Dec 10, 2017

README.md

TCPLightingWebInterface - Can be used with IFTTT!

Creating a local web interface to work with the 'Connected by TCP' bulbs.

Let me place this note at the top of the readme. Using this project in conjunction with IFTTT, webhooks and say a Google Home will allow you to control your lights again using voice commands. I will document the procedure step by step.

See the fleshed out Wiki: https://github.com/bren1818/TCPLightingWebInterface/wiki

The goal of this project is to re-create and improve upon the web interface which was used to control the Connected by TCP bulbs. The web interface was removed and the 'Connected by TCP' line was discontinued, leaving people with the bulbs out of luck, myself included.

After doing some reading, de-compiling the Android source code, reverse engineering and some time, I have put together this simple PHP web interface with a GUI that can be used to control the Connected by TCP bulbs. This interface should work with the latest bridge firmware, and the previous version of the firmware as well. All that needs to be done is modifying some strings in the include.php file. This can also be used with IFTTT via web hook commands issued to the API.php

The web application will walk you through creating a token (if required) and then present you with an interface showing you your currently setup rooms, devices and bulbs.

Devices, individual lights, or rooms can be turned on or off by the web interface or dimmed.

Please see Wiki for Bridge commands and setup on a Raspberry Pi

#Scheduler

I have created an interface where you can create a schedule for devices to turn on or off or dim depending on day of week and time of day. If you plan on using this, I recommend setting up an event which runs every minute and executes the runSchedule.bat file. You may need to edit this file to match your setup. - documentation to come in the wiki

I really hope you enjoy this project and it works well for you!