@mcfrojd @broesie Sorry to Hijack this thread.
I would like to help anyone one out who is still trying to figure how to use join for notifications (not just for tasker commands) and hopefully someone can help me with sms.
It took me almost 2 days to get this going but I am still having trouble with sms. The joaoapps_join component page is a great place to start but was not formatted all that well for a beginner like me to get things up and running as easily as possible.
Below is my config for anyone that would like to use it,
Add these 2 to your configuration.yaml file
notify:
- platform: joaoapps_join
device_id: d5asdfasdf54645h45h368761dfe5gt8a *your unique device id from join
name: droid 'the name for your notify service' *optional
api_key: asd97823jb628a34fwsdfwefd5384345tf2d *optional
#the following component will create a service that you can call in your automations
joaoapps_join:
- name: android *can be anything you want
device_id: group.android *this can be used to send to predefined group in join or to a specific device using the device id
api_key: asd97823jb628a34fwsdfwefd5384345tf2d
Now that you have added the top components to your configuration.yaml file you can get started with automation.
below is an example automation for my doorbell
automation:
alias: DB test
trigger:
platform: mqtt
topic: /db/button/state
payload: 0
action:
service: joaoapps_join.6p_send_url *the service is formatted 'domain.service'
data:
url: "http://google.com
The above automation sends a push notification to my device with the link, http://google.com
For a list of available services for the joaoapps_join domain, you can go to services under developer tools.
Now for my issue,
I have tested the above automation and get push notification every time.
However, when I try to do sms nothing happens. I have tested the service in the developer tools by attaching the following json data under the 6p_send_sms service and was able to receive a text message.
{
"number":"5553334444", *this is a fake number
"message":"Hello!"
}
Now when I try it in my configuration.yaml file, nothing happens,
automation:
alias: DB test
trigger:
platform: mqtt
topic: /db/button/state
# Optional
payload: 0
action:
service: joaoapps_join.6p_send_sms
data:
number: "5551234567" *This is a fake number
message: "test"
Any ideas?