Homebridge - Autostart

Begonnen von pi3hacker, 03 Oktober 2016, 21:01:51

Vorheriges Thema - Nächstes Thema

justme1968

hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

Helmi55

@justme1968.   Scherzküberl oder?
Aber ich war nicht zu faul, auch mit einer wesentlich schwierigeren Zahlenkombi kein Erfolg?
System1 fhem 6.1 auf RPi 4B mit 4GB, HMUSBConfig, DS9490R-1Wire, Busware USB 868, Pool-Solarsteuerung mit FHEM. System2 fhem 6.1 auf RPi 4B mit 4GB (Bullseye) mit Busware USB 868 und 433 und HMUARTLGW für Haussteuerung

https://www.flickr.com/photos/canonhelmi/

hensing

@ justme1968

habe folgende /.homebridge/config.json

{
        "bridge": {
                "name": "FHEM",
                "username": "CC:22:3D:E3:CE:30",
                "port": 51826,
                "pin": "111-22-333"
        },
        "platforms": [{
                "platform": "FHEM",
                "name": "FHEM",
                "server": "127.0.0.1",
                "port": "8083",
                "ssl": true,
                "filter": "room=Homekit"
        }],

        "accessories": []
}


Gruss
Hensing

justme1968

@Helmi55: dann habe ich auf die schnelle keine idee

@hensing: das config file passt nicht zu den log ausgaben von oben. hast du inzwischen was editiert?

/.homebridge ist ziemlich sicher falsch. / normalerweise kein home directory irgendeines users.
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

Helmi55

hallo hensing
will mich, selbst unwissender nicht einmischen, mir fällt nur auf in der config
fehlt die Zeile User und Passwort???
Oder wie das bei ssl nicht hier angegeben?
ruß
Helmut
System1 fhem 6.1 auf RPi 4B mit 4GB, HMUSBConfig, DS9490R-1Wire, Busware USB 868, Pool-Solarsteuerung mit FHEM. System2 fhem 6.1 auf RPi 4B mit 4GB (Bullseye) mit Busware USB 868 und 433 und HMUARTLGW für Haussteuerung

https://www.flickr.com/photos/canonhelmi/

hensing

habe mich an diese anleitung gehalten:

https://haus-automatisierung.com/hardware/fhem/2016/04/17/fhem-mit-siri-ueber-iphone-steuern.html

Demnach auch ...

ZitatJetzt werden die Homebridge-Konfigurationen angelegt:

mkdir ~/.homebridge
vi ~/.homebridge/config.json

Gruss
Henning

justme1968

was von beiden ist denn jetzt richtig? /.homebridge oder ~/.homebridge ?

das config file das du zeigst passt nicht zu den log ausgaben. da steht nichts von http accessory oder von hue platform drin, in den log ausgaben aber schon.
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

Helmi55

Hallo Henning
hast du jetzt eine Lösung gefunden?
Bei mir wird jetzt endlich der richtige Code angezeigt, aber der Port stimmt nicht. Sonst läuft nix bei mir???

