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: http://snag.gy/8I4of.jpg
The source is on GitHub : https://github.com/ahagadorn/incontrol-web
Take a look at the README.md, 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.
New PHP Web Interface
- 708 Views
- Last Post 11 March 2016
ahagadorn,
Are you still working on this web interface? have you abandoned it for Ryan's webserver? I am trying to add a schlage deadbolt to it and I am not sure what parameter I would use to figure out if the lock is closed or open. Any experience or ideas? thanks
Andy,
I did notice that when you select a device, the last changed timestamp shows a default value (01/01/1970).
Thank you very much.
That's interesting, it works fine for me - it could be an issue on Windows. When I get time, I will try it on windows.
Andy,
I did notice that when you select a device, the last changed timestamp shows a default value (01/01/1970).
Thank you very much.
Josh and Filippos, thank you for your help and patience. I think the basics are working fine now, so I can concentrate on enhancements.
I will be adding a security login screen soon, along with cameras. I already added a room filter, but have not uploaded the changes yet. The room filter is great if you have a lot of devices like I do.
Andy
Thanks for everything.
All working well now. The multi switches and the dimmers all work as they should.
Thanks Josh
The issue with the Aeon multiSwitch has been resolved (Thanks Josh!)
I have switched from using a PHP configuration file to a INI style to make it easier to change options. In the latest version it will tell you how to convert if you are doing an upgrade.
Please give the latest version a try. I am working on more enhancements, including camera support.
Andy
Andy,
It is working just fine
Thank you
Thank you for your help Filippos. Do you have any issues with setting dim level?
No issues. From a PC browser it works flawlessly. From a touch device (tablet,smartphone) it is more difficult to achieve the desired dim level but it is manageable though.
The issue with the Aeon multiSwitch has been resolved (Thanks Josh!)
I have switched from using a PHP configuration file to a INI style to make it easier to change options. In the latest version it will tell you how to convert if you are doing an upgrade.
Please give the latest version a try. I am working on more enhancements, including camera support.
Andy
Andy,
It is working just fine
Thank you
Thank you for your help Filippos. Do you have any issues with setting dim level?
The issue with the Aeon multiSwitch has been resolved (Thanks Josh!)
I have switched from using a PHP configuration file to a INI style to make it easier to change options. In the latest version it will tell you how to convert if you are doing an upgrade.
Please give the latest version a try. I am working on more enhancements, including camera support.
Andy
Andy,
It is working just fine
Thank you
The issue with the Aeon multiSwitch has been resolved (Thanks Josh!)
I have switched from using a PHP configuration file to a INI style to make it easier to change options. In the latest version it will tell you how to convert if you are doing an upgrade.
Please give the latest version a try. I am working on more enhancements, including camera support.
Andy
Tried the new version but it throws the following error:
Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\functions.php on line 559
I switched back to your previous version and everything got back to normal.
Andy,
Are you interested in adding Foscam or any other IP cameras to your interface? It would be nice if we could see live feed from our cameras by selecting the device. Currently the device is shown but with no video.
Thank you again for your time
Filippos
That error should be fixed.
Yes, I have a bunch of IP cameras myself, I will add that and more once I get the basic stuff stable.
There is a new version available at GitHub that has some enhancements and bug fixes.
I have been working with Josh to get his Multi-Switches working, and he has been a tremendous help in general. I will let everyone know when we have it worked out. As far as I know, all other device types work fine, including thermostats.
Andy
Tried the new version but it throws the following error:
Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\functions.php on line 559
I switched back to your previous version and everything got back to normal.
Andy,
Are you interested in adding Foscam or any other IP cameras to your interface? It would be nice if we could see live feed from our cameras by selecting the device. Currently the device is shown but with no video.
Thank you again for your time
Filippos
There is a new version available at GitHub that has some enhancements and bug fixes.
I have been working with Josh to get his Multi-Switches working, and he has been a tremendous help in general. I will let everyone know when we have it worked out. As far as I know, all other device types work fine, including thermostats.
Andy
What is the error that IE shows?
IE shows HTTP 500 Internals Server Error, website cannot display the page.
Thanks Josh
Josh,
Most likely, the log file api_error.log is not writable by the web server user which should be either apache or www-data. If you want to pull down the latest version, it should tell you that instead of throwing the error.
If you could please go to http://: /zwave/devices?password= and email me the output I should be able to fix the problem with the aeon devices. My email is ahagadorn vistatechnologygroup.com.
Andy
I've emailed two devices to you so hopefully that helps.
Also api.error.log, I've updated from github and still empty scenes. I've also chown and chmod to rwx for all and nobody:nogroup and still the same. Is that what you were after?
thanks Josh
What is the error that IE shows?
IE shows HTTP 500 Internals Server Error, website cannot display the page.
Thanks Josh
Josh,
Most likely, the log file api_error.log is not writable by the web server user which should be either apache or www-data. If you want to pull down the latest version, it should tell you that instead of throwing the error.
If you could please go to http://
Andy
Grab styles.css from GitHub and see if that helps. I hate IE.
I hate it also. While playing around i now have a more clear "picture".
Page layout and functionality is fine on IE, on chrome running on android devices and on stock android browser.
Functionality is also fine on Chrome, but page layout is not what it should be although you can use it with no issues.
Screenshots
http://snag.gy/HNRu5.jpg
http://snag.gy/FPvvo.jpg
Wow, that's ugly. I suspect you need to clear your cache.
You were right I forgot to clear history. It works perfectly now. Thank you again for your time.
I have aeon multi switches.
I didn't try changing them to dimmers but I do have a dimmer module and that worked fine turning on and off. It appears to be just the switches.
Line 217 in functions.php looks like this:
[code]... $dev['level'] . ',255,255) ...[/code]
Try changing the FIRST 255 to 99 and let me know if that fixes it.
Changing to 99 didn't work. It sets the device to 99 on the webpage but doesn't change the InControl GUI. 255 does change the IC GUI.
The only thing I've just noticed is on the RHS for all of the swithces it shows the Node Id as 0.
All the power points and dimmers have Node numbers.
Maybe that is the issue?
What is the error that IE shows?
IE shows HTTP 500 Internals Server Error, website cannot display the page.
Thanks Josh
Grab styles.css from GitHub and see if that helps. I hate IE.
I hate it also. While playing around i now have a more clear "picture".
Page layout and functionality is fine on IE, on chrome running on android devices and on stock android browser.
Functionality is also fine on Chrome, but page layout is not what it should be although you can use it with no issues.
Screenshots
http://snag.gy/HNRu5.jpg
http://snag.gy/FPvvo.jpg
Wow, that's ugly. I suspect you need to clear your cache.
I have aeon multi switches.
I didn't try changing them to dimmers but I do have a dimmer module and that worked fine turning on and off. It appears to be just the switches.
Line 217 in functions.php looks like this:
[code]... $dev['level'] . ',255,255) ...[/code]
Try changing the FIRST 255 to 99 and let me know if that fixes it.
Also with my scenes page it is empty./index.php?action=scenes
Chrome shows blank
IE shows error.
Josh
What is the error that IE shows?
Grab styles.css from GitHub and see if that helps. I hate IE.
I hate it also. While playing around i now have a more clear "picture".
Page layout and functionality is fine on IE, on chrome running on android devices and on stock android browser.
Functionality is also fine on Chrome, but page layout is not what it should be although you can use it with no issues.
Screenshots
http://snag.gy/HNRu5.jpg
http://snag.gy/FPvvo.jpg
I have aeon multi switches.
I didn't try changing them to dimmers but I do have a dimmer module and that worked fine turning on and off. It appears to be just the switches.
Also with my scenes page it is empty.
Chrome shows blank
IE shows error.
Josh