Open fotokloto opened 11 months ago
Same issue
Same problem on my site. I have also double checked that the number is correct. The strange thing is that with : 49xxxxxxxxxx@s.whatsapp.net](mailto:49xxxxxxxxxx@s.whatsapp.net I get the error message and with 49 0 xxxxxxxxxx@s.whatsapp.net](mailto:49xxxxxxxxxx@s.whatsapp.net (which is an invalid number because of the leading 0 after the country code) I don't get an error and the message is also visible in my whatsapp app. Of course, the message still can't be delivered because the number is not available. Any suggestions @giuseppecastaldo ?
Exact same issue here... 49 correct number => "Number is not on whatsapp" 49 0+correct number - I see as outgoing message in my real whatsapp
Any updates for this issue? Installed the addon an facing this issue... Tried to send a Message with both account types (WA and WA Business)
same problem here .....
try to send a message with that code ....
service: whatsapp.send_message
data:
clientId: default
to: 49152xxxxxxxx@s.whatsapp.net
body:
text: HomeAssistant neu gestartet!
I got the following error:
[2023-09-23T09:48:18.584] [ERROR] default - Send message failed. Number 49152xxxxxxxx@s.whatsapp.net is not on Whatsapp.
PS: if you need my number for testing/debugging pls send me an pn. PPS: my workaround is actually to create a group with the person and send the message to the group. This works! PPPS: the easiest way to get the group id is:
Does anybody of my german colleague solved this Problem? Maybe I'm wrong but I think this repo is not up to date and also won't be in future...
Hi guys, I just created a PR that fixes sending messages to users. BTW: This Repo is pretty cool. It uses Baileys project to do the WA stuff (version 6.3.0) what I like and it keeps this addon small and clean and a few folks forked and added some nice features. Even if it's not that active, I will stick with it, as it's easy to update, fix and improve. Great job @giuseppecastaldo 👍! Cheers - cosote.
Good job done, it's now working.
PS: if you need my number for testing/debugging pls send me an pn. PPS: my workaround is actually to create a group with the person and send the message to the group. This works! PPPS: the easiest way to get the group id is:
- Create a group
- add source and destination person to group
- under HA development --> listen to event "new_whatsapp_message"
- send a message to the group
- so you can see the message ..... and the group id :)
Yes - that needs a nice section in docs for time being. I do remember in forced repos I saw some group metadata code... would be nice if the addon could resolve the group (name or invite key) to group-id... it took me some time to read in multiple places to get that sorted out. Anyway, I think this issue can be closed @giuseppecastaldo?
Error message: [2023-07-11T14:31:48.975] [ERROR] default - Send message failed. Number 49xxxxxxxxxx@s.whatsapp.net is not on Whatsapp.
Remark: The given number is a existing Whatsapp account