Last login: Mon Feb  6 14:30:16 2017 from 192.168.1.5
pi@Fhem-Wien:~ $ homebridge
*** WARNING *** The program 'nodejs' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs>
*** WARNING *** The program 'nodejs' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs&f=DNSServiceRegister>
[2017-02-06 14:31:04] Loaded plugin: homebridge-fhem
homebridge API version: 2.1
this homebridge-fhem 0.2.71
[2017-02-06 14:31:04] Registering platform 'homebridge-fhem.FHEM'
[2017-02-06 14:31:04] ---
[2017-02-06 14:31:04] Loaded config.json with 0 accessories and 1 platforms.
[2017-02-06 14:31:04] ---
[2017-02-06 14:31:04] Loading 1 platforms...
[2017-02-06 14:31:04] [FHEM] Initializing FHEM platform...
[2017-02-06 14:31:05] [FHEM] Checking devices and attributes...
[2017-02-06 14:31:05] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7BAttrVal(%22global%22,%22userattr%22,%22%22)%7D&XHR=1
[2017-02-06 14:31:05] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20TYPE=siri&XHR=1
starting longpoll: http://127.0.0.1:8083/fhem.pl?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON&timestamp=1486387865476
[2017-02-06 14:31:05] [FHEM] Fetching FHEM devices...
[2017-02-06 14:31:05] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20room=Homekit&XHR=1
[2017-02-06 14:31:05] Loading 0 accessories...
Server error: Error: listen EADDRINUSE :::8282
Server listening on: http://<ip>:8283
[2017-02-06 14:31:05] [FHEM] no siri device found. please define it.
[2017-02-06 14:31:05] [FHEM] got: 1 results
[2017-02-06 14:31:05] [FHEM] Test: no service type detected
[2017-02-06 14:31:05] [FHEM] no accessory created for Test (dummy)
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 345-22-543 │     
    └────────────┘     
                       
events.js:154
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE :::51826
    at Object.exports._errnoException (util.js:893:11)
    at exports._exceptionWithHostPort (util.js:916:20)
    at Server.__dirname.Server.Server._listen2 (net.js:1246:14)
    at listen (net.js:1282:10)
    at Server.__dirname.Server.Server.listen (net.js:1378:5)
    at EventedHTTPServer.listen (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/util/eventedhttp.js:60:19)
    at HAPServer.listen (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:158:20)
    at Bridge.Accessory.publish (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:496:16)
    at Server._publish (/usr/lib/node_modules/homebridge/lib/server.js:114:16)
    at Server.<anonymous> (/usr/lib/node_modules/homebridge/lib/server.js:372:14)
pi@Fhem-Wien:~ $


Config.json liegt unter /home/pi/.homebridge

Gruß ein verzweifelter helmut
System1 fhem 6.1 auf RPi 4B mit 4GB, HMUSBConfig, DS9490R-1Wire, Busware USB 868, Pool-Solarsteuerung mit FHEM. System2 fhem 6.1 auf RPi 4B mit 4GB (Bullseye) mit Busware USB 868 und 433 und HMUARTLGW für Haussteuerung

https://www.flickr.com/photos/canonhelmi/

DeeSPe

Zitat von: Helmi55 am 06 Februar 2017, 14:33:26

Server error: Error: listen EADDRINUSE :::8282

events.js:154
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE :::51826
[/quote]

Da steht eindeutig dass die Ports bereits in Benutzung sind!
Also entweder läuft da noch eine homebridge als Dienst im Hintergrund während Du die manuell starten willst, oder aber ein anderer Prozess verwendet den selben Port!

Gruß
Dan
MAINTAINER: 22_HOMEMODE, 98_Hyperion, 98_FileLogConvert, 98_serviced

Als kleine Unterstützung für meine Programmierungen könnt ihr mir gerne einen Kaffee spendieren: https://buymeacoff.ee/DeeSPe

Helmi55

