diff --git a/README.md b/README.md index 12779e6..ceaf7ca 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,8 @@ Just one config is used to configure Domoboard. A example can be found the appli - dimmer - rgb - setpoint + - pushon + - pushoff - camera - weather - news @@ -99,10 +101,10 @@ Above screenshots shows the settings page. # Contributing -Everybody can contribute to the project! For development purposes the "develop" branch is used. The "master" branch contains the stable version of Domoboard. +Everybody can contribute to the project! For development purposes the "develop" branch is used. The "master" branch contains the stable version of Domoboard. -Please let us know when you've created a plugin, so we can can add to the plugin Github repository. +Please let us know when you've created a plugin, so we can can add to the plugin Github repository. # Special thanks -Special thanks to https://github.com/squandor for developing and testing on Domoboard before it was made public. +Special thanks to https://github.com/squandor for developing and testing on Domoboard before it was made public. diff --git a/example.conf b/example.conf index 63e6890..5835dd7 100644 --- a/example.conf +++ b/example.conf @@ -20,6 +20,7 @@ Badkamer = badkamer Auto = auto Tuin = tuin + Security = security Verkeer = verkeer Flitsers = flitsers Statistics = statistics @@ -49,6 +50,8 @@ Stekkerblok = 121, switch Slaapkamer dimmer = 123, dimmer Slaapkamer lightstrip = 12, rgb + Open Garage door = 456, pushon + Close Garage door = 567, pushoff [[power_usage]] Totaal slaapkamer lamp = 12 Totaal playstation = 71 @@ -107,6 +110,28 @@ Chromecast = 73 PS4 = 75 +[tuin] + [[display_components]] + components = buienradar, weather, camera[Garden] + [[buienradar]] + [[weather]] + Location = "Eindhoven, NB" + [[camera]] + [[[Garden]]] + url = http://x.x.x.x:88/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=xxx&pwd=xxx + +[security] + [[display_components]] + components = top_tiles, camera[Frontdoor], camera[Backdoor] + [[top_tiles]] + Memory = 12, percent + HDD = 34, percent + [[camera]] + [[[Frontdoor]]] + url = http://x.x.x.x:88/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=xxx&pwd=xxx + [[[Backdoor]]] + url = http://x.x.x.x:88/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=xxx&pwd=xxx + [server] [[display_components]] components = top_tiles, serverlog diff --git a/static/css/buttons.css b/static/css/buttons.css new file mode 100644 index 0000000..d6b5b90 --- /dev/null +++ b/static/css/buttons.css @@ -0,0 +1,40 @@ +.btn-circle, .btn-circle-3d{ + border-radius: 50% !important; + padding: 5px; +} + +.btn-primary.btn-circle{ + -webkit-box-shadow: 0px 0px 3px 1px #245580; + -moz-box-shadow: 0px 0px 3px 1px #245580; + box-shadow: 0px 0px 3px 1px #245580; +} + +.btn-info.btn-circle{ + -webkit-box-shadow: 0px 0px 3px 1px #28a4c9; + -moz-box-shadow: 0px 0px 3px 1px #28a4c9; + box-shadow: 0px 0px 3px 1px #28a4c9; +} + +.btn-success.btn-circle{ + -webkit-box-shadow: 0px 0px 3px 1px #3e8f3e; + -moz-box-shadow: 0px 0px 3px 1px #3e8f3e; + box-shadow: 0px 0px 3px 1px #3e8f3e; +} + +.btn-danger.btn-circle{ + -webkit-box-shadow: 0px 0px 3px 1px #b92c28; + -moz-box-shadow: 0px 0px 3px 1px #b92c28; + box-shadow: 0px 0px 3px 1px #b92c28; +} + +.btn-warning.btn-circle{ + -webkit-box-shadow: 0px 0px 3px 1px #e38d13; + -moz-box-shadow: 0px 0px 3px 1px #e38d13; + box-shadow: 0px 0px 3px 1px #e38d13; +} + +.btn-default.btn-circle{ + -webkit-box-shadow: 0px 0px 3px 1px #ccc; + -moz-box-shadow: 0px 0px 3px 1px #ccc; + box-shadow: 0px 0px 3px 1px #ccc; +} diff --git a/templates/switches.html b/templates/switches.html index 8bed10c..a4ebeae 100644 --- a/templates/switches.html +++ b/templates/switches.html @@ -1,4 +1,5 @@ +