New PHP Web Interface

Posted: 3 years ago Quote #2811
I am working on an inControl web interface written in PHP with jquery. It is dynamic HTML using ajax, and is intended to eventually be a functional clone of the inControl widows interface.

There is a screenshot here, with the a thermostat device selected:

The source is on GitHub :

Take a look at the, all you have to do is get the zip file, unzip it on your web server and change the config.php. No other software besides PHP is required, and it does not use a database.

Please give it a try and let me know here if you find any bugs. I will be working on many enhancements, this is just the beginning of what I plan to do with it. I have found it to be very stable and useful to me anyway, hopefully others will find it useful too.
Posted: 3 years ago Quote #2817
I'll give it a go if it can turn on individual devices.

Just have to get a VM setup.

Posted: 3 years ago Quote #2818
It generally works just like the standard interface, except instead of having power buttons for on/off you click on the device icon.

Let me know here if you have any issues.
Posted: 3 years ago Quote #2820
I just committed an update that groups devices by room, if you already got it, just grab functions.php and styles.css. I have not updated the screenshot yet.
Posted: 3 years ago Quote #2834
1. I have installed the WinLAMP mini installation
2. I have decompressed the source code
3. And configured the config file.

The result is that the page loads with no errors and with tab name showing "incontrol", but the rest of the page is empty.

Any ideas?

I am using the 3.114 version of Incontrol
Posted: 3 years ago Quote #2835
Most likely it is a PHP problem. Check your web server error log, and there is also a log for the app called api_error.log.  
Posted: 3 years ago Quote #2836
Seems to work pretty well so far. Only issue I've hit is that for lights it can turn off the light but doesn't seem to turn them on.

When the toggle is pressed inControl changes to powered but after a few seconds it switches back to off.

Are you thinking of adding scenes in at some stage in the future?

for the IP address of inControl, are you using local host or IP address? there is no http:// in it, just 192.168.xx.xx
Picked that up looking at the logs.

Posted: 3 years ago Quote #2837
When you switch something, it should show the status from InControl within 5 seconds. It may depend on how short your InControl polling interval is set for. Mine is set for 5 seconds.

I already have scenes working in the next version, I just haven't uploaded it to GitHub yet. It also shows rooms now.
Posted: 3 years ago Quote #2838
Incontrol does show the status change but the lights don't go on. After a few seconds it updated back to off (since they didn't turn on) and the the welfare updates as well if that makes sense.
Posted: 3 years ago Quote #2840
That is really strange, it works perfectly for me, I have been using it regularly. Just to clarify, are you saying that InControl shows the change temporarily, but the light doesn't come on and then the status changes back to off? Are you using a Z-Stick? Lights work correctly from InControl?