Ok
dann habe ich durch die Eingabe von "Homebridge" den Dienst nochmals gestartet?
Habe nun mit sudo service Homebridge stop die Homebridge gestoppt.
Wenn ich nun wieder Homebridge eingebe, bekomme ich folgende Meldung :
[code
pi@Fhem-Wien:~ $ sudo service homebridge stop
pi@Fhem-Wien:~ $ homebridge
*** WARNING *** The program 'nodejs' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs>
*** WARNING *** The program 'nodejs' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs&f=DNSServiceRegister>
[2017-02-06 15:02:08] Loaded plugin: homebridge-fhem
homebridge API version: 2.1
this homebridge-fhem 0.2.71
[2017-02-06 15:02:08] Registering platform 'homebridge-fhem.FHEM'
[2017-02-06 15:02:08] ---
[2017-02-06 15:02:08] Loaded config.json with 0 accessories and 1 platforms.
[2017-02-06 15:02:08] ---
[2017-02-06 15:02:08] Loading 1 platforms...
[2017-02-06 15:02:08] [FHEM] Initializing FHEM platform...
[2017-02-06 15:02:09] [FHEM] Checking devices and attributes...
[2017-02-06 15:02:09] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7BAttrVal(%22global%22,%22userattr%22,%22%22)%7D&XHR=1
[2017-02-06 15:02:09] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20TYPE=siri&XHR=1
starting longpoll: http://127.0.0.1:8083/fhem.pl?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON&timestamp=1486389729737
[2017-02-06 15:02:09] [FHEM] Fetching FHEM devices...
[2017-02-06 15:02:09] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20room=Homekit&XHR=1
[2017-02-06 15:02:09] Loading 0 accessories...
Server listening on: http://<ip>:8282
[2017-02-06 15:02:10] [FHEM] no siri device found. please define it.
[2017-02-06 15:02:10] [FHEM] got: 1 results
[2017-02-06 15:02:10] [FHEM] Test: no service type detected
[2017-02-06 15:02:10] [FHEM] no accessory created for Test (dummy)
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 345-22-543 │     
    └────────────┘     
                       
[2017-02-06 15:02:10] Homebridge is running on port 51826.

][/code]

Wieso steht dann hier
Server listening on: http://<ip>:8282

Der Dienst wurde gestoppt und sonst läuft auf dem Pi nix. Den habe ich ganz neu aufgesetzt als Spielwiese
Es wird auch angezeigt dasss nur ein Test Dummy auf dem System im Raum HomeKit vorhanden ist.......

Danke für deine Geduld Dan
Helmut
System1 fhem 6.1 auf RPi 4B mit 4GB, HMUSBConfig, DS9490R-1Wire, Busware USB 868, Pool-Solarsteuerung mit FHEM. System2 fhem 6.1 auf RPi 4B mit 4GB (Bullseye) mit Busware USB 868 und 433 und HMUARTLGW für Haussteuerung

https://www.flickr.com/photos/canonhelmi/

DeeSPe

Das sieht doch nun gut aus (manuell gestartet)!
Homebridge sollte auf Deinem iOS Device sichtbar sein und sich auch koppeln lassen.

Bisher hast Du nur ein Device (dummy) im Raum Homekit.
Dieses hat offensichtlich keine Standard Setter und deshalb wird keine "service type detected".

Gib den dummy mal (wie im Wiki beschrieben) eine "setList on off" und "genericDeviceType switch"!
Dann sollte das Device nach einen Neustart der Homebridge erkannt werden und sich auch schon steuern lassen.

Gruß
Dan
MAINTAINER: 22_HOMEMODE, 98_Hyperion, 98_FileLogConvert, 98_serviced

Als kleine Unterstützung für meine Programmierungen könnt ihr mir gerne einen Kaffee spendieren: https://buymeacoff.ee/DeeSPe

Helmi55

