esphome / feature-requests

ESPHome Feature Request Tracker
https://esphome.io/
413 stars 26 forks source link

Add WhatsApp notifications #2767

Open mgrouch opened 3 months ago

mgrouch commented 3 months ago

Allow sensor to send WhatsApp notifications.

Describe the problem you have/What new integration you would like

Please describe your use case for this integration and alternatives you've tried:

example of code sending WhatsApp messages from esp32

https://github.com/bareboat-necessities/bbn-m5atomS3-lite/tree/main/bbn_m5atomS3_lite_whatsapp

Additional context

nielsnl68 commented 3 months ago

Is this not something that you want to have in HA?

mgrouch commented 3 months ago

I really like that I can use EspHome sensors without home assistant

RFDarter commented 2 months ago

It looks like it is a simple http request. So it seems this is allready possible without too much work.

WebSpider commented 1 month ago

Looking at https://github.com/bareboat-necessities/bbn-m5atomS3-lite/blob/58661d2885d39773ebd345e921bf973877ae3451/bbn_m5atomS3_lite_whatsapp/bbn_m5atomS3_lite_whatsapp.ino#L89 it is indeed a simple HTTP request.

This request can probably be done with the http integration here: https://esphome.io/components/http_request