Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bitte HmIP-SCTH230 unterstützen #325

Open
julembke opened this issue Feb 22, 2021 · 3 comments
Open

Bitte HmIP-SCTH230 unterstützen #325

julembke opened this issue Feb 22, 2021 · 3 comments

Comments

@julembke
Copy link

ich habe bisher keine Unterstützung für HmIP-SCTH230 gesehen?

@Steven1408
Copy link

Würde auch gerne eine Unterstützung für die HmIP-SCTH230 haben.

@Dr-Kane
Copy link

Dr-Kane commented Nov 23, 2021

Mir fehlt auch die Unterstützung des HmIP-SCTH230. CO2 wird vielleicht kompliziert, aber wenigstens der Schaltaktor darin wäre eine große hilfe

@MTDWOR
Copy link

MTDWOR commented Jan 23, 2023

Zuerst einmal: tolles Projekt, steuere damit alle meine Homematic(IP)-Geräte mit Apple Home (auch mit Siri). Danke für investierte Zeit!

Mir fehlt auch der Schaltkontakt des HmIP-SCTH230.
Wie kann man denn den hinzufügen. Kann ich das selber machen?
-> Nicht jammern, sondern schlau machen und verstehen...

Wenn ich mir die Homematic Devices Liste anschaue, dann entspricht der Schaltaktor des HmIP-SCTH230 eigentlich dem Schaltaktor des HmIP-BSL mit dem Unterschied, dass es beim HmIP-SCTH230 der Kanal 8 und beim HmIP-BSL der Kanal 4 ist.

HmIP-BSL:
HmIP-BSL

HmIP-SCT230:
HmIP-SCTH230

Demnach müsste es analog zu hmip-bsl.js eine hmip-scth230.js geben mit folgendem Code:

const Accessory = require('./lib/accessory');

module.exports = class HmipSCTH230 extends Accessory {
    init(config) {
        this.addService('Switch', config.name)
            .get('On', config.deviceAddress + ':8.STATE')
            .set('On', config.deviceAddress + ':8.STATE');
    }
};

Ist sonst noch was zu tun? Und wie bekomme ich das in meine Homematic/Redmatic?
-> Ich bin mal mutig und probiere das direkt auf der CCU aus:

  1. per ssh als root auf der CCU einloggen: ssh root@IpAdresseCcu
  2. Ins richtige Verzeichnis wechseln cd /usr/local/addons/redmatic/lib/node_modules/redmatic-homekit/homematic-devices
  3. Datei anlegen vi hmip-scth230.js
    mit i in den Einfügemodus wechseln
    obigen Code einfügen
    mit :wq speichern
  4. Zugriffsrechte auf die neue Datei anpassen chmod g+w hmip-scth230.js
  5. Redmatic neustarten
  6. In NodeRed das neue Gerät anhaken (passiert evtl. auch automatisch) und deploy klicken
  7. Redmatic neustarten
  8. Voilà, das neue Gerät steht in Apple Home zur Verfügung und kann bedient werden.

Kann mir jetzt jemand noch helfen, wie man das korrekt ins Projekt einbauen kann?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

5 participants