Genau so hatte ich gehofft das es funktioniert - nein.
Habe das hinzugefügt, den pi mit sudo reboot neu gestartet. Nach dem Neustart habe ich in der HomeApp am iPhone 6 mit aktuellem iOS nichts gesehen.
Dienst gestoppt und mit Homebridge neu gestartet.
Last login: Mon Feb  6 15:44:06 2017 from 192.168.1.5
pi@Fhem-Wien:~ $ sudo service homebridge stop
pi@Fhem-Wien:~ $ homebridge
*** WARNING *** The program 'nodejs' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs>
*** WARNING *** The program 'nodejs' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs&f=DNSServiceRegister>
[2017-02-06 15:45:57] Loaded plugin: homebridge-fhem
homebridge API version: 2.1
this homebridge-fhem 0.2.71
[2017-02-06 15:45:58] Registering platform 'homebridge-fhem.FHEM'
[2017-02-06 15:45:58] ---
[2017-02-06 15:45:58] Loaded config.json with 0 accessories and 1 platforms.
[2017-02-06 15:45:58] ---
[2017-02-06 15:45:58] Loading 1 platforms...
[2017-02-06 15:45:58] [FHEM] Initializing FHEM platform...
[2017-02-06 15:45:59] [FHEM] Checking devices and attributes...
[2017-02-06 15:45:59] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7BAttrVal(%22global%22,%22userattr%22,%22%22)%7D&XHR=1
[2017-02-06 15:45:59] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20TYPE=siri&XHR=1
starting longpoll: http://127.0.0.1:8083/fhem.pl?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON&timestamp=1486392359282
[2017-02-06 15:45:59] [FHEM] Fetching FHEM devices...
[2017-02-06 15:45:59] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20room=Homekit&XHR=1
[2017-02-06 15:45:59] Loading 0 accessories...
Server listening on: http://<ip>:8282
[2017-02-06 15:45:59] [FHEM] no siri device found. please define it.
[2017-02-06 15:45:59] [FHEM] got: 1 results
[2017-02-06 15:45:59] [FHEM] Test is switch
[2017-02-06 15:45:59] [FHEM] Test has
[2017-02-06 15:45:59] [FHEM]   On [state;on,off]
  2017-02-06 15:45:59 caching: Test-state: off
[2017-02-06 15:45:59] [FHEM]     caching: On: false (as boolean; from 'off')
[2017-02-06 15:45:59] [FHEM] Initializing platform accessory 'Test'...
[2017-02-06 15:45:59] [FHEM] creating services for Test
[2017-02-06 15:45:59] [FHEM]   information service for Test
[2017-02-06 15:45:59] [FHEM]     manufacturer, model and serial number characteristics for Test
[2017-02-06 15:45:59] [FHEM]   Switch service for Test
[2017-02-06 15:45:59] [FHEM]     On characteristic for Test:state
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 345-22-543 │     
    └────────────┘     
                       
[2017-02-06 15:45:59] Homebridge is running on port 51826.



Soweit schaut es ja ganz gut aus - bis auf das oder?
Server listening on: http://<ip>:8282

ABER jetzt ist beim koppeln der Konfigurationscode wieder falsch........
System1 fhem 6.1 auf RPi 4B mit 4GB, HMUSBConfig, DS9490R-1Wire, Busware USB 868, Pool-Solarsteuerung mit FHEM. System2 fhem 6.1 auf RPi 4B mit 4GB (Bullseye) mit Busware USB 868 und 433 und HMUARTLGW für Haussteuerung

https://www.flickr.com/photos/canonhelmi/

DeeSPe

Zitat von: Helmi55 am 06 Februar 2017, 15:53:41
Soweit schaut es ja ganz gut aus - bis auf das oder?
Server listening on: http://<ip>:8282

Wie kommst Du darauf?
Geh doch mal mit dem Browser auf die angegebene Adresse.
Dort solltest Du den Debug Browser von Homebridge sehen.

Bitte stoppe homebridge und setze nochmal komplett Deine HomeKit Konfiguration unter iOS zurück (vorher alle HomeKit Apps beenden)!
Dann lösche auf dem RPi die Ordner "home/pi/.homebridge/persistent" und "home/pi/.homebridge/accessory" (kann auch anders heißen, habe ich gerade nicht im Kopf und auch keinen Zugriff auf Daheim, auf jeden Fall fängt der Ordner mit a an und es befinden sich im Regelfall auch nur 2 Ordner unter "home/pi/.homebridge/").
Danach homebridge starten und das Koppeln sollte wieder möglich sein.

Gruß
Dan
MAINTAINER: 22_HOMEMODE, 98_Hyperion, 98_FileLogConvert, 98_serviced

Als kleine Unterstützung für meine Programmierungen könnt ihr mir gerne einen Kaffee spendieren: https://buymeacoff.ee/DeeSPe

Helmi55

