March 4, 2014 Leave a comment
Hi all, I thought it was time to post a little web interface overhaul update. It is not going as fast as i hoped it would go, but some personal things got in the way and of course i have a family to take care of.
The changes being made are a bit more extensive then only the web design overhaul. This big change graphical change also caused some other stuff to change within the server code, add more RPC methods so others can also completely control the server with they’re own interface (if there is a need for it).
Overhauling and adding
Not only is the web interface getting an overhaul but in sync with the web interface there will also be a web interface for mobile devices. So there will be three interfaces in total. The web interface overhauled and a new interface for mobile phone and tablet devices. The main difference between the browser and the mobile versions is that the mobile version will only be able to control devices, media, etc. and the web interface does the maintenance next to the controlling.
Noticeable features added
Some noticeable new features are:
- An easier method to set the location of the server/your home.
The server uses latitude and longitude to calculate sunrise and sunset. The web interface now has the possibility to ask the browser for location data which is reflected on a map. On this map you can adjust your location to exactly pinpoint where your home/server is. (This information is never ever or whatever send to any or whatever some online service or something else you can think of but stored in a local configuration file).
- A visual trigger editor. Triggers are used with input from devices which can, if a certain condition is met, execute macro’s or device commands.
Here you can add/edit triggers with just some mouse clicks and you can exactly see how the trigger works.
- Real time web interface updates.
The web interface in the browser as well on mobile devices supports web sockets. This means that if you and someone else are looking at the same device where one is on the computer and the other on a tablet. And the tablet user for example switches a light on, the web interface user will see it change on the web page without refreshing. This way you are always sure you see the latest device statuses.
- Graphs have been added for devices which have a numeric output.
When a device is configured to have a numeric output which is or logarithmic or series the web interface will notice the user of the availability of a specific graph.
We are also posting screenshots of pages which are done on the web screenshots page.
Below is a list of changes currently implemented in the latest alpha release with the exception of the graphical trigger editor and not all the RPC changes are included. This list is a list i keep privately so i know what i have done next to the todo list. Because we occasionally renew the alpha release the current release shows two different web interfaces in the browser. If a page has not been updated you will be redirected to the old page and vice verse. Also the web sockets on phones and tablets is currently not supported in the default android browser because this browser has no native web sockets support.