-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
installed on HA 2022.11.4 but not working #1
Comments
Might be a configuration issue. Can you post the content of your home assistant's config (with api keys and private info redacted)? Also, try using curl to manually verify your phone can actually send message using the api like this (do not use "+" in the phone number, just country code, e.g. "316xxxxxxxx"):
|
I also noticed occasional delivery issue, and upon further inspection, the API seems to hosted behind cloudflare. I had issues with APIs hosted behind cloudflare in the past, and impersonating popular browsers usually helps. I have pushed an update to make requests to the API uses chrome user agent. If this doesn't help, then your issue might be something else (e.g. bad config, etc). |
please see my config snippet below.
I do not see any error messages in my HA log. The documentation is not very straight forward at the moment. |
replace country_code with your own country calling code: https://en.wikipedia.org/wiki/List_of_country_calling_codes#Ordered_by_code then make sure the number has no special characters. The "+" at the front will be automatically stripped by this integration. There is no log because this integration is not logging anything yet. I'll see if I can add some. |
The integration will now log API errors. However, if the issue is due to bad phone number formatting / wrong country code, WhatsPie doesn't seem to throw any error and will silently fails instead. You might want to use curl to confirm you can send messages to your destination via this api.
|
I've updated to the latest version, and I've changed the config.yaml file to:
The from_number is my own mobile number, right? without the country code or any additional characters in front, right? For example: |
same issues here, also from the Netherlands.. sample config:
my sample call:
|
HTTP 403 means your api key might be incorrect. If the issue persist, you might want to double check your api config, verify it using curl (or other api tester app like postman), and if the issue still persist, talk to whatspie support. HTTP 400 "Invalid Device Number" means your device probably isn't paired to whatspie yet. Check their documentation on how to pair them. |
Doesn't work for me either. (fresh install) |
You might want to contact their customer service. I'm not affiliated with them, so I can only take a guess, but there is a chance that they might not support your country yet. |
This could indeed be the case as I'm from The Netherlands and I see @GitHubxtsnl username ends with nl and he uses country code 31 so he's also from The Netherlands. |
I'm indeed also from the Netherlands :-). I asked whatspie.com support if +31 is supported, let's see what they say. |
Hi There. I just wanted to confirm that I have got this working for me, once I went to the WhatsPie website, added my device (number), verified a second time and then paired the device (phone) to the WhatsPie webapp. For anyone having issues I'd suggest making sure you are fully set-up and paired on the WhatsPie website, just in case the issue is there. |
Just a reminder to not link your primary whatsapp number to Whatspie. Like other unofficial whatsapp api services, there is a risk of your number getting banned by whatsapp if whatsapp think your number is being used for automated spam. Get a secondary disposable prepaid number and use that instead of your own primary phone number. |
Hi, I've installed your integration but when I test it using the Developer tools Service Notify nothing happens.
I've registered for an account on the website. I got the API token code. I configured the .yaml file as instructed.
I also received 2 whatsapp messages on my mobile number; one with the security code and one with the verified registration number.
I do not see anything in the logging of HomeAssistant. How to troubleshoot?
The text was updated successfully, but these errors were encountered: