homebridge-telegram
-
-
Z.b über dein iPhone oder ein mac. Entweder über Config-ui (Browser) oder über eine ssh App.
Ich habe auf IPhone und Tablet eine ssh App. Aber wie bekomme ich Sonderzeichen zum einfügen angezeigt?
Ganz normal über die Emoji Tastatur ? Einfach zwischen den " " Text mit Emoji einfügen und fertig
??? Hat funktioniert. Vielen Dank für die Hilfe..
Hui, nee die habe ich glatt vergessen

Wenn Du magst, kannst Du die aber gerne testen: npm install -g github:grover/homebridge-telegram ist dein Freund. Ich habe die selbst noch nicht benutzt.
Funktioniert leider nicht
, der einzige Button der etwas im Log ausspuckt ist der Quiet Button. Bei den restlichen passiert nichts.[email protected] mit funktionierender HTML/Markdown-Unterstützung.
Alles anzeigenWas meinst du genau mit Szene?
Hast du die Config von mir kopiert zum testen?
Bei mir sieht es so aus:
Was ist das für eine Homekit-App?
steht ein paar Posts vorher schon.
Nastra mit markdown oder html kann man nun zb. Text in fett und/oder kursiv usw. formatieren

Ebenso kann man durch die non randomize Funktion eine Reihenfolge festlegen

