Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. FHEM Adapter

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    FHEM Adapter

    This topic has been deleted. Only users with topic management privileges can see it.
    • LausiD
      LausiD last edited by

      Morgähn,

      Adapter von github aktualisieren und neue Funktion testen 🙂

      1. In FHEM wird automatisch ein dummy send2ioB im Raum ioB_System angelegt.

      2. Mit "set send2ioB [Objekt in ioBroker] [Wert]" können states im ioBroker gesetzt werden.

      zB set send2ioB alexa2.0.Echo-Devices.[deine id].Commands.speak FHEM lässt Alexa sprechen

      3. Es erfolgt eine Prüfung ob Objekt vorhanden und Write=true ist

      Somit sind jetzt alle Möglichkeiten im FHEM Adapter gegeben:

      1. fhem.x.info.Commands.sendFHEM entspricht der Befehlszeile in FHEM

      2. Unter fhem.x.info.Configurations.allowedIOBin können Objekte/States aus ioBroker zur Übertragung an FHEM definiert werden.

      Wer möchte kann jetzt zB seine gesamte Steuerung weiterhin in FHEM/Perl umsetzen 🙂

      Nicht vergessen: Eure Rückmeldungen helfen den Adapter zu verbessern…Danke

      Gruß

      LausiD

      1 Reply Last reply Reply Quote 0
      • LausiD
        LausiD last edited by

        zur Info:

        Viele Meldungen "check channel [Device Name] > jsonlist2 [Device Name]"

        viewtopic.php?f=20&t=19613&p=205333#p205333

        Gruß

        LausiD

        1 Reply Last reply Reply Quote 0
        • LausiD
          LausiD last edited by

          zur Info:

          Absturz FHEM Adapter bei Verwendung \n in readings

          viewtopic.php?f=22&t=20105&start=40

          1 Reply Last reply Reply Quote 0
          • LausiD
            LausiD last edited by

            Morgähn,

            Adapter von github aktualisieren und folgende Funktionen sind neu:

            1. fhem.x.info.Configurations.deleteUnusedObjects

            true=Automatisches Löschen nicht synchronisierter Objekte aus FHEM (default wie bisher)

            false=keine automatische Löschung

            2. fhem.x.info.Debug.activate

            Für Device Namen aus FHEM mit Komma getrennt werden im admin Log Einträge für Anlage Objekte bei Synchro aus FHEM, Events aus FHEM und löschen nicht benutzer Objekte in ioBroker erzeugt.

            Danke für Rückmeldungen 🙂

            Gruß

            LausiD

            1 Reply Last reply Reply Quote 0
            • LausiD
              LausiD last edited by

              Nabend zusammen,

              gerade noch den aktuellen Stand FHEM Adapter auf github geschoben…

              Keine neuen Funktionen, aber einige Verbesserungen 🙂

              Wer mal testen kann bitte um Rückmeldung.

              Falls keine Probleme kann neue Version generiert werden.

              Vielen Dank und Gruß

              LausiD

              1 Reply Last reply Reply Quote 0
              • E
                Einklaus last edited by

                Hallo Lausi,

                scheint alles i.O. zu sein. Ist seit gestern Abend am laufen.

                Habe aber Fhem auch nur mit bisschen Hardware am laufen (FS20 und FloureonThermostate).

                Gruss

                Klaus

                1 Reply Last reply Reply Quote 0
                • LausiD
                  LausiD last edited by

                  Hallo Klaus,

                  vielen Dank für die Rückmeldung 🙂

                  Gruß

                  LausiD

                  Weitere Rückmeldungen?

                  Mich würde mal interessieren:

                  Nutzt jemand die Möglichkeit Objekte/States vom ioBroker nach FHEM übertragen?

                  Oder mit sendioB aus FHEM im ioBroker Objekte/States zu schreiben?

                  1 Reply Last reply Reply Quote 0
                  • LausiD
                    LausiD last edited by

                    Nabend zusammen,

                    gibt mal wieder neue Version auf github mit folgenden Änderungen:

                    1. delete unused objekte optimiert

                    2. Log Start Adapter versucht übersichtlicher zu gestalten:
                    2201_logstart1.png
                    2201_logstart2.png

                    Verbesserungsvorschläge gerne 🙂

                    Gruß

                    LausiD

                    1 Reply Last reply Reply Quote 0
                    • E
                      Einklaus last edited by

                      Hallo

                      habe es installiert (von Git) und es gab Probleme. Adapter wollte nicht mehr starten.

                      Caught 2019-01-31 19:02:05.459 error by controller[0]: at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)

                      Caught 2019-01-31 19:02:05.459 error by controller[0]: at Socket.Readable.push (_stream_readable.js:219:10)

                      Caught 2019-01-31 19:02:05.459 error by controller[0]: at readableAddChunk (_stream_readable.js:264:11)

                      Caught 2019-01-31 19:02:05.459 error by controller[0]: at addChunk (_stream_readable.js:283:12)

                      Caught 2019-01-31 19:02:05.459 error by controller[0]: at Socket.emit (events.js:182:13)

                      Caught 2019-01-31 19:02:05.459 error by controller[0]: at Socket.telnetSocket.on.data (D:\ioBroker\node_modules\iobroker.fhem\lib\telnet.js:136:30)

                      Caught 2019-01-31 19:02:05.459 error by controller[0]: at Telnet.telnetOut.send [as requestCB] (D:\ioBroker\node_modules\iobroker.fhem\main.js:855:17)

                      Caught 2019-01-31 19:02:05.459 error by controller[0]: at checkSubscribe (D:\ioBroker\node_modules\iobroker.fhem\main.js:918:15)

                      Caught 2019-01-31 19:02:05.459 error by controller[0]: at checkSubscribe (D:\ioBroker\node_modules\iobroker.fhem\main.js:856:21)

                      Caught 2019-01-31 19:02:05.458 error by controller[0]: at parseObjects (D:\ioBroker\node_modules\iobroker.fhem\main.js:1003:22)

                      Caught 2019-01-31 19:02:05.458 error by controller[0]: TypeError: Cannot read property 'length' of undefined

                      fhem.0 2019-01-31 19:02:05.429 error at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)

                      fhem.0 2019-01-31 19:02:05.429 error at Socket.Readable.push (_stream_readable.js:219:10)

                      fhem.0 2019-01-31 19:02:05.429 error at readableAddChunk (_stream_readable.js:264:11)

                      fhem.0 2019-01-31 19:02:05.429 error at addChunk (_stream_readable.js:283:12)

                      fhem.0 2019-01-31 19:02:05.429 error at Socket.emit (events.js:182:13)

                      Habe anschließend über IObroker 1.1.0. und dann 1.1.1. Installiert und es lief dann wieder.

                      Gruß

                      Klaus

                      1 Reply Last reply Reply Quote 0
                      • LausiD
                        LausiD last edited by

                        Hallo Klaus,

                        vielen Dank für Deinen Einsatz und die Rückmeldung 🙂

                        Du hast mit einer neuen Instanz getestet,oder?

                        Konnte den Fehler jedenfalls nur bei Anlage einer neuen Instanz nachvollziehen.

                        Sorry hatte ich nicht getestet 😞

                        Gruß

                        LausiD

                        1 Reply Last reply Reply Quote 0
                        • LausiD
                          LausiD last edited by

                          Hallo Klaus,

                          Fehler sollten weg sein.

                          Falls du Zeit und Lust hast darfst es gerne nochmal über github testen…...

                          Danke und Gruß

                          LausiD

                          1 Reply Last reply Reply Quote -1
                          • E
                            Einklaus last edited by

                            Hallo LausiD,

                            Danke für deine Arbeit und das du es den Adapter immer weiter entwickelst.

                            Bisschen testen und dann rummaulen ist nicht der große Einsatz 😉

                            Einen Adapter zu entwickeln dürfte da deutlich mehr Einsatz bedeuten (und es zeigt auch das du deutlich mehr Ahnung hast).

                            Werde es morgen erst testen können, hatte nebenbei nicht mit einer Neuen Instanz getestet.

                            Gruß und noch einen schönen Abend

                            Klaus

                            1 Reply Last reply Reply Quote 1
                            • LausiD
                              LausiD last edited by

                              Hallo zusammen,

                              kein Übertrag von readingsGroup 😞

                              viewtopic.php?f=30&t=21655&p=228934#p228934

                              Brauch das noch jemand?

                              Danke und Gruß

                              LausiD

                              1 Reply Last reply Reply Quote 0
                              • LausiD
                                LausiD last edited by

                                Nabend zusammen,
                                auf github zum Testen bereit.

                                1. FHEM readingsGroup werden jetzt auch übertragen
                                2. In FHEM Raum ioB_System wird fhem.x.alive automatisch angelegt -> on = FHEM Adapter OK; off = FHEM Adapter keine Verbindung

                                Gruß
                                LausiD

                                1 Reply Last reply Reply Quote 1
                                • LausiD
                                  LausiD last edited by

                                  Hallo zusammen,
                                  hat wirklich niemand Zeit und Lust den Adapter über GitHub zu aktualisieren und kurz zu testen ?

                                  Gruß
                                  LausiD

                                  1 Reply Last reply Reply Quote 0
                                  • E
                                    Einklaus last edited by

                                    Hallo LausiD,

                                    installiert habe ich ihn. Fhem zeigt mir allerdings in ioB_System kein fhem.x.alive an
                                    Habe dort:......
                                    dummy
                                    send2ioB ???
                                    ......stehen.
                                    Gruß
                                    Klaus

                                    1 Reply Last reply Reply Quote 0
                                    • LausiD
                                      LausiD last edited by LausiD

                                      Hallo Klaus,
                                      auf Dich ist halt Verlass.....Danke:-)
                                      Was steht unter Step 10 beim Start?
                                      Kannst du mal noch fhem.x.info.Configurations.autoConfigFHEM auf true setzen und nochmal probieren?

                                      Mit send2ioB kann aus FHEM ein Objekt/State in ioBroker direkt beschrieben werden.
                                      zB alexa2.0.Echo-Devices.xxxxxx.Commands.speak .Text aus FHEM
                                      Ab sofort sollte auch ein dummy mit fhem.x.send2ioB angelegt werden

                                      Danke und Gruß
                                      LausiD

                                      1 Reply Last reply Reply Quote 0
                                      • E
                                        Einklaus last edited by

                                        Hallo LausiD,
                                        Adapter sicherheitshalber nochmal Neu installiert (über GIT)
                                        Adapter lief nicht mehr hoch. Nach Step3 gab es Probleme

                                        fhem.0 2019-02-15 11:29:35.385 debug statesDB connected
                                        fhem.0 2019-02-15 11:29:34.711 silly transport error
                                        fhem.0 2019-02-15 11:29:34.711 error Error: server error at Socket.onPacket (D:\ioBroker\node_modules\iobroker.js-controller\node_modules\engine.io-client\lib\socket.js:450:19) at WS.<anonymous> (D:\ioBroker\node_modules\iobroker
                                        fhem.0 2019-02-15 11:29:34.711 error server error
                                        fhem.0 2019-02-15 11:29:34.711 error TypeError: Cannot read property 'write' of null at Timeout.setTimeout [as _onTimeout] (D:\ioBroker\node_modules\iobroker.fhem\lib\telnet.js:128:60) at ontimeout (timers.js:436:11) at tryOn
                                        fhem.0 2019-02-15 11:29:34.711 error uncaught exception: Cannot read property 'write' of null
                                        fhem.0 2019-02-15 11:29:34.695 error uncaught exception: Cannot read property 'split' of undefined
                                        fhem.0 2019-02-15 11:29:34.695 info > FUNCTION delete unused objects automatically - info.Configurations.deleteUnusedObjects (true)
                                        fhem.0 2019-02-15 11:29:34.695 info > FUNCTION if fhem.0 set smartName automatically (Adapter Cloud) - info.Configurations.autoSmartName (true)
                                        fhem.0 2019-02-15 11:29:34.695 info > FUNCTION allow special configurations FHEM - info.Configurations.autoConfigFHEM (true)
                                        fhem.0 2019-02-15 11:29:34.677 debug [getConfig] info.Configurations.onlySyncRoomioBroker,ioB_OUT
                                        fhem.0 2019-02-15 11:29:34.677 debug [getConfig] info.Configurations.onlySyncNAME
                                        fhem.0 2019-02-15 11:29:34.677 debug [getConfig] info.Configurations.ignorePossibleSetsgetConfig,etRegRaw,egBulk,regSet,deviceMsg,CommandAccepted
                                        fhem.0 2019-02-15 11:29:34.677 debug [getConfig] info.Configurations.ignoreReadingscurrentTrackPositionSimulated,currentTrackPositionSimulatedSec
                                        fhem.0 2019-02-15 11:29:34.677 debug [getConfig] info.Configurations.allowedInternalsTYPE,NAME
                                        fhem.0 2019-02-15 11:29:34.677 debug [getConfig] info.Configurations.allowedAttributesroom,alias,comment
                                        fhem.0 2019-02-15 11:29:34.677 debug [getConfig] info.Configurations.ignoreObjectsInternalsTYPE
                                        fhem.0 2019-02-15 11:29:34.677 debug [getConfig] info.Configurations.ignoreObjectsInternalsNAMEinfo
                                        fhem.0 2019-02-15 11:29:34.677 debug [getConfig] info.Configurations.ignoreObjectsAttributesroom
                                        fhem.0 2019-02-15 11:29:34.677 debug [getConfig] info.Configurations.allowedIOBin
                                        fhem.0 2019-02-15 11:29:34.677 debug [getSetting] info.Configurations.oldState false
                                        fhem.0 2019-02-15 11:29:34.677 debug [getSetting] info.Configurations.deleteUnusedObjects true
                                        fhem.0 2019-02-15 11:29:34.677 debug [getSetting] info.Configurations.autoSmartName true
                                        fhem.0 2019-02-15 11:29:34.676 debug [getSetting] info.Configurations.autoConfigFHEM false
                                        fhem.0 2019-02-15 11:29:34.676 debug [getSetting] info.Configurations.autoFunction false
                                        fhem.0 2019-02-15 11:29:34.676 debug [getSetting] info.Configurations.autoRole false
                                        fhem.0 2019-02-15 11:29:34.676 debug [getConfigurations] start
                                        fhem.0 2019-02-15 11:29:34.676 info STEP 03 ===== select function of Adapter (FUNCTION) and Devices to sync (SYNC) - check fhem.0.info.Configurations (true or value)

                                        1 Reply Last reply Reply Quote 0
                                        • E
                                          Einklaus last edited by

                                          Habe ihn Neu installiert und die autoconfFHEM auf true gesetzt

                                          fhem.png

                                          Denke mal so soll es auch sein

                                          1 Reply Last reply Reply Quote 0
                                          • LausiD
                                            LausiD last edited by

                                            Genau so soll es aussehen 🙂
                                            Vielleicht kann am WE noch Version 1.2 an den Start gehen
                                            Vielen Dank Klaus für deine Mitarbeit
                                            Gruß
                                            LausiD

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            508
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter fhem
                                            82
                                            673
                                            150959
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo