diff --git a/atom.xml b/atom.xml index e6aac43390..22f837c0d9 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2016-04-21T06:02:47+00:00 + 2016-04-21T14:56:35+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index be8d5187ce..6d5e647fde 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2016-04-21T06:02:47+00:00 + 2016-04-21T14:56:35+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index 29d0121706..f970265c89 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2016-04-21T06:02:47+00:00 + 2016-04-21T14:56:35+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index ee1461c5c1..8a648a2c50 100644 --- a/blog/categories/how-to/atom.xml +++ b/blog/categories/how-to/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: How-To | Home Assistant]]> - 2016-04-21T06:02:47+00:00 + 2016-04-21T14:56:35+00:00 https://home-assistant.io/ diff --git a/blog/categories/internet-of-things/atom.xml b/blog/categories/internet-of-things/atom.xml index c21bf55332..695647e871 100644 --- a/blog/categories/internet-of-things/atom.xml +++ b/blog/categories/internet-of-things/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Internet-of-Things | Home Assistant]]> - 2016-04-21T06:02:47+00:00 + 2016-04-21T14:56:35+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index a31457fc31..2000522842 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2016-04-21T06:02:47+00:00 + 2016-04-21T14:56:35+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index d20c58da25..fd23a76b54 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2016-04-21T06:02:47+00:00 + 2016-04-21T14:56:35+00:00 https://home-assistant.io/ diff --git a/blog/categories/public-service-announcement/atom.xml b/blog/categories/public-service-announcement/atom.xml index a0f42a9ae4..906b156892 100644 --- a/blog/categories/public-service-announcement/atom.xml +++ b/blog/categories/public-service-announcement/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Public-Service-Announcement | Home Assistant]]> - 2016-04-21T06:02:47+00:00 + 2016-04-21T14:56:35+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index 19344f467e..1901192c04 100644 --- a/blog/categories/release-notes/atom.xml +++ b/blog/categories/release-notes/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Release-Notes | Home Assistant]]> - 2016-04-21T06:02:47+00:00 + 2016-04-21T14:56:35+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index 579035096a..fd8b8fd0d5 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2016-04-21T06:02:47+00:00 + 2016-04-21T14:56:35+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index ea3a1c2284..6f0002ffed 100644 --- a/blog/categories/user-stories/atom.xml +++ b/blog/categories/user-stories/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: User-Stories | Home Assistant]]> - 2016-04-21T06:02:47+00:00 + 2016-04-21T14:56:35+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index 00407a5047..a3683de164 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2016-04-21T06:02:47+00:00 + 2016-04-21T14:56:35+00:00 https://home-assistant.io/ diff --git a/components/mysensors/index.html b/components/mysensors/index.html index 40cbff08d0..9be64fbb1b 100644 --- a/components/mysensors/index.html +++ b/components/mysensors/index.html @@ -93,7 +93,7 @@

Configuration

-

Integrate your Serial MySensors Gateway by adding the following to your configuration.yaml file:

+

Integrate your Serial or Ethernet MySensors Gateway by adding the following to your configuration.yaml file:

# Example configuration.yaml entry
@@ -119,16 +119,17 @@
 

Configuration variables:

    -
  • port (Required): The port where your board is connected to your Home Assistant host.
  • +
  • device (Required): The path to the serial gateway where it is connected to your Home Assistant host, or the address of the tcp ethernet gateway. Resolving DNS addresses is theoretically supported but not tested.
  • +
  • baud_rate (Optional): Specifies the baud rate of the connected serial gateway. Default is 115200.
  • +
  • tcp_port (Optional): Specifies the port of the connected tcp ethernet gateway. Default is 5003.
  • debug (Optional): Enable or disable verbose debug logging. Default is false.
  • persistence (Optional): Enable or disable local persistence of sensor information. If this is disabled, then each sensor will need to send presentation messages after Home Assistant starts. Default is true.
  • -
  • persistence_file (Optional): Path to a file to save sensor information. The file extension determines the file type. Currently supported file types are ‘pickle’ and ‘json’.
  • +
  • persistence_file (Optional): The path to a file to save sensor information. The file extension determines the file type. Currently supported file types are ‘pickle’ and ‘json’.
  • version (Optional): Specifies the MySensors protocol version to use. Supports 1.4 and 1.5. Default is 1.4.
  • -
  • baud_rate (Optional): Specifies baud rate of the connected gateway. Default is 115200.
  • optimistic (Optional): Enable or disable optimistic mode for actuators (switch/light). Default is false. Set this to true if no state feedback from actuators is possible. Home Assistant will assume that the command succeeded and change state.
-

If you are using an original Arduino the port will be named ttyACM*. The exact number can be determined with the command shown below.

+

If you are using an original Arduino as a serial gateway, the port will be named ttyACM*. The exact number can be determined with the command shown below.

$ ls /dev/ttyACM*
@@ -141,13 +142,13 @@
 

Present a MySensors sensor or actuator, by following these steps:

    -
  1. Connect your gateway to your computer.
  2. +
  3. Connect the serial gateway to your computer or the ethernet gateway to your network.
  4. Configure the MySensors component in configuration.yaml.
  5. Start hass.
  6. -
  7. Wait for “gateway started” in the log output.
  8. +
  9. Wait for “Connected to [device]” in the log output.
  10. Write and upload your MySensors sketch to the sensor. Make sure you:
      -
    • Either use a manual node id, or AUTO for requesting a node id from the controller, in gw.begin().
    • +
    • Either use a manual node id, or AUTO for requesting a node id from the controller, in the begin method for initialization of the MySensors library.
    • Send sketch name.
    • Present the sensor’s S_TYPE.
    • Send at least one initial value per V_TYPE.
    • diff --git a/components/switch.mysensors/index.html b/components/switch.mysensors/index.html index 05e97fb5e3..ecfd0c2e96 100644 --- a/components/switch.mysensors/index.html +++ b/components/switch.mysensors/index.html @@ -210,6 +210,7 @@ MyMessage msgRelay(CHILD_ID, V_STATUS); if (message.type == V_STATUS) { // Change relay state. digitalWrite(RELAY_PIN, message.getBool() ? 1 : 0); + gw.send(msgRelay.set(message.getBool() ? 1 : 0)); } }
diff --git a/sitemap.xml b/sitemap.xml index 3dc7c8198b..04e3c3bfe7 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1210,15 +1210,9 @@ https://home-assistant.io/components/light.mysensors/ - - https://home-assistant.io/components/mysensors/ - https://home-assistant.io/components/sensor.mysensors/ - - https://home-assistant.io/components/switch.mysensors/ - https://home-assistant.io/components/feedreader/ @@ -1231,6 +1225,12 @@ https://home-assistant.io/components/notify.webostv/ + + https://home-assistant.io/components/mysensors/ + + + https://home-assistant.io/components/switch.mysensors/ + https://home-assistant.io/cookbook/automation_for_rainy_days/ @@ -1488,18 +1488,18 @@ https://home-assistant.io/demo/frontend.html - 2016-04-21T06:01:59+00:00 + 2016-04-21T14:55:50+00:00 https://home-assistant.io/demo/index.html - 2016-04-21T06:01:59+00:00 + 2016-04-21T14:55:50+00:00 https://home-assistant.io/googlef4f3693c209fe788.html - 2016-04-21T06:01:59+00:00 + 2016-04-21T14:55:50+00:00 https://home-assistant.io/static/mdi-demo.html - 2016-04-21T06:01:59+00:00 + 2016-04-21T14:55:50+00:00