bren1818 / tcplightingwebinterface Goto Github PK
View Code? Open in Web Editor NEWWeb App interface to control the "Connected by TCP" bulbs
License: MIT License
Web App interface to control the "Connected by TCP" bulbs
License: MIT License
Hello,
I have a large amount of these bulbs and would like to be able to use them again. Thanks so much for the work you are doing on this. How can I execute these files and run them? I tried something called XAMPP without much luck.
TIA
See my other repo here: https://github.com/bren1818/TCPFirmwareRestore - this is based off of Hypergolic's repo, but will have the original firmware files and instructions for non-techies.
Hypergolic's repo here: https://github.com/hypergolic/greeenwave_firmware
Closed the last topic as it had gotten really lengthy. Opening this one for more questions
It may be me, not you.
Is the only thing I need to get started is the following in the include.php:
IP of controller
token captured by some external method
ip of the host of this code
I get the message that I do not have the token filled in, it is, on line 29.
I believe the older TCP line "Connected by TCP" smart bulb use the JenNet-IP LAN/WAN Stack
https://www.cnet.com/reviews/connected-by-tcp-led-lighting-control-system-review/
https://www.nxp.com/docs/en/user-guide/JN-UG-3086.pdf
TCP's newer line "TCP Smart" looks like they are based on tuya technology.
Is there a way to add bulbs without the factory remote?
Some of my bulbs seem to have "de-registered" and now that the app has disappeared I am a bit stuffed.
If anybody knows anything about the adding bulb protocol, I'm happy to try to add this to the code.
Thanks.
Is there a way to connect bulbs to a zone on the remote and eliminate the gateway altogether? I saw someone mention it, but I never found any instructions.
I've been using my system with the remote only since the app stopped working, but I recently had a power outage at my house and it caused more than half of my bulbs to reset. The remote still works with one set of bulbs in one lighting fixture, but the other three fixtures just flash when I flip the light switch on the wall. At this point my preference would be to pair the bulbs with my remote and not use the gateway at all.
I've attempted to use the web interface with XAMPP, but I'm still getting a connection refused error when I enter the IP into a browser. Not sure where to go from here in terms of the web interface. I edited the config.inc.php file with the IP address of the gateway, pressed the sync gateway button on the gateway, but always get a connection refused error in my browser.
Hey,
In index.php and include.php the $DATA = $array["gwrcmd"]["gdata"]["gip"]["room"];
variable is expecting an array of arrays, however if you only have one room setup you simply get a single array containing the values. This is easily fixed with something like:
if ( isset( $DATA["rid"] ) ) $DATA = array( $DATA );
Thanks
Thank you for your work on this. I've installed XAMPP and copied the files to the htdocs folder. I've corrected the IP address of my TCP bridge. I'm only needing local coverage. However, at the stage of syncing the gateway, I go to http://localhost/ and I get this:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at postmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/7.4.29 Server at localhost Port 80
I am running windows 10 and the only options I saw for XAMPP were for windows 8. Is that possibly my issue? If so, are you aware of where I can find a version of XAMPP that will work with WIndows 10? My current version is 3.3.0
Any help on this would be greatly appreciated. Thank you so much for your time!
closed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.