I thought it’s unfair to only have a pushbullet notifier, so I wrote a quick one for Join:
This is great!
Quite a few people have/are switching over from Pushbullet so this would be great for them. Might also convince some people to switch over.
Updated it for notifications and made the API saner
I’m having trouble getting thia component load properly. I’ve created the config, custom_components, and notify directory, and installed the Python-join-api, but HA still isn’t seeing the notify.join component. I’m not getting any errors beside the inability to load the component. Any ideas?
There is a PR for the join integration.
How do you specify multiple devices to send to?
The Components page mention the following…
If you want to send to a group of devices, you need to provide an api key.
notify:
- platform: joaoapps_join
device_id: <device id>
name: droid *optional
api_key: <api key> *optional
joaoapps_join:
- name: android
device_id: group.android
api_key: <api key>
What is the proper syntax for creating the group?
thanks
I think I figured this out… leaving the response here for others.
This isn’t an actual group in groups.yaml
Here’s my notify.yaml
- platform: joaoapps_join
device_id: group.all (I’m using group.all instead of group.android so it also goes to the Chrome extension)
api_key:
It’s this from the join api page
If you set the ‘apikey’ parameter with the value above you can also use one of the following values in the ‘deviceId’ parameter to send to device groups:
group.all
group.android
group.chrome
group.windows10
group.phone
group.tablet
group.pc
Group Example: https://joinjoaomgcd.appspot.com/_ah/api/messaging/v1/sendPush?apikey=<API_key>&title=hi&text=hello&deviceId=group.all
The latest version of Join allows messages to appear on Android TV so ALL screen will see nofitications.
The Kodi notificaiton worked well but only Kodi would get messages. Now you get message no matter what you are viewing.
For others that may be diving into using Join, here’s how I specify which to send to.
notify.yaml
- platform: joaoapps_join device_id: group.all name: all api_key: < api key >
- platform: joaoapps_join device_id: <device_id_for_my_phone> name: me
- platform: joaoapps_join device_id: <device_id_for_tv> name: tv
I call each section by adding the following to my automations and scripts
- service: notify.all data: message: > Message goes here
or
- service: notify.me data: message: > Message goes here
or
- service: notify.me data: message: > Message goes here - service: notify.tv data: message: > Message goes here
etc
How do i integrate the “icon” and “smallicon” in this?
It works fine when i try to send from within HA:
{"message":"Hello!","title":"From Hass","data":{"icon":"https://goo.gl/KVqcYi","smallicon":"http://goo.gl/AU4Wf1"}}
But if i try:
action:
service: notify.all
data:
title: "Home Assistant"
message: "Switch is on"
it works, but not:
action:
service: notify.all
data:
title: "Home Assistant"
message: "Kökslampan tändes"
icon: "http://goo.gl/AU4Wf1"
remove the quotes “” around the url you are pointing too
Found by trial that you need to enter as:
action:
service: notify.all
data:
title: "Home Assistant"
message: "Kökslampan tändes"
data: {"icon":"http://goo.gl/AU4Wf1"}
Has anyone got the joaoapps_join/speak to work in home assistant?
Hi, is it possible to send command to hassio with join ?
we could trigger an event, launch a script, an automation etc…
but i didn’t see hassio as a receiver, it don’t appear in the device list of join
It seem possible with nodered but it require either lan only or port forwarding on your router. The only other option I found it’s to let run chrome with the extension, which is not possible on hassio.
Does anyone figure out how to send command to hassio/nodered from outside and stay safe (without port forwarding) ?
Thanks