Skip to content
Snippets Groups Projects
Commit f2549aa2 authored by Karl-Luca's avatar Karl-Luca Committed by laurakutter
Browse files

pumpe läuft...

parent b1a4f18d
No related branches found
No related tags found
1 merge request!28Raspberry webinterface
No preview for this file type
......@@ -27,9 +27,9 @@ function sendState(state) {
function refresh() {
getState();
btn1.textContent = uiState.light_status ? 'Licht an' : 'Licht aus';
btn2.textContent = uiState.water_pump_status ? 'Wasserpumpe an' : 'Wasserpumpe aus';
btn3.textContent = uiState.nutrition_pump_status ? 'Nährstoffpumpe an' : 'Nährstoffpumpe aus';
btn2.textContent = uiState.water_pump_status ? 'Wasserpumpe an' : 'Wasserpumpe läuft...';
btn3.textContent = uiState.nutrition_pump_status ? 'Nährstoffpumpe an' : 'Nährstoffpumpe läuft...';
toggleSwitch.checked = uiState.light_auto_mode ? true : false;
timeSelector.style.display = uiState.light_auto_mode ? 'block' : 'none';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment