From 83e65857c64261a390c27c8d6500c252ae60400c Mon Sep 17 00:00:00 2001 From: Mahasri Kalavala Date: Fri, 4 Sep 2020 22:12:14 -0400 Subject: [PATCH] minor updates. --- configuration.yaml | 6 +- lovelace/00_myhome_view.yaml | 68 +- lovelace/01_lights_view.yaml | 4 +- lovelace/02_climate_view.yaml | 26 +- lovelace/07_system_view.yaml | 14 - lovelace/12_automations_view.yaml | 3 - lovelace/14_rooms.yaml | 1 - packages/3dprinting.yaml | 80 ++ packages/aroma.yaml | 40 - packages/cameras.yaml | 5 +- packages/daily_routines.yaml | 8 +- packages/emergency.yaml | 1 - packages/homeassistant.yaml | 5 - packages/lights.yaml | 12 +- packages/motion_timers.yaml | 9 +- packages/test.yaml | 2 +- packages/watchdog.yaml | 4 - packages/xiaomi_magic_cubes.yaml | 34 +- packages/zwave_sensors.yaml | 4 +- templates/away_status.yaml | 4 +- templates/goodnight.yaml | 4 +- zwcfg_0xd89c4f0c.xml | 1317 ++++------------------------- 22 files changed, 368 insertions(+), 1283 deletions(-) create mode 100644 packages/3dprinting.yaml diff --git a/configuration.yaml b/configuration.yaml index d1c63e1..d5e144f 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -31,7 +31,11 @@ discovery: ignore: - homekit -shopping_list: +# shopping_list: + +octoprint: + host: !secret octoprint_ip + api_key: !secret octoprint_key homekit: autostart: true diff --git a/lovelace/00_myhome_view.yaml b/lovelace/00_myhome_view.yaml index 2f52015..64236be 100644 --- a/lovelace/00_myhome_view.yaml +++ b/lovelace/00_myhome_view.yaml @@ -77,6 +77,21 @@ cards: # - entity: script.pill_taken # name: Pill Taken Script + - type: entities + title: 3D Printer + show_header_toggle: false + entities: + - binary_sensor.octoprint_printing + - binary_sensor.octoprint_printing_error + - sensor.octoprint_actual_bed_temp + - sensor.octoprint_actual_tool0_temp + - sensor.octoprint_current_state + - sensor.octoprint_job_percentage + - sensor.octoprint_target_bed_temp + - sensor.octoprint_target_tool0_temp + - sensor.octoprint_time_elapsed + - sensor.octoprint_time_remaining + - type: entities title: Tile Devices show_header_toggle: false @@ -87,24 +102,24 @@ cards: - device_tracker.tile_63ca05b6a3619232 - device_tracker.tile_p_32c03dc7f21001d36d16b47646e4c421 - - type: glance - show_icon: true - show_name: true - show_state: true - title: Coronavirus USA - entities: - - entity: sensor.us_coronavirus_confirmed - icon: "mdi:emoticon-neutral-outline" - name: Confirmed - - entity: sensor.us_coronavirus_current - icon: "mdi:emoticon-frown-outline" - name: Current - - entity: sensor.us_coronavirus_recovered - icon: "mdi:emoticon-happy-outline" - name: Recovered - - entity: sensor.us_coronavirus_deaths - icon: "mdi:emoticon-dead-outline" - name: Deaths + # - type: glance + # show_icon: true + # show_name: true + # show_state: true + # title: Coronavirus USA + # entities: + # - entity: sensor.us_coronavirus_confirmed + # icon: "mdi:emoticon-neutral-outline" + # name: Confirmed + # - entity: sensor.us_coronavirus_current + # icon: "mdi:emoticon-frown-outline" + # name: Current + # - entity: sensor.us_coronavirus_recovered + # icon: "mdi:emoticon-happy-outline" + # name: Recovered + # - entity: sensor.us_coronavirus_deaths + # icon: "mdi:emoticon-dead-outline" + # name: Deaths - type: glance show_icon: true @@ -279,11 +294,18 @@ cards: title: Xiaomi Motion Sensors show_header_toggle: false entities: - - binary_sensor.garage_motion - - binary_sensor.patio_camera_motion - - binary_sensor.playarea_camera_motion - - binary_sensor.frontdoor_camera_motion - - binary_sensor.driveway_camera_motion + - binary_sensor.motion_sensor_158d00016c2d0e + - binary_sensor.motion_sensor_158d00016db6d2 + - binary_sensor.motion_sensor_158d0001a25041 + - binary_sensor.motion_sensor_158d0001a662fe + - binary_sensor.motion_sensor_158d00024e57d3 + - binary_sensor.motion_sensor_158d00024e57fb + - binary_sensor.motion_sensor_158d00024e842c + - binary_sensor.motion_sensor_158d00024ee084 + - binary_sensor.motion_sensor_158d000272bed1 + - binary_sensor.motion_sensor_158d000272bf48 + - binary_sensor.motion_sensor_158d000272bfd7 + - binary_sensor.motion_sensor_158d00047b6f69 - type: entity-filter title: Motion Sensors diff --git a/lovelace/01_lights_view.yaml b/lovelace/01_lights_view.yaml index 3f1a26b..e3faf8a 100644 --- a/lovelace/01_lights_view.yaml +++ b/lovelace/01_lights_view.yaml @@ -5,7 +5,6 @@ cards: title: Upstairs show_header_toggle: true entities: - - light.master_bedroom - entity: light.master_bedroom_1 name: Suresh's Bedside Light - entity: light.master_bedroom_2 @@ -29,7 +28,6 @@ cards: - switch.kitchen - switch.office_room - switch.zwave_smart_switch_switch - - light.family_room - light.hue_color_lamp_1 - light.hue_color_lamp_2 - light.hue_color_lamp_3 @@ -38,7 +36,7 @@ cards: title: Fragrance Outlets show_header_toggle: true entities: - - switch.bathroom_fragrance + - switch.3d_printer - switch.downstairs_fragrance - switch.upstairs_fragrance diff --git a/lovelace/02_climate_view.yaml b/lovelace/02_climate_view.yaml index f6f4403..bed3092 100644 --- a/lovelace/02_climate_view.yaml +++ b/lovelace/02_climate_view.yaml @@ -5,12 +5,12 @@ cards: entity: climate.dining_room - type: horizontal-stack cards: - - type: sensor - entity: sensor.dining_room_thermostat_temperature - name: Home Temperature - graph: line - detail: 1 - hours_to_show: 12 + # - type: sensor + # entity: sensor.dining_room_thermostat_temperature + # name: Home Temperature + # graph: line + # detail: 1 + # hours_to_show: 12 - type: gauge entity: sensor.dining_room_thermostat_humidity unit: "%" @@ -37,13 +37,13 @@ cards: - sensor.dining_room_thermostat_target - sensor.dining_room_thermostat_temperature - - type: history-graph - title: "Temperature" - entities: - - entity: sensor.dark_sky_apparent_temperature - name: Outside - - entity: sensor.dining_room_thermostat_temperature - name: Inside + # - type: history-graph + # title: "Temperature" + # entities: + # - entity: sensor.dark_sky_apparent_temperature + # name: Outside + # - entity: sensor.dining_room_thermostat_temperature + # name: Inside - type: entities title: Temperature Levels diff --git a/lovelace/07_system_view.yaml b/lovelace/07_system_view.yaml index bdf3fd2..9ba2ab1 100644 --- a/lovelace/07_system_view.yaml +++ b/lovelace/07_system_view.yaml @@ -38,20 +38,6 @@ cards: - input_number.slider_hours - input_number.slider_minutes - - type: entities - title: Pi-Hole - show_header_toggle: false - entities: - - sensor.pi_hole_ads_blocked_today - - sensor.pi_hole_ads_percentage_blocked_today - - sensor.pi_hole_dns_queries_cached - - sensor.pi_hole_dns_queries_forwarded - - sensor.pi_hole_dns_queries_today - - sensor.pi_hole_dns_unique_clients - - sensor.pi_hole_dns_unique_domains - - sensor.pi_hole_domains_blocked - - sensor.pi_hole_seen_clients - - type: horizontal-stack cards: - type: gauge diff --git a/lovelace/12_automations_view.yaml b/lovelace/12_automations_view.yaml index 4049c96..09bf78c 100644 --- a/lovelace/12_automations_view.yaml +++ b/lovelace/12_automations_view.yaml @@ -75,9 +75,6 @@ cards: title: Timer Automations show_header_toggle: false entities: - - automation.bathroom_aroma_timer_elapsed - - automation.bathroom_aroma_timer_finish - - automation.bathroom_aroma_timer_start - automation.cancel_wfh_timer_when_suresh_leaves_home - automation.downstairs_aroma_timer_elapsed - automation.downstairs_aroma_timer_finish diff --git a/lovelace/14_rooms.yaml b/lovelace/14_rooms.yaml index 839f922..f177e37 100644 --- a/lovelace/14_rooms.yaml +++ b/lovelace/14_rooms.yaml @@ -24,7 +24,6 @@ cards: show_header_toggle: false entities: - input_boolean.sharp_tv - - light.family_room - media_player.living_room - switch.downstairs_fragrance - sensor.downstairs_multi_sensor_temperature diff --git a/packages/3dprinting.yaml b/packages/3dprinting.yaml new file mode 100644 index 0000000..85bf406 --- /dev/null +++ b/packages/3dprinting.yaml @@ -0,0 +1,80 @@ +############################################################################### +# @author : Mahasri Kalavala +# @date : 09/04/2020 +# @package : 3D Printer +# @description : 3D Printer Automations +############################################################################### +homeassistant: + customize: + automation.3d_print: + icon: mdi:printer + +# +# Turn Off When the printer status changed from "Prnting" to anything. +# +automation: + - alias: "Octoprint 3D Print" + trigger: + platform: state + entity_id: "sensor.octoprint_current_state" + from: "Printing" + action: + - delay: "00:00:59" + - service: switch.turn_off + entity_id: switch.3d_printer + - service: script.notify_me + data_template: + message: "3D Printer Status Changed from 'Printing' to {{ trigger.to_state.state }}. Turned Off the Printer!" + + # + # Updates on the Printer Status + # + - alias: "Octoprint Notify Printer State" + trigger: + platform: state + entity_id: "binary_sensor.octoprint_printing" + action: + - service: script.notify_me + data_template: + message: "3D Printer Status is now {{ trigger.to_state.state }}" + + # + # Notifies when the printer errors out + # + - alias: "Octoprint Noify Printer Error" + trigger: + platform: state + entity_id: binary_sensor.octoprint_printing_error + to: "on" + action: + - service: script.notify_me + data_template: + message: "3D Printer Status changed to 'ERROR'. Please check the printer!" + + # + # Provides update at frequent intervals - 25%, 50%, 75%, and 100%! + # + - alias: "Octoprint 3D Printer Progress Update" + trigger: + platform: template + value_template: + "{{ states('sensor.octoprint_job_percentage') |int == 25 or + states('sensor.octoprint_job_percentage') |int == 50 or + states('sensor.octoprint_job_percentage') |int == 75 or + states('sensor.octoprint_job_percentage') |int == 100 }}" + action: + - service: script.notify_me + data_template: + message: >- + {%- macro secondsToReadableString(seconds) %} + {%- set map = {'Week': (seconds / 604800) % 604800, + 'Day': (seconds / 86400) % 7, 'Hour': (seconds / 3600) % 24, + 'Minute': (seconds / 60) % 60, 'Second': (seconds % 60) } -%} + {%- for item in map if map[item] | int > 0 -%} + {%- if loop.first %}{% elif loop.last %}, and {% else %}, {% endif -%} + {{- map[item]|int }} {{ item -}} {{- 's' if map[item]|int > 1 -}} + {%- endfor -%} + {% endmacro %} + 3D Printer - Print job is now {{ states('sensor.octoprint_job_percentage') |int }}% complete. + Print Time: {{ secondsToReadableString(states('sensor.octoprint_time_elapsed') |int) }} + Print Time Left: {{ secondsToReadableString(states('sensor.octoprint_time_remaining') |int) }} diff --git a/packages/aroma.yaml b/packages/aroma.yaml index a7c5813..04e3735 100644 --- a/packages/aroma.yaml +++ b/packages/aroma.yaml @@ -1,15 +1,11 @@ homeassistant: customize: - timer.timer_bathroom_aroma: - hidden: true timer.timer_downstairs_aroma: hidden: true timer.timer_upstairs_aroma: hidden: true timer: - timer_bathroom_aroma: - duration: "00:30:00" timer_downstairs_aroma: duration: "01:00:00" timer_upstairs_aroma: @@ -26,31 +22,6 @@ timer: ############################################################################### automation: - # - # Automations to start timer when they are switched ON - # - - alias: Bathroom Aroma Timer Start - initial_state: true - trigger: - - platform: state - entity_id: switch.downstairs_fragrance - from: "off" - to: "on" - action: - - service: timer.start - entity_id: timer.timer_bathroom_aroma - - - alias: Bathroom Aroma Timer Finish - initial_state: true - trigger: - - platform: state - entity_id: switch.downstairs_fragrance - from: "on" - to: "off" - action: - - service: timer.finish - entity_id: timer.timer_bathroom_aroma - - alias: Downstairs Aroma Timer Start initial_state: true trigger: @@ -98,17 +69,6 @@ automation: # # Timer Elapsed Events # - - alias: Bathroom Aroma Timer Elapsed - initial_state: true - trigger: - - platform: event - event_type: timer.finished - event_data: - entity_id: timer.timer_bathroom_aroma - action: - - service: switch.turn_off - entity_id: switch.downstairs_fragrance - - alias: Downstairs Aroma Timer Elapsed initial_state: true trigger: diff --git a/packages/cameras.yaml b/packages/cameras.yaml index dbbbefa..f309ea3 100644 --- a/packages/cameras.yaml +++ b/packages/cameras.yaml @@ -105,7 +105,7 @@ binary_sensor: image_processing: - platform: tensorflow scan_interval: 10000 - confidence: 75 + # confidence: 75 source: - entity_id: camera.frontdoor_camera - entity_id: camera.driveway_camera @@ -116,7 +116,8 @@ image_processing: - "/home/homeassistant/.homeassistant/www/downloads/camera/{{- camera_entity.split('.')[1].split('_')[0] -}}/{{ camera_entity.split('.')[1].split('_')[0] }}_latest.jpg" - "/home/homeassistant/.homeassistant/www/downloads/camera/{{- camera_entity.split('.')[1].split('_')[0] -}}/{{ camera_entity.split('.')[1].split('_')[0] }}_{{ now().strftime('%Y%m%d_%H%M%S') }}.jpg" model: - graph: /home/homeassistant/.homeassistant/tensorflow/frozen_inference_graph.pb + graph: /home/homeassistant/.homeassistant/tensorflow/ + # graph: /home/homeassistant/.homeassistant/tensorflow/frozen_inference_graph.pb # categories: # - person # - car diff --git a/packages/daily_routines.yaml b/packages/daily_routines.yaml index 2ec8794..59ba024 100644 --- a/packages/daily_routines.yaml +++ b/packages/daily_routines.yaml @@ -246,16 +246,16 @@ automation: value_template: "{{ states('sensor.bedtime_hour') |int == now().hour|int }}" - condition: template value_template: "{{ (states('sensor.bedtime_minute') |int - 15 ) == now().minute|int }}" - - condition: state - entity_id: light.family_room - state: "on" + # - condition: state + # entity_id: light.family_room + # state: "on" - condition: state entity_id: input_boolean.light_automations state: "on" action: - service: light.turn_on data: - entity_id: light.family_room + entity_id: light.hue_color_lamp_1, light.hue_color_lamp_2, light.hue_color_lamp_3 brightness: 30 color_temp: 154 transition: 15 diff --git a/packages/emergency.yaml b/packages/emergency.yaml index 04b7205..cdfe0a7 100644 --- a/packages/emergency.yaml +++ b/packages/emergency.yaml @@ -279,7 +279,6 @@ # - switch.rf_switch_two # - switch.wemobackyardlightswitch # - switch.frontyard_light -# - switch.downstairs_bathroom_fragrance_outlet # - switch.downstairs_fragrance # - switch.upstairs_fragrance # - switch.kitchen_siren_switch diff --git a/packages/homeassistant.yaml b/packages/homeassistant.yaml index 34ff8e8..d85b97c 100644 --- a/packages/homeassistant.yaml +++ b/packages/homeassistant.yaml @@ -84,11 +84,6 @@ sensor: name: "Windows Server Idle Time" value_template: "{{ value }}" -pi_hole: - host: !secret pi_hole_ip - ssl: false - verify_ssl: false - ############################################################################### # _ _ _ # /\ | | | | (_) diff --git a/packages/lights.yaml b/packages/lights.yaml index 543b643..e011bd7 100644 --- a/packages/lights.yaml +++ b/packages/lights.yaml @@ -24,16 +24,6 @@ homeassistant: emulated_hue_name: Backyard Lights homebridge_name: Backyard Lights - light.family_room: - friendly_name: Family Room Lights - emulated_hue_name: Family Room Lights - homebridge_name: Front Room Lights - - light.master_bedroom: - friendly_name: Master Bedroom Lights - emulated_hue_name: Master Bedroom Lights - homebridge_name: Master Bedroom Lights - switch.guest_bedroom: icon: mdi:lightbulb friendly_name: Guest Bedroom 1 @@ -127,7 +117,7 @@ tplink: - host: !secret tplink_smart_outlet1 #name: Downstairs Fragrance Outlet - host: !secret tplink_smart_outlet2 - #name: Downstairs Bathroom Fragrance Outlet + #name: Downstairs 3d printer Outlet - host: !secret tplink_smart_outlet3 #name: Upstairs Fragrance Outlet - host: !secret tplink_kids_bed_accent_light diff --git a/packages/motion_timers.yaml b/packages/motion_timers.yaml index 51a98de..0ad3554 100644 --- a/packages/motion_timers.yaml +++ b/packages/motion_timers.yaml @@ -182,7 +182,7 @@ automation: value_template: "{{ states('input_boolean.movie_time') != 'on' }}" action: - service: light.turn_on - entity_id: light.family_room + entity_id: light.hue_color_lamp_1, light.hue_color_lamp_2, light.hue_color_lamp_3 data_template: brightness: > {% if states('binary_sensor.sharp_tv') == "on" %} @@ -206,10 +206,10 @@ automation: to: "idle" action: - service: light.turn_off - entity_id: light.family_room + entity_id: light.hue_color_lamp_1, light.hue_color_lamp_2, light.hue_color_lamp_3 - delay: "00:00:05" - service: light.turn_off - entity_id: light.family_room + entity_id: light.hue_color_lamp_1, light.hue_color_lamp_2, light.hue_color_lamp_3 # Master Bedroom: # Motion Detected - Turn ON the lights and extend timer ############################################################################### @@ -253,9 +253,6 @@ automation: entity_id: light.master_bedroom_1 - service: light.turn_off entity_id: light.master_bedroom_2 - - delay: "00:00:05" - - service: light.turn_off - entity_id: light.master_bedroom # # Garage: # # Motion Detected - Turn ON the light and extend timer diff --git a/packages/test.yaml b/packages/test.yaml index 30f214f..b87e243 100644 --- a/packages/test.yaml +++ b/packages/test.yaml @@ -117,7 +117,7 @@ # entity_id: # - binary_sensor.masterbed_motion # - binary_sensor.masterbath_motion -# - binary_sensor.bathroom_motion +# - binary_sensor.bathm_motion # - binary_sensor.kitchen_motion # - binary_sensor.den_motion # action: diff --git a/packages/watchdog.yaml b/packages/watchdog.yaml index 28bf6b6..ed014a0 100644 --- a/packages/watchdog.yaml +++ b/packages/watchdog.yaml @@ -103,7 +103,6 @@ automation: entity_id: - switch.basement_left - switch.basement_right - - switch.bathroom_fragrance - switch.downstairs_fragrance - switch.front_room - switch.guest_bedroom @@ -113,12 +112,9 @@ automation: - switch.prayer_room - switch.upstairs_fragrance - switch.zwave_smart_switch_switch - - light.family_room - - light.family_room_2 - light.hue_color_lamp_1 - light.hue_color_lamp_2 - light.hue_color_lamp_3 - - light.master_bedroom - light.master_bedroom_1 - light.master_bedroom_2 - light.master_bedroom_3 diff --git a/packages/xiaomi_magic_cubes.yaml b/packages/xiaomi_magic_cubes.yaml index b7e449a..a4279b1 100644 --- a/packages/xiaomi_magic_cubes.yaml +++ b/packages/xiaomi_magic_cubes.yaml @@ -33,7 +33,7 @@ automation: action_type: flip90 action: - service_template: light.toggle - entity_id: light.family_room + entity_id: light.hue_color_lamp_1, light.hue_color_lamp_2, light.hue_color_lamp_3 # Flip 180: Lights ON Family Room Lights FULL brightness - alias: Family Room Cube Event flip180 @@ -46,7 +46,7 @@ automation: action_type: flip180 action: - service: light.turn_on - entity_id: light.family_room + entity_id: light.hue_color_lamp_1, light.hue_color_lamp_2, light.hue_color_lamp_3 data: rgb_color: [255, 251, 245] brightness: 254 @@ -77,7 +77,7 @@ automation: action: - service: light.turn_on data_template: - entity_id: light.family_room + entity_id: light.hue_color_lamp_1, light.hue_color_lamp_2, light.hue_color_lamp_3 rgb_color: - "{{ range(0,255) |random }}" - "{{ range(0,255) |random }}" @@ -94,6 +94,11 @@ automation: action_type: shake_air action: - service: script.toggle_do_not_disturb + - service: switch.turn_off + entity_id: switch.wemoswitch1 + - delay: "00:00:02" + - service: switch.turn_on + entity_id: switch.wemoswitch1 ################################################################################ # ______ _ _____ @@ -117,7 +122,7 @@ automation: entity_id: switch.front_room # Flip 180: Toggle Office Room Accent Lights - - alias: Family Room Cube Event flip180 + - alias: Front Room Cube Event flip180 initial_state: true trigger: platform: event @@ -130,7 +135,7 @@ automation: entity_id: switch.zwave_smart_switch_switch # Move: Toggle Office Room Light - - alias: Family Room Cube Event Move + - alias: Front Room Cube Event Move initial_state: true trigger: platform: event @@ -143,7 +148,7 @@ automation: entity_id: switch.office_room # Shake: Toggle Do Not Disturb Mode - - alias: Family Room Cube Event Shake + - alias: Front Room Cube Event Shake initial_state: true trigger: platform: event @@ -289,7 +294,9 @@ automation: action_type: flip180 action: - service: light.toggle - entity_id: light.master_bedroom + entity_id: light.master_bedroom_1 + - service: light.toggle + entity_id: light.master_bedroom_2 # Move: Turn ON Master Bedroom Lights - alias: Master Bedroom Cube Event Move @@ -302,7 +309,9 @@ automation: action_type: move action: - service: light.turn_on - entity_id: light.master_bedroom + entity_id: light.master_bedroom_1 + - service: light.turn_on + entity_id: light.master_bedroom_2 # Double Tap: Turn OFF Downstairs Lights - alias: Master Bedroom Cube Event Tap Twice @@ -316,7 +325,14 @@ automation: action: - service: light.turn_on data_template: - entity_id: light.master_bedroom + entity_id: light.master_bedroom_1 + rgb_color: + - "{{ range(0,255) |random }}" + - "{{ range(0,255) |random }}" + - "{{ range(0,255) |random }}" + - service: light.turn_on + data_template: + entity_id: light.master_bedroom_2 rgb_color: - "{{ range(0,255) |random }}" - "{{ range(0,255) |random }}" diff --git a/packages/zwave_sensors.yaml b/packages/zwave_sensors.yaml index cd62798..e3343cc 100644 --- a/packages/zwave_sensors.yaml +++ b/packages/zwave_sensors.yaml @@ -397,7 +397,9 @@ automation: scene_id: 1 action: - service: light.toggle - entity_id: light.master_bedroom + entity_id: light.master_bedroom_1 + - service: light.toggle + entity_id: light.master_bedroom_2 - alias: WallMote Button 2 Pressed trigger: diff --git a/templates/away_status.yaml b/templates/away_status.yaml index 4240c60..ecc072d 100644 --- a/templates/away_status.yaml +++ b/templates/away_status.yaml @@ -84,9 +84,7 @@ {%- endmacro -%} {%- macro light_status() -%} - {%- set lights_switches = ["light.family_room", - "light.master_bedroom", - "switch.basement_left", + {%- set lights_switches = ["switch.basement_left", "switch.basement_right", "switch.frontyard_light", "switch.garage", diff --git a/templates/goodnight.yaml b/templates/goodnight.yaml index 5776c78..031461b 100644 --- a/templates/goodnight.yaml +++ b/templates/goodnight.yaml @@ -18,9 +18,7 @@ {#- Provides Light Status -#} {%- macro light_status() -%} - {%- set lights_switches = ["light.family_room", - "light.master_bedroom", - "switch.basement_left", + {%- set lights_switches = ["switch.basement_left", "switch.basement_right", "switch.frontyard_light", "switch.garage", diff --git a/zwcfg_0xd89c4f0c.xml b/zwcfg_0xd89c4f0c.xml index 4091a57..d9e289a 100644 --- a/zwcfg_0xd89c4f0c.xml +++ b/zwcfg_0xd89c4f0c.xml @@ -1,8 +1,8 @@ - - - + + + @@ -11,486 +11,37 @@ - - - + + + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Stay awake for 10 minutes after batteries are inserted - - - - - How long should the device associated to multi sensor keep state On before sending it Off command (if the value is bigger than 255, the value would be rounded to next integer in minutes) - - - Enable Motion Sensor - - - - - Which commands to send when PIR motion sensor triggered OZW Ideal Value is Binary Sensor Report - - - - - Enable/disable the selective reporting only when measurements reach a certain threshold or percentage set in the threshold settings. This is used to reduce network traffic. - - - - - Threshold change in temperature to induce an automatic report. Note: 1. When the unit is Celsius, threshold=Value. 2. When the unit is Fahrenheit, threshold=Value*1.8. The accuracy is 0.1. 3. The high byte is the part of integer, the low byte is the fractional part. - - - Threshold change in humidity to induce an automatic report. Note: The accuracy is 0.1. The high byte is the part of integer, the low byte is the fractional part. - - - Threshold change in luminance to induce an automatic report. - - - Threshold change in battery level to induce an automatic report. Note: The accuracy is 0.1. The high byte is the part of integer, the low byte is the fractional part. - - - Enable/disable to send the alarm report of low temperature(Less than 15 Degress C) - - - - - Which reports need to send automatically in timing intervals for group 1. Bitsets: 0 -> Battery report, 5 -> Temperature, 6 -> Humidity, 7 -> Luminosity - - - Which reports need to send automatically in timing intervals for group 2. Bitsets: 0 -> Battery report, 5 -> Temperature, 6 -> Humidity, 7 -> Luminosity - - - Which reports need to send automatically in timing intervals for group 3. Bitsets: 0 -> Battery report, 5 -> Temperature, 6 -> Humidity, 7 -> Luminosity - - - The interval of sending report group 1. 1 to 2678400 seconds - - - The interval of sending report group 2. 1 to 2678400 seconds - - - The interval of sending report group 3. 1 to 2678400 seconds - - - Enable/disable Lock Configuration - - - - - Reset to factory defaults. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - + + + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - Stay awake for 10 minutes after batteries are inserted - - - - - How long should the device associated to multi sensor keep state On before sending it Off command (if the value is bigger than 255, the value would be rounded to next integer in minutes) - - - Enable Motion Sensor - - - - - Which commands to send when PIR motion sensor triggered OZW Ideal Value is Binary Sensor Report - - - - - Enable/disable the selective reporting only when measurements reach a certain threshold or percentage set in the threshold settings. This is used to reduce network traffic. - - - - - Threshold change in temperature to induce an automatic report. Note: 1. When the unit is Celsius, threshold=Value. 2. When the unit is Fahrenheit, threshold=Value*1.8. The accuracy is 0.1. 3. The high byte is the part of integer, the low byte is the fractional part. - - - Threshold change in humidity to induce an automatic report. Note: The accuracy is 0.1. The high byte is the part of integer, the low byte is the fractional part. - - - Threshold change in luminance to induce an automatic report. - - - Threshold change in battery level to induce an automatic report. Note: The accuracy is 0.1. The high byte is the part of integer, the low byte is the fractional part. - - - Enable/disable to send the alarm report of low temperature(Less than 15 Degress C) - - - - - Which reports need to send automatically in timing intervals for group 1. Bitsets: 0 -> Battery report, 5 -> Temperature, 6 -> Humidity, 7 -> Luminosity - - - Which reports need to send automatically in timing intervals for group 2. Bitsets: 0 -> Battery report, 5 -> Temperature, 6 -> Humidity, 7 -> Luminosity - - - Which reports need to send automatically in timing intervals for group 3. Bitsets: 0 -> Battery report, 5 -> Temperature, 6 -> Humidity, 7 -> Luminosity - - - The interval of sending report group 1. 1 to 2678400 seconds - - - The interval of sending report group 2. 1 to 2678400 seconds - - - The interval of sending report group 3. 1 to 2678400 seconds - - - Enable/disable Lock Configuration - - - - - Reset to factory defaults. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - Enable/Disable Basic Sets of 0x00 on a fault restore to nodes in Group 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -601,24 +152,36 @@ - - - + + + - + + + + + + + + + + + + + + + + - - - - + @@ -696,10 +259,10 @@ - + - + @@ -710,8 +273,8 @@ - - + + @@ -721,16 +284,14 @@ - - - - - + + + @@ -745,32 +306,36 @@ - Stay awake for 10 minutes after batteries are inserted - - + Enable/Disable waking up for 10 minutes when re-power on (battery mode) the MultiSensor + + - + Duration that the motion sensor must observe no motion before it will return to the no-motion state. If value greater than 255, effective value is rounded up to the nearest minute (255 -> 255 seconds, 256 -> 300 seconds) - Enable Motion Sensor + Enable Motion Sensor, (1 minimum, 5 maximum sensitivity level) - + - + - + Which commands to send when PIR motion sensor triggered OZW Ideal Value is Binary Sensor Report - - + + Set the timeout of awake after the Wake Up CC is sent out. Available rang: 8 to 255 seconds. - - Report the current power mode and the product state for battery power mode. Value1 (MSB): 0x00=USB power mode, 0x01=Battery power mode. Value2 (LSB): 0x00= keep sleep state for Battery power mode, 0x01=keep awake for 10 minutes for battery power mode. Note: this parameter cannot be used as Set usage. + + Report the current power mode and the product state for battery power mode + + + + Configure low battery value Value=10 to 50. @@ -780,7 +345,7 @@ - + Threshold change in temperature to induce an automatic report. Note: 1. The unit is Fahrenheit for US version, Celsius for EU/AU version. 2. The value contains one decimal point. E.g. if the value is set to 20, the threshold value = 2.0 C (EU/AU) or 2.0 F (US). When the temperature has changed by 2.0 (of the appropriate unit), a temperature report will be sent. @@ -815,10 +380,10 @@ When the measurement is less than this lower limit, which will trigger to sent out a sensor report. Lower limit range: 0 to 100%. E.g. The default lower limit is 50%, when the measurement is less than 50%, it will be triggered to send out a humidity sensor report. - + When the measurement is more than this upper limit, which will trigger to sent out a sensor report. Upper limit range: 0 to 30000 Lux. E.g. The default upper limit is 1000Lux, when the measurement is more than 1000Lux, it will be triggered to send out a Lighting sensor report. - + When the measurement is less than this lower limit, which will trigger to sent out a sensor report. Lower limit range: 0 to 30000 Lux. E.g. The default lower limit is 100Lux, when the measurement is less than 100Lux, it will be triggered to send out a Lighting sensor report. @@ -828,16 +393,16 @@ When the measurement is less than this upper limit, which will trigger to sent out a sensor report. Lower limit range: 1 to 11. E.g. The default lower limit is 4, when the measurement is less than 8, it will be triggered to send out a ultraviolet sensor report. - Note: 1. When the current measurement lower or equal (Upper limit - Recover limit), the upper limit report is enabled and then it would send out a sensor report when the next measurement is more than the upper limit. After that, the upper limit report would be disabled again until the measurement lower or equal (Upper limit - Recover limit). 2. When the current measurement greater or egal (Lower limit + Recover limit), the lower limit report is enabled and then it would send out a sensor report when the next measurement is less than the lower limit. After that, the lower limit report would be disabled again until the measurement greater or egal (Lower limit + Recover limit). 3. High byte is the recover limit value. Low byte is the unit (0x01=Celsius, 0x02=Fahrenheit). 4. Recover limit range: 1.0 to 25.5 C/ F (0x0101 to 0xFF01 or 0x0102 to 0xFF02). E.g. The default recover limit value is 2.0 C/F (0x1401/0x1402), when the measurement is less than (Upper limit - 2), the upper limit report would be enabled one time or when the measurement is more than (Lower limit + 2), the lower limit report would be enabled one time. + Note: 1. When the current measurement lower or equal (Upper limit - Recover limit), the upper limit report is enabled and then it would send out a sensor report when the next measurement is more than the upper limit. After that, the upper limit report would be disabled again until the measurement lower or equal (Upper limit - Recover limit). 2. When the current measurement greater or equal (Lower limit + Recover limit), the lower limit report is enabled and then it would send out a sensor report when the next measurement is less than the lower limit. After that, the lower limit report would be disabled again until the measurement greater or equal (Lower limit + Recover limit). 3. High byte is the recover limit value. Low byte is the unit (0x01=Celsius, 0x02=Fahrenheit). 4. Recover limit range: 1.0 to 25.5 C/ F (0x0101 to 0xFF01 or 0x0102 to 0xFF02). E.g. The default recover limit value is 2.0 C/F (0x1401/0x1402), when the measurement is less than (Upper limit - 2), the upper limit report would be enabled one time or when the measurement is more than (Lower limit + 2), the lower limit report would be enabled one time. - Note: 1. When the current measurement lower or equal (Upper limit - Recover limit), the upper limit report is enabled and then it would send out a sensor report when the next measurement is more than the upper limit. After that the upper limit report would be disabled again until the measurement lower or equal (Upper limit - Recover limit). 2. When the current measurement greater or egal (Lower limit + Recover limit), the lower limit report is enabled and then it would send out a sensor report when the next measurement is less than the lower limit. After that the lower limit report would be disabled again until the measurement greater or egal(Lower limit + Recover limit). 3. Recover limit range: 1 to 50% (0x01 to 0x32). E.g. The default recover limit value is 5%, when the measurement is less than (Upper limit - 5), the upper limit report would be enabled one time or when the measurement is more than (Lower limit + 5), the lower limit report would be enabled one time. + Note: 1. When the current measurement lower or equal (Upper limit - Recover limit), the upper limit report is enabled and then it would send out a sensor report when the next measurement is more than the upper limit. After that the upper limit report would be disabled again until the measurement lower or equal (Upper limit - Recover limit). 2. When the current measurement greater or equal (Lower limit + Recover limit), the lower limit report is enabled and then it would send out a sensor report when the next measurement is less than the lower limit. After that the lower limit report would be disabled again until the measurement greater or equal(Lower limit + Recover limit). 3. Recover limit range: 1 to 50% (0x01 to 0x32). E.g. The default recover limit value is 5%, when the measurement is less than (Upper limit - 5), the upper limit report would be enabled one time or when the measurement is more than (Lower limit + 5), the lower limit report would be enabled one time. - - Note: 1. When the current measurement lower or equal (Upper limit - Recover limit), the upper limit report is enabled and then it would send out a sensor report when the next measurement is more than the upper limit. After that the upper limit report would be disabled again until the measurement lower or equal (Upper limit - Recover limit). 2. When the current measurement greater or egal (Lower limit + Recover limit), the lower limit report is enabled and then it would send out a sensor report when the next measurement is less than the lower limit. After that the lower limit report would be disabled again until the measurement greater or egal (Lower limit + Recover limit). 3. Unit = 10*Recover limit (Lux) 4. Recover limit range: 10 to 2550Lux (0x01 to 0xFF). E.g. The default recover limit value is 100 Lux, when the measurement is less than (Upper limit - 100), the upper limit report would be enabled one time or when the measurement is more than (Lower limit + 100), the lower limit report would be enabled one time. + + Note: 1. When the current measurement lower or equal (Upper limit - Recover limit), the upper limit report is enabled and then it would send out a sensor report when the next measurement is more than the upper limit. After that the upper limit report would be disabled again until the measurement lower or equal (Upper limit - Recover limit). 2. When the current measurement greater or equal (Lower limit + Recover limit), the lower limit report is enabled and then it would send out a sensor report when the next measurement is less than the lower limit. After that the lower limit report would be disabled again until the measurement greater or equal (Lower limit + Recover limit). 3. Unit = 10*Recover limit (Lux) 4. Recover limit range: 10 to 2550Lux (0x01 to 0xFF). E.g. The default recover limit value is 100 Lux, when the measurement is less than (Upper limit - 100), the upper limit report would be enabled one time or when the measurement is more than (Lower limit + 100), the lower limit report would be enabled one time. - - Note: 1. When the current measurement lower or equal (Upper limit - Recover limit), the upper limit report is enabled and then it would send out a sensor report when the next measurement is more than the upper limit. After that the upper limit report would be disabled again until the measurement lower or equal (Upper limit - Recover limit). 2. When the current measurement greater or egal (Lower limit + Recover limit), the lower limit report is enabled and then it would send out a sensor report when the next measurement is less than the lower limit. After that the lower limit report would be disabled again until the measurement greater or egal(Lower limit + Recover limit). 3. Recover limit range: 1 to 50% (0x01 to 0x32). E.g. The default recover limit value is 5%, when the measurement is less than (Upper limit - 5), the upper limit report would be enabled one time or when the measurement is more than (Lower limit + 5), the lower limit report would be enabled one time. + + Note: 1. When the current measurement lower or equal (Upper limit - Recover limit), the upper limit report is enabled and then it would send out a sensor report when the next measurement is more than the upper limit. After that the upper limit report would be disabled again until the measurement lower or equal (Upper limit - Recover limit). 2. When the current measurement greater or equal (Lower limit + Recover limit), the lower limit report is enabled and then it would send out a sensor report when the next measurement is less than the lower limit. After that the lower limit report would be disabled again until the measurement greater or equal(Lower limit + Recover limit). 3. Recover limit range: 1 to 50% (0x01 to 0x32). E.g. The default recover limit value is 5%, when the measurement is less than (Upper limit - 5), the upper limit report would be enabled one time or when the measurement is more than (Lower limit + 5), the lower limit report would be enabled one time. Get the out-of-limit state of the Sensors. Bit mask = 0, within the limit. Bit mask = 1, out of the limit. Bit 0 = temperature. Bit 1 = humidity. Bit 2 = luminance. Bit 3 = ultraviolet. The above bit masks are used to indicate whether the current measurements of the Sensors are out of the lower limit. The below bit masks are used to indicate whether the current measurements of the Sensors are out of the upper limit. Bit 4 = temperature. Bit 5 = humidity. Bit 6 = luminance. Bit 7 = ultraviolet. @@ -847,10 +412,11 @@ - - LED when motion/vibration triggered - - + + Enable/disable the LED blinking for motion, wakeup, and sensor report. + + + Reset The Reporting Group Configuration (101 to 103) to default @@ -877,7 +443,7 @@ The interval for sending reports for group 3. The effective behavior of this setting depends on the device's power source: - If the device is on USB power, it will send the reports at the configured interval; set it to something low (~15-60 seconds) to get frequent updates from a powered device. - If the device is on battery, the sensor will never report in more often than its configured wake interval, regardless of what this setting is configured to; setting this to 3601 when the wake interval is 3600 would make this group report in every 7200 seconds. 240 seconds is the minimum wake interval, but will quickly use battery. - The calibration value = standard value - measure value. (the available value range is [-100, 100] or [-10C, 10C]). Note: 1. The value contains one decimal point. E.g. if the value is set to 20, the calibration value is 2.0 (EU/AU version) or 2.0 (US version) 2. The calibration value = standard value - measure value. If measure value =25.3 and the standard value = 23.2, so the calibration value= 23.2-25.3 = -2.1 (0xEB). If the measure value =30.1 and the standard value = 33.2, so the calibration value= 33.2-30.1= 3.1 (0x1F). Default value: 1 for EU/AU version, 2 for US version. + Temperature calibration (the available value range is [-128,127] or [-12.8C,12.7C]). Note: 1. High byte is the calibration value. Low byte is the unit (0x01=Celsius,0x02=Fahrenheit) 2. The calibration value (high byte) contains one decimal point. E.g. if the value is set to 20 (0x1401), the calibration value is 2.0C (EU/AU version) or if the value is set to 20 (0x1402), the calibration value is 2.0F (US version) 3. The calibration value (high byte) = standard value - measure value. E.g. If measure value =25.3C and the standard value = 23.2C, so the calibration value= 23.2C - 25.3C= -2.1C (0xEB). If the measure value =30.1C and the standard value = 33.2C, so the calibration value= 33.2C - 30.1C=3.1C (0x1F). Default value: 1 for EU/AU version, 2 for US version. The calibration value = standard value - measure value. (the available value range is [-50, 50]). If measure value =80RH and the standard value = 75RH, so the calibration value= 75RH-80RH = -5RH (0xFB). If the measure value =85RH and the standard value = 90RH, so the calibration value= 90RH-85RH = 5RH (0x05). @@ -893,8 +459,11 @@ - - Reset to factory defaults. + + Reset to factory defaults + + + @@ -974,8 +543,8 @@ - - + + @@ -1006,11 +575,11 @@ - - + + - + @@ -1043,11 +612,11 @@ - + - - - + + + @@ -1086,7 +655,6 @@ Configure the brightness level of RGB LED (0%-100%) when it is in Energy Mode/momentary indicate mode. Byte 1: Red Color Byte 2: Green Color Byte 3: Blue Color - Enable/disable Wattage threshold and percent. @@ -1181,7 +749,7 @@ - + @@ -1190,18 +758,16 @@ - - + + - + - - - + @@ -1213,7 +779,22 @@ - + + + + + + + + + + + + + + + + @@ -1224,7 +805,7 @@ - + @@ -1299,121 +880,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Configures the sensor to send or not send Basic Set commands of 0x00 to nodes in Association group 2 turning the devices off when the sensor is in a restored state (i.e. motion not detected). By default the sensor does NOT send Basic Set commands of 0x00. - - - - - Configures the sensor to either to send or not to send Sensor Binary Report commands to Association Group 1 when the sensor is faulted and restored. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1443,8 +909,8 @@ - - + + @@ -1581,7 +1047,7 @@ - + @@ -1703,327 +1169,28 @@ - - - + + + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This will enable or disable the sound effects when you press or touch the sensing area - - - - - This will enable or disable the vibration effects when you press or touch the sensing area - - - - - This will enable or disable control by sliding the button area - - - - - To configure which report will be sent when pressing the buttons - - - - - - To configure which color will be displayed when the button is pressed. Value 1: (msb) Red. Value 2: Green. Value 3: Blue. Value 4: Reserved - - - Get the LED Strip color value Value 1: (msb) Red. Value 2: Green. Value 3: Blue. Value 4: buzzer and vibrator. (1=ON, 0=OFF) - - - Set the low battery value. Range: 10% - 50%. - - - Reset to factory defaults - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + @@ -2038,7 +1205,7 @@ - + @@ -2132,12 +1299,12 @@ - + - + - + @@ -2224,10 +1391,10 @@ - + - + @@ -2238,8 +1405,8 @@ - - + + @@ -2249,24 +1416,17 @@ - - - - - - - + - + - @@ -2280,32 +1440,36 @@ - Stay awake for 10 minutes after batteries are inserted - - + Enable/Disable waking up for 10 minutes when re-power on (battery mode) the MultiSensor + + - + Duration that the motion sensor must observe no motion before it will return to the no-motion state. If value greater than 255, effective value is rounded up to the nearest minute (255 -> 255 seconds, 256 -> 300 seconds) - Enable Motion Sensor + Enable Motion Sensor, (1 minimum, 5 maximum sensitivity level) - + - + - + Which commands to send when PIR motion sensor triggered OZW Ideal Value is Binary Sensor Report - - + + Set the timeout of awake after the Wake Up CC is sent out. Available rang: 8 to 255 seconds. - - Report the current power mode and the product state for battery power mode. Value1 (MSB): 0x00=USB power mode, 0x01=Battery power mode. Value2 (LSB): 0x00= keep sleep state for Battery power mode, 0x01=keep awake for 10 minutes for battery power mode. Note: this parameter cannot be used as Set usage. + + Report the current power mode and the product state for battery power mode + + + + Configure low battery value Value=10 to 50. @@ -2315,7 +1479,7 @@ - + Threshold change in temperature to induce an automatic report. Note: 1. The unit is Fahrenheit for US version, Celsius for EU/AU version. 2. The value contains one decimal point. E.g. if the value is set to 20, the threshold value = 2.0 C (EU/AU) or 2.0 F (US). When the temperature has changed by 2.0 (of the appropriate unit), a temperature report will be sent. @@ -2350,10 +1514,10 @@ When the measurement is less than this lower limit, which will trigger to sent out a sensor report. Lower limit range: 0 to 100%. E.g. The default lower limit is 50%, when the measurement is less than 50%, it will be triggered to send out a humidity sensor report. - + When the measurement is more than this upper limit, which will trigger to sent out a sensor report. Upper limit range: 0 to 30000 Lux. E.g. The default upper limit is 1000Lux, when the measurement is more than 1000Lux, it will be triggered to send out a Lighting sensor report. - + When the measurement is less than this lower limit, which will trigger to sent out a sensor report. Lower limit range: 0 to 30000 Lux. E.g. The default lower limit is 100Lux, when the measurement is less than 100Lux, it will be triggered to send out a Lighting sensor report. @@ -2363,16 +1527,16 @@ When the measurement is less than this upper limit, which will trigger to sent out a sensor report. Lower limit range: 1 to 11. E.g. The default lower limit is 4, when the measurement is less than 8, it will be triggered to send out a ultraviolet sensor report. - Note: 1. When the current measurement lower or equal (Upper limit - Recover limit), the upper limit report is enabled and then it would send out a sensor report when the next measurement is more than the upper limit. After that, the upper limit report would be disabled again until the measurement lower or equal (Upper limit - Recover limit). 2. When the current measurement greater or egal (Lower limit + Recover limit), the lower limit report is enabled and then it would send out a sensor report when the next measurement is less than the lower limit. After that, the lower limit report would be disabled again until the measurement greater or egal (Lower limit + Recover limit). 3. High byte is the recover limit value. Low byte is the unit (0x01=Celsius, 0x02=Fahrenheit). 4. Recover limit range: 1.0 to 25.5 C/ F (0x0101 to 0xFF01 or 0x0102 to 0xFF02). E.g. The default recover limit value is 2.0 C/F (0x1401/0x1402), when the measurement is less than (Upper limit - 2), the upper limit report would be enabled one time or when the measurement is more than (Lower limit + 2), the lower limit report would be enabled one time. + Note: 1. When the current measurement lower or equal (Upper limit - Recover limit), the upper limit report is enabled and then it would send out a sensor report when the next measurement is more than the upper limit. After that, the upper limit report would be disabled again until the measurement lower or equal (Upper limit - Recover limit). 2. When the current measurement greater or equal (Lower limit + Recover limit), the lower limit report is enabled and then it would send out a sensor report when the next measurement is less than the lower limit. After that, the lower limit report would be disabled again until the measurement greater or equal (Lower limit + Recover limit). 3. High byte is the recover limit value. Low byte is the unit (0x01=Celsius, 0x02=Fahrenheit). 4. Recover limit range: 1.0 to 25.5 C/ F (0x0101 to 0xFF01 or 0x0102 to 0xFF02). E.g. The default recover limit value is 2.0 C/F (0x1401/0x1402), when the measurement is less than (Upper limit - 2), the upper limit report would be enabled one time or when the measurement is more than (Lower limit + 2), the lower limit report would be enabled one time. - Note: 1. When the current measurement lower or equal (Upper limit - Recover limit), the upper limit report is enabled and then it would send out a sensor report when the next measurement is more than the upper limit. After that the upper limit report would be disabled again until the measurement lower or equal (Upper limit - Recover limit). 2. When the current measurement greater or egal (Lower limit + Recover limit), the lower limit report is enabled and then it would send out a sensor report when the next measurement is less than the lower limit. After that the lower limit report would be disabled again until the measurement greater or egal(Lower limit + Recover limit). 3. Recover limit range: 1 to 50% (0x01 to 0x32). E.g. The default recover limit value is 5%, when the measurement is less than (Upper limit - 5), the upper limit report would be enabled one time or when the measurement is more than (Lower limit + 5), the lower limit report would be enabled one time. + Note: 1. When the current measurement lower or equal (Upper limit - Recover limit), the upper limit report is enabled and then it would send out a sensor report when the next measurement is more than the upper limit. After that the upper limit report would be disabled again until the measurement lower or equal (Upper limit - Recover limit). 2. When the current measurement greater or equal (Lower limit + Recover limit), the lower limit report is enabled and then it would send out a sensor report when the next measurement is less than the lower limit. After that the lower limit report would be disabled again until the measurement greater or equal(Lower limit + Recover limit). 3. Recover limit range: 1 to 50% (0x01 to 0x32). E.g. The default recover limit value is 5%, when the measurement is less than (Upper limit - 5), the upper limit report would be enabled one time or when the measurement is more than (Lower limit + 5), the lower limit report would be enabled one time. - - Note: 1. When the current measurement lower or equal (Upper limit - Recover limit), the upper limit report is enabled and then it would send out a sensor report when the next measurement is more than the upper limit. After that the upper limit report would be disabled again until the measurement lower or equal (Upper limit - Recover limit). 2. When the current measurement greater or egal (Lower limit + Recover limit), the lower limit report is enabled and then it would send out a sensor report when the next measurement is less than the lower limit. After that the lower limit report would be disabled again until the measurement greater or egal (Lower limit + Recover limit). 3. Unit = 10*Recover limit (Lux) 4. Recover limit range: 10 to 2550Lux (0x01 to 0xFF). E.g. The default recover limit value is 100 Lux, when the measurement is less than (Upper limit - 100), the upper limit report would be enabled one time or when the measurement is more than (Lower limit + 100), the lower limit report would be enabled one time. + + Note: 1. When the current measurement lower or equal (Upper limit - Recover limit), the upper limit report is enabled and then it would send out a sensor report when the next measurement is more than the upper limit. After that the upper limit report would be disabled again until the measurement lower or equal (Upper limit - Recover limit). 2. When the current measurement greater or equal (Lower limit + Recover limit), the lower limit report is enabled and then it would send out a sensor report when the next measurement is less than the lower limit. After that the lower limit report would be disabled again until the measurement greater or equal (Lower limit + Recover limit). 3. Unit = 10*Recover limit (Lux) 4. Recover limit range: 10 to 2550Lux (0x01 to 0xFF). E.g. The default recover limit value is 100 Lux, when the measurement is less than (Upper limit - 100), the upper limit report would be enabled one time or when the measurement is more than (Lower limit + 100), the lower limit report would be enabled one time. - - Note: 1. When the current measurement lower or equal (Upper limit - Recover limit), the upper limit report is enabled and then it would send out a sensor report when the next measurement is more than the upper limit. After that the upper limit report would be disabled again until the measurement lower or equal (Upper limit - Recover limit). 2. When the current measurement greater or egal (Lower limit + Recover limit), the lower limit report is enabled and then it would send out a sensor report when the next measurement is less than the lower limit. After that the lower limit report would be disabled again until the measurement greater or egal(Lower limit + Recover limit). 3. Recover limit range: 1 to 50% (0x01 to 0x32). E.g. The default recover limit value is 5%, when the measurement is less than (Upper limit - 5), the upper limit report would be enabled one time or when the measurement is more than (Lower limit + 5), the lower limit report would be enabled one time. + + Note: 1. When the current measurement lower or equal (Upper limit - Recover limit), the upper limit report is enabled and then it would send out a sensor report when the next measurement is more than the upper limit. After that the upper limit report would be disabled again until the measurement lower or equal (Upper limit - Recover limit). 2. When the current measurement greater or equal (Lower limit + Recover limit), the lower limit report is enabled and then it would send out a sensor report when the next measurement is less than the lower limit. After that the lower limit report would be disabled again until the measurement greater or equal(Lower limit + Recover limit). 3. Recover limit range: 1 to 50% (0x01 to 0x32). E.g. The default recover limit value is 5%, when the measurement is less than (Upper limit - 5), the upper limit report would be enabled one time or when the measurement is more than (Lower limit + 5), the lower limit report would be enabled one time. Get the out-of-limit state of the Sensors. Bit mask = 0, within the limit. Bit mask = 1, out of the limit. Bit 0 = temperature. Bit 1 = humidity. Bit 2 = luminance. Bit 3 = ultraviolet. The above bit masks are used to indicate whether the current measurements of the Sensors are out of the lower limit. The below bit masks are used to indicate whether the current measurements of the Sensors are out of the upper limit. Bit 4 = temperature. Bit 5 = humidity. Bit 6 = luminance. Bit 7 = ultraviolet. @@ -2382,10 +1546,11 @@ - - LED when motion/vibration triggered - - + + Enable/disable the LED blinking for motion, wakeup, and sensor report. + + + Reset The Reporting Group Configuration (101 to 103) to default @@ -2412,7 +1577,7 @@ The interval for sending reports for group 3. The effective behavior of this setting depends on the device's power source: - If the device is on USB power, it will send the reports at the configured interval; set it to something low (~15-60 seconds) to get frequent updates from a powered device. - If the device is on battery, the sensor will never report in more often than its configured wake interval, regardless of what this setting is configured to; setting this to 3601 when the wake interval is 3600 would make this group report in every 7200 seconds. 240 seconds is the minimum wake interval, but will quickly use battery. - The calibration value = standard value - measure value. (the available value range is [-100, 100] or [-10C, 10C]). Note: 1. The value contains one decimal point. E.g. if the value is set to 20, the calibration value is 2.0 (EU/AU version) or 2.0 (US version) 2. The calibration value = standard value - measure value. If measure value =25.3 and the standard value = 23.2, so the calibration value= 23.2-25.3 = -2.1 (0xEB). If the measure value =30.1 and the standard value = 33.2, so the calibration value= 33.2-30.1= 3.1 (0x1F). Default value: 1 for EU/AU version, 2 for US version. + Temperature calibration (the available value range is [-128,127] or [-12.8C,12.7C]). Note: 1. High byte is the calibration value. Low byte is the unit (0x01=Celsius,0x02=Fahrenheit) 2. The calibration value (high byte) contains one decimal point. E.g. if the value is set to 20 (0x1401), the calibration value is 2.0C (EU/AU version) or if the value is set to 20 (0x1402), the calibration value is 2.0F (US version) 3. The calibration value (high byte) = standard value - measure value. E.g. If measure value =25.3C and the standard value = 23.2C, so the calibration value= 23.2C - 25.3C= -2.1C (0xEB). If the measure value =30.1C and the standard value = 33.2C, so the calibration value= 33.2C - 30.1C=3.1C (0x1F). Default value: 1 for EU/AU version, 2 for US version. The calibration value = standard value - measure value. (the available value range is [-50, 50]). If measure value =80RH and the standard value = 75RH, so the calibration value= 75RH-80RH = -5RH (0xFB). If the measure value =85RH and the standard value = 90RH, so the calibration value= 90RH-85RH = 5RH (0x05). @@ -2428,11 +1593,14 @@ - - Reset to factory defaults. + + Reset to factory defaults + + + - + @@ -2510,7 +1678,7 @@ - + @@ -2525,7 +1693,7 @@ - + @@ -2548,7 +1716,7 @@ - + @@ -2563,139 +1731,18 @@ - - - + + + - + - + - - - - - - - - - - - - - - - - - - Which value of the Sensor Binary Report will be sent when the door is Opened/Closed - - - - - Default setting: Disable - - - - - Which value of the Basic Set will be sent when the door is Opened/Closed - - - - - 10% to 50% - - - Set the interval time of battery report. Value=0, disable the battery report for a interval time. Value=1 to 0x7FFFFFFF, the interval time of battery report is set. Note: 1, if the value is less than 10, the time unit is second. If the value is more than 10, the time unit is 4 minutes, which means if the value is more than 10 and less than 240, the interval time is 4 minutes. If the value is more than 240 and less than 480, the interval is 8 minutes. 2, if the current battery report falls below the low battery value (configurable parameter 39), it will send battery report=0xFF. - - - To configure which sensor report will be sent when the Sensor is triggered Opened/Closed. Bitsets: 0->Battery report, 4->Sensor Binary, 8->Basic Set, Default setting: 0x00000100 (Basic Set). Ideal Setting for OZW is 17 (Sensor Binary and Battery Report). - - - Reset to factory defaults - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +