simplified socketmessage.php
started with device configuration web interface.
programmed parsing the device list ('h' command) in the web interface.
Sensor calibration is not added yet. Also no styling so far.
check if property is defined for all device parameters (except nr, which is added in JS when parsing the list)
Progress on dynaconfig support. Web interface can now generate a config command. Sending it to Arduino not implemented yet.
progress in configuring devices from the web interface.
Device type is now span instead of select. Added sending the commands to the script.
dygraph working - not complete - needs layout work, but nice proof of concept.
Added spinner to device configuration. Refresh device list now requests an update from Arduino and then waits until it has received a non-empty list.
Python script is updated to empty list upon update request.
Let's make dygraph part of dynaconfig.
Merge branch 'feature/dygraph' into feature/dynaconfig

Conflicts:
	js/beer-chart.js
Move loading of scripts after body, so it doesnt block rendering of the page.
fixes for background rendering accuracy, now supports full zoom to same resolution as rest of graph (millisecond)
first draft, of rendering states different combinations of background colors and borders.
beer/fridge colors in same hue, use line thickness to distinguish temp from setting.

Would have preferred to use dotted lines for settings, but this slows down dygraph too much, for some reason.
fixes for dygraph CSS
Added receiving the pin list from the script. Only pins that fit with the function of the device are displayed.
Is that correct? Does function depend on pins or pins on function?
Todo: updating the selects when you change a corresponding one.
Had to increase the socket size. Device config didnt fit.
Merge branch 'feature/dygraph' into feature/dynaconfig

Conflicts:
	index.php
	js/beer-chart.js
missing changes to beer-panel.php - put graph and associated elements in a container
state rendered as a 5px line. colors may need changing.
New colors for the graph:
- Temp and setting should have complementary colors, because the lines often overlap. This makes them hard to distinquish.
- Beer setting and beer temperature now have the colors of the BrewPi logo. Green is made a bit darker for better visibility. Beer temperature has the color of the hops, beer setting of the raspberry. Fitting isn't it? The colors are almost exactly complementary.
- The fridge color scheme is the same as the rest of the interface, also alsmost exactly complementary.
- All 4 temperature are spread nicely over the color wheel for maximum contrast.
- Room temp is a medium gray.

All lines now have thickness 1, because they are clearly visible with the new color scheme. Only the beer temp is 1.5 to emphasize it a bit. Thinner lines give better details without having to zoom in.
We might need to introduce a 'color blind' setting, because red and green are hard to distinguish for color blind people.
Display checkmark labels need updating to match the new color scheme.
Restored the original lighter gray for room temperature.
Removed the purple from the beer temp color. Does not match logo anymore but looks better.