diff --git a/atom.xml b/atom.xml index ac61730e67..51d53c9105 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@
The Join platform exposes services from Join. In Home Assistant, the Join features are divided up in two locations, the Join component, and the Join notify platform. The notify platform allows us to send messages to Join devices, the component allows us to access the other special features that Join offers.
+The joaoapps_join
component exposes services from Join. In Home Assistant, the Join features are divided up in two locations, the Join component, and the Join notify platform. The notify platform allows us to send messages to Join devices, the component allows us to access the other special features that Join offers.
In the configuration.yaml
file you need to provide the api key and device id or name of the target device. You can find your device id and api key here.
To set it up, add the following information to your configuration.yaml
file:
notify:
+# Example configuration.yaml entry
+notify:
- platform: joaoapps_join
api_key: asd97823jb628a34fwsdfwefd5384345tf2d
- device_id: d5asdfasdf54645h45h368761dfe5gt8a *optional
- device_ids: d5asdfasdf54645h45h368761dfe5gt8a, a4asdfasdf54645h45h368761dfe5gt3b *optional
- device_names: Pixel, iPhone *optional
- name: Phones *optional
-
-
+ device_id: d5asdfasdf54645h45h368761dfe5gt8a
+ device_ids: d5asdfasdf54645h45h368761dfe5gt8a, a4asdfasdf54645h45h368761dfe5gt3b
+ device_names: Pixel, iPhone
+ name: Phones
joaoapps_join:
- name: android
device_id: group.android
@@ -99,11 +98,11 @@
device_ids (Optional): Comma separated list of device ids.
device_names (Optional): Comma separated list of device names.
-The notify service has two optional parameters: icon
and vibration
. You can use them like so:
+The notify service has two optional parameters: icon
and vibration
. You can use them like so:
{"message":"Hello from Home Assistant!","title":"Home Assistant","data":{"icon":"https://goo.gl/xeetdy", "vibration":"0,65,706,86,657,95,668,100"}}
-The services exposed in the joaoapps_join component can be used with the service data described below:
+The services exposed in the joaoapps_join
component can be used with the service data described below:
@@ -118,23 +117,23 @@
joaoapps_join/send_sms
- {“number”:”5553334444”, “message”:”Hello!”}
+ {"number":"5553334444", "message":"Hello!"}
joaoapps_join/send_tasker
- {“command”:”test”}
+ {"command":"test"}
joaoapps_join/send_url
- {“url”:”http://google.com”}
+ {"url":"http://google.com"}
joaoapps_join/send_wallpaper
- {“url”:”http://www.planwallpaper.com/static/images/ZhGEqAP.jpg”}
+ {"url":"http://www.planwallpaper.com/static/images/ZhGEqAP.jpg"}
joaoapps_join/send_file
- {“url”:”http://download.thinkbroadband.com/5MB.zip”}
+ {"url":"http://download.thinkbroadband.com/5MB.zip"}
diff --git a/docs/ecosystem/appdaemon/index.html b/docs/ecosystem/appdaemon/index.html
index f9d23983e0..78e5528c80 100644
--- a/docs/ecosystem/appdaemon/index.html
+++ b/docs/ecosystem/appdaemon/index.html
@@ -111,7 +111,7 @@
This is also fairly easy to achieve with Home Assistant automations, but we are just getting started.
Motion Light
Our next example is to turn on a light when motion is detected and it is dark, and turn it off after a period of time. This time, the initialize()
function registers a callback on a state change (of the motion sensor) rather than a specific time. We tell AppDaemon that we are only interested in state changes where the motion detector comes on by adding an additional parameter to the callback registration - new = "on"
. When the motion is detected, the callback function motion()
is called, and we check whether or not the sun has set using a built-in convenience function: sun_down()
. Next, we turn the light on with turn_on()
, then set a timer using run_in()
to turn the light off after 60 seconds, which is another call to the scheduler to execute in a set time from now, which results in AppDaemon
calling light_off()
60 seconds later using the turn_off()
call to actually turn the light off. This is still pretty simple in code terms:
-import homeassistant.appapi as appapi
+import appdaemon.appapi as appapi
class FlashyMotionLights(appapi.AppDaemon):
@@ -129,7 +129,7 @@
This is starting to get a little more complex in Home Assistant automations, requiring an automation rule and two separate scripts.
Now let’s extend this with a somewhat artificial example to show something that is simple in AppDaemon but very difficult if not impossible using automations. Let’s warn someone inside the house that there has been motion outside by flashing a lamp on and off ten times. We are reacting to the motion as before by turning on the light and setting a timer to turn it off again, but in addition, we set a 1-second timer to run flash_warning()
, which, when called, toggles the inside light and sets another timer to call itself a second later. To avoid re-triggering forever, it keeps a count of how many times it has been activated and bales out after ten iterations.
-import homeassistant.appapi as appapi
+import appdaemon.appapi as appapi
class MotionLights(appapi.AppDaemon):
diff --git a/sitemap.xml b/sitemap.xml
index 360f99993f..30f00371dc 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -3746,7 +3746,7 @@
https://home-assistant.io/components/switch.hook/
-2017-12-06T06:57:53+00:00
+2017-12-06T07:42:49+00:00
https://home-assistant.io/cookbook/automation_for_rainy_days/
@@ -4418,99 +4418,99 @@
https://home-assistant.io/docs/autostart/init.d/
-2017-12-06T06:57:53+00:00
+2017-12-06T07:42:49+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/
-2017-12-06T06:57:53+00:00
+2017-12-06T07:42:49+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/api/
-2017-12-06T06:57:53+00:00
+2017-12-06T07:42:49+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/configuration/
-2017-12-06T06:57:53+00:00
+2017-12-06T07:42:49+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/example_apps/
-2017-12-06T06:57:53+00:00
+2017-12-06T07:42:49+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/installation/
-2017-12-06T06:57:53+00:00
+2017-12-06T07:42:49+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/operation/
-2017-12-06T06:57:53+00:00
+2017-12-06T07:42:49+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/reboot/
-2017-12-06T06:57:53+00:00
+2017-12-06T07:42:49+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/running/
-2017-12-06T06:57:53+00:00
+2017-12-06T07:42:49+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/tutorial/
-2017-12-06T06:57:53+00:00
+2017-12-06T07:42:49+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/updating/
-2017-12-06T06:57:53+00:00
+2017-12-06T07:42:49+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/windows/
-2017-12-06T06:57:53+00:00
+2017-12-06T07:42:49+00:00
https://home-assistant.io/docs/ecosystem/certificates/
-2017-12-06T06:57:53+00:00
+2017-12-06T07:42:49+00:00
https://home-assistant.io/docs/ecosystem/hadashboard/
-2017-12-06T06:57:53+00:00
+2017-12-06T07:42:49+00:00
https://home-assistant.io/docs/ecosystem/hass-configurator/
-2017-12-06T06:57:53+00:00
+2017-12-06T07:42:49+00:00
https://home-assistant.io/docs/ecosystem/ios/
-2017-12-06T06:57:53+00:00
+2017-12-06T07:42:49+00:00
https://home-assistant.io/docs/ecosystem/nginx/
-2017-12-06T06:57:53+00:00
+2017-12-06T07:42:49+00:00
https://home-assistant.io/docs/ecosystem/notebooks/
-2017-12-06T06:57:53+00:00
+2017-12-06T07:42:49+00:00
https://home-assistant.io/docs/ecosystem/scenegen/
-2017-12-06T06:57:53+00:00
+2017-12-06T07:42:49+00:00
https://home-assistant.io/docs/ecosystem/synology/
-2017-12-06T06:57:53+00:00
+2017-12-06T07:42:49+00:00
https://home-assistant.io/docs/tools/
-2017-12-06T06:57:53+00:00
+2017-12-06T07:42:49+00:00
https://home-assistant.io/docs/tools/dev-tools/
-2017-12-06T06:57:53+00:00
+2017-12-06T07:42:49+00:00
https://home-assistant.io/docs/tools/hass/
-2017-12-06T06:57:53+00:00
+2017-12-06T07:42:49+00:00
https://home-assistant.io/docs/tools/scripts/
-2017-12-06T06:57:53+00:00
+2017-12-06T07:42:49+00:00
https://home-assistant.io/faq/after-upgrading/
@@ -5634,62 +5634,62 @@
https://home-assistant.io/demo/frontend.html
-2017-12-06T06:57:11+00:00
+2017-12-06T07:41:41+00:00
https://home-assistant.io/demo/index.html
-2017-12-06T06:57:11+00:00
+2017-12-06T07:41:41+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-event.html
-2017-12-06T06:57:11+00:00
+2017-12-06T07:41:41+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-info.html
-2017-12-06T06:57:11+00:00
+2017-12-06T07:41:41+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-service.html
-2017-12-06T06:57:11+00:00
+2017-12-06T07:41:41+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-state.html
-2017-12-06T06:57:11+00:00
+2017-12-06T07:41:41+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-template.html
-2017-12-06T06:57:11+00:00
+2017-12-06T07:41:41+00:00
https://home-assistant.io/demo/panels/ha-panel-history.html
-2017-12-06T06:57:11+00:00
+2017-12-06T07:41:41+00:00
https://home-assistant.io/demo/panels/ha-panel-iframe.html
-2017-12-06T06:57:11+00:00
+2017-12-06T07:41:41+00:00
https://home-assistant.io/demo/panels/ha-panel-logbook.html
-2017-12-06T06:57:11+00:00
+2017-12-06T07:41:41+00:00
https://home-assistant.io/demo/panels/ha-panel-map.html
-2017-12-06T06:57:11+00:00
+2017-12-06T07:41:41+00:00
https://home-assistant.io/googlef4f3693c209fe788.html
-2017-12-06T06:57:11+00:00
+2017-12-06T07:41:41+00:00
https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html
-2017-12-06T06:57:11+00:00
+2017-12-06T07:41:42+00:00
https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html
-2017-12-06T06:57:11+00:00
+2017-12-06T07:41:42+00:00
https://home-assistant.io/static/mdi-demo.html
-2017-12-06T06:57:11+00:00
+2017-12-06T07:41:42+00:00