fix: home-assistant openclaw hook
This commit is contained in:
parent
a3cde017d7
commit
7763b90d3f
3 changed files with 57 additions and 55 deletions
|
|
@ -5,10 +5,11 @@
|
|||
url = "https://moltbot.cloonar.com/hooks/agent";
|
||||
method = "POST";
|
||||
headers = {
|
||||
Authorization = "!secret moltbot_home_arrival";
|
||||
Authorization = "!secret openclaw_hook_token"; # reuse same token
|
||||
Content-Type = "application/json";
|
||||
};
|
||||
payload = ''{"message":"Home arrival. Read memory/arrival-reminders.json silently. For each item: if it's a task (fetch weather, check calendar, look something up, etc.), execute it. If it's a simple reminder, include it. Combine everything into ONE message with just the results - no preamble, no explanations, no mentioning files or process. Then clear the file. If empty: reply NO_REPLY","name":"HomeArrival","deliver":true,"channel":"whatsapp","to":"+436607055308"}'';
|
||||
payload = ''{"message":"Morning briefing triggered by wake-up. Check:\n1) Today's weather for Vienna\n2) Calendar events today (check CalDAV - see TOOLS.md for credentials)\n3) Due tasks (run: bin/tasks list --due)\n4) Virtual portfolio status (run: bin/stonks portfolio)\n5) Any notable overnight news\n\nCompile into one concise WhatsApp message. Keep it scannable — emoji headers, short lines. Don't be verbose.\n\nCRITICAL: Send via message tool:\nmessage(action=\"send\", channel=\"whatsapp\", target=\"+436607055308\", message=\"<briefing>\")","name":"MorningBriefing","deliver":true,"channel":"whatsapp","to":"+436607055308"}'';
|
||||
verify_ssl = false;
|
||||
};
|
||||
};
|
||||
"automation home_arrival" = {
|
||||
|
|
|
|||
|
|
@ -14,10 +14,11 @@
|
|||
url = "https://moltbot.cloonar.com/hooks/agent";
|
||||
method = "POST";
|
||||
headers = {
|
||||
Authorization = "!secret moltbot_home_arrival"; # reuse same token
|
||||
Authorization = "!secret openclaw_hook_token"; # reuse same token
|
||||
Content-Type = "application/json";
|
||||
};
|
||||
payload = ''{"message":"Morning briefing. Give a brief, friendly summary: 1) Today's weather for Vienna 2) Calendar events for today (check CalDAV) 3) Any pending reminders. Keep it concise, no fluff. Just the info.","name":"MorningBriefing","deliver":true,"channel":"whatsapp","to":"+436607055308"}'';
|
||||
verify_ssl = false;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue