minor updates.
This commit is contained in:
parent
db7eef5aa7
commit
b3d0fe4dbd
|
@ -27,34 +27,6 @@ homeassistant:
|
||||||
sun:
|
sun:
|
||||||
alexa:
|
alexa:
|
||||||
config:
|
config:
|
||||||
# cloud:
|
|
||||||
# alexa:
|
|
||||||
# filter:
|
|
||||||
# include_entities:
|
|
||||||
# - light.family_room
|
|
||||||
# - light.master_bedroom
|
|
||||||
# - light.gateway_light_34ce008ad65d
|
|
||||||
# - switch.basement_left
|
|
||||||
# - switch.basement_right
|
|
||||||
# - switch.frontyard_light
|
|
||||||
# - switch.garage_lights
|
|
||||||
# - switch.guest_bedroom
|
|
||||||
# - switch.prayer_room
|
|
||||||
# - switch.kids_bed_accent
|
|
||||||
# - switch.kids_bedroom
|
|
||||||
# - switch.kitchen
|
|
||||||
# - switch.office_room
|
|
||||||
# - switch.wemobackyardlightswitch
|
|
||||||
# - switch.wemoswitch1
|
|
||||||
# include_domains:
|
|
||||||
# - light
|
|
||||||
# - switch
|
|
||||||
|
|
||||||
# entity_config:
|
|
||||||
# light.gateway_light_34ce008ad65d:
|
|
||||||
# name: Gateway Light
|
|
||||||
# description: Xiaomi Gateway Light
|
|
||||||
|
|
||||||
discovery:
|
discovery:
|
||||||
ignore:
|
ignore:
|
||||||
- homekit
|
- homekit
|
||||||
|
@ -73,21 +45,26 @@ homekit:
|
||||||
- binary_sensor.single_car_garage_door_tilt_sensor_sensor
|
- binary_sensor.single_car_garage_door_tilt_sensor_sensor
|
||||||
- binary_sensor.two_car_garage_door_tilt_sensor_sensor
|
- binary_sensor.two_car_garage_door_tilt_sensor_sensor
|
||||||
|
|
||||||
sonos:
|
|
||||||
media_player:
|
|
||||||
hosts:
|
|
||||||
- 192.168.1.195
|
|
||||||
- 192.168.1.186
|
|
||||||
|
|
||||||
mobile_app:
|
mobile_app:
|
||||||
|
|
||||||
# map:
|
# map:
|
||||||
# updater:
|
# updater:
|
||||||
# logbook:
|
# logbook:
|
||||||
# history:
|
# history:
|
||||||
websocket_api:
|
|
||||||
python_script:
|
|
||||||
# recorder:
|
# recorder:
|
||||||
# db_url: !secret my_sql_url
|
# db_url: !secret my_sql_url
|
||||||
|
# influxdb:
|
||||||
|
# host: 192.168.1.125
|
||||||
|
# include:
|
||||||
|
# entities:
|
||||||
|
# - sensor.dining_room_thermostat_temperature
|
||||||
|
# - sensor.downstairs_multi_sensor_temperature
|
||||||
|
# - sensor.front_room_multi_sensor_temperature
|
||||||
|
# - sensor.guest_bedroom_multi_sensor_temperature
|
||||||
|
# - sensor.tv_multi_sensor_temperature
|
||||||
|
|
||||||
|
websocket_api:
|
||||||
|
python_script:
|
||||||
logger: !include logging.yaml
|
logger: !include logging.yaml
|
||||||
|
|
||||||
zeroconf:
|
zeroconf:
|
||||||
|
@ -109,6 +86,12 @@ mqtt:
|
||||||
keepalive: 60
|
keepalive: 60
|
||||||
client_id: pi_ha
|
client_id: pi_ha
|
||||||
|
|
||||||
|
sonos:
|
||||||
|
media_player:
|
||||||
|
hosts:
|
||||||
|
- !secret sonos_living_room_ip
|
||||||
|
- !secret sonos_front_room_ip
|
||||||
|
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
- platform: workday
|
- platform: workday
|
||||||
country: US
|
country: US
|
||||||
|
@ -195,12 +178,3 @@ telegram_bot:
|
||||||
api_key: !secret telegram_apikey
|
api_key: !secret telegram_apikey
|
||||||
allowed_chat_ids:
|
allowed_chat_ids:
|
||||||
- !secret telegram_chatid
|
- !secret telegram_chatid
|
||||||
# influxdb:
|
|
||||||
# host: 192.168.1.125
|
|
||||||
# include:
|
|
||||||
# entities:
|
|
||||||
# - sensor.dining_room_thermostat_temperature
|
|
||||||
# - sensor.downstairs_multi_sensor_temperature
|
|
||||||
# - sensor.front_room_multi_sensor_temperature
|
|
||||||
# - sensor.guest_bedroom_multi_sensor_temperature
|
|
||||||
# - sensor.tv_multi_sensor_temperature
|
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
automation:
|
automation:
|
||||||
initial_state: 'on'
|
initial_state: "on"
|
||||||
hide_entity: true
|
|
||||||
|
|
|
@ -53,7 +53,7 @@ cards:
|
||||||
- automation.alert_when_someone_enters_a_zone
|
- automation.alert_when_someone_enters_a_zone
|
||||||
- automation.alert_when_someone_leaves_a_zone
|
- automation.alert_when_someone_leaves_a_zone
|
||||||
- automation.send_a_message_as_i_get_closer_to_home
|
- automation.send_a_message_as_i_get_closer_to_home
|
||||||
- automation.update_phone_battery_levels
|
- automation.update_phone_battery_levels_from_life360
|
||||||
- automation.welcome_family
|
- automation.welcome_family
|
||||||
|
|
||||||
- type: entities
|
- type: entities
|
||||||
|
|
|
@ -298,7 +298,6 @@ automation:
|
||||||
#
|
#
|
||||||
- alias: Scan Frontdoor Camera On Motion
|
- alias: Scan Frontdoor Camera On Motion
|
||||||
initial_state: true
|
initial_state: true
|
||||||
hide_entity: false
|
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id:
|
entity_id:
|
||||||
|
@ -378,7 +377,6 @@ automation:
|
||||||
#
|
#
|
||||||
- alias: Scan Driveway Camera When Motion
|
- alias: Scan Driveway Camera When Motion
|
||||||
initial_state: true
|
initial_state: true
|
||||||
hide_entity: false
|
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id:
|
entity_id:
|
||||||
|
@ -458,7 +456,6 @@ automation:
|
||||||
#
|
#
|
||||||
- alias: Scan Garage Camera When Motion
|
- alias: Scan Garage Camera When Motion
|
||||||
initial_state: true
|
initial_state: true
|
||||||
hide_entity: false
|
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id:
|
entity_id:
|
||||||
|
@ -533,7 +530,6 @@ automation:
|
||||||
#
|
#
|
||||||
- alias: Scan Backyard Camera When Motion
|
- alias: Scan Backyard Camera When Motion
|
||||||
initial_state: true
|
initial_state: true
|
||||||
hide_entity: false
|
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id:
|
entity_id:
|
||||||
|
|
|
@ -132,9 +132,6 @@ automation:
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Notifies when either of the garage door is opened or closed
|
# Notifies when either of the garage door is opened or closed
|
||||||
# When the garage is opened, it sends an actionable ios notification with an
|
|
||||||
# option to close the garage door. This iso actionable notification only occurs
|
|
||||||
# when garage door is open and not when it is closed.
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
- alias: Notify Garage Door Status
|
- alias: Notify Garage Door Status
|
||||||
initial_state: true
|
initial_state: true
|
||||||
|
|
|
@ -69,7 +69,6 @@
|
||||||
# ###############################################################################
|
# ###############################################################################
|
||||||
# - alias: Log Level
|
# - alias: Log Level
|
||||||
# initial_state: true
|
# initial_state: true
|
||||||
# hide_entity: true
|
|
||||||
# trigger:
|
# trigger:
|
||||||
# - platform: state
|
# - platform: state
|
||||||
# entity_id: input_select.log_level
|
# entity_id: input_select.log_level
|
||||||
|
@ -88,7 +87,6 @@
|
||||||
# ###############################################################################
|
# ###############################################################################
|
||||||
# - alias: Restore Log Level on Startup
|
# - alias: Restore Log Level on Startup
|
||||||
# initial_state: true
|
# initial_state: true
|
||||||
# hide_entity: true
|
|
||||||
# trigger:
|
# trigger:
|
||||||
# platform: homeassistant
|
# platform: homeassistant
|
||||||
# event: start
|
# event: start
|
||||||
|
|
|
@ -124,6 +124,8 @@ script:
|
||||||
value_template: "{{ states('input_boolean.do_not_disturb') | lower == 'off' }}"
|
value_template: "{{ states('input_boolean.do_not_disturb') | lower == 'off' }}"
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ message | trim != '' }}"
|
value_template: "{{ message | trim != '' }}"
|
||||||
|
- condition: template
|
||||||
|
value_template: "{{ states('input_boolean.home_mode_away') == 'off' }}"
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: >
|
value_template: >
|
||||||
{% if only_at_night | default('no', true ) == "yes" %}
|
{% if only_at_night | default('no', true ) == "yes" %}
|
||||||
|
@ -135,8 +137,13 @@ script:
|
||||||
{% else %}
|
{% else %}
|
||||||
true
|
true
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
# - service: sonos.snapshot
|
||||||
|
# data_template:
|
||||||
|
# entity_id: media_player.living_room, media_player.upstairs
|
||||||
|
# - service: sonos.unjoin
|
||||||
|
# data_template:
|
||||||
|
# entity_id: media_player.living_room, media_player.upstairs
|
||||||
- service: media_player.volume_set
|
- service: media_player.volume_set
|
||||||
# entity_id: media_player.gstreamer
|
|
||||||
entity_id: media_player.living_room, media_player.upstairs
|
entity_id: media_player.living_room, media_player.upstairs
|
||||||
data_template:
|
data_template:
|
||||||
volume_level: >
|
volume_level: >
|
||||||
|
@ -152,7 +159,6 @@ script:
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
- service: tts.amazon_polly_say
|
- service: tts.amazon_polly_say
|
||||||
#entity_id: media_player.gstreamer
|
|
||||||
entity_id: media_player.living_room, media_player.upstairs
|
entity_id: media_player.living_room, media_player.upstairs
|
||||||
data_template:
|
data_template:
|
||||||
cache: true
|
cache: true
|
||||||
|
@ -181,6 +187,12 @@ script:
|
||||||
{% set msg = msg + " " + getEndGreeting() %}
|
{% set msg = msg + " " + getEndGreeting() %}
|
||||||
{% set msg = msg + " </speak>" %}
|
{% set msg = msg + " </speak>" %}
|
||||||
{{ msg }}
|
{{ msg }}
|
||||||
|
# - delay: "{{ delay|default('00:00:00') }}"
|
||||||
|
# - wait_template: "{{ is_state('media_player.living_room', 'playing') }}"
|
||||||
|
# timeout: "00:00:05"
|
||||||
|
# - service: sonos.restore
|
||||||
|
# data_template:
|
||||||
|
# entity_id: media_player.living_room, media_player.upstairs
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Greeting
|
# Greeting
|
||||||
|
@ -188,7 +200,6 @@ script:
|
||||||
voice_greeting:
|
voice_greeting:
|
||||||
sequence:
|
sequence:
|
||||||
- service: tts.amazon_polly_say
|
- service: tts.amazon_polly_say
|
||||||
#entity_id: media_player.gstreamer
|
|
||||||
entity_id: media_player.living_room, media_player.upstairs
|
entity_id: media_player.living_room, media_player.upstairs
|
||||||
data_template:
|
data_template:
|
||||||
cache: true
|
cache: true
|
||||||
|
|
|
@ -74,7 +74,6 @@
|
||||||
# - loggedin_user_count
|
# - loggedin_user_count
|
||||||
# - loggedin_users
|
# - loggedin_users
|
||||||
|
|
||||||
|
|
||||||
# #
|
# #
|
||||||
# # All the URLs below use the following format
|
# # All the URLs below use the following format
|
||||||
# # For ex: paloalto_clear_traffic_logs: "curl -k 'https://192.xxx.xxx.xxx/api/?type=op&cmd=<clear><log><traffic></traffic></log></clear>&key=YOUR_API_KEY'"
|
# # For ex: paloalto_clear_traffic_logs: "curl -k 'https://192.xxx.xxx.xxx/api/?type=op&cmd=<clear><log><traffic></traffic></log></clear>&key=YOUR_API_KEY'"
|
||||||
|
@ -125,7 +124,6 @@
|
||||||
# #
|
# #
|
||||||
# - alias: Alert When Someone Logged into VPN
|
# - alias: Alert When Someone Logged into VPN
|
||||||
# initial_state: true
|
# initial_state: true
|
||||||
# hide_entity: true
|
|
||||||
# trigger:
|
# trigger:
|
||||||
# - platform: state
|
# - platform: state
|
||||||
# entity_id: sensor.paloalto_global_protect_users
|
# entity_id: sensor.paloalto_global_protect_users
|
||||||
|
@ -169,7 +167,6 @@
|
||||||
# #
|
# #
|
||||||
# - alias: Alert When Someone Logged into Firewall
|
# - alias: Alert When Someone Logged into Firewall
|
||||||
# initial_state: true
|
# initial_state: true
|
||||||
# hide_entity: true
|
|
||||||
# trigger:
|
# trigger:
|
||||||
# - platform: state
|
# - platform: state
|
||||||
# entity_id: sensor.paloalto_loggedin_users
|
# entity_id: sensor.paloalto_loggedin_users
|
||||||
|
@ -213,7 +210,6 @@
|
||||||
# #
|
# #
|
||||||
# - alias: Clear Traffic Logs
|
# - alias: Clear Traffic Logs
|
||||||
# initial_state: True
|
# initial_state: True
|
||||||
# hide_entity: True
|
|
||||||
# trigger:
|
# trigger:
|
||||||
# - platform: time_pattern
|
# - platform: time_pattern
|
||||||
# hours: '/1'
|
# hours: '/1'
|
||||||
|
|
|
@ -100,7 +100,6 @@
|
||||||
# # When the switch state changes (programatically or by UI), save the state to MQTT
|
# # When the switch state changes (programatically or by UI), save the state to MQTT
|
||||||
# - alias: Save RF Switch State
|
# - alias: Save RF Switch State
|
||||||
# initial_state: true
|
# initial_state: true
|
||||||
# hide_entity: true
|
|
||||||
# trigger:
|
# trigger:
|
||||||
# platform: state
|
# platform: state
|
||||||
# entity_id:
|
# entity_id:
|
||||||
|
@ -120,7 +119,6 @@
|
||||||
# # When the switch state is updated in MQTT (for remove integration), reload the Switch to that state
|
# # When the switch state is updated in MQTT (for remove integration), reload the Switch to that state
|
||||||
# - alias: Sync MQTT and Switch States
|
# - alias: Sync MQTT and Switch States
|
||||||
# initial_state: true
|
# initial_state: true
|
||||||
# hide_entity: true
|
|
||||||
# trigger:
|
# trigger:
|
||||||
# platform: state
|
# platform: state
|
||||||
# entity_id:
|
# entity_id:
|
||||||
|
@ -144,7 +142,6 @@
|
||||||
# ###############################################################################
|
# ###############################################################################
|
||||||
# - alias: Restore RF Switch Status on Startup
|
# - alias: Restore RF Switch Status on Startup
|
||||||
# initial_state: true
|
# initial_state: true
|
||||||
# hide_entity: true
|
|
||||||
# trigger:
|
# trigger:
|
||||||
# platform: homeassistant
|
# platform: homeassistant
|
||||||
# event: start
|
# event: start
|
||||||
|
|
|
@ -157,7 +157,6 @@
|
||||||
|
|
||||||
# automation:
|
# automation:
|
||||||
# - alias: Run every 15 seconds
|
# - alias: Run every 15 seconds
|
||||||
# hide_entity: false
|
|
||||||
# initial_state: true
|
# initial_state: true
|
||||||
# trigger:
|
# trigger:
|
||||||
# - platform: time_pattern
|
# - platform: time_pattern
|
||||||
|
|
|
@ -13,19 +13,19 @@ input_boolean:
|
||||||
input_number:
|
input_number:
|
||||||
tts_volume_level_morning:
|
tts_volume_level_morning:
|
||||||
name: Morning TTS Volume
|
name: Morning TTS Volume
|
||||||
initial: 0.3
|
# initial: 0.3
|
||||||
min: 0
|
min: 0
|
||||||
max: 1
|
max: 1
|
||||||
step: 0.1
|
step: 0.1
|
||||||
tts_volume_level_afternoon:
|
tts_volume_level_afternoon:
|
||||||
name: Afternoon TTS Volume
|
name: Afternoon TTS Volume
|
||||||
initial: 0.5
|
# initial: 0.5
|
||||||
min: 0
|
min: 0
|
||||||
max: 1
|
max: 1
|
||||||
step: 0.1
|
step: 0.1
|
||||||
tts_volume_level_evening:
|
tts_volume_level_evening:
|
||||||
name: Evening TTS Volume
|
name: Evening TTS Volume
|
||||||
initial: 0.3
|
# initial: 0.3
|
||||||
min: 0
|
min: 0
|
||||||
max: 1
|
max: 1
|
||||||
step: 0.1
|
step: 0.1
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
homeassistant:
|
homeassistant:
|
||||||
customize:
|
customize:
|
||||||
|
|
||||||
binary_sensor.motion_sensor_158d0001a662fe:
|
binary_sensor.motion_sensor_158d0001a662fe:
|
||||||
friendly_name: Kitchen Motion Sensor (Xiaomi)
|
friendly_name: Kitchen Motion Sensor (Xiaomi)
|
||||||
sensor.Illumination_158d0001a662fe:
|
sensor.Illumination_158d0001a662fe:
|
||||||
|
@ -79,3 +78,7 @@ xiaomi_aqara:
|
||||||
discovery_retry: 5
|
discovery_retry: 5
|
||||||
gateways:
|
gateways:
|
||||||
- key: !secret xiaomi_key
|
- key: !secret xiaomi_key
|
||||||
|
# - service: xiaomi_aqara.play_ringtone
|
||||||
|
# gw_mac: !secret xiaomi_mac
|
||||||
|
# ringtone_id: 8
|
||||||
|
# ringtone_vol: 20
|
||||||
|
|
|
@ -82,40 +82,85 @@ automation:
|
||||||
mdi:battery-alert
|
mdi:battery-alert
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
- alias: Update Phone Battery Levels
|
# - alias: Update Phone Battery Levels
|
||||||
|
# initial_state: true
|
||||||
|
# trigger:
|
||||||
|
# platform: mqtt
|
||||||
|
# topic: "owntracks/+/+"
|
||||||
|
# action:
|
||||||
|
# - service: input_label.set_value
|
||||||
|
# data_template:
|
||||||
|
# entity_id: "input_label.{{trigger.topic.split('/')[-1]}}_wifi"
|
||||||
|
# value: "{{ 'Yes' if trigger.payload_json.conn == 'w' else 'No' }}"
|
||||||
|
# - service: input_label.set_icon
|
||||||
|
# data_template:
|
||||||
|
# entity_id: "input_label.{{trigger.topic.split('/')[-1]}}_wifi"
|
||||||
|
# value: "{{ 'mdi:wifi' if trigger.payload_json.conn == 'w' else 'mdi:wifi-off' }}"
|
||||||
|
# - service: input_label.set_name
|
||||||
|
# data_template:
|
||||||
|
# entity_id: "input_label.{{trigger.topic.split('/')[-1]}}_wifi"
|
||||||
|
# value: "{{trigger.topic.split('/')[-1] | title }}'s phone wifi enabled?"
|
||||||
|
|
||||||
|
# - service: input_label.set_value
|
||||||
|
# data_template:
|
||||||
|
# entity_id: "input_label.{{trigger.topic.split('/')[-1]}}_battery"
|
||||||
|
# value: "{{ trigger.payload_json.batt | int }}"
|
||||||
|
# - service: input_label.set_name
|
||||||
|
# data_template:
|
||||||
|
# entity_id: "input_label.{{trigger.topic.split('/')[-1]}}_battery"
|
||||||
|
# value: "{{trigger.topic.split('/')[-1] | title }}'s Battery"
|
||||||
|
# - service: input_label.set_icon
|
||||||
|
# data_template:
|
||||||
|
# entity_id: "input_label.{{trigger.topic.split('/')[-1]}}_battery"
|
||||||
|
# value: >
|
||||||
|
# {% set battery_level = trigger.payload_json.batt | int %}
|
||||||
|
# {% set battery_round = (battery_level / 10)|int * 10 %}
|
||||||
|
# {% if trigger.payload_json.charging == 1 %}
|
||||||
|
# {% if battery_round >= 100 %}
|
||||||
|
# mdi:battery-charging-100
|
||||||
|
# {% elif battery_round > 0 %}
|
||||||
|
# mdi:battery-charging-{{ battery_round }}
|
||||||
|
# {% else %}
|
||||||
|
# mdi:battery-alert
|
||||||
|
# {% endif %}
|
||||||
|
# {% else %}
|
||||||
|
# {% if battery_round >= 100 %}
|
||||||
|
# mdi:battery
|
||||||
|
# {% elif battery_round > 0 %}
|
||||||
|
# mdi:battery-{{ battery_round }}
|
||||||
|
# {% else %}
|
||||||
|
# mdi:battery-alert
|
||||||
|
# {% endif %}
|
||||||
|
# {% endif %}
|
||||||
|
|
||||||
|
- alias: Update Phone Battery Levels From Life360
|
||||||
initial_state: true
|
initial_state: true
|
||||||
trigger:
|
trigger:
|
||||||
platform: mqtt
|
- platform: event
|
||||||
topic: "owntracks/+/+"
|
event_type: state_changed
|
||||||
|
condition:
|
||||||
|
- condition: template
|
||||||
|
value_template: "{{ trigger.event.data.entity_id is not none }}"
|
||||||
|
- condition: template
|
||||||
|
value_template: "{{ 'life360_' in trigger.event.data.entity_id }}"
|
||||||
|
- condition: template
|
||||||
|
value_template: "{{ trigger.event.data.new_state.attributes is not none }}"
|
||||||
action:
|
action:
|
||||||
- service: input_label.set_value
|
|
||||||
data_template:
|
|
||||||
entity_id: "input_label.{{trigger.topic.split('/')[-1]}}_wifi"
|
|
||||||
value: "{{ 'Yes' if trigger.payload_json.conn == 'w' else 'No' }}"
|
|
||||||
- service: input_label.set_icon
|
|
||||||
data_template:
|
|
||||||
entity_id: "input_label.{{trigger.topic.split('/')[-1]}}_wifi"
|
|
||||||
value: "{{ 'mdi:wifi' if trigger.payload_json.conn == 'w' else 'mdi:wifi-off' }}"
|
|
||||||
- service: input_label.set_name
|
- service: input_label.set_name
|
||||||
data_template:
|
data_template:
|
||||||
entity_id: "input_label.{{trigger.topic.split('/')[-1]}}_wifi"
|
entity_id: "input_label.{{- trigger.event.data.entity_id.split('.')[1].split('_')[1] -}}_battery"
|
||||||
value: "{{trigger.topic.split('/')[-1] | title }}'s phone wifi enabled?"
|
value: "{{- trigger.event.data.entity_id.split('.')[1].split('_')[1] |title -}}'s Battery"
|
||||||
|
|
||||||
- service: input_label.set_value
|
- service: input_label.set_value
|
||||||
data_template:
|
data_template:
|
||||||
entity_id: "input_label.{{trigger.topic.split('/')[-1]}}_battery"
|
entity_id: "input_label.{{- trigger.event.data.entity_id.split('.')[1].split('_')[1] -}}_battery"
|
||||||
value: "{{ trigger.payload_json.batt | int }}"
|
value: "{{ trigger.event.data.new_state.attributes.battery }}"
|
||||||
- service: input_label.set_name
|
|
||||||
data_template:
|
|
||||||
entity_id: "input_label.{{trigger.topic.split('/')[-1]}}_battery"
|
|
||||||
value: "{{trigger.topic.split('/')[-1] | title }}'s Battery"
|
|
||||||
- service: input_label.set_icon
|
- service: input_label.set_icon
|
||||||
data_template:
|
data_template:
|
||||||
entity_id: "input_label.{{trigger.topic.split('/')[-1]}}_battery"
|
entity_id: "input_label.{{- trigger.event.data.entity_id.split('.')[1].split('_')[1] -}}_battery"
|
||||||
value: >
|
value: >
|
||||||
{% set battery_level = trigger.payload_json.batt | int %}
|
{% set battery_level = trigger.event.data.new_state.attributes.battery | int %}
|
||||||
{% set battery_round = (battery_level / 10)|int * 10 %}
|
{% set battery_round = (battery_level / 10)|int * 10 %}
|
||||||
{% if trigger.payload_json.charging == 1 %}
|
{% if trigger.event.data.new_state.attributes.battery_charging == "true" %}
|
||||||
{% if battery_round >= 100 %}
|
{% if battery_round >= 100 %}
|
||||||
mdi:battery-charging-100
|
mdi:battery-charging-100
|
||||||
{% elif battery_round > 0 %}
|
{% elif battery_round > 0 %}
|
||||||
|
|
|
@ -4,12 +4,12 @@
|
||||||
{{- "true" if name.endswith("s") else "false" -}}
|
{{- "true" if name.endswith("s") else "false" -}}
|
||||||
{%- endmacro -%}
|
{%- endmacro -%}
|
||||||
|
|
||||||
{#- Alerts low battery (below 30%), ONLY when the phone is not already pluggedin -#}
|
{#- Alerts low battery (below 50% at night), ONLY when the phone is not pluggedin -#}
|
||||||
{%- macro low_battery_check() -%}
|
{%- macro low_battery_check() -%}
|
||||||
{%- set level = 30 -%}
|
{%- set level = 50 -%}
|
||||||
{%- for item in states.device_tracker if '_' in item.entity_id.split('.')[1] and state_attr(item.entity_id, "battery") |lower != "none" -%}
|
{%- for item in states.device_tracker if 'life360_' in item.entity_id and state_attr(item.entity_id, "battery") |lower != "none" -%}
|
||||||
{%- if item.attributes.battery|int < level -%}
|
{%- if item.attributes.battery|int < level -%}
|
||||||
{%- if states("sensor." ~ item.friendly_name |lower ~"s_iphone_battery_state") | lower != "charging" %}
|
{%- if state_attr(item.entity_id, "battery_charging" ) != true %}
|
||||||
{{- item.attributes.friendly_name | replace("life360", "") |title }}'s iPhone battery is at {{ item.attributes.battery }} percent.
|
{{- item.attributes.friendly_name | replace("life360", "") |title }}'s iPhone battery is at {{ item.attributes.battery }} percent.
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
@ -87,8 +87,8 @@
|
||||||
{%- endmacro -%}
|
{%- endmacro -%}
|
||||||
|
|
||||||
{%- macro charging_status() -%}
|
{%- macro charging_status() -%}
|
||||||
{%- for item in states if "_iphone_battery_state" in item.entity_id and item.state != "Charging" %}
|
{%- for item in states if "life360_" in item.entity_id and item.attributes.battery_charging != True %}
|
||||||
{%- if loop.first %}{% elif loop.last %} and {% else %}, {% endif -%}{{- item.name.split(' ')[0] -}}
|
{%- if loop.first %}{% elif loop.last %} and {% else %}, {% endif -%}{{- item.name.split(' ')[1] |title -}}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
{%- endmacro -%}
|
{%- endmacro -%}
|
||||||
|
|
||||||
|
|
|
@ -34,10 +34,10 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="49" name="COMMAND_CLASS_SENSOR_MULTILEVEL" version="5" innif="true">
|
<CommandClass id="49" name="COMMAND_CLASS_SENSOR_MULTILEVEL" version="5" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="1" label="Temperature" units="F" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="63.1" />
|
<Value type="decimal" genre="user" instance="1" index="1" label="Temperature" units="F" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="65.3" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="3" label="Luminance" units="lux" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0" />
|
<Value type="decimal" genre="user" instance="1" index="3" label="Luminance" units="lux" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="4" label="Power" units="W" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="46" />
|
<Value type="decimal" genre="user" instance="1" index="4" label="Power" units="W" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="46" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="5" label="Relative Humidity" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="33" />
|
<Value type="decimal" genre="user" instance="1" index="5" label="Relative Humidity" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="31" />
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="90" name="COMMAND_CLASS_DEVICE_RESET_LOCALLY" version="1" request_flags="4" after_mark="true" innif="true">
|
<CommandClass id="90" name="COMMAND_CLASS_DEVICE_RESET_LOCALLY" version="1" request_flags="4" after_mark="true" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
|
@ -216,9 +216,9 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="49" name="COMMAND_CLASS_SENSOR_MULTILEVEL" version="5" innif="true">
|
<CommandClass id="49" name="COMMAND_CLASS_SENSOR_MULTILEVEL" version="5" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="1" label="Temperature" units="F" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="62.9" />
|
<Value type="decimal" genre="user" instance="1" index="1" label="Temperature" units="F" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="64.7" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="3" label="Luminance" units="lux" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0" />
|
<Value type="decimal" genre="user" instance="1" index="3" label="Luminance" units="lux" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="5" label="Relative Humidity" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="31" />
|
<Value type="decimal" genre="user" instance="1" index="5" label="Relative Humidity" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="29" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="27" label="Ultraviolet" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0" />
|
<Value type="decimal" genre="user" instance="1" index="27" label="Ultraviolet" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0" />
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="90" name="COMMAND_CLASS_DEVICE_RESET_LOCALLY" version="1" request_flags="4" after_mark="true" innif="true">
|
<CommandClass id="90" name="COMMAND_CLASS_DEVICE_RESET_LOCALLY" version="1" request_flags="4" after_mark="true" innif="true">
|
||||||
|
@ -350,7 +350,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="128" name="COMMAND_CLASS_BATTERY" version="1" request_flags="4" innif="true">
|
<CommandClass id="128" name="COMMAND_CLASS_BATTERY" version="1" request_flags="4" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
<Value type="byte" genre="user" instance="1" index="0" label="Battery Level" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="88" />
|
<Value type="byte" genre="user" instance="1" index="0" label="Battery Level" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="86" />
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="130" name="COMMAND_CLASS_HAIL" version="1" request_flags="4" after_mark="true" innif="true">
|
<CommandClass id="130" name="COMMAND_CLASS_HAIL" version="1" request_flags="4" after_mark="true" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
|
@ -390,7 +390,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="48" name="COMMAND_CLASS_SENSOR_BINARY" version="1" request_flags="4" innif="true">
|
<CommandClass id="48" name="COMMAND_CLASS_SENSOR_BINARY" version="1" request_flags="4" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
<Value type="bool" genre="user" instance="1" index="0" label="Sensor" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="False" />
|
<Value type="bool" genre="user" instance="1" index="0" label="Sensor" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="True" />
|
||||||
<SensorMap index="0" type="255" />
|
<SensorMap index="0" type="255" />
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="90" name="COMMAND_CLASS_DEVICE_RESET_LOCALLY" version="1">
|
<CommandClass id="90" name="COMMAND_CLASS_DEVICE_RESET_LOCALLY" version="1">
|
||||||
|
@ -415,7 +415,7 @@
|
||||||
<Value type="byte" genre="user" instance="1" index="0" label="Alarm Type" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
<Value type="byte" genre="user" instance="1" index="0" label="Alarm Type" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||||
<Value type="byte" genre="user" instance="1" index="1" label="Alarm Level" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
<Value type="byte" genre="user" instance="1" index="1" label="Alarm Level" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||||
<Value type="byte" genre="user" instance="1" index="2" label="SourceNodeId" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
<Value type="byte" genre="user" instance="1" index="2" label="SourceNodeId" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||||
<Value type="byte" genre="user" instance="1" index="9" label="Access Control" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="23" />
|
<Value type="byte" genre="user" instance="1" index="9" label="Access Control" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="22" />
|
||||||
<Value type="byte" genre="user" instance="1" index="10" label="Burglar" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
<Value type="byte" genre="user" instance="1" index="10" label="Burglar" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||||
<Value type="byte" genre="user" instance="1" index="11" label="Power Management" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
<Value type="byte" genre="user" instance="1" index="11" label="Power Management" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
|
@ -490,7 +490,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
</CommandClasses>
|
</CommandClasses>
|
||||||
</Node>
|
</Node>
|
||||||
<Node id="5" name="Single Car Garage Door Tilt Sensor" location="" basic="4" generic="7" specific="1" roletype="6" devicetype="3072" nodetype="0" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="Session">
|
<Node id="5" name="Single Car Garage Door Tilt Sensor" location="" basic="4" generic="7" specific="1" roletype="6" devicetype="3072" nodetype="0" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="CacheLoad">
|
||||||
<Manufacturer id="14a" name="Ecolink">
|
<Manufacturer id="14a" name="Ecolink">
|
||||||
<Product type="4" id="3" name="Garage Door Tilt Sensor" />
|
<Product type="4" id="3" name="Garage Door Tilt Sensor" />
|
||||||
</Manufacturer>
|
</Manufacturer>
|
||||||
|
@ -720,7 +720,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="48" name="COMMAND_CLASS_SENSOR_BINARY" version="1" request_flags="4" innif="true">
|
<CommandClass id="48" name="COMMAND_CLASS_SENSOR_BINARY" version="1" request_flags="4" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
<Value type="bool" genre="user" instance="1" index="0" label="Sensor" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="False" />
|
<Value type="bool" genre="user" instance="1" index="0" label="Sensor" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="True" />
|
||||||
<SensorMap index="0" type="38" />
|
<SensorMap index="0" type="38" />
|
||||||
<SensorMap index="0" type="54" />
|
<SensorMap index="0" type="54" />
|
||||||
<SensorMap index="0" type="201" />
|
<SensorMap index="0" type="201" />
|
||||||
|
@ -728,9 +728,9 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="49" name="COMMAND_CLASS_SENSOR_MULTILEVEL" version="5" innif="true">
|
<CommandClass id="49" name="COMMAND_CLASS_SENSOR_MULTILEVEL" version="5" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="1" label="Temperature" units="F" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="67.4" />
|
<Value type="decimal" genre="user" instance="1" index="1" label="Temperature" units="F" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="69.2" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="3" label="Luminance" units="lux" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="2" />
|
<Value type="decimal" genre="user" instance="1" index="3" label="Luminance" units="lux" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="3" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="5" label="Relative Humidity" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="39" />
|
<Value type="decimal" genre="user" instance="1" index="5" label="Relative Humidity" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="38" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="27" label="Ultraviolet" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0" />
|
<Value type="decimal" genre="user" instance="1" index="27" label="Ultraviolet" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0" />
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="90" name="COMMAND_CLASS_DEVICE_RESET_LOCALLY" version="1" request_flags="4" innif="true">
|
<CommandClass id="90" name="COMMAND_CLASS_DEVICE_RESET_LOCALLY" version="1" request_flags="4" innif="true">
|
||||||
|
@ -902,7 +902,7 @@
|
||||||
<Value type="byte" genre="user" instance="1" index="0" label="Alarm Type" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
<Value type="byte" genre="user" instance="1" index="0" label="Alarm Type" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||||
<Value type="byte" genre="user" instance="1" index="1" label="Alarm Level" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
<Value type="byte" genre="user" instance="1" index="1" label="Alarm Level" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||||
<Value type="byte" genre="user" instance="1" index="2" label="SourceNodeId" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
<Value type="byte" genre="user" instance="1" index="2" label="SourceNodeId" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||||
<Value type="byte" genre="user" instance="1" index="10" label="Burglar" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
<Value type="byte" genre="user" instance="1" index="10" label="Burglar" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="8" />
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="114" name="COMMAND_CLASS_MANUFACTURER_SPECIFIC" version="1" request_flags="4" innif="true">
|
<CommandClass id="114" name="COMMAND_CLASS_MANUFACTURER_SPECIFIC" version="1" request_flags="4" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
|
@ -984,7 +984,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="37" name="COMMAND_CLASS_SWITCH_BINARY" version="1" request_flags="4" innif="true">
|
<CommandClass id="37" name="COMMAND_CLASS_SWITCH_BINARY" version="1" request_flags="4" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
<Value type="bool" genre="user" instance="1" index="0" label="Switch" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="False" />
|
<Value type="bool" genre="user" instance="1" index="0" label="Switch" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="True" />
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="38" name="COMMAND_CLASS_SWITCH_MULTILEVEL" version="2" innif="true">
|
<CommandClass id="38" name="COMMAND_CLASS_SWITCH_MULTILEVEL" version="2" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
|
@ -1006,12 +1006,12 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="50" name="COMMAND_CLASS_METER" version="3" request_flags="2" innif="true">
|
<CommandClass id="50" name="COMMAND_CLASS_METER" version="3" request_flags="2" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="0" label="Energy" units="kWh" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="59.018" />
|
<Value type="decimal" genre="user" instance="1" index="0" label="Energy" units="kWh" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="59.221" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="1" label="Previous Reading" units="kWh" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="59.018" />
|
<Value type="decimal" genre="user" instance="1" index="1" label="Previous Reading" units="kWh" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="59.220" />
|
||||||
<Value type="int" genre="user" instance="1" index="2" label="Interval" units="seconds" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="583" />
|
<Value type="int" genre="user" instance="1" index="2" label="Interval" units="seconds" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="459" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="8" label="Power" units="W" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0.000" />
|
<Value type="decimal" genre="user" instance="1" index="8" label="Power" units="W" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="13.528" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="16" label="Voltage" units="V" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="122.775" />
|
<Value type="decimal" genre="user" instance="1" index="16" label="Voltage" units="V" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="120.410" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="20" label="Current" units="A" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0.000" />
|
<Value type="decimal" genre="user" instance="1" index="20" label="Current" units="A" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0.197" />
|
||||||
<Value type="bool" genre="user" instance="1" index="32" label="Exporting" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="False" />
|
<Value type="bool" genre="user" instance="1" index="32" label="Exporting" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="False" />
|
||||||
<Value type="button" genre="system" instance="1" index="33" label="Reset" units="" read_only="false" write_only="true" verify_changes="false" poll_intensity="0" min="0" max="0" />
|
<Value type="button" genre="system" instance="1" index="33" label="Reset" units="" read_only="false" write_only="true" verify_changes="false" poll_intensity="0" min="0" max="0" />
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
|
@ -1181,7 +1181,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="129" name="COMMAND_CLASS_CLOCK" version="1" request_flags="4" innif="true">
|
<CommandClass id="129" name="COMMAND_CLASS_CLOCK" version="1" request_flags="4" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
<Value type="list" genre="user" instance="1" index="0" label="Day" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" vindex="1" size="1">
|
<Value type="list" genre="user" instance="1" index="0" label="Day" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" vindex="5" size="1">
|
||||||
<Item label="Monday" value="1" />
|
<Item label="Monday" value="1" />
|
||||||
<Item label="Tuesday" value="2" />
|
<Item label="Tuesday" value="2" />
|
||||||
<Item label="Wednesday" value="3" />
|
<Item label="Wednesday" value="3" />
|
||||||
|
@ -1191,7 +1191,7 @@
|
||||||
<Item label="Sunday" value="7" />
|
<Item label="Sunday" value="7" />
|
||||||
</Value>
|
</Value>
|
||||||
<Value type="byte" genre="user" instance="1" index="1" label="Hour" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="5" />
|
<Value type="byte" genre="user" instance="1" index="1" label="Hour" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="5" />
|
||||||
<Value type="byte" genre="user" instance="1" index="2" label="Minute" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="33" />
|
<Value type="byte" genre="user" instance="1" index="2" label="Minute" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="37" />
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="130" name="COMMAND_CLASS_HAIL" version="1" request_flags="4" after_mark="true" innif="true">
|
<CommandClass id="130" name="COMMAND_CLASS_HAIL" version="1" request_flags="4" after_mark="true" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
|
@ -1213,7 +1213,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
</CommandClasses>
|
</CommandClasses>
|
||||||
</Node>
|
</Node>
|
||||||
<Node id="16" name="Kitchen Motion Sensor" location="" basic="4" generic="7" specific="1" roletype="6" devicetype="3072" nodetype="0" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="Session">
|
<Node id="16" name="Kitchen Motion Sensor" location="" basic="4" generic="7" specific="1" roletype="6" devicetype="3072" nodetype="0" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="CacheLoad">
|
||||||
<Manufacturer id="14a" name="Ecolink">
|
<Manufacturer id="14a" name="Ecolink">
|
||||||
<Product type="4" id="1" name="Motion Detector" />
|
<Product type="4" id="1" name="Motion Detector" />
|
||||||
</Manufacturer>
|
</Manufacturer>
|
||||||
|
@ -1339,7 +1339,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="48" name="COMMAND_CLASS_SENSOR_BINARY" version="1" request_flags="4" innif="true">
|
<CommandClass id="48" name="COMMAND_CLASS_SENSOR_BINARY" version="1" request_flags="4" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
<Value type="bool" genre="user" instance="1" index="0" label="Sensor" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="True" />
|
<Value type="bool" genre="user" instance="1" index="0" label="Sensor" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="False" />
|
||||||
<SensorMap index="0" type="255" />
|
<SensorMap index="0" type="255" />
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="90" name="COMMAND_CLASS_DEVICE_RESET_LOCALLY" version="1">
|
<CommandClass id="90" name="COMMAND_CLASS_DEVICE_RESET_LOCALLY" version="1">
|
||||||
|
@ -1369,7 +1369,7 @@
|
||||||
<Value type="byte" genre="user" instance="1" index="0" label="Alarm Type" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
<Value type="byte" genre="user" instance="1" index="0" label="Alarm Type" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||||
<Value type="byte" genre="user" instance="1" index="1" label="Alarm Level" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
<Value type="byte" genre="user" instance="1" index="1" label="Alarm Level" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||||
<Value type="byte" genre="user" instance="1" index="2" label="SourceNodeId" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
<Value type="byte" genre="user" instance="1" index="2" label="SourceNodeId" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||||
<Value type="byte" genre="user" instance="1" index="10" label="Burglar" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="8" />
|
<Value type="byte" genre="user" instance="1" index="10" label="Burglar" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||||
<Value type="byte" genre="user" instance="1" index="11" label="Power Management" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
<Value type="byte" genre="user" instance="1" index="11" label="Power Management" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="114" name="COMMAND_CLASS_MANUFACTURER_SPECIFIC" version="1" request_flags="4" innif="true">
|
<CommandClass id="114" name="COMMAND_CLASS_MANUFACTURER_SPECIFIC" version="1" request_flags="4" innif="true">
|
||||||
|
@ -1703,7 +1703,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
</CommandClasses>
|
</CommandClasses>
|
||||||
</Node>
|
</Node>
|
||||||
<Node id="25" name="Basement Door Sensor" location="" basic="4" generic="7" specific="1" roletype="6" devicetype="3072" nodetype="0" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="CacheLoad">
|
<Node id="25" name="Basement Door Sensor" location="" basic="4" generic="7" specific="1" roletype="6" devicetype="3072" nodetype="0" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="Session">
|
||||||
<Manufacturer id="14a" name="Ecolink">
|
<Manufacturer id="14a" name="Ecolink">
|
||||||
<Product type="4" id="2" name="Unknown: type=0004, id=0002" />
|
<Product type="4" id="2" name="Unknown: type=0004, id=0002" />
|
||||||
</Manufacturer>
|
</Manufacturer>
|
||||||
|
@ -1809,7 +1809,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
</CommandClasses>
|
</CommandClasses>
|
||||||
</Node>
|
</Node>
|
||||||
<Node id="27" name="Wallmote" location="" basic="4" generic="24" specific="1" roletype="4" devicetype="7172" nodetype="0" type="Basic Wall Controller" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="Associations">
|
<Node id="27" name="Wallmote" location="" basic="4" generic="24" specific="1" roletype="4" devicetype="7172" nodetype="0" type="Basic Wall Controller" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="Session">
|
||||||
<Manufacturer id="86" name="Aeotec">
|
<Manufacturer id="86" name="Aeotec">
|
||||||
<Product type="102" id="82" name="ZW130 WallMote Quad" />
|
<Product type="102" id="82" name="ZW130 WallMote Quad" />
|
||||||
</Manufacturer>
|
</Manufacturer>
|
||||||
|
@ -2132,7 +2132,7 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
</CommandClasses>
|
</CommandClasses>
|
||||||
</Node>
|
</Node>
|
||||||
<Node id="29" name="Garage Door Sensor" location="" basic="4" generic="7" specific="1" roletype="6" devicetype="3072" nodetype="0" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="CacheLoad">
|
<Node id="29" name="Garage Door Sensor" location="" basic="4" generic="7" specific="1" roletype="6" devicetype="3072" nodetype="0" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="Associations">
|
||||||
<Manufacturer id="14a" name="Ecolink">
|
<Manufacturer id="14a" name="Ecolink">
|
||||||
<Product type="4" id="2" name="Unknown: type=0004, id=0002" />
|
<Product type="4" id="2" name="Unknown: type=0004, id=0002" />
|
||||||
</Manufacturer>
|
</Manufacturer>
|
||||||
|
@ -2405,9 +2405,9 @@
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="49" name="COMMAND_CLASS_SENSOR_MULTILEVEL" version="5" innif="true">
|
<CommandClass id="49" name="COMMAND_CLASS_SENSOR_MULTILEVEL" version="5" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="1" label="Temperature" units="F" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="68.8" />
|
<Value type="decimal" genre="user" instance="1" index="1" label="Temperature" units="F" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="71.1" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="3" label="Luminance" units="lux" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0" />
|
<Value type="decimal" genre="user" instance="1" index="3" label="Luminance" units="lux" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="5" label="Relative Humidity" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="35" />
|
<Value type="decimal" genre="user" instance="1" index="5" label="Relative Humidity" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="33" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="27" label="Ultraviolet" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0" />
|
<Value type="decimal" genre="user" instance="1" index="27" label="Ultraviolet" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0" />
|
||||||
<Value type="decimal" genre="user" instance="1" index="37" label="Radon Concentration" units="bq/m3" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="60" />
|
<Value type="decimal" genre="user" instance="1" index="37" label="Radon Concentration" units="bq/m3" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="60" />
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
|
@ -2580,7 +2580,7 @@
|
||||||
<Value type="byte" genre="user" instance="1" index="0" label="Alarm Type" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
<Value type="byte" genre="user" instance="1" index="0" label="Alarm Type" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||||
<Value type="byte" genre="user" instance="1" index="1" label="Alarm Level" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
<Value type="byte" genre="user" instance="1" index="1" label="Alarm Level" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||||
<Value type="byte" genre="user" instance="1" index="2" label="SourceNodeId" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
<Value type="byte" genre="user" instance="1" index="2" label="SourceNodeId" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||||
<Value type="byte" genre="user" instance="1" index="10" label="Burglar" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
<Value type="byte" genre="user" instance="1" index="10" label="Burglar" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="254" />
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="114" name="COMMAND_CLASS_MANUFACTURER_SPECIFIC" version="1" request_flags="4" innif="true">
|
<CommandClass id="114" name="COMMAND_CLASS_MANUFACTURER_SPECIFIC" version="1" request_flags="4" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
|
@ -2782,7 +2782,7 @@
|
||||||
<Value type="byte" genre="user" instance="1" index="1" label="Alarm Level" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
<Value type="byte" genre="user" instance="1" index="1" label="Alarm Level" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||||
<Value type="byte" genre="user" instance="1" index="2" label="SourceNodeId" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
<Value type="byte" genre="user" instance="1" index="2" label="SourceNodeId" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||||
<Value type="byte" genre="user" instance="1" index="9" label="Access Control" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="23" />
|
<Value type="byte" genre="user" instance="1" index="9" label="Access Control" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="23" />
|
||||||
<Value type="byte" genre="user" instance="1" index="10" label="Burglar" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
<Value type="byte" genre="user" instance="1" index="10" label="Burglar" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="254" />
|
||||||
</CommandClass>
|
</CommandClass>
|
||||||
<CommandClass id="114" name="COMMAND_CLASS_MANUFACTURER_SPECIFIC" version="1" request_flags="4" innif="true">
|
<CommandClass id="114" name="COMMAND_CLASS_MANUFACTURER_SPECIFIC" version="1" request_flags="4" innif="true">
|
||||||
<Instance index="1" />
|
<Instance index="1" />
|
||||||
|
|
Loading…
Reference in New Issue