Hallo zusammen,
hab da eins zwei Probleme.
Plugin ist installiert. json ist angepasst.
Von Eve habe ich bis jetzt nur einen Raumtemperatur Sensor.
Das eigentliche Ziel ist, dass ich per Telegram eine Nachricht bekomme wenn die Temperatur um 18:00 Uhr xxx Grad ist.
1. Frage: in der json kommt bei "chat": "BOTNAME_bot" rein? nicht "t.me/BOTNAME_bot", oder?
2. Wie kann ich überprüfen ob das ganze dann funktioniert?
3. Wie löse ich die oben beschriebene Aufgabe?
Mit freundlichen Grüßen
1. Bei chat kommt die chat ID rein. Die bekommst Du am besten raus, in dem Du aus dem Zielchat heraus den Bot anschreibst
2. In dem Du den Bot triggerst?
Dein Wunsch mit der Telegram-Nachricht wirst Du so einfach nicht hinbekommen, denn HomeKit erlaubt es leider nicht Werte aus einem Sensor direkt an einen anderen zu übertragen.
ZitatDein Wunsch mit der Telegram-Nachricht wirst Du so einfach nicht hinbekommen, denn HomeKit erlaubt es leider nicht Werte aus einem Sensor direkt an einen anderen zu übertragen
Auch nicht über die Eve App per Regeln?
Wollte eben mal einen weiteren Schalter für Alarm einfügen aber mir wird in Eve nichts angezeigt.
Falsche Klammern gesetzt?
Code
Alles anzeigen{ "bridge": { "name": "Homebridge", "username": "Cxxxx", "port": 51826, "pin": "031-4xxx" }, "accessories": [{ "accessory": "Suncalc", "location": { "lat": 50.5840512, "lng": 8.5840512 }, "offset": { "sunriseEnd": 30, "sunsetStart": -30 }, "name": "Suncalc" }, { "accessory": "MagicHome", "name": "LED Strip", "ip": "192.168.178.89", "setup": "RGBW", "purewhite": false, "singleChannel": false }, { "accessory": "DelaySwitch", "name": "Timer", "delay": 90000 }, { "accessory": "DelaySwitch", "name": "Timer2", "delay": 90000 }, { "accessory": "Notification", "name": "door_unlocked", "ifttt_api_key": "xxxx", "ifttt_event": "door_unlocked", "ifttt_message": "door_unlocked", "ifttt_mute_notification_interval_in_sec": 90000 }, { "accessory": "Notification", "name": "door_locked", "ifttt_api_key": "xxxx", "ifttt_event": "door_locked", "ifttt_message": "door_locked", "ifttt_mute_notification_interval_in_sec": 90000 }, { "accessory": "PiTemperature", "name": "PI Temperatur" } ], "platforms": [{ "platform": "Fritz!Box", "name": "My FritzBox", "username": "raspberry", "password": "xxxx", "url": "http://fritz.box", "interval": 60, "options": { "strictSSL": false } }, { "platform": "config", "name": "Config", "port": 8080, "log": "/var/log/homebridge.log" }, { "platform": "Calendar", "calendars": [{ "name": "Abfallkalender", "url": "xxxxx", "pollingInterval": 5, "offset": "-8h", "sensors": [ "LKG Restabfall", "LKG Gelbe Tonne", "LKG Altpapier", "LKG Bioabfall" ] }, { "name": "Homekit", "url": "xxxxx", "pollingInterval": 5, "sensors": [ "CalSensor1", "CalSensor2" ] } ] }, { "platform": "WeatherStation", "name": "Wetter", "interval": "4", "key": "592f69f5df17fc58", "location": "pws:IHESSENG6", "forecast": "none" }, { "platform": "IFTTT", "name": "IFTTT", "makerkey": "xxxxx", "accessories": [{ "name": "Accessory 1", "buttons": [{ "caption": "IFTTT Push Licht Küche", "triggerOn": "Alarm1On", "triggerOff": "Alarm1Off", "delayOn": 4, "delayOff": 3, "stateful": true }, { "caption": "Alarm2", "triggerOn": "Alarm2On", "triggerOff": "Alarm2Off", "delayOff": 1 }, { "caption": "IFTTT Push Licht", "trigger": "Alarm3", "delayOn": 5 }, { "caption": "Alarm4", "trigger": "Alarm4" } ] }, { "name": "Accessory 2", "buttons": [{ "caption": "Alarm2-1", "trigger": "Alarm2-1" }, { "caption": "Alarm2-2", "trigger": "Alarm2-2" }, { "caption": "Alarm2-3", "trigger": "Alarm2-3" }, { "caption": "Alarm2-4", "trigger": "Alarm2-4" } ] } ] }, { "platform": "NukiBridge", "bridge_url": "xxxx", "webhook_port": "51827", "api_token": "xxxx", "request_timeout_lockstate": 5000, "request_timeout_lockaction": 30000, "cache_directory": "./.node-persist/storage", "webhook_server_ip_or_name": "192.168.178.32", "lock_state_mode": "1", "add_maintainance_buttons": false, "locks": [{ "id": "xxxx", "usesDoorLatch": true, "name": "Haustür", "priority": 1 }] }, { "platform": "People", "threshold": 15, "ayoneSensor": true, "nooneSensor": true, "webhookPort": 51828, "cacheDirectory": "./.node-persist/storage", "pingInterval": 10000, "ignoreReEnterExitSeconds": 0, "people": [{ "name": "xxx", "target": "192.168.178.22", "threshold": 15, "pingInterval": 10000, "ignoreReEnterExitSeconds": 0 }, { "name": "xxx", "target": "192.168.178.29", "threshold": 15, "pingInterval": 10000, "ignoreReEnterExitSeconds": 0 }, { "name": "xxx", "target": "192.168.178.47", "threshold": 15, "pingInterval": 10000, "ignoreReEnterExitSeconds": 0 }, { "name": "xxx", "target": "192.168.178.55", "threshold": 15, "pingInterval": 10000, "ignoreReEnterExitSeconds": 0 }, { "name": "xxxx", "target": "192.168.178.28", "threshold": 15, "pingInterval": 10000, "ignoreReEnterExitSeconds": 0 }, { "name": "xxx", "target": "192.168.178.85", "threshold": 15, "pingInterval": 10000, "ignoreReEnterExitSeconds": 0 }, { "name": "xxx", "target": "192.168.178.48", "threshold": 10, "pingInterval": 10000, "ignoreReEnterExitSeconds": 0 }, { "name": "xxx", "target": "192.168.178.36", "threshold": 15, "pingInterval": 10000, "ignoreReEnterExitSeconds": 0 } ] }, { "platform": "Hue", "name": "Hue", "host": "192.168.178.24", "users": { "xxxx": "xxx" }, "sensors": false, "excludeSensorTypes": [ "Daylight", "CLIP", "Geofence" ], "lights": true, "nativeHomeKitLights": true, "nativeHomeKitSensors": false }, { "platform": "AutomationSwitches", "switches": [{ "type": "automation", "name": "Erinnerung", "period": 900, "autoOff": true, "stored": false }, { "type": "automation", "name": "AutoOff", "period": 900, "autoOff": true, "stored": false }, { "type": "slider", "name": "Slider", "stored": true, "default": 5, "minValue": 1, "maxValue": 10 }, { "type": "security", "name": "Home", "default": "unarmed", "stored": true, "zones": [ "Alarm" ] } ] }, { "platform": "DACP", "devices": [{ "name": "Remote Raspberry", "pairing": "xxx", "serviceName": "xxxx", "features": { "no-volume-controls": true } }] }, { "platform": "CallMonitor", "devices": [{ "name": "Fritz!Box 6490", "address": "192.168.178.1", "port": "1012", "outgoingName": "Ausgehender Anruf", "incomingName": "Eingehender Anruf" }] }, { "platform": "Telegram", "bots": [{ "name": "Telegram Bot", "token": "xx", "chat": "xxx", "error": "Something broken. I'm shutting down.", "notifications": { "Haustür": { "mode": "Markdown", "randomize": true, "messages": [ "*Haustür könnte noch offen sein!*", "_Haustür ist noch offen!_", "Haustür hat nicht Abgeschlossen!" ], "Alarm": { "mode": "Markdown", "randomize": true, "messages": [ "_Bewegung erkannt_", "_Alarm_" ] } } } }] } ] }Nach dem Haustür-Block fehlt einiges:
Code
Alles anzeigen{ "platform": "Telegram", "bots": [{ "name": "Telegram Bot", "token": "xx", "chat": "xxx", "error": "Something broken. I'm shutting down.", "notifications": { "Haustür": { "mode": "Markdown", "randomize": true, "messages": [ "*Haustür könnte noch offen sein!*", "_Haustür ist noch offen!_", "Haustür hat nicht Abgeschlossen!" ] }, "Alarm": { "mode": "Markdown", "randomize": true, "messages": [ "_Bewegung erkannt_", "_Alarm_" ] } } }] }