diff --git a/atom.xml b/atom.xml index 5957e4712a..5f32dc814c 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@
In this section you find some real life examples of how to use this sensor.
+The example sensor below shows a configuration example which uses JSON in the state topic to add extra attributes. It also makes use of the availability topic. Attributes can then be extracted in Templates; Example to extract data from the sensor below ‘{{ states.sensor.bs_client_name.attributes.ClientName }}’.
+# Example configuration.yml entry
+sensor:
+ - platform: mqtt
+ state_topic: "HUISHS/BunnyShed/NodeHealthJSON"
+ name: "BS RSSI"
+ unit_of_measurement: "dBm"
+ value_template: '{{ value_json.RSSI }}'
+ availability_topic: "HUISHS/BunnyShed/status"
+ payload_available: "online"
+ payload_not_available: "offline"
+ json_attributes:
+ - ClientName
+ - IP
+ - MAC
+ - RSSI
+ - HostName
+ - ConnectedSSID
+
+If you are using the Owntracks and enable the reporting of the battery level then you can use a MQTT sensor to keep track of your battery. A regular MQTT message from Owntracks looks like this:
owntracks/tablet/tablet {"_type":"location","lon":7.21,"t":"u","batt":92,"tst":144995643,"tid":"ta","acc":27,"lat":46.12}
diff --git a/components/vacuum.xiaomi_miio/index.html b/components/vacuum.xiaomi_miio/index.html
index 6520b11f7e..fedf31bf09 100644
--- a/components/vacuum.xiaomi_miio/index.html
+++ b/components/vacuum.xiaomi_miio/index.html
@@ -74,8 +74,7 @@
- The xiaomi miio
vacuum platform allows you to control the state of your
-Xiaomi Mi Robot Vacuum.
+ The xiaomi miio
vacuum platform allows you to control the state of your Xiaomi Mi Robot Vacuum.
Currently supported features are:
turn_on
@@ -105,10 +104,7 @@
- name (Optional): The name of your robot.
Platform Services
-In addition to [all of the services provided by the vacuum
component]
-]) (turn_on
, turn_off
, start_pause
, stop
, return_to_home
, locate
,
-set_fan_speed
and send_command
), the xiaomi
platform introduces specific
-services to access the remote control mode of the robot. These are:
+In addition to all of the services provided by the vacuum
component (turn_on
, turn_off
, start_pause
, stop
, return_to_home
, locate
, set_fan_speed
and send_command
), the xiaomi
platform introduces specific services to access the remote control mode of the robot. These are:
xiaomi_remote_control_start
xiaomi_remote_control_stop
@@ -116,8 +112,7 @@ services to access the remote control mode of the robot. These are:
xiaomi_remote_control_move_step
Service vacuum/xiaomi_remote_control_start
-Start the remote control mode of the robot. You can then move it with
-remote_control_move
; when done, call remote_control_stop
.
+Start the remote control mode of the robot. You can then move it with remote_control_move
; when done, call remote_control_stop
.
@@ -153,8 +148,7 @@ services to access the remote control mode of the robot. These are:
Service vacuum/xiaomi_remote_control_move
-Remote control the robot. Please ensure you first set it in remote control
-mode with remote_control_start
.
+Remote control the robot. Please ensure you first set it in remote control mode with remote_control_start
.
@@ -220,9 +214,8 @@ mode with remote_control_start
.
Attributes
-In addition to all of the attributes provided by the vacuum
component,
-(battery_icon
, cleaned_area
, fan_speed
, fan_speed_list
, status
, and
-params
), the xiaomi
platform introduces specific attributes. These are:
+In addition to all of the attributes provided by the vacuum
component,
+(battery_icon
, cleaned_area
, fan_speed
, fan_speed_list
, status
, and params
), the xiaomi
platform introduces specific attributes. These are:
cleaning_time
do_not_disturb
@@ -372,7 +365,7 @@ Support: At least basic
- Get ADB f.e.
apt-get install android-tools-adb
adb devices
should list your device
adb root
(does work for development builds only: ones with ro.debuggable=1
)
- adb shell
+ adb shell
(for those using Magisk based root the previous command won’t work. After entering a shell, type su
to enter the root shell)
echo "select name,localIP,token from devicerecord;" | sqlite3 /data/data/com.xiaomi.smarthome/databases/miio2.db
returns a list of all registered devices including IP address and token.
iOS
diff --git a/sitemap.xml b/sitemap.xml
index e2a8ca554a..6e560d2acb 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -4090,7 +4090,7 @@
https://home-assistant.io/components/switch.hook/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/cookbook/automation_for_rainy_days/
@@ -4778,131 +4778,131 @@
https://home-assistant.io/docs/autostart/init.d/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/api/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/configuration/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/example_apps/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/installation/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/operation/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/reboot/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/running/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/tutorial/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/updating/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/windows/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/ecosystem/certificates/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/ecosystem/hadashboard/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/ecosystem/hass-configurator/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/ecosystem/ios/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/ecosystem/nginx/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/ecosystem/notebooks/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/ecosystem/scenegen/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/ecosystem/synology/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/tools/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/tools/benchmark/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/tools/check_config/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/tools/credstash/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/tools/db_migrator/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/tools/dev-tools/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/tools/ensure_config/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/tools/hass/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/tools/influxdb_import/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/tools/influxdb_migrator/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/tools/keyring/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/docs/tools/scripts/
-2018-03-06T21:38:40+00:00
+2018-03-06T22:25:59+00:00
https://home-assistant.io/faq/after-upgrading/
@@ -6098,62 +6098,62 @@
https://home-assistant.io/demo/frontend.html
-2018-03-06T21:37:28+00:00
+2018-03-06T22:25:18+00:00
https://home-assistant.io/demo/index.html
-2018-03-06T21:37:28+00:00
+2018-03-06T22:25:18+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-event.html
-2018-03-06T21:37:28+00:00
+2018-03-06T22:25:18+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-info.html
-2018-03-06T21:37:28+00:00
+2018-03-06T22:25:18+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-service.html
-2018-03-06T21:37:28+00:00
+2018-03-06T22:25:18+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-state.html
-2018-03-06T21:37:28+00:00
+2018-03-06T22:25:18+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-template.html
-2018-03-06T21:37:28+00:00
+2018-03-06T22:25:18+00:00
https://home-assistant.io/demo/panels/ha-panel-history.html
-2018-03-06T21:37:28+00:00
+2018-03-06T22:25:18+00:00
https://home-assistant.io/demo/panels/ha-panel-iframe.html
-2018-03-06T21:37:28+00:00
+2018-03-06T22:25:18+00:00
https://home-assistant.io/demo/panels/ha-panel-logbook.html
-2018-03-06T21:37:28+00:00
+2018-03-06T22:25:18+00:00
https://home-assistant.io/demo/panels/ha-panel-map.html
-2018-03-06T21:37:28+00:00
+2018-03-06T22:25:18+00:00
https://home-assistant.io/googlef4f3693c209fe788.html
-2018-03-06T21:37:28+00:00
+2018-03-06T22:25:18+00:00
https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html
-2018-03-06T21:37:28+00:00
+2018-03-06T22:25:18+00:00
https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html
-2018-03-06T21:37:28+00:00
+2018-03-06T22:25:18+00:00
https://home-assistant.io/static/mdi-demo.html
-2018-03-06T21:37:28+00:00
+2018-03-06T22:25:18+00:00