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0
0.10.3
0.10.2
0.10.1
0.10.0
0.9.0
0.9.0-rc.4
0.9.0-rc.3
0.9.0-rc.2
0.9.0-rc.1
0.9.0-rc.0
0.8.8
0.8.7
0.8.6
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.0
0.6.6
0.6.5
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.0
0.4.3
0.4.2
Elixir Z-Wave library
Current section
Files
Jump to
Current section
Files
lib/grizzly/zwave/generated_mappings.ex
# !! THIS FILE IS GENERATED BY `mix zwave.gen.xml`
# !! DO NOT EDIT DIRECTLY
defmodule Grizzly.ZWave.GeneratedMappings do
@moduledoc false
def command_class_mappings() do
%{
alarm: 113,
antitheft: 93,
antitheft_unlock: 126,
application_capability: 87,
application_status: 34,
association: 133,
association_command_configuration: 155,
association_group_info: 89,
authentication: 161,
authentication_media_write: 162,
av_content_directory_md: 149,
av_content_renderer_status: 150,
av_content_search_md: 151,
av_tagging_md: 153,
barrier_operator: 102,
basic: 32,
basic_tariff_info: 54,
basic_window_covering: 80,
battery: 128,
central_scene: 91,
chimney_fan: 42,
climate_control_schedule: 70,
clock: 129,
configuration: 112,
controller_replication: 33,
crc_16_encap: 86,
dcp_config: 58,
dcp_monitor: 59,
device_reset_locally: 90,
dmx: 101,
door_lock: 98,
door_lock_logging: 76,
energy_production: 144,
entry_control: 111,
firmware_update_md: 122,
generic_schedule: 163,
geographic_location: 140,
grouping_name: 123,
hail: 130,
hrv_control: 57,
hrv_status: 55,
humidity_control_mode: 109,
humidity_control_operating_state: 110,
humidity_control_setpoint: 100,
inclusion_controller: 116,
indicator: 135,
ip_association: 92,
ip_configuration: 154,
ir_repeater: 160,
irrigation: 107,
language: 137,
lock: 118,
mailbox: 105,
manufacturer_proprietary: 145,
manufacturer_specific: 114,
mark: 239,
meter: 50,
meter_pulse: 53,
meter_tbl_config: 60,
meter_tbl_monitor: 61,
meter_tbl_push: 62,
mtp_window_covering: 81,
multi_channel: 96,
multi_channel_association: 142,
multi_cmd: 143,
network_management_basic_node: 77,
network_management_inclusion: 52,
network_management_installation_maintenance: 103,
network_management_primary: 84,
network_management_proxy: 82,
no_operation: 0,
node_naming: 119,
node_provisioning: 120,
non_interoperable: 240,
powerlevel: 115,
prepayment: 63,
prepayment_encapsulation: 65,
proprietary: 136,
protection: 117,
rate_tbl_config: 72,
rate_tbl_monitor: 73,
remote_association: 125,
remote_association_activate: 124,
scene_activation: 43,
scene_actuator_conf: 44,
scene_controller_conf: 45,
schedule: 83,
schedule_entry_lock: 78,
screen_attributes: 147,
screen_md: 146,
security: 152,
security_2: 159,
security_panel_mode: 36,
security_panel_zone: 46,
security_panel_zone_sensor: 47,
sensor_alarm: 156,
sensor_binary: 48,
sensor_configuration: 158,
sensor_multilevel: 49,
silence_alarm: 157,
simple_av_control: 148,
sound_switch: 121,
supervision: 108,
switch_all: 39,
switch_binary: 37,
switch_color: 51,
switch_multilevel: 38,
switch_toggle_binary: 40,
switch_toggle_multilevel: 41,
tariff_config: 74,
tariff_tbl_monitor: 75,
thermostat_fan_mode: 68,
thermostat_fan_state: 69,
thermostat_heating: 56,
thermostat_mode: 64,
thermostat_operating_state: 66,
thermostat_setback: 71,
thermostat_setpoint: 67,
time: 138,
time_parameters: 139,
transport_service: 85,
user_code: 99,
user_credential: 131,
version: 134,
wake_up: 132,
window_covering: 106,
zensor_net: 2,
zip: 35,
zip_6lowpan: 79,
zip_gateway: 95,
zip_naming: 104,
zip_nd: 88,
zip_portal: 97,
zwaveplus_info: 94
}
end
def basic_device_class_mappings() do
%{controller: 1, end_node: 3, routing_end_node: 4, static_controller: 2}
end
def generic_device_class_mappings() do
%{
appliance: 6,
av_control_point: 3,
display: 4,
entry_control: 64,
generic_controller: 1,
meter: 49,
meter_pulse: 48,
network_extender: 5,
non_interoperable: 255,
repeater_end_node: 15,
security_panel: 23,
semi_interoperable: 80,
sensor_alarm: 161,
sensor_binary: 32,
sensor_multilevel: 33,
sensor_notification: 7,
static_controller: 2,
switch_binary: 16,
switch_multilevel: 17,
switch_remote: 18,
switch_toggle: 19,
thermostat: 8,
ventilation: 22,
wall_controller: 24,
window_covering: 9,
zip_node: 21
}
end
def specific_device_class_mappings() do
%{
{:appliance, 0} => :not_used,
{:appliance, 1} => :general_appliance,
{:appliance, 2} => :kitchen_appliance,
{:appliance, 3} => :laundry_appliance,
{:av_control_point, 0} => :not_used,
{:av_control_point, 1} => :sound_switch,
{:av_control_point, 4} => :satellite_receiver,
{:av_control_point, 17} => :satellite_receiver_v2,
{:av_control_point, 18} => :doorbell,
{:display, 0} => :not_used,
{:display, 1} => :simple_display,
{:entry_control, 0} => :not_used,
{:entry_control, 1} => :door_lock,
{:entry_control, 2} => :advanced_door_lock,
{:entry_control, 3} => :secure_keypad_door_lock,
{:entry_control, 4} => :secure_keypad_door_lock_deadbolt,
{:entry_control, 5} => :secure_door,
{:entry_control, 6} => :secure_gate,
{:entry_control, 7} => :secure_barrier_addon,
{:entry_control, 8} => :secure_barrier_open_only,
{:entry_control, 9} => :secure_barrier_close_only,
{:entry_control, 10} => :secure_lockbox,
{:entry_control, 11} => :secure_keypad,
{:generic_controller, 0} => :not_used,
{:generic_controller, 1} => :portable_remote_controller,
{:generic_controller, 2} => :portable_scene_controller,
{:generic_controller, 3} => :portable_installer_tool,
{:generic_controller, 4} => :remote_control_av,
{:generic_controller, 6} => :remote_control_simple,
{:meter, 0} => :not_used,
{:meter, 1} => :simple_meter,
{:meter, 2} => :adv_energy_control,
{:meter, 3} => :whole_home_meter_simple,
{:meter_pulse, 0} => :not_used,
{:network_extender, 0} => :not_used,
{:network_extender, 1} => :secure_extender,
{:non_interoperable, 0} => :not_used,
{:repeater_end_node, 0} => :not_used,
{:repeater_end_node, 1} => :repeater_end_node,
{:repeater_end_node, 2} => :virtual_node,
{:repeater_end_node, 3} => :ir_repeater,
{:security_panel, 0} => :not_used,
{:security_panel, 1} => :zoned_security_panel,
{:semi_interoperable, 0} => :not_used,
{:semi_interoperable, 1} => :energy_production,
{:sensor_alarm, 0} => :not_used,
{:sensor_alarm, 1} => :basic_routing_alarm_sensor,
{:sensor_alarm, 2} => :routing_alarm_sensor,
{:sensor_alarm, 3} => :basic_zensor_net_alarm_sensor,
{:sensor_alarm, 4} => :zensor_net_alarm_sensor,
{:sensor_alarm, 5} => :adv_zensor_net_alarm_sensor,
{:sensor_alarm, 6} => :basic_routing_smoke_sensor,
{:sensor_alarm, 7} => :routing_smoke_sensor,
{:sensor_alarm, 8} => :basic_zensor_net_smoke_sensor,
{:sensor_alarm, 9} => :zensor_net_smoke_sensor,
{:sensor_alarm, 10} => :adv_zensor_net_smoke_sensor,
{:sensor_alarm, 11} => :alarm_sensor,
{:sensor_binary, 0} => :not_used,
{:sensor_binary, 1} => :routing_sensor_binary,
{:sensor_multilevel, 0} => :not_used,
{:sensor_multilevel, 1} => :routing_sensor_multilevel,
{:sensor_multilevel, 2} => :chimney_fan,
{:sensor_notification, 0} => :not_used,
{:sensor_notification, 1} => :notification_sensor,
{:static_controller, 0} => :not_used,
{:static_controller, 1} => :pc_controller,
{:static_controller, 2} => :scene_controller,
{:static_controller, 3} => :static_installer_tool,
{:static_controller, 4} => :set_top_box,
{:static_controller, 5} => :sub_system_controller,
{:static_controller, 6} => :tv,
{:static_controller, 7} => :gateway,
{:switch_binary, 0} => :not_used,
{:switch_binary, 1} => :power_switch_binary,
{:switch_binary, 2} => :color_tunable_binary,
{:switch_binary, 3} => :scene_switch_binary,
{:switch_binary, 4} => :power_strip,
{:switch_binary, 5} => :siren,
{:switch_binary, 6} => :valve_open_close,
{:switch_binary, 7} => :irrigation_controller,
{:switch_multilevel, 0} => :not_used,
{:switch_multilevel, 1} => :power_switch_multilevel,
{:switch_multilevel, 2} => :color_tunable_multilevel,
{:switch_multilevel, 3} => :motor_multiposition,
{:switch_multilevel, 4} => :scene_switch_multilevel,
{:switch_multilevel, 5} => :class_a_motor_control,
{:switch_multilevel, 6} => :class_b_motor_control,
{:switch_multilevel, 7} => :class_c_motor_control,
{:switch_multilevel, 8} => :fan_switch,
{:switch_remote, 0} => :not_used,
{:switch_remote, 1} => :switch_remote_binary,
{:switch_remote, 2} => :switch_remote_multilevel,
{:switch_remote, 3} => :switch_remote_toggle_binary,
{:switch_remote, 4} => :switch_remote_toggle_multilevel,
{:switch_toggle, 0} => :not_used,
{:switch_toggle, 1} => :switch_toggle_binary,
{:switch_toggle, 2} => :switch_toggle_multilevel,
{:thermostat, 0} => :not_used,
{:thermostat, 1} => :thermostat_heating,
{:thermostat, 2} => :thermostat_general,
{:thermostat, 3} => :setback_schedule_thermostat,
{:thermostat, 4} => :setpoint_thermostat,
{:thermostat, 5} => :setback_thermostat,
{:thermostat, 6} => :thermostat_general_v2,
{:ventilation, 0} => :not_used,
{:ventilation, 1} => :residential_hrv,
{:wall_controller, 0} => :not_used,
{:wall_controller, 1} => :basic_wall_controller,
{:window_covering, 0} => :not_used,
{:window_covering, 1} => :simple_window_covering,
{:zip_node, 0} => :not_used,
{:zip_node, 1} => :zip_tun_node,
{:zip_node, 2} => :zip_adv_node
}
end
end