Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Homebridge-Adapter: Funktionierende Plugins und Beispiele

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Homebridge-Adapter: Funktionierende Plugins und Beispiele

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

      @sash7770 GitHub issue mit allem bitte.

      1 Reply Last reply Reply Quote 0
      • T
        teilchenb @apollon77 last edited by

        @apollon77

        Ich bekomme homebridge-simple-wled nicht im Wrapper-Modus zum laufen.

        Das Modul habe ich in den Haupteinstellungen hinzugefügt:

        ce729745-e3a1-43fb-8c30-0913534f8463-image.png

        Die Konfiguration habe wie hier im Beispiel an meine WLED-Konfiguration angepasst und in die Konfigurationsdatei eingetragen.

        {
          "description": "",
          "accessories": [
            {}
          ],
          "platforms": [
            {
              "platform": "WLED",
              "wleds": [
                {
                  "name": "LED Wohnwand",
                  "host": "192.168.178.XX",
                  "effects": [
                    "Solid",
                    "Aurora",
                    "Blends",
                    "Bouncing Balls",
                    "Bpm",
                    "Breathe",
                    "Candle",
                    "Candle Multi",
                    "Candy Cane",
                    "Chase Flash",
                    "Chase Flash Rnd",
                    "Chase Rainbow",
                    "Chase Random",
                    "Colorful",
                    "Colorloop",
                    "Fire 2012",
                    "Fire Flicker",
                    "Fireworks",
                    "Fireworks 1D",
                    "Fireworks Starburst",
                    "Flow",
                    "Glitter",
                    "Halloween",
                    "Halloween Eyes",
                    "Heartbeat",
                    "ICU",
                    "Juggle",
                    "Lake",
                    "Lighthouse",
                    "Lightning",
                    "Meteor",
                    "Meteor Smooth",
                    "Multi Comet",
                    "Noise 1",
                    "Noise Pal",
                    "Oscillate",
                    "Pacifica",
                    "Palette",
                    "Phased",
                    "Phased Noise",
                    "Plasma",
                    "Police",
                    "Police All",
                    "Popcorn",
                    "Pride 2015",
                    "Railway",
                    "Rain",
                    "Rainbow",
                    "Ripple",
                    "Ripple Rainbow",
                    "Running 2",
                    "Saw",
                    "Scan",
                    "Scan Dual",
                    "Scanner",
                    "Scanner Dual",
                    "Sine",
                    "Sinelon",
                    "Sinelon Dual",
                    "Sinelon Rainbow",
                    "Solid Glitter",
                    "Solid Pattern Tri",
                    "Sparkle",
                    "Sparkle+",
                    "Strobe",
                    "Strobe Mega",
                    "Strobe Rainbow",
                    "Sweep Random",
                    "Theater",
                    "Theater Rainbow",
                    "Traffic Light",
                    "Two Dots",
                    "Wipe",
                    "Wipe Random"
                  ],
                  "log": false,
                  "showEffectControl": true,
                  "turnOffWledWithEffect": true,
                  "defaultEffectSpeed": 20
                }
              ]
            }
          ]
        }
        

        Leider bekomme ich unter "ham" keine neuen Objekte.

        Ich habe zum Test die die Konfiguration von "pix" mit dem homebridge-airrohr Modul zum laufen bekommen und bekomme da auch neue Objekte unter "ham".

        Mache ich was falsch oder übersehe ich einfach was oder funktionieren einfach nur nicht alle NPM-Module?

        installierte ham-version: 4.0.2
        Plattform linux
        Betriebssystem ubuntu-22.04.1-live-server-amd64
        Architektur x64
        CPUs 2
        Geschwindigkeit 1996 MHz
        Modell Intel(R) Celeron(R) J4025 CPU @ 2.00GHz
        RAM 3.83 GB
        System-Betriebszeit 2 T. 07:51:26
        Node.js v16.17.0
        time 1661024781357
        timeOffset -120
        Anzahl der Adapter 431
        NPM 8.15.0
        Datenträgergröße 23.45 GB
        freier Festplattenspeicher 13.14 GB
        Betriebszeit 2 T. 02:12:38
        Aktive Instanzen 27
        Weg /opt/iobroker/
        Hostname ubuntu-iobroker

        als VM auf Synology DS220+

        Viele Grüße, SM

        apollon77 1 Reply Last reply Reply Quote 0
        • apollon77
          apollon77 @teilchenb last edited by apollon77

          @teilchenb also steht denn was im log wenn du das log auf silly stellst? Dann sollte auch das homebridge debug log da sein.

          Und log. Orte hier als attachement posten.

          T 1 Reply Last reply Reply Quote 0
          • T
            teilchenb @apollon77 last edited by teilchenb

            @apollon77
            Vielen Dank für die schnelle Antwort.
            Das hier steht im log, wenn ich auf silly stelle und den Adapter starte:

            2022-08-20 22:51:53.034 - debug: ham.0 (20671) Redis Objects: Use Redis connection: 127.0.0.1:9001
            2022-08-20 22:51:53.087 - debug: ham.0 (20671) Objects client ready ... initialize now
            2022-08-20 22:51:53.089 - debug: ham.0 (20671) Objects create System PubSub Client
            2022-08-20 22:51:53.090 - debug: ham.0 (20671) Objects create User PubSub Client
            2022-08-20 22:51:53.133 - debug: ham.0 (20671) Objects client initialize lua scripts
            2022-08-20 22:51:53.138 - debug: ham.0 (20671) Objects connected to redis: 127.0.0.1:9001
            2022-08-20 22:51:53.140 - silly: ham.0 (20671) redis psubscribe cfg.o.system.user.*
            2022-08-20 22:51:53.163 - silly: ham.0 (20671) redis psubscribe cfg.o.enum.*
            2022-08-20 22:51:53.167 - silly: ham.0 (20671) objectDB connected
            2022-08-20 22:51:53.169 - debug: ham.0 (20671) Redis States: Use Redis connection: 127.0.0.1:6379
            2022-08-20 22:51:53.174 - debug: ham.0 (20671) States create System PubSub Client
            2022-08-20 22:51:53.175 - debug: ham.0 (20671) States create User PubSub Client
            2022-08-20 22:51:53.182 - debug: ham.0 (20671) States connected to redis: 127.0.0.1:6379
            2022-08-20 22:51:53.183 - silly: ham.0 (20671) statesDB connected
            2022-08-20 22:51:53.344 - info: ham.0 (20671) starting. Version 4.0.2 in /opt/iobroker/node_modules/iobroker.ham, node: v16.17.0, js-controller: 4.0.23
            2022-08-20 22:51:53.368 - info: ham.0 (20671) Install/Update the following Libraries: homebridge-simple-wled
            2022-08-20 22:51:53.369 - info: ham.0 (20671) Install/Update homebridge-simple-wled
            2022-08-20 22:51:53.370 - info: ham.0 (20671) All Libraries installed/updated
            2022-08-20 22:51:53.754 - silly: ham.0 (20671) States system redis pmessage io.system.adapter.ham.0.logLevel/io.system.adapter.ham.0.logLevel:{"val":"silly","ack":true,"ts":1661028713746,"q":0,"from":"system.adapter.ham.0","lc":1661028713746}
            2022-08-20 22:51:53.794 - debug: ham.0 (20671) [20.8.2022, 22:51:53] Loaded config.json with 1 accessories and 1 platforms.
            2022-08-20 22:51:53.805 - silly: ham.0 (20671) Homebridge Wrapper Bridge constructor displayName=Homebridge-Wrapper-Bridge, UUID=f6f986a8-ae40-4f38-aa34-4b232ed91fca
            2022-08-20 22:51:53.811 - debug: ham.0 (20671) [20.8.2022, 22:51:53] Loaded 0 cached accessories from cachedAccessories.
            2022-08-20 22:51:53.812 - debug: ham.0 (20671) [20.8.2022, 22:51:53] ---
            2022-08-20 22:51:54.483 - debug: ham.0 (20671) [20.8.2022, 22:51:54] Loaded plugin: homebridge-airrohr@1.1.10
            2022-08-20 22:51:56.144 - debug: ham.0 (20671) [20.8.2022, 22:51:56] Registering accessory 'homebridge-airrohr.airrohr'
            2022-08-20 22:51:56.145 - debug: ham.0 (20671) [20.8.2022, 22:51:56] ---
            2022-08-20 22:51:56.181 - debug: ham.0 (20671) [20.8.2022, 22:51:56] Loaded plugin: homebridge-simple-wled@1.3.3
            2022-08-20 22:51:56.181 - debug: ham.0 (20671) [20.8.2022, 22:51:56] Registering platform 'homebridge-simple-wled.WLED'
            2022-08-20 22:51:56.182 - debug: ham.0 (20671) [20.8.2022, 22:51:56] ---
            2022-08-20 22:51:56.182 - debug: ham.0 (20671) [20.8.2022, 22:51:56] Loading 1 platforms...
            2022-08-20 22:51:56.183 - debug: ham.0 (20671) [20.8.2022, 22:51:56] [WLED] Initializing WLED platform...
            2022-08-20 22:51:56.184 - debug: ham.0 (20671) [20.8.2022, 22:51:56] Loading 1 accessories...
            2022-08-20 22:51:56.197 - debug: ham.0 (20671) Homebridge Wrapper Bridge publish {"username":"FF:FF:FF:FF:FF:FF","port":0,"pincode":"0","category":2,"addIdentifyingMaterial":true}
            2022-08-20 22:51:56.209 - silly: ham.0 (20671) Fake EventedHTTPServer initialized
            2022-08-20 22:51:56.229 - debug: ham.0 (20671) Loaded all effects for 192.168.178.83
            2022-08-20 22:51:56.232 - debug: ham.0 (20671) [20.8.2022, 22:51:56] [WLED] Setting up Accessory LED Wohnwand with Host-IP: 192.168.178.83 Single WLED-Host configured
            2022-08-20 22:51:56.457 - debug: ham.0 (20671) [20.8.2022, 22:51:56] [WLED] WLED Strip finished initializing!
            2022-08-20 22:51:56.469 - silly: ham.0 (20671) Fake EventedHTTPServer initialized
            

            aus Laiensicht... ...top 🙂

            Ich muss dir leider gestehen, das ich deinen letzten Satz nicht ganz verstanden habe, sry.

            So, nachdem ich nun hoffentlich alles verstanden habe, hier nochmal das LOG-File.
            Danke für den Support.

            apollon77 1 Reply Last reply Reply Quote 0
            • apollon77
              apollon77 @teilchenb last edited by

              @teilchenb lass mich mal das vorherige Thema anschauen. Ich sehe da Ähnlichkeiten was dengelndem angeht. Die Plugins nutzen wohl neue Methoden zum registrieren der geräte die bisher noch nichts abgefangen wird.

              Bitte trotzdem mit dem log eigenes github issue anlegen

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

                Falls jemand noch Probleme hatte mit Plugins die einzelne Daten nicht aktualisiert haben oder wo Werte nicht gesetzt werden konnten ---> https://forum.iobroker.net/topic/57891/test-adapter-ham-5-2-0-github

                1 Reply Last reply Reply Quote 0
                • L
                  loverz last edited by loverz

                  Hab "Local-Homebridge-Mode" wie hier beschrieben installliert:
                  https://github.com/ioBroker/ioBroker.ham

                  Die Bridge wird in der Homeapp auch angezeigt, aber wie ist der Homekit Setup Code?

                  Sehe den nirgends 😞

                  Wenn ich „00000000“ eingebe:
                  3EFAD412-41E6-401E-9BF6-1F63F12BB872.jpeg

                  Und bei „12345678“
                  1B67AF67-11BA-4CCB-980E-EB5E1F1A2708.jpeg

                  Habs rausgefunden:

                   "bridge": {
                      "name": "Homebridge",
                      "username": "CC:22:3D:E3:CE:99",
                      "port": 51826,
                      "pin": "090-99-090"
                  

                  zu Beginn in der Config eintragen.
                  Steht leider in keiner Doku!

                  U 1 Reply Last reply Reply Quote 0
                  • U
                    uwe72 @loverz last edited by

                    Kann mir jemand helfen wie ich hier den unify-protect Adapter integrieren kann?

                    b426b5fc-26c0-4517-ba9d-72d5ab738538-image.png

                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @uwe72 last edited by

                      @uwe72

                      Warum experimentierst du nicht damit herum?

                      https://github.com/peterbaumert/ioBroker.unifi-protect

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        MartiMan @Thomas Braun last edited by

                        Hi all,
                        Sorry but I'm not able to write in German, reading it without problems though.

                        I use ioBroker for years and just found this adapter but I'm having issues with the homebridge-eosstb plugin.
                        My logs show no errors in silly mode and the settopbox communication works but no are being objects created and the plugin is not available in my home app on the iPhone.
                        Any ideas?

                        Screenshot 2023-12-05 122746.png

                        Thanks!

                        apollon77 1 Reply Last reply Reply Quote 0
                        • apollon77
                          apollon77 @MartiMan last edited by

                          @martiman I think for this you need to tell a bit more in detail what you setup and how. Which mode you use the adapter in and such

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            MartiMan @apollon77 last edited by MartiMan

                            @apollon77 Thanks for your answer.

                            These are the settings I'm using:

                            Screenshot 2023-12-06 143455.png

                            Screenshot 2023-12-06 143507.png

                            apollon77 1 Reply Last reply Reply Quote 0
                            • apollon77
                              apollon77 @MartiMan last edited by

                              @martiman Ok, so Wrapper Mode ... so you have added the homebridge started by the adapter to our Apple Home and then the states are not provided? The a more complete log (as text from disk logfile) would be helpful

                              M 2 Replies Last reply Reply Quote 0
                              • M
                                MartiMan @apollon77 last edited by

                                @apollon77
                                From what I understand from the manual, the plugin will create the link to the Home app.

                                "homebridge-eosstb is a Homebridge plugin allowing you to control your set-top box (typically an ARRIS DCX960 / VIP5002W or HUMAX EOS1008R / 2008C) running on the Magenta AT / Telenet BE / Sunrise CH / Virgin Media GB & IE / Ziggo NL Horizon TV platform with Apple HomeKit using the Home app and the Apple TV Remote in the Control Center."

                                This is the full log after a restart of the plugin.

                                iobroker.2023-12-06.log.html

                                apollon77 1 Reply Last reply Reply Quote 0
                                • M
                                  MartiMan @apollon77 last edited by

                                  @apollon77 I assume the objects of the Homebridge plugin should be added as a ham subfolder?

                                  Screenshot 2023-12-06 145920.png

                                  1 Reply Last reply Reply Quote 0
                                  • apollon77
                                    apollon77 @MartiMan last edited by

                                    @martiman Butall this do nt happen automatically ... you need to go into the Apple home and click the "+" and then scan ender the pin you defined in the config to add the bridge to youe apple home. Did you do that?

                                    M 1 Reply Last reply Reply Quote 0
                                    • M
                                      MartiMan @apollon77 last edited by MartiMan

                                      @apollon77 Late reply, new system running on bookworm now which took me some time...

                                      Well I'm using yahka for all my lights and gates combined with the S7 adapter so I'm familiar with that.

                                      From my understanding Homebridge supplies the Homekit bridge that makes that Homebridge plugins will be recognised by the Home app.

                                      According to the ham README.md the wrapper mode does not support this (I had a RTFM moment lol):

                                      "IMPORTANT: This mode allows to use the device integrations of the provided homebridge plugins. No "bridge" is provided that can be used by the Home App!"

                                      So then I should get at least some variables in objects that I can connect to yahka using enum no?
                                      Or how should I interpret the "device integrations" mentioned above?

                                      I really don't want to also have Homebridge running for just this plugin.

                                      UPDATE:

                                      After installing "homebridge-seasons", as it was tested and confirmed working, I suddenly started getting log errors which I didn't get with homebridge-eosstb plugin alone!?

                                      Now the ham folder in objects gets a 0 folder with all necessary variables of the seasons plugin.
                                      Still no eosstb variables.

                                      2023-12-10 10:10:31.217 - debug: ham.0 (9301) setState Season.Season.Season-Name: set value = Winter
                                      2023-12-10 10:10:31.219 - error: ham.0 (9301) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                      2023-12-10 10:10:31.220 - error: ham.0 (9301) unhandled promise rejection: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: 25ec2c37-426c-4b8e-a20f-976770fa1af5
                                      2023-12-10 10:10:31.347 - error: ham.0 (9301) Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: 25ec2c37-426c-4b8e-a20f-976770fa1af5
                                      at WrapperBridge.Accessory.addBridgedAccessory (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/src/lib/Accessory.ts:594:15)
                                      at WrapperBridge.addBridgedAccessory (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/index.js:299:55)
                                      at /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/src/bridgeService.ts:554:11
                                      at Array.forEach ()
                                      at /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/src/bridgeService.ts:542:19
                                      at /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/src/lib/util/once.ts:10:18
                                      at SeasonsPlatform.accessories (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-seasons/index.js:64:3)
                                      at /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/src/bridgeService.ts:537:17
                                      at new Promise ()
                                      at BridgeService.loadPlatformAccessories (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/homebridge/bridgeService.js:400:16)
                                      2023-12-10 10:10:31.348 - error: ham.0 (9301) Cannot add a bridged Accessory with the same UUID as another bridged Accessory: 25ec2c37-426c-4b8e-a20f-976770fa1af5
                                      2023-12-10 10:10:31.374 - info: ham.0 (9301) cleaned everything up...
                                      2023-12-10 10:10:31.394 - info: ham.0 (9301) terminating
                                      2023-12-10 10:10:31.396 - warn: ham.0 (9301) Terminated (UNCAUGHT_EXCEPTION): Without reason
                                      2023-12-10 10:10:31.397 - debug: ham.0 (9301) [10/12/2023, 10:10:31] [EOSSTB] Goodbye
                                      2023-12-10 10:10:31.898 - info: ham.0 (9301) terminating
                                      2023-12-10 10:10:31.969 - error: host.rpi4 Caught by controller[1]: [10/12/2023, 10:10:30] Plugin /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'.
                                      2023-12-10 10:10:31.970 - error: host.rpi4 Caught by controller[2]: [10/12/2023, 10:10:30] Plugin /opt/iobroker/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'.
                                      2023-12-10 10:10:31.970 - error: host.rpi4 Caught by controller[3]: [10/12/2023, 10:10:30] The plugin "homebridge-eosstb" requires a Homebridge version of >=1.6.0 which does not satisfy the current Homebridge version of 1.5.0. You may need to update this plugin (or Homebridge) to a newer version. You may face unexpected issues or stability problems running this plugin.
                                      2023-12-10 10:10:31.970 - error: host.rpi4 instance system.adapter.ham.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                      2023-12-10 10:10:31.971 - info: host.rpi4 Restart adapter system.adapter.ham.0 because enabled
                                      2023-12-10 10:11:02.013 - info: host.rpi4 instance system.adapter.ham.0 started with pid 9342
                                      

                                      So apparently eosstb needs at least homebridge V1.6.0 and ham apparently still runs V1.5.0.

                                      apollon77 1 Reply Last reply Reply Quote 0
                                      • apollon77
                                        apollon77 @MartiMan last edited by

                                        @martiman sagte in Homebridge-Adapter: Funktionierende Plugins und Beispiele:

                                        "IMPORTANT: This mode allows to use the device integrations of the provided homebridge plugins. No "bridge" is provided that can be used by the Home App!"

                                        hehe ... jooo ... Wrapper mode ist genau das ... und keine Bridge.. Nimm den Local Mode, dann startet er eine Bridge

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          MartiMan @apollon77 last edited by

                                          @apollon77 I installed homebridge for this one and also android plugin for Shield TV. I don’t really need to automate these so Siri access is enough 😉

                                          1 Reply Last reply Reply Quote 0
                                          • D
                                            dfrozen1977 @apollon77 last edited by

                                            @apollon77
                                            @alexeimotkoff/homebridge-daichi-comfort-conditioner

                                            {
                                              "bridge": {
                                                "name": "Homebridge",
                                                "username": "CC:22:3D:E3:CE:30",
                                                "port": 51826,
                                                "pin": "031-45-154"
                                              },
                                              "platforms": [
                                                {
                                                  "name": "Daichi Comfort",
                                                  "username": "************",
                                                  "password": "************",
                                                  "platform": "DaichiComfortConditioner"
                                                }
                                              ]
                                            }
                                            ![HAM.png](/assets/uploads/files/1712289853797-ham.png) ```
                                            1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

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

                                            897
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            62
                                            238
                                            42137
                                            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