Also ich komme mir vor als wenn das mein erster Versuch mit FHEM wäre (dabei laufen schon 2 Dinger mit meiner Poolsteuerung erfolgreich...)
So - habe Homebridge gestoppt - habe nun die 2 Ordner gelöscht - Pi gebootet.
Jetzt sollte doch der Autostart von init.d/Homebridge greifen oder? Nein - sehe nichts am iPhone (das habe ich auch gebootet)
Homebridge gestoppt und mit Homebridge neu gestartet

Last login: Mon Feb  6 16:22:45 2017 from 192.168.1.5
pi@Fhem-Wien:~ $ sudo service homebridge start
pi@Fhem-Wien:~ $ sudo service homebridge stop
pi@Fhem-Wien:~ $ homebridge
*** WARNING *** The program 'nodejs' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs>
*** WARNING *** The program 'nodejs' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs&f=DNSServiceRegister>
[2017-02-06 16:25:59] Loaded plugin: homebridge-fhem
homebridge API version: 2.1
this homebridge-fhem 0.2.71
[2017-02-06 16:26:00] Registering platform 'homebridge-fhem.FHEM'
[2017-02-06 16:26:00] ---
[2017-02-06 16:26:00] Loaded config.json with 0 accessories and 1 platforms.
[2017-02-06 16:26:00] ---
[2017-02-06 16:26:00] Loading 1 platforms...
[2017-02-06 16:26:00] [FHEM] Initializing FHEM platform...
[2017-02-06 16:26:01] [FHEM] Checking devices and attributes...
[2017-02-06 16:26:01] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=%7BAttrVal(%22global%22,%22userattr%22,%22%22)%7D&XHR=1
[2017-02-06 16:26:01] [FHEM]   executing: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20TYPE=siri&XHR=1
starting longpoll: http://127.0.0.1:8083/fhem.pl?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON&timestamp=1486394761406
[2017-02-06 16:26:01] [FHEM] Fetching FHEM devices...
[2017-02-06 16:26:01] [FHEM] fetching: http://127.0.0.1:8083/fhem?cmd=jsonlist2%20room=Homekit&XHR=1
[2017-02-06 16:26:01] Loading 0 accessories...
Server listening on: http://<ip>:8282
[2017-02-06 16:26:01] [FHEM] no siri device found. please define it.
[2017-02-06 16:26:01] [FHEM] got: 1 results
[2017-02-06 16:26:01] [FHEM] Test is switch
[2017-02-06 16:26:01] [FHEM] Test has
[2017-02-06 16:26:01] [FHEM]   On [state;on,off]
  2017-02-06 16:26:01 caching: Test-state: off
[2017-02-06 16:26:01] [FHEM]     caching: On: false (as boolean; from 'off')
[2017-02-06 16:26:01] [FHEM] Initializing platform accessory 'Test'...
[2017-02-06 16:26:01] [FHEM] creating services for Test
[2017-02-06 16:26:01] [FHEM]   information service for Test
[2017-02-06 16:26:01] [FHEM]     manufacturer, model and serial number characteristics for Test
[2017-02-06 16:26:01] [FHEM]   Switch service for Test
[2017-02-06 16:26:01] [FHEM]     On characteristic for Test:state
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ 345-22-543 │     
    └────────────┘     
                       
[2017-02-06 16:26:02] Homebridge is running on port 51826.



Im DebugBrowser sehe ich folgendes


Unter cached:
home

http://127.0.0.1:8083
  connected: true; connects: 1
  received: 1; received total: 1

Test-state: off
  On: false (boolean)




und unter subscriptions
home

subscriptions: { 'Test-state':
[ { accessory:
{ log:
{ [Function: bound ]
debug: [Function],
info: [Function],
warn: [Function],
error: [Function],
log: [Function],
prefix: 'FHEM' },
connection:
{ base_url: 'http://127.0.0.1:8083',
request:
{ [Function]
get: [Function],
head: [Function],
post: [Function],
put: [Function],
patch: [Function],
del: [Function],
delete: [Function],
cookie: [Function],
jar: [Function],
defaults: [Function] },
fhem:
{ domain: null,
_events: {},
_eventsCount: 0,
_maxListeners: undefined,
log: [Object],
config: [Object],
api: [Object],
server: '127.0.0.1',
port: '8083',
filter: 'room=Homekit',
jsFunctions: undefined,
scope: undefined,
connection: [Circular] } },
jsFunctions: undefined,
service_name: 'Switch',
mappings:
{ On:
{ reading: 'state',
valueOff: '/off|A0|000000/',
cmdOn: 'on',
cmdOff: 'off',
device: 'Test',
characteristic: [Object],
informId: 'Test-state',
characteristic_type: 'On',
log: [Object],
cached: false } },
name: 'Test',
alias: 'Test',
siriName: 'Test',
device: 'Test',
type: 'dummy',
model: '',
PossibleSets: 'on off',
room: 'Homekit',
uuid_base: undefined,
fhem:
{ domain: null,
_events: {},
_eventsCount: 0,
_maxListeners: undefined,
log:
{ [Function: bound ]
debug: [Function],
info: [Function],
warn: [Function],
error: [Function],
log: [Function],
prefix: 'FHEM' },
config:
{ platform: 'FHEM',
name: 'FHEM',
server: '127.0.0.1',
port: '8083',
auth: [Object],
filter: 'room=Homekit' },
api:
API {
_accessories: {},
_platforms: [Object],
_configurableAccessories: {},
_dynamicPlatforms: {},
version: 2.1,
user: [Object],
hap: [Object],
hapLegacyTypes: [Object],
platformAccessory: [Object],
_events: [Object],
_eventsCount: 4 },
server: '127.0.0.1',
port: '8083',
filter: 'room=Homekit',
jsFunctions: undefined,
scope: undefined,
connection:
{ base_url: 'http://127.0.0.1:8083',
request: [Object],
fhem: [Circular] } } },
characteristic:
Characteristic {
displayName: 'On',
UUID: '00000025-0000-1000-8000-0026BB765291',
iid: 9,
value: false,
props:
{ format: 'bool',
unit: null,
minValue: null,
maxValue: null,
minStep: null,
perms: [ 'pr', 'pw', 'ev' ] },
_events:
{ change: [Function: bound ],
set: [Function: bound ],
get: [Function: bound ] },
_eventsCount: 3,
FHEM_mapping:
{ reading: 'state',
valueOff: '/off|A0|000000/',
cmdOn: 'on',
cmdOff: 'off',
device: 'Test',
characteristic: [Circular],
informId: 'Test-state',
characteristic_type: 'On',
log:
{ [Function: bound ]
debug: [Function],
info: [Function],
warn: [Function],
error: [Function],
log: [Function],
prefix: 'FHEM' },
cached: false } } } ] }


Am iPhone habe ich den Begrüßungsschirm von Home - Willkommen zu Hause ....

und hier sehe ich keine Homebridge  :'( :'( :'(
System1 fhem 6.1 auf RPi 4B mit 4GB, HMUSBConfig, DS9490R-1Wire, Busware USB 868, Pool-Solarsteuerung mit FHEM. System2 fhem 6.1 auf RPi 4B mit 4GB (Bullseye) mit Busware USB 868 und 433 und HMUARTLGW für Haussteuerung

https://www.flickr.com/photos/canonhelmi/

DeeSPe

Keine Ahnung was Home anzeigt wenn noch nicht gekoppelt ist.
Wie auch immer sollte es ja möglich sein in Home oben rechts auf das + zu drücken und dann "Gerät hinzufügen" zu wählen.
Dort sollte dann die Homebridge sichtbar werden, sofern sie denn wirklich funktioniert.
Dein letzter Log Auszug verrät mir dass Dein Device Test nun als Switch erkannt wird.

Gruß
Dan
MAINTAINER: 22_HOMEMODE, 98_Hyperion, 98_FileLogConvert, 98_serviced

Als kleine Unterstützung für meine Programmierungen könnt ihr mir gerne einen Kaffee spendieren: https://buymeacoff.ee/DeeSPe