NEWS
Iot + Google Home
-
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 }
Habe die App schon gelöscht, neues Passwort angefordert, tausendmal die Instanz neugestartet. Ich verstehe es einfach nicht...
-
@masl welche App, welche Instanz?
Ghome !?
Wo ist ein logfile Debug der Instanz von der du schreibst?
-
Ich habe es nochmal zusammengefasst:
Testschalter erstellt:
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:
Wenn ich Typ von Outlet auf Switch stelle passirtr nichts. Es stellt sich wieder zurückiot.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