Comments (7)
Ich weiß nicht, ob man es verhindern kann, aber ich habe ich einem Forum mal ein Script gefunden, welches wieder zurück aus AUTO stellt:
/**
- ioBroker Skript zum automatischen Zurücksetzen des Modus von MAX! Thermostaten
- auf Auto, wenn die Solltemperatur im Auto-Modus geändert wurde.
- Dies ist erforderlich, da die Thermostate durch den Max! Cube Adapter bei einer
- manuellen Änderung der Solltemperatur immer in den manuellen Modus versetzt werden.
- Dieses Script erkennt diese Änderung und setzt den Modus zurück auf Auto.
- Copyright (c) 2019 Peter Müller [email protected] (https://crycode.de)
- https://crycode.de/homepi-iobroker-max-heizungssteuerung#comment-16068
*/
/**
- Liste an Thermostaten, die ignoriert werden sollen.
- Dies können z.B. Wandthermostate sein, da diese zusammen mit dem zugehörigen
- Heizkörperthermostat arbeiten.
*/
const thermostatIgnore = [
'thermostat_18abcd'
];
// Auflistung aller Thermostate holen
const devices = $('maxcube.0.devices.thermostat_*.mode');
// Alle Thermostate durchgehen
devices.each((id) => {
id = id.replace(/.mode$/, '');
// Prüfen ob das aktuelle Thermostat ignoriert werden soll
const rfId = id.split('.')[3];
if (thermostatIgnore.indexOf(rfId) !== -1) return;
log(`setup mode switch back for ${id}`);
// Handler für einen Moduswechsel anlegen
on({id: `${id}.mode`, change: 'ne'}, (obj) => {
// AUTO(0) -> MANUAL(1) ?
if (obj.newState.val === 1 && obj.oldState.val === 0) {
// Letzte Sollwertänderung laden und Zeitpunkt prüfen
getState(`${id}.setpoint`, (err, state) => {
// Wechsel des Modus innerhalb von 10 Sekunden nach dem Wechsel des Sollwerts?
if (state.ts > obj.newState.ts - 10000) {
// Modus zurück auf Auto setzen
log(`switching ${id} back to auto mode`);
setState(`${id}.mode`, 0);
}
});
}
});
});
from iobroker.maxcube.
@blueTNT84 Danke für deinen Beitrag.
Funktioniert einwandfrei!
@Apollon77 ist dieser "automatische" Moduswechsel beabsichtigt im Programmiercode hinterlegt?
Falls ja, könnte man evtl. einen Einstellungshaken in den Instanz-Einstellungen hinzufügen oder?
from iobroker.maxcube.
Ehrlich, keine Ahnung. Ich habe den Adapter nicht geschrieben sondern nur Versuch bei einigen bugs auszuhelfen.
from iobroker.maxcube.
Vielen Dank an alle! :-)
Gruß Dominik
from iobroker.maxcube.
Lss doch offen wenn das Problem besteht
from iobroker.maxcube.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions.
Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.
from iobroker.maxcube.
This issue has been automatically closed because of inactivity. Please open a new issue if still relevant and make sure to include all relevant details, logs and reproduction steps. Thank you for your contributions.
Dieses Problem wurde aufgrund von Inaktivität automatisch geschlossen. Bitte öffnet ein neues Issue, falls dies noch relevant ist und stellt sicher das alle relevanten Details, Logs und Reproduktionsschritte enthalten sind. Vielen Dank für Eure Unterstützung.
from iobroker.maxcube.
Related Issues (20)
- Feature Request: Zimmernamen "abgleichen" HOT 2
- Think about to fix the issues found by adapter checker HOT 1
- Fensterkontakte von Max! HOT 3
- Please check ioBroker.maxcube with js-controller 2.0
- Temperatur Scanner HOT 5
- Urlaubsmodus HOT 4
- Warn js controller 3.x.x
- Richtige Version 0.1.2 oder 1.0.1? HOT 9
- warning in Logfile HOT 1
- adapter.objects.getObjectView is deprecated
- Update stable version in repo from 0.1.2 to 1.0.2
- state has no existing object
- Update stable version in repo from 1.0.2 to 1.0.3
- Think about to fix the issues found by adapter checker
- Compatibility check and testing for Node.js 14 and 16
- Release script: Action required
- Update stable version in repo from 1.0.3 to 1.0.4
- Think about to fix the issues found by adapter checker HOT 2
- Compatibility check to js-controller 4.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iobroker.maxcube.