Mon, 25 Mar 2024 17:14:56 +0100
Brought the retry attempts to read the DHT11 sensors to the main devices loop. The actual read function is now very simple. Called every 30 seconds when all is well, or 2 seconds if something is wrong.
117 | 1 | .jqx-rc-tl-ui-smoothness{border-top-left-radius:4px; moz-border-radius-topleft:4px; webkit-border-top-left-radius:4px} |
2 | .jqx-rc-tr-ui-smoothness{border-top-right-radius:4px; moz-border-radius-topright:4px; webkit-border-top-right-radius:4px} | |
3 | .jqx-rc-bl-ui-smoothness{border-bottom-left-radius:4px; moz-border-radius-bottomleft:4px; webkit-border-bottom-left-radius:4px} | |
4 | .jqx-rc-br-ui-smoothness{border-bottom-right-radius:4px; moz-border-radius-bottomright:4px; webkit-border-bottom-right-radius:4px} | |
5 | .jqx-rc-t-ui-smoothness{border-top-left-radius:4px; border-top-right-radius:4px; moz-border-radius-topleft:4px; moz-border-radius-topright:4px; webkit-border-top-left-radius:4px; webkit-border-top-right-radius:4px} | |
6 | .jqx-rc-b-ui-smoothness{border-bottom-left-radius:4px; border-bottom-right-radius:4px; moz-border-radius-bottomleft:4px; moz-border-radius-bottomright:4px; webkit-border-bottom-left-radius:4px; webkit-border-bottom-right-radius:4px} | |
7 | .jqx-rc-r-ui-smoothness{border-bottom-right-radius:4px; border-top-right-radius:4px; moz-border-radius-bottomright:4px; moz-border-radius-topright:4px; webkit-border-bottom-right-radius:4px; webkit-border-top-right-radius:4px} | |
8 | .jqx-rc-l-ui-smoothness{border-bottom-left-radius:4px; border-top-left-radius:4px; moz-border-radius-bottomleft:4px; moz-border-radius-topleft:4px; webkit-border-bottom-left-radius:4px; webkit-border-top-left-radius:4px} | |
9 | .jqx-rc-all-ui-smoothness{border-radius:4px; moz-border-radius:4px; webkit-border-radius:4px} | |
10 | /*Grid*/ | |
617 | 11 | .jqx-grid-column-sortascbutton-ui-smoothness{background-position:-96px -192px; background-image:url(./images/smoothness/ui-icons_222222_256x240.png); position: relative; max-height: 16px; height: 16px !important; top:50%; margin-top:-8px;} |
12 | .jqx-grid-column-sortdescbutton-ui-smoothness{position: relative; max-height: 16px; height: 16px !important; top:50%; margin-top:-8px; background-position:-64px -192px; background-image:url(./images/smoothness/ui-icons_222222_256x240.png)} | |
13 | .jqx-grid-column-menubutton-ui-smoothness{position: relative; max-height: 16px; height: 16px !important; top:50%; margin-top:-8px; background-position:-64px -192px; background-image:url(./images/smoothness/ui-icons_454545_256x240.png); border-width:0px} | |
117 | 14 | /*Tree*/ |
617 | 15 | .jqx-tree-item-arrow-expand-ui-smoothness, .jqx-tree-item-arrow-expand-hover-ui-smoothness{background-position:-65px -16px; background-image:url(./images/smoothness/ui-icons_222222_256x240.png)} |
16 | .jqx-tree-item-arrow-collapse-ui-smoothness, .jqx-tree-item-arrow-collapse-hover-ui-smoothness{background-position:-32px -16px; background-image:url(./images/smoothness/ui-icons_222222_256x240.png)} | |
17 | .jqx-menu-item-arrow-right-ui-smoothness, .jqx-menu-item-arrow-right-selected-ui-smoothness{background-position:-32px -16px; background-image:url(./images/smoothness/ui-icons_222222_256x240.png)} | |
18 | .jqx-menu-item-arrow-left-ui-smoothness, .jqx-menu-item-arrow-left-selected-ui-smoothness, .jqx-tree-item-arrow-collapse-rtl-ui-smoothness, .jqx-tree-item-arrow-collapse-hover-rtl-ui-smoothness{background-position:-96px -16px; background-image:url(./images/smoothness/ui-icons_222222_256x240.png)} | |
117 | 19 | /*Tabs*/ |
617 | 20 | .jqx-tabs-title-ui-smoothness{border:1px solid #ccc; background:#E6E6E6 url(./images/smoothness/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;} |
117 | 21 | .jqx-tabs-header-ui-smoothness{border-width: 1px; margin:2px; border-radius:4px; moz-border-radius:4px; webkit-border-radius:4px} |
22 | .jqx-tabs-title-bottom-ui-smoothness{border-bottom-color:#ccc; border-top-color: transparent;} | |
23 | .jqx-tabs-header-bottom-ui-smoothness{margin-top:-2px !important; padding-bottom: 3px; padding-top:1px} | |
24 | ||
25 | /*Radio Button*/ | |
26 | .jqx-radiobutton-ui-smoothness .jqx-fill-state-pressed-ui-smoothness{background:#222; border:1px solid #000} | |
27 | /*Calendar*/ | |
617 | 28 | .jqx-calendar-cell-ui-smoothness{font-size: 11px; background: #e6e6e6 url(./images/smoothness/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x; border-color:#d3d3d3; padding:.2em; text-align:right; text-decoration:none; moz-border-radius:0px !important; webkit-border-radius:0px !important; border-radius:0px !important} |
117 | 29 | .jqx-calendar-cell-today-ui-smoothness{background:#ffe45c; border:1px solid #fed22f; color:#363636} |
30 | .jqx-calendar-title-container-ui-smoothness{border: 1px solid #aaa; border-bottom-width: 0px; border-radius:4px; moz-border-radius:4px; webkit-border-radius:4px; font-weight: bold;} | |
31 | .jqx-calendar-month-container-ui-smoothness{border:none !important} | |
32 | .jqx-calendar-ui-smoothness{padding:2px} | |
33 | .jqx-calendar-column-cell-ui-smoothness{font-size: 11px; font-weight: bold;} | |
617 | 34 | .jqx-calendar-ui-smoothness .jqx-icon-arrow-left-ui-smoothness{background-image:url(./images/smoothness/ui-icons_222222_256x240.png); background-position: -80px -192px; width:16px; height:16px; left:5px; position:relative} |
35 | .jqx-calendar-ui-smoothness .jqx-icon-arrow-right-ui-smoothness{background-image:url(./images/smoothness/ui-icons_222222_256x240.png); background-position: -48px -192px; width:16px; height:16px; right:5px; position:relative} | |
117 | 36 | |
37 | /*Icons*/ | |
617 | 38 | .jqx-icon-arrow-up-ui-smoothness{background-position:0 -16px; background-image:url(./images/smoothness/ui-icons_222222_256x240.png)} |
39 | .jqx-icon-arrow-down-ui-smoothness{background-position:-65px -16px; background-image:url(./images/smoothness/ui-icons_222222_256x240.png)} | |
40 | .jqx-icon-arrow-left-ui-smoothness{background-position:-96px -17px; background-image:url(./images/smoothness/ui-icons_222222_256x240.png)} | |
41 | .jqx-icon-arrow-right-ui-smoothness{background-position:-32px -17px; background-image:url(./images/smoothness/ui-icons_222222_256x240.png)} | |
42 | .jqx-icon-arrow-up-hover-ui-smoothness{background-position:0 -16px; background-image:url(./images/smoothness/ui-icons_222222_256x240.png)} | |
43 | .jqx-icon-arrow-down-hover-ui-smoothness{background-position:-65px -16px; background-image:url(./images/smoothness/ui-icons_222222_256x240.png)} | |
44 | .jqx-icon-arrow-left-selected-ui-smoothness{background-position:-96px -17px; background-image:url(./images/smoothness/ui-icons_222222_256x240.png)} | |
45 | .jqx-icon-arrow-right-selected-ui-smoothness{background-position:-32px -17px; background-image:url(./images/smoothness/ui-icons_222222_256x240.png)} | |
46 | .jqx-icon-arrow-up-selected-ui-smoothness{background-position:0 -16px; background-image:url(./images/smoothness/ui-icons_222222_256x240.png)} | |
47 | .jqx-icon-arrow-down-selected-ui-smoothness{background-position:-65px -16px; background-image:url(./images/smoothness/ui-icons_222222_256x240.png)} | |
48 | .jqx-icon-arrow-left-selected-ui-smoothness{background-position:-96px -17px; background-image:url(./images/smoothness/ui-icons_222222_256x240.png)} | |
49 | .jqx-icon-arrow-right-selected-ui-smoothness{background-position:-32px -17px; background-image:url(./images/smoothness/ui-icons_222222_256x240.png)} | |
50 | .jqx-icon-close-ui-smoothness{background-image:url(./images/smoothness/ui-icons_222222_256x240.png); background-position:-80px -128px; cursor:pointer} | |
51 | .jqx-icon-close-hover-ui-smoothness{background-image:url(./images/smoothness/ui-icons_222222_256x240.png); background-position:-80px -128px; cursor:pointer} | |
117 | 52 | /*Window*/ |
53 | .jqx-window-ui-smoothness{padding: 2px;} | |
54 | .jqx-window-header-ui-smoothness{border: 1px solid #aaa; font-weight: bold; font-size: 11px; moz-border-radius:4px; border-radius:4px; webkit-border-radius:4px} | |
55 | .jqx-window-content-ui-smoothness{border-width:0px !important} | |
617 | 56 | .jqx-window-close-button-ui-smoothness{background-position:-96px -128px; background-image:url(./images/smoothness/ui-icons_222222_256x240.png);moz-border-radius:4px; border-radius:4px; webkit-border-radius:4px} |
57 | .jqx-window-collapse-button-ui-smoothness{background-position:0 -16px; background-image:url(./images/smoothness/ui-icons_222222_256x240.png)} | |
58 | .jqx-window-collapse-button-hover-ui-smoothness{background-image:url(./images/smoothness/ui-icons_222222_256x240.png); background-color:#fff; border-radius:4px; moz-border-radius:4px; webkit-border-radius:4px} | |
117 | 59 | .jqx-window-collapse-button-collapsed-ui-smoothness, .jqx-window-collapse-button-collapsed-hover-ui-smoothness{background-position:-65px -16px} |
60 | .jqx-window-modal-ui-smoothness{} | |
617 | 61 | .jqx-window-close-button-hover-ui-smoothness{background-color:#fff; background-position:-96px -128px; background-image:url(./images/smoothness/ui-icons_222222_256x240.png); cursor:pointer; width:16px; height:16px} |
117 | 62 | |
63 | /*Common Settings*/ | |
64 | .jqx-widget-ui-smoothness{ font-size:12px; font-style:normal; webkit-tap-highlight-color:rgba(0,0,0,0)} | |
617 | 65 | .jqx-widget-content-ui-smoothness{ background: #ffffff url(./images/smoothness/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x; color: #222222; border-color: #aaa; font-size:12px} |
117 | 66 | .jqx-widget-content-ui-smoothness a{color:#222} |
617 | 67 | .jqx-widget-header-ui-smoothness{ background: #cccccc url(./images/smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x; border-color: #aaa; color: #222222; font-size:12px} |
117 | 68 | .jqx-widget-header-ui-smoothness a{color:#222} |
617 | 69 | .jqx-fill-state-normal-ui-smoothness{background: #e6e6e6 url(./images/smoothness/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x; border-color:#d3d3d3; color:#555} |
117 | 70 | .jqx-fill-state-normal-ui-smoothness a, .jqx-fill-state-normal-ui-smoothness a:link, .jqx-fill-state-normal-ui-smoothness a:visited{color:#555; text-decoration:none} |
617 | 71 | .jqx-fill-state-hover-ui-smoothness{border-color: #999999; background: #dadada url(./images/smoothness/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121;} |
117 | 72 | .jqx-fill-state-hover-ui-smoothness a, .jqx-fill-state-hover-ui-smoothness a:hover{color:#212121; text-decoration:none} |
73 | .jqx-fill-state-focus-ui-smoothness {border-color: #aaaaaa; } | |
617 | 74 | .jqx-fill-state-pressed-ui-smoothness{border-color: #aaaaaa; background: #ffffff url(./images/smoothness/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; } |
117 | 75 | .jqx-fill-state-pressed-ui-smoothness a, .jqx-fill-state-pressed-ui-smoothness a:link, .jqx-fill-state-pressed-ui-smoothness a:visited{color:#212121; text-decoration:none} |
76 | ||
77 | .jqx-input-button-content-ui-smoothness{font-size:10px} | |
78 | .jqx-input-icon-ui-smoothness{margin-left:2px; margin-top:-1px} | |
617 | 79 | .jqx-checkbox-check-checked-ui-smoothness{margin-top:0px; background-position:-65px -147px; background-image:url(./images/smoothness/ui-icons_222222_256x240.png)} |
117 | 80 | /*Progress Bar*/ |
81 | .jqx-progressbar-ui-smoothness .jqx-fill-state-pressed-ui-smoothness{background: #cccccc; border-bottom: none;} | |
82 | .jqx-progressbar-value-vertical-ui-smoothness{background: #cccccc; border-right: none; border-bottom: 1px solid #aaa;} | |
83 | /*ScrollBar */ | |
84 | .jqx-scrollbar-thumb-state-normal-ui-smoothness, .jqx-scrollbar-thumb-state-normal-horizontal-ui-smoothness{ border: 1px solid #aaa; background: #cccccc;} | |
85 | .jqx-scrollbar-thumb-state-hover-ui-smoothness, .jqx-scrollbar-thumb-state-hover-horizontal-ui-smoothness{ background: #dadada;} | |
86 | .jqx-scrollbar-thumb-state-pressed-ui-smoothness, .jqx-scrollbar-thumb-state-pressed-horizontal-ui-smoothness{ background: #ffffff;} | |
87 | ||
88 | .jqx-tabs-title-selected-top-ui-smoothness | |
89 | { | |
90 | border-color: #aaa; | |
91 | border-bottom: 1px solid #fff; | |
92 | background-color: #fff; | |
93 | } | |
94 | /*applied to the tab's title when the tab is selected and the jqxTab's position property is set to 'bottom' .*/ | |
95 | .jqx-tabs-title-selected-bottom-ui-smoothness | |
96 | { | |
97 | border-color: #aaa; | |
98 | border-top: 1px solid #fff; | |
99 | background-color: #fff; | |
100 | } | |
101 | /*applied to the tab's selection tracker when the jqxTab's position property is set to 'top'.*/ | |
102 | .jqx-tabs-selection-tracker-top-ui-smoothness | |
103 | { | |
104 | border-color: #aaa; | |
105 | border-bottom: 1px solid #fff; | |
106 | } | |
107 | /*applied to the tab's selection tracker when the jqxTab's position property is set to 'bottom'.*/ | |
108 | .jqx-tabs-selection-tracker-bottom-ui-smoothness | |
109 | { | |
110 | border-color: #aaa; | |
111 | border-top: 1px solid #fff; | |
112 | } | |
113 | /*Slider*/ | |
114 | .jqx-slider-ui-smoothness .jqx-fill-state-pressed-ui-smoothness{background:#cccccc;} | |
115 | .jqx-slider-track-ui-smoothness{border: 1px solid #aaa; background: #fff;} | |
116 | /*Grid*/ | |
117 | .jqx-grid-cell-sort-ui-smoothness, .jqx-grid-cell-filter-ui-smoothness, .jqx-grid-cell-pinned-ui-smoothness, .jqx-grid-cell-selected-ui-smoothness{background:#e2e2e2;} | |
118 | .jqx-grid-bottomright-ui-smoothness, .jqx-panel-bottomright-ui-smoothness, .jqx-listbox-bottomright-ui-smoothness, .jqx-scrollbar-state-normal-ui-smoothness{background: #fff;} | |
617 | 119 | .jqx-grid-group-expand-ui-smoothness{background-position: 50% 50%; background-repeat: no-repeat;background-image: url(./images/icon-down.png);} |
120 | .jqx-grid-group-collapse-ui-smoothness{background-position: 50% 50%; background-repeat: no-repeat;background-image: url(./images/icon-right.png);} | |
117 | 121 | /*Menu*/ |
122 | .jqx-menu-dropdown-ui-smoothness | |
123 | { | |
124 | -moz-border-radius-bottomleft: 4px; | |
125 | -webkit-border-bottom-left-radius: 4px; | |
126 | border-bottom-left-radius: 4px; | |
127 | -moz-border-radius-topright: 4px; | |
128 | -webkit-border-top-right-radius: 4px; | |
129 | border-top-right-radius: 4px; | |
130 | -moz-border-radius-bottomright: 4px; | |
131 | -webkit-border-bottom-right-radius: 4px; | |
132 | border-bottom-right-radius: 4px; | |
133 | right: -1px; | |
134 | } | |
135 | /*Navigation Bar*/ | |
136 | .jqx-navigationbar-ui-smoothness{overflow: inherit;} | |
137 | .jqx-expander-header-ui-smoothness{margin-bottom:2px; margin-top:2px} | |
617 | 138 | .jqx-expander-header-ui-smoothness{background:#e6e6e6 url(./images/smoothness/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x; border:1px solid #aaa; border-radius:4px !important; moz-border-radius:4px !important; webkit-border-radius:4px !important} |
117 | 139 | .jqx-expander-header-hover-ui-smoothness{border:1px solid #aaa;} |
617 | 140 | .jqx-expander-header-expanded-ui-smoothness{background:#fff url(./images/smoothness/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; border:1px solid #aaa; border-bottom-width:0px; border-top-left-radius:4px !important; border-top-right-radius:4px !important; moz-border-radius-topleft:4px !important; moz-border-radius-topright:4px !important; webkit-border-top-left-radius:4px !important; webkit-border-top-right-radius:4px !important; border-bottom-left-radius:0px !important; border-bottom-right-radius:0px !important; moz-border-radius-bottomleft:0px !important; moz-border-radius-bottomright:0px !important; webkit-border-bottom-left-radius:0px !important; webkit-border-bottom-right-radius:0px !important; margin-bottom:0px} |
117 | 141 | .jqx-expander-content-bottom-ui-smoothness{border-bottom-left-radius:4px !important; border-bottom-right-radius:4px !important; moz-border-radius-bottomleft:4px !important; moz-border-radius-bottomright:4px !important; webkit-border-bottom-left-radius:4px !important; webkit-border-bottom-right-radius:4px !important; border-top-width:0px !important} |
617 | 142 | .jqx-expander-arrow-top-ui-smoothness{background-position:-65px -16px; background-image:url(./images/smoothness/ui-icons_222222_256x240.png)} |
143 | .jqx-expander-arrow-bottom-ui-smoothness{background-position:0 -16px; background-image:url(./images/smoothness/ui-icons_222222_256x240.png)} | |
117 | 144 | /*Scroll Bar*/ |
145 | .jqx-scrollbar-ui-smoothness .jqx-icon-arrow-up-ui-smoothness{width: 16px; height: 16px; margin-left: auto;} | |
146 | .jqx-scrollbar-ui-smoothness .jqx-icon-arrow-down-ui-smoothness{width: 16px; height: 16px; margin-left: auto;} | |
147 | .jqx-scrollbar-ui-smoothness .jqx-icon-arrow-left-ui-smoothness{width: 16px; height: 16px; position: relative; top: 50%; margin-top: -8px;} | |
148 | .jqx-scrollbar-ui-smoothness .jqx-icon-arrow-right-ui-smoothness{width: 16px; height: 16px; position: relative; top: 50%; margin-top: -8px;} | |
511
2d1d43c3a2c2
Upgraded jqwidgets to version 4.5.2
Michiel Broek <mbroek@mbse.eu>
parents:
117
diff
changeset
|
149 | .jqx-layout-ui-smoothness |
2d1d43c3a2c2
Upgraded jqwidgets to version 4.5.2
Michiel Broek <mbroek@mbse.eu>
parents:
117
diff
changeset
|
150 | { |
2d1d43c3a2c2
Upgraded jqwidgets to version 4.5.2
Michiel Broek <mbroek@mbse.eu>
parents:
117
diff
changeset
|
151 | background-color: #aaa; |
2d1d43c3a2c2
Upgraded jqwidgets to version 4.5.2
Michiel Broek <mbroek@mbse.eu>
parents:
117
diff
changeset
|
152 | } |
2d1d43c3a2c2
Upgraded jqwidgets to version 4.5.2
Michiel Broek <mbroek@mbse.eu>
parents:
117
diff
changeset
|
153 | .jqx-layout-pseudo-window-pin-icon-ui-smoothness |
2d1d43c3a2c2
Upgraded jqwidgets to version 4.5.2
Michiel Broek <mbroek@mbse.eu>
parents:
117
diff
changeset
|
154 | { |
2d1d43c3a2c2
Upgraded jqwidgets to version 4.5.2
Michiel Broek <mbroek@mbse.eu>
parents:
117
diff
changeset
|
155 | background-image: url("images/pin-black.png"); |
2d1d43c3a2c2
Upgraded jqwidgets to version 4.5.2
Michiel Broek <mbroek@mbse.eu>
parents:
117
diff
changeset
|
156 | } |
2d1d43c3a2c2
Upgraded jqwidgets to version 4.5.2
Michiel Broek <mbroek@mbse.eu>
parents:
117
diff
changeset
|
157 | .jqx-layout-pseudo-window-pinned-icon-ui-smoothness |
2d1d43c3a2c2
Upgraded jqwidgets to version 4.5.2
Michiel Broek <mbroek@mbse.eu>
parents:
117
diff
changeset
|
158 | { |
2d1d43c3a2c2
Upgraded jqwidgets to version 4.5.2
Michiel Broek <mbroek@mbse.eu>
parents:
117
diff
changeset
|
159 | background-image: url("images/pinned-black.png"); |
2d1d43c3a2c2
Upgraded jqwidgets to version 4.5.2
Michiel Broek <mbroek@mbse.eu>
parents:
117
diff
changeset
|
160 | } |
2d1d43c3a2c2
Upgraded jqwidgets to version 4.5.2
Michiel Broek <mbroek@mbse.eu>
parents:
117
diff
changeset
|
161 | .jqx-docking-layout-group-floating .jqx-window-header-ui-smoothness |
2d1d43c3a2c2
Upgraded jqwidgets to version 4.5.2
Michiel Broek <mbroek@mbse.eu>
parents:
117
diff
changeset
|
162 | { |
2d1d43c3a2c2
Upgraded jqwidgets to version 4.5.2
Michiel Broek <mbroek@mbse.eu>
parents:
117
diff
changeset
|
163 | background-image: none; |
2d1d43c3a2c2
Upgraded jqwidgets to version 4.5.2
Michiel Broek <mbroek@mbse.eu>
parents:
117
diff
changeset
|
164 | } |