Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Cloud Dienste
    4. Iot + Google Home

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Iot + Google Home

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

      Ich wollte den Einstieg in iot starten und mich mich mit Google Home verbinden. Habe auch soweit alles wie in der Beschreibung eingerichet.

      Sobald ich aber mich in der Google Home APP mit Iobroker verbinden möchte kommt eine Fehlermeldung:

      Und das hier kommt im Log von Iobroker:

      error	[GHOME] devices are unknown to google home
      

      Ich habe einen einfachen boolean Schalter angelegt mit true/false.

      {
        "common": {
          "name": "test",
          "desc": "Manuell erzeugt",
          "role": "state",
          "type": "boolean",
          "read": true,
          "write": true,
          "def": false,
          "smartName": {
            "de": "Testschalter",
            "ghType": "action.devices.types.SWITCH"
          }
        },
        "type": "state",
        "native": {},
        "_id": "0_userdata.0.test",
        "acl": {
          "object": 1636,
          "state": 1636,
          "owner": "system.user.admin",
          "ownerGroup": "system.group.administrator"
        },
        "from": "system.adapter.admin.0",
        "user": "system.user.admin",
        "ts": 1742328095923
      }
      

      4ad73c94-7101-4ec0-aa1d-5ccf47ce499f-grafik.png

      Habe die App schon gelöscht, neues Passwort angefordert, tausendmal die Instanz neugestartet. Ich verstehe es einfach nicht...

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

        @masl welche App, welche Instanz?

        Ghome !?

        Wo ist ein logfile Debug der Instanz von der du schreibst?

        M 1 Reply Last reply Reply Quote 0
        • M
          Masl @wendy2702 last edited by

          @wendy2702

          Ich habe es nochmal zusammengefasst:

          Testschalter erstellt:
          09f2ab21-088d-43db-a743-939fa14c6fec-grafik.png

          Instanz io Adapter Daten eingetragen und gestartet:
          Log:

          iot.0
          	46777	2025-03-18 21:15:33.246	debug	[GHOME] Start smartenum processing
          iot.0
          	46777	2025-03-18 21:15:33.266	info	Connection changed: connect "m****_****_com"
          iot.0
          	46777	2025-03-18 21:15:33.368	debug	[GHOME] CHECK URL reported: {"result":"OK"}
          iot.0
          	46777	2025-03-18 21:15:33.369	debug	[GHOME] Subscribe 0 states for google home
          iot.0
          	46777	2025-03-18 21:15:33.369	debug	[GHOME] Subscribe done
          

          Bei Intelligente Aufzählungen den Raum testhome und Funktion switch ausgewählt

          Bei Google Geräte wird es so angezeigt:
          d82363e3-665e-4f8b-ab05-71b020d5d0b8-grafik.png
          Wenn ich Typ von Outlet auf Switch stelle passirtr nichts. Es stellt sich wieder zurück

          iot.0
          	46777	2025-03-18 21:20:04.559	debug	[GHOME] Start smartenum processing
          iot.0
          	46777	2025-03-18 21:20:04.560	debug	[GHOME] Process enum.functions.switch
          iot.0
          	46777	2025-03-18 21:20:04.560	warn	[GHOME] 0_userdata.0.testschalter is a state. It's recommended to add rooms and functionality to channels or devices and not to a state to get auto detected for Google Home. This works only for simple switches.
          iot.0
          	46777	2025-03-18 21:20:04.560	debug	[GHOME] Process: 0_userdata.0.testschalter testhome switch
          iot.0
          	46777	2025-03-18 21:20:04.560	debug	[GHOME] Type: socket
          iot.0
          	46777	2025-03-18 21:20:04.560	info	[GHOME] 0_userdata.0.testschalter is auto added with type socket.
          iot.0
          	46777	2025-03-18 21:20:04.560	debug	[GHOME] Created Google HOME device: testhomesteckdose - socket - 0_userdata.0.testschalter
          iot.0
          	46777	2025-03-18 21:20:04.560	debug	[GHOME] SmartEnum is equal child skip child detection
          iot.0
          	46777	2025-03-18 21:20:04.560	debug	[GHOME] SmartEnum is equal child skip child detection
          iot.0
          	46777	2025-03-18 21:20:04.561	debug	[GHOME] 0_userdata.0.testschalter => action.devices.types.OUTLET
          iot.0
          	46777	2025-03-18 21:20:04.561	debug	[GHOME] Subscribe 1 states for google home
          iot.0
          	46777	2025-03-18 21:20:04.564	debug	[GHOME] Subscribe done
          

          In der Google Home App "iobroker" ausgewählt und die Anmeldedaten eingeben:

          "Linking your iobroker account"
          

          Fehlermeldung dann:

          could not reach iobroker, try again later
          

          Log:

          iot.0
          	46777	2025-03-18 21:21:37.260	debug	Request command/****com/ghome
          iot.0
          	46777	2025-03-18 21:21:37.261	debug	Data: "{\"inputs\":[{\"intent\":\"action.devices.SYNC\"}],\"requestId\":\"3319523645413555754\"}"
          iot.0
          	46777	2025-03-18 21:21:37.261	debug	[GHOME] Received action.devices.SYNC
          iot.0
          	46777	2025-03-18 21:21:37.262	debug	Response: {"requestId":"3319523645413555754","payload":{"agentUserId":"***_com","devices":[{"type":"action.devices.types.OUTLET","traits":["action.devices.traits.OnOff"],"name":{"defaultNames":["testhomesteckdose"],"name":"Test Schalter","nicknames":["Test Schalter"]},"willReportState":true,"roomHint":"testhome","deviceInfo":{"manufacturer":"ioBroker","model":"0_userdata"},"customData":{"set_on":"0_userdata.0.testschalter","get_on":"0_userdata.0.testschalter"},"id":"0_userdata.0.testschalter"}]}}
          iot.0
          	46777	2025-03-18 21:21:37.262	debug	[REMOTE] Send response to 'response/****com/ghome: {"requestId":"3319523645413555754","payload":{"agentUserId":"****com","devices":[{"type":"action.devices.types.OUTLET","traits":["action.devices.traits.OnOff"],"name":{"defaultNames":["testhomesteckdose"],"name":"Test Schalter","nicknames":["Test Schalter"]},"willReportState":true,"roomHint":"testhome","deviceInfo":{"manufacturer":"ioBroker","model":"0_userdata"},"customData":{"set_on":"0_userdata.0.testschalter","get_on":"0_userdata.0.testschalter"},"id":"0_userdata.0.testschalter"}]}}
          iot.0
          	46777	2025-03-18 21:21:43.801	error	[GHOME] devices are unknown to google home
          
          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

          581
          Online

          31.6k
          Users

          79.6k
          Topics

          1.3m
          Posts

          2
          3
          83
          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