Du könntest esphome auf den Shelly flashen. Vermutlich geht das dann.
Ja, den habe ich bestellt.
Also nur noch HA updaten…
Und wie funzt das mit dem ESP32? Der wird in HA worüber gefunden/eingebunden? Der hat ja WLAN…
Du brauchst das ESPHome-Addon und die Integration um die Module zu flashen und zu konfigurieren. Wobei man den Proxy auch direkt über die esphome-Seite flashen kann:
Vermutlich braucht man das addon nur, wenn man selber flashen will. Aber früher oder später wird man das wohl wollen. Für den alltäglichen Betrieb braucht man die Integration: ESPHome - Home Assistant
Hallo, Da ich leider mit Bluetooth nicht in Reichweite komme, habe ich switchbot mqtt aus dem Saugroboter Video eingerichtet, aber ich bekomme keine MQTT Entitäten. Hat es denn jemand mit diesem Addon am laufen? Das steht im Log von switchbot-mqtt
19:50:10 warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] No XML encryptor configured. Key {c31df70d-a61d-5dee4-6g56r-958e700c5e3f} may be persisted to storage in unencrypted form.
19:50:10 info: Microsoft.Hosting.Lifetime[14] Now listening on: http://[::]:8098
19:50:10 info: Microsoft.Hosting.Lifetime[14] Now listening on: http://[::]:8099
19:50:10 dbug: SwitchBotMqttApp.Services.AutomatedHostedService[0] Application has started - will start services
19:50:10 info: SwitchBotMqttApp.Logics.DeviceConfigurationManager[0] device configuration file missing.
19:50:10 info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down.
19:50:10 info: Microsoft.Hosting.Lifetime[0] Hosting environment: Production
19:50:10 info: Microsoft.Hosting.Lifetime[0] Content root path: /app/
19:50:11 trce: SwitchBotMqttApp.Logics.SwitchBotApiClient[0] Send GET,scenes
19:50:12 trce: SwitchBotMqttApp.Logics.SwitchBotApiClient[0] Response GET,https://api.switch-bot.com/v1.1/scenes,{"statusCode":100,"body":[],"message":"success"}
19:50:12 info: SwitchBotMqttApp.Services.MqttCoreService[0] started
19:50:12 info: SwitchBotMqttApp.Services.PollingService[0] started
19:50:13 info: FluffySpoon.Ngrok.NgrokProcess[0] Starting Ngrok process
19:50:13 info: FluffySpoon.Ngrok.NgrokApiClient[0] Creating tunnel SwitchBotMqttApp
19:50:13 info: FluffySpoon.Ngrok.NgrokApiClient[0] Creating tunnel SwitchBotMqttApp
19:50:13 info: FluffySpoon.Ngrok.NgrokApiClient[0] Tunnel FluffySpoon.Ngrok.Models.TunnelResponse created
19:50:13 trce: SwitchBotMqttApp.Logics.SwitchBotApiClient[0] Send POST,webhook/queryWebhook
19:50:14 trce: SwitchBotMqttApp.Logics.SwitchBotApiClient[0] Response POST,https://api.switch-bot.com/v1.1/webhook/queryWebhook,{"statusCode":190,"body":{},"message":""}
19:50:14 trce: SwitchBotMqttApp.Logics.SwitchBotApiClient[0] Send POST,webhook/setupWebhook
19:50:15 trce: SwitchBotMqttApp.Logics.SwitchBotApiClient[0] Response POST,https://api.switch-bot.com/v1.1/webhook/setupWebhook,{"statusCode":100,"body":{},"message":"success"}
19:50:15 info: SwitchBotMqttApp.Services.WebhookService[0] start listen https://11f0-67-234-12-95.ngrok-free.app/webhook
19:50:53 info: SwitchBotMqttApp.Logics.DeviceConfigurationManager[0] device configuration file missing.
19:51:30 trce: SwitchBotMqttApp.Logics.SwitchBotApiClient[0] Send GET,devices
19:51:32 trce: SwitchBotMqttApp.Logics.SwitchBotApiClient[0] Response GET,https://api.switch-bot.com/v1.1/devices,{"statusCode":100,"body":{"deviceList":[{"deviceId":"C27780A2C433","deviceName":"Hub Mini","deviceType":"Hub Mini2","enableCloudService":true,"hubDeviceId":""},{"deviceId":"D12A4FEBAF34","deviceName":"Keypad Touch","deviceType":"Keypad Touch","enableCloudService":false,"hubDeviceId":"","lockDeviceId":"EFF89FB512F3","keyList":[{"id":11,"name":"Standard 8","type":"permanent","status":"normal","createTime":1722267297000,"password":"QSASPhiu9t8145HFuAlBew==","iv":"fd6c2443a3fr66788dfa16a5d60e9f"},{"id":12,"name":" temporär ","type":"timeLimit","status":"normal","createTime":1722267389000,"password":"TosO8hGGtRejjfXKI+kQ8Q==","iv":"fd6c2443a3e75hhg56dfa16a5d60e9f"}]},{"deviceId":"EFF456B538F3","deviceName":"Lock Pro","deviceType":"Smart Lock Pro","enableCloudService":false,"hubDeviceId":"000000000000","group":false,"master":true,"lockDevicesIds":[]}],"infraredRemoteList":[]},"message":"success"}
19:51:32 warn: SwitchBotMqttApp.Logics.DeviceConfigurationManager[0] LoadDevicesAsync unknown device type. C27780A2C433,Hub Mini2,Hub Mini
19:52:48 info: SwitchBotMqttApp.Logics.DeviceConfigurationManager[0] device configuration file saved.
19:53:26 info: SwitchBotMqttApp.Logics.DeviceConfigurationManager[0] device configuration file found. 2,0
19:53:32 info: SwitchBotMqttApp.Logics.DeviceConfigurationManager[0] device configuration file found. 2,0
20:01:03 info: SwitchBotMqttApp.Logics.DeviceConfigurationManager[0] device configuration file found. 2,0
bei Matter im Log hab ich alles Fehler
2024-07-29 21:03:16.485 (Dummy-2) CHIP_ERROR [chip.native.DIS] DNSSD packet parsing failed (for SRV records)
2024-07-29 21:03:16.485 (Dummy-2) CHIP_ERROR [chip.native.DIS] DNSSD packet parsing failed (for non-srv records)
2024-07-29 21:03:16.485 (Dummy-2) CHIP_ERROR [chip.native.DIS] DNSSD packet parsing failed (for SRV records)
2024-07-29 21:03:16.485 (Dummy-2) CHIP_ERROR [chip.native.DIS] DNSSD packet parsing failed (for non-srv records)
2024-07-29 21:03:16.485 (Dummy-2) CHIP_ERROR [chip.native.DIS] DNSSD packet parsing failed (for SRV records)
2024-07-29 21:03:16.485 (Dummy-2) CHIP_ERROR [chip.native.DIS] DNSSD packet parsing failed (for non-srv records)
2024-07-29 21:03:16.485 (Dummy-2) CHIP_ERROR [chip.native.DIS] DNSSD packet parsing failed (for SRV records)
2024-07-29 21:03:16.485 (Dummy-2) CHIP_ERROR [chip.native.DIS] DNSSD packet parsing failed (for non-srv records)
2024-07-29 21:03:16.485 (Dummy-2) CHIP_ERROR [chip.native.DIS] DNSSD packet parsing failed (for SRV records)
2024-07-29 21:03:16.485 (Dummy-2) CHIP_ERROR [chip.native.DIS] DNSSD packet parsing failed (for non-srv records)
2024-07-29 21:03:16.485 (Dummy-2) CHIP_ERROR [chip.native.DIS] DNSSD packet parsing failed (for SRV records)
2024-07-29 21:03:16.485 (Dummy-2) CHIP_ERROR [chip.native.DIS] DNSSD packet parsing failed (for non-srv records)
Warum nutzt du keinen BT Proxy und packst den in der Nähe vom Lock?
Dann hast du doch über WLAN <> BT dann direkten Empfang zum Lock.
Ich habe home assistant in einer VM auf Unraid. Ich bekomme aber keine Bluetooth Sticks bzw den onboard Chip in die VM durchgereicht. Deswegen wollte ich auf das addon ausweichen, soweit ich es in Erinnerung habe hat es auch noch ein paar mehr Entitäten.
Dann solltest du es beim Support von Unkraut versuchen, denen hast du ja auch Geld bezahlt.
Ja wenn ich es über Bluetooth einbinde, dann muss ich zuerst Richtung Unraid suchen aber ich möchte es ja mit dem addon verbinden und da hab ich ja den Fehler.
Moin,
also bei mir läuft das AddOn einwandfrei.
Wie sieht denn deine Konfiguration im AddOn aus?
Das AddOn zu MQTT sowie die API-Schnittstelle sind aber noch sehr BETA…
Die Sensoren des Locks sind OK und auch die Steuerung zum öffen/schliessen,
Die Sensoren des KeyPads und vor allem die Steuerbefehle bzw. die create/delete Befehle sind im Moment unbrauchbar. Da zum einen z.B. der Create-Befehl (denke ich zumindest…) vom MQTT Steuerelement zum AddOn nicht funktioniert und zum anderen auch in der API-Schnittstelle noch nicht alles zu passen scheint. (Es muss ein Unix-Code als Datum und Zeit übergeben werden, ob 10 oder 13 stellig hängt aber von der Auswahl des zu erstellenden Codes/Passwort für das KeyPad ab usw.)
Aber gut, da komm ich auch nicht weiter, da meine Kenntnisse da auch ein Ende haben, aber zurück zu deinem Verbindungsproblem… kannst du mal die config posten?
Servus,
ich hatte es gestern Abend dann nochmal deinstalliert, in dem Addon die Geräte gelöscht und neu abgefragt, jetzt läuft es einigermaßen, außer dass ich erst manuell pollen muss um auch den richtigen Status ob offen oder zu, also mit dem Magneten, zu bekommen, auch der Button Drücken für lock und unlock geht nicht aber da nehm ich die Matter Entität. Naja mal schauen wie es sich entwickelt.
Edit: also klappt doch nicht, es kommt jede Stunde im Log der Eintrag
16:39:40 trce: SwitchBotMqttApp.Services.MqttCoreService[0] disable polling paylod LockPro,deviceId
Magst du mal die config deines AddOn´s posten und ggf. auch deines mqtt AddOn´s?
Was nutzt du da? Mosquitto broker?
Nach dem flashen macht der Shelly erstmal nichts… Finde gerade aber nicht die Zeit ihn auszubauen.
Update auf 2024.7.x ist durchgeführt.
Den ESP32 Bluetooth Proxy habe ich erhalten und ist mit Strom versorgt.
Wie bekomme ich den Host raus, den ich beim Einrichten von ESPHome gefragt werde?
Flashen?
Der Link von “ready-made projects” funzt nicht…
Hier Flasht du ihn
Kannst du mir das erklären?
Den Proxy habe ich geflasht und in HA eingebunden.
Ist dieser API Key notwendig?
Die Mac Adresse habe ich notiert, aber wohin damit?
Das verstehe ich auch nicht:
Using the script scripts/get_encryption_key.py you can manually obtain locks encryption key.
Usage:
$ python3 get_encryption_key.py MAC USERNAME
Key ID: xx
Encryption key: xxxxxxxxxxxxxxxx
Wo führe ich das aus?
Das Schloss ist noch nicht montiert/kalibriert, falls notwendig.
Das Update V1.9 habe ich installiert.
Hat jemand noch einen Hinweis für mich?
Habe auch ein Apple und das Schloss bei mir ist aber nirgendwo so ein Eintrag. Komisch hast du was besonderes gemacht?
Nein, habe ich einfach gepusht bekommen.
Nutze die Funktion nicht aber Sie wird bereitgestellt.
Hat man irgendwie eine Möglichkeit den Robi loszuschicken per Alexa zu einem bestimmten Raum? Danke