Z-Wave

Questions and comments specific to a particular plugin should go here.
User avatar
kgschlosser
Site Admin
Posts: 4919
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Z-Wave

Post by kgschlosser » Sun Sep 02, 2018 4:28 am

you should be able to double click the egplugin and everything should be good to go. I believe EG will unload the plugin so the dll should unload so it can be upgraded as well. Again... I think.... If it doesn't it should throw an error at ya. As far as any configuration data goes it will keep everything saved.


FYI if you look in C:\ProgramData\EventGhost there will be a folder called ZWave. in that folder there will be folders for each of your networks. The folder names for the networks are the names you gave your network in the plugin config.

Inside that folder there are several files. one of them being the map of your whole network. I mention this becaue in the event you want to perform a backup it would be wise to include this folder as well.
If you like the work I have been doing then feel free to Image

User avatar
kgschlosser
Site Admin
Posts: 4919
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Z-Wave

Post by kgschlosser » Sun Sep 02, 2018 4:44 am

as far as the icons go.. No not animated. But..... if you come across animated ones for say a light bulb that gets brighter and dimmer that can be use full to me. i can seperate the frames in the animation and provide an icon that would show the level of a dimmer.

I highly doubt you will find a single icon pack that contains every single icon. I simply named just a few.


Here is a list of all of the command classes for the ZWave protocol.
A command class is basically a set of rules that have to be followed. it identifies what a device is capable of and because of the rules if you have 2 devices that use the same command class the information obtained from and the control of the device is going to be identical for each of the 2 devices. no matter who makes them.

Code: Select all

# ------------- ACTIVE -------------

# Alarm Silence Command Class - Active
# Application
COMMAND_CLASS_SILENCE_ALARM = 0x9D

# Anti-theft Command Class - Active
# Application
COMMAND_CLASS_ANTITHEFT = 0x5D

# Application Status Command Class - Active
# Management
# This Command Class MUST always be in the NIF if supported
COMMAND_CLASS_APPLICATION_STATUS = 0x22

# Association Command Class - Active
# Management
COMMAND_CLASS_ASSOCIATION = 0x85

# Association Command Configuration Command Class - Active
# Management
COMMAND_CLASS_ASSOCIATION_COMMAND_CONFIGURATION = 0x9B

# Association Group Information (AGI) Command Class - Active
# Management
COMMAND_CLASS_ASSOCIATION_GRP_INFO = 0x59

# Barrier Operator Command Class - Active
# Application
COMMAND_CLASS_BARRIER_OPERATOR = 0x66

# Basic Command Class - Active
# Application
COMMAND_CLASS_BASIC = 0x20

# Basic Tariff Information Command Class - Active
# Application
COMMAND_CLASS_BASIC_TARIFF_INFO = 0x36

# Battery Command Class - Active
# Management
COMMAND_CLASS_BATTERY = 0x80

# Binary Switch Command Class - Active
# Application
COMMAND_CLASS_SWITCH_BINARY = 0x25

# Central Scene Command Class - Active
# Application
COMMAND_CLASS_CENTRAL_SCENE = 0x5B

# Clock Command Class - Active
# Application
COMMAND_CLASS_CLOCK = 0x81

# Color Switch Command Class - Active
# Application
COMMAND_CLASS_SWITCH_COLOR = 0x33

# Configuration Command Class - Active
# Application
COMMAND_CLASS_CONFIGURATION = 0x70

# Controller Replication Command Class - Active
# Application
COMMAND_CLASS_CONTROLLER_REPLICATION = 0x21

# Demand Control Plan Configuration Command Class - Active
# Application
COMMAND_CLASS_DCP_CONFIG = 0x3A

# Demand Control Plan Monitor Command Class - Active
# Application
COMMAND_CLASS_DCP_MONITOR = 0x3B

# Device Reset Locally Command Class - Active
# Management
COMMAND_CLASS_DEVICE_RESET_LOCALLY = 0x5A

# Door Lock Command Class - Active
# Application
COMMAND_CLASS_DOOR_LOCK = 0x62

# Door Lock Logging Command Class - Active
# Application
COMMAND_CLASS_DOOR_LOCK_LOGGING = 0x4C

# Energy Production Command Class - Active
# Application
COMMAND_CLASS_ENERGY_PRODUCTION = 0x90

# Entry Control Command Class - Active
# Application
COMMAND_CLASS_ENTRY_CONTROL = 0x6F

# Firmware Update Meta Data Command Class - Active
# Management
COMMAND_CLASS_FIRMWARE_UPDATE_MD = 0x7A

# Geographic Location Command Class - Active
# Application
COMMAND_CLASS_GEOGRAPHIC_LOCATION = 0x8C

# HRV Status Command Class - Active
# Application
COMMAND_CLASS_HRV_STATUS = 0x37

# HRV Control Command Class - Active
# Application
COMMAND_CLASS_HRV_CONTROL = 0x39

# Humidity Control Mode Command Class - Active
# Application
COMMAND_CLASS_HUMIDITY_CONTROL_MODE = 0x6D

# Humidity Control Operating State Command Class - Active
# Application
COMMAND_CLASS_HUMIDITY_CONTROL_OPERATING_STATE = 0x6E

# Humidity Control Setpoint Command Class - Active
# Application
COMMAND_CLASS_HUMIDITY_CONTROL_SETPOINT = 0x64

# Inclusion Controller Command Class - Active
# Network-Protocol
# This Command Class MUST always be in the NIF if supported
COMMAND_CLASS_INCLUSION_CONTROLLER = 0x74

# Indicator Command Class - Active
# Management
COMMAND_CLASS_INDICATOR = 0x87

# IP Association Command Class - Active
# Management
COMMAND_CLASS_IP_ASSOCIATION = 0x5C

# Irrigation Command Class - Active
# Application
COMMAND_CLASS_IRRIGATION = 0x6B

# Language Command Class - Active
# Application
COMMAND_CLASS_LANGUAGE = 0x89

# Mailbox Command Class - Active
# Network-Protocol
COMMAND_CLASS_MAILBOX = 0x69

# Manufacturer proprietary Command Class - Active
# Application
COMMAND_CLASS_MANUFACTURER_PROPRIETARY = 0x91

# Manufacturer Specific Command Class - Active
# Management
# Nodes MUST reply to Manufacturer Specific Get Commands received non-securely
# if S0 is the highest granted key (CC:0072.01.00.41.004)
COMMAND_CLASS_MANUFACTURER_SPECIFIC = 0x72

# Mark (Support/Control Mark) - Active
# N/A
# This marker is not an actual Command Class
COMMAND_CLASS_MARK = 0xEF

# Meter Command Class - Active
# Application
COMMAND_CLASS_METER = 0x32

# Meter Table Configuration Command Class - Active
# Application
COMMAND_CLASS_METER_TBL_CONFIG = 0x3C

# Meter Table Monitor Command Class - Active
# Application
COMMAND_CLASS_METER_TBL_MONITOR = 0x3D

# Meter Table Push Configuration Command Class - Active
# Application
COMMAND_CLASS_METER_TBL_PUSH = 0x3E

# Multi Channel Command Class - Active
# Transport-Encapsulation
COMMAND_CLASS_MULTI_CHANNEL = 0x60

# Multi Channel Association Command Class - Active
# Management
COMMAND_CLASS_MULTI_CHANNEL_ASSOCIATION = 0x8E

# Multi Command Command Class - Active
# Transport-Encapsulation
# This Command Class MUST always be in the NIF if supported
COMMAND_CLASS_MULTI_CMD = 0x8F

# Multilevel Sensor Command Class - Active
# Application
COMMAND_CLASS_SENSOR_MULTILEVEL = 0x31

# Multilevel Switch Command Class - Active
# Application
COMMAND_CLASS_SWITCH_MULTILEVEL = 0x26

# Network Management Basic Node Command Class - Active
# Network-Protocol
COMMAND_CLASS_NETWORK_MANAGEMENT_BASIC = 0x4D

# Network Management Inclusion Command Class - Active
# Network-Protocol
COMMAND_CLASS_NETWORK_MANAGEMENT_INCLUSION = 0x34

# Network Management Installation and Maintenance Command Class - Active
# Network-Protocol
NETWORK_MANAGEMENT_INSTALLATION_MAINTENANCE = 0x67

# Network Management Proxy Command Class - Active
# Network-Protocol
COMMAND_CLASS_NETWORK_MANAGEMENT_PROXY = 0x52

# No Operation Command Class - Active
# Network-Protocol
COMMAND_CLASS_NO_OPERATION = 0x00

# Node Naming and Location Command Class - Active
# Management
COMMAND_CLASS_NODE_NAMING = 0x77

# Node Provisioning Command Class - Active
# Network-Protocol
COMMAND_CLASS_NODE_PROVISIONING = 0x78

# Notification Command Class - Active
# Application
COMMAND_CLASS_NOTIFICATION = 0x71

# Powerlevel Command Class - Active
# Network-Protocol
COMMAND_CLASS_POWERLEVEL = 0x73

# Prepayment Command Class - Active
# Application
COMMAND_CLASS_PREPAYMENT = 0x3F

# Prepayment Encapsulation Command Class - Active
# Application
COMMAND_CLASS_PREPAYMENT_ENCAPSULATION = 0x41

# Protection Command Class - Active
# Application
COMMAND_CLASS_PROTECTION = 0x75

# Rate Table Configuration Command Class - Active
# Application
COMMAND_CLASS_RATE_TBL_CONFIG = 0x48

# Rate Table Monitor Command Class - Active
# Application
COMMAND_CLASS_RATE_TBL_MONITOR = 0x49

# Scene Activation Command Class - Active
# Application
COMMAND_CLASS_SCENE_ACTIVATION = 0x2B

# Scene Actuator Configuration Command Class - Active
# Application
COMMAND_CLASS_SCENE_ACTUATOR_CONF = 0x2C

# Scene Controller Configuration Command Class - Active
# Application
COMMAND_CLASS_SCENE_CONTROLLER_CONF = 0x2D

# Schedule Command Class - Active
# Application
COMMAND_CLASS_SCHEDULE = 0x53

# Screen Attributes Command Class - Active
# Application
COMMAND_CLASS_SCREEN_ATTRIBUTES = 0x93

# Screen Meta Data Command Class - Active
# Application
COMMAND_CLASS_SCREEN_MD = 0x92

# Security 0 Command Class - Active
# Transport-Encapsulation
COMMAND_CLASS_SECURITY = 0x98

# Security 2 Command Class - Active
# Transport-Encapsulation
# This Command Class MUST always be in the NIF if supported
COMMAND_CLASS_SECURITY_2 = 0x9F

# Security Mark (Unsecure/Secure Mark) - Active
# N/A
# This marker is not an actual Command Class
COMMAND_CLASS_SECURITY_SCHEME0_MARK = 0xF100

# Simple AV Control Command Class - Active
# Application
COMMAND_CLASS_SIMPLE_AV_CONTROL = 0x94

# Sound Switch Command Class - Active
# Application
COMMAND_CLASS_SOUND_SWITCH = 0x79

# Supervision Command Class - Active
# Transport-Encapsulation
# This Command Class MUST always be in the NIF if supported
COMMAND_CLASS_SUPERVISION = 0x6C

# Tariff Table Configuration Command Class - Active
# Application
COMMAND_CLASS_TARIFF_CONFIG = 0x4A

# Tariff Table Monitor Command Class - Active
# Application
COMMAND_CLASS_TARIFF_TBL_MONITOR = 0x4B

# Thermostat Fan Mode Command Class - Active
# Application
COMMAND_CLASS_THERMOSTAT_FAN_MODE = 0x44

# Thermostat Fan State Command Class - Active
# Application
COMMAND_CLASS_THERMOSTAT_FAN_STATE = 0x45

# Thermostat Mode Command Class - Active
# Application
COMMAND_CLASS_THERMOSTAT_MODE = 0x40

# Thermostat Operating State Command Class - Active
# Application
COMMAND_CLASS_THERMOSTAT_OPERATING_STATE = 0x42

# Thermostat Setback Command Class - Active
# Application
COMMAND_CLASS_THERMOSTAT_SETBACK = 0x47

# Thermostat Setpoint Command Class - Active
# Application
COMMAND_CLASS_THERMOSTAT_SETPOINT = 0x43

# Time Command Class - Active
# Application
# This Command Class MUST always be in the NIF if supported
COMMAND_CLASS_TIME = 0x8A

# Time Parameters Command Class - Active
# Application
COMMAND_CLASS_TIME_PARAMETERS = 0x8B

# Transport Service Command Class - Active
# Transport-Encapsulation
# This Command Class MUST always be in the NIF if supported
COMMAND_CLASS_TRANSPORT_SERVICE = 0x55

# User Code Command Class - Active
# Application
COMMAND_CLASS_USER_CODE = 0x63

# Version Command Class - Active
# Management
COMMAND_CLASS_VERSION = 0x86

# Wake Up Command Class - Active
# Management
COMMAND_CLASS_WAKE_UP = 0x84

# Window Covering Command Class - Active
# Application
COMMAND_CLASS_WINDOW_COVERING = 0x6A

# Z/IP Command Class - Active
# Network-Protocol
COMMAND_CLASS_ZIP = 0x23

# Z/IP 6LoWPAN Command Class - Active
# Network-Protocol
COMMAND_CLASS_ZIP_6LOWPAN = 0x4F

# Z/IP Gateway Command Class - Active
# Network-Protocol
COMMAND_CLASS_ZIP_GATEWAY = 0x5F

# Z/IP Naming and Location Command Class - Active
# Management
COMMAND_CLASS_ZIP_NAMING = 0x68

# Z/IP ND Command Class - Active
# Network-Protocol
COMMAND_CLASS_ZIP_ND = 0x58

# Z/IP Portal Command Class - Active
# Network-Protocol
COMMAND_CLASS_ZIP_PORTAL = 0x61

# Z-Wave Plus Info Command Class - Active
# Management
# This Command Class MUST always be in the NIF if supported
COMMAND_CLASS_ZWAVE_PLUS_INFO = 0x5E

# ----------- DEPRECIATED ----------

# Alarm Command Class - Depreciated
# Application
# Alarm has been renamed/overloaded by the Notification Command Class
COMMAND_CLASS_ALARM = 0x71

# Alarm Sensor Command Class - Depreciated
# Application
COMMAND_CLASS_SENSOR_ALARM = 0x9C

# Binary Sensor Command Class - Depreciated
# Application
COMMAND_CLASS_SENSOR_BINARY = 0x30

# Climate Control Schedule Command Class - Depreciated
# Application
COMMAND_CLASS_CLIMATE_CONTROL_SCHEDULE = 0x46

# CRC-16 Encapsulation Command Class - Depreciated
# Transport-Encapsulation
# This Command Class MUST always be in the NIF if supported
COMMAND_CLASS_CRC_16_ENCAP = 0x56

# Grouping Name Command Class - Depreciated
# Management
COMMAND_CLASS_GROUPING_NAME = 0x7B

# Lock Command Class - Depreciated
# Application
COMMAND_CLASS_LOCK = 0x76

# Multilevel Toggle Switch Command Class - Depreciated
# Application
COMMAND_CLASS_SWITCH_TOGGLE_MULTILEVEL = 0x29

# Proprietary Command Class - Depreciated
# Application
COMMAND_CLASS_PROPRIETARY = 0x88

# Pulse Meter Command Class - Depreciated
# Application
COMMAND_CLASS_METER_PULSE = 0x35

# Schedule Entry Lock Command Class - Depreciated
# Application
COMMAND_CLASS_SCHEDULE_ENTRY_LOCK = 0x4E

# ------------ OBSOLETE ------------

# All Switch Command Class - Obsolete
# Application
COMMAND_CLASS_SWITCH_ALL = 0x27

# Application Capability Command Class - Obsolete
# Management
COMMAND_CLASS_APPLICATION_CAPABILITY = 0x57

# Basic Window Covering Command Class - Obsolete
# Application
COMMAND_CLASS_BASIC_WINDOW_COVERING = 0x50

# Binary Toggle Switch Command Class - Obsolete
# Application
COMMAND_CLASS_SWITCH_TOGGLE_BINARY = 0x28

# Hail Command Class - Obsolete
# Management
COMMAND_CLASS_HAIL = 0x82

# IP Configuration Command Class - Obsolete
# Management
COMMAND_CLASS_IP_CONFIGURATION = 0x9A

# Move To Position Window Covering Command Class - Obsolete
# Application
COMMAND_CLASS_MTP_WINDOW_COVERING = 0x51

# Network Management Primary Command Class - Obsolete
# Network-Protocol
COMMAND_CLASS_NETWORK_MANAGEMENT_PRIMARY = 0x54

# Remote Association Activation Command Class - Obsolete
# Management
COMMAND_CLASS_REMOTE_ASSOCIATION_ACTIVATE = 0x7C

# Remote Association Configuration Command Class - Obsolete
# Management
COMMAND_CLASS_REMOTE_ASSOCIATION = 0x7D

# Sensor Configuration Command Class - Obsolete
# Application
COMMAND_CLASS_SENSOR_CONFIGURATION = 0x9E
Now just because a command class is obsolete or depreciated does not mean it is not used any more. it simply means that any new devices made will no longer use those command classes. We still need to provide access to devices with those command classes.

A device can have any combination of the above command classes.

for your door/window sensor. it uses these command classes

COMMAND_CLASS_NO_OPERATION
COMMAND_CLASS_BASIC
COMMAND_CLASS_WAKE_UP
COMMAND_CLASS_ASSOCIATION
COMMAND_CLASS_VERSION
COMMAND_CLASS_SENSOR_BINARY
COMMAND_CLASS_BATTERY
COMMAND_CLASS_CONFIGURATION
COMMAND_CLASS_ALARM
COMMAND_CLASS_MANUFACTURER_SPECIFIC
COMMAND_CLASS_POWERLEVEL
COMMAND_CLASS_DEVICE_RESET_LOCALLY
COMMAND_CLASS_ZWAVE_PLUS_INFO


Here is a list of the device categories and a list of device sub categories (specific device type)

Look at the lowercase string. that is a better description.
If you look in the CATEGORY section for say 'Multilevel Switch'. to the left you will see GENERIC_TYPE_SWITCH_MULTILEVEL
if you look in SUBCATEGORY scroll down to GENERIC_TYPE_SWITCH_MULTILEVEL. for that category these device types are listed
'Multilevel Power Switch'
'Multiposition Motor'
'Multilevel Scene Switch'
'Motor Control Class A'
'Motor Control Class B'
'Motor Control Class C''

'Multilevel Power Switch' is a dimmer switch.

Code: Select all


CATEGORY = {
    GENERIC_TYPE_REMOTE_CONTROLLER: 'Remote Controller',
    GENERIC_TYPE_STATIC_CONTROLLER: 'Static Controller',
    GENERIC_TYPE_AV_CONTROL_POINT: 'AV Control Point',
    GENERIC_TYPE_DISPLAY: 'Display',
    GENERIC_TYPE_NETWORK_EXTENDER: 'Network Extender',
    GENERIC_TYPE_APPLIANCE: 'Appliance',
    GENERIC_TYPE_SENSOR_NOTIFICATION: 'Notification Sensor',
    GENERIC_TYPE_THERMOSTAT: 'Thermostat',
    GENERIC_TYPE_WINDOW_COVERING: 'Window Covering',
    GENERIC_TYPE_REPEATER_SLAVE: 'Repeater Slave',
    GENERIC_TYPE_SWITCH_BINARY: 'Binary Switch',
    GENERIC_TYPE_SWITCH_MULTILEVEL: 'Multilevel Switch',
    GENERIC_TYPE_SWITCH_REMOTE: 'Remote Switch',
    GENERIC_TYPE_TOGGLE_SWITCH: 'Toggle Switch',
    GENERIC_TYPE_ZIP_GATEWAY: 'Z/IP Gateway',
    GENERIC_TYPE_ZIP_NODE: 'Z/IP Node',
    GENERIC_TYPE_VENTILATION: 'Ventilation',
    GENERIC_TYPE_SECURITY_PANEL: 'Security Panel',
    GENERIC_TYPE_WALL_CONTROLLER: 'Wall Controller',
    GENERIC_TYPE_SENSOR_BINARY: 'Binary Sensor',
    GENERIC_TYPE_SENSOR_MULTILEVEL: 'Multilevel Sensor',
    GENERIC_TYPE_PULSE_METER: 'Pulse Meter',
    GENERIC_TYPE_METER: 'Meter',
    GENERIC_TYPE_ENTRY_CONTROL: 'Entry Control',
    GENERIC_TYPE_SEMI_INTEROPERABLE: 'Semi Interoperable',
    GENERIC_TYPE_SENSOR_ALARM: 'Alarm Sensor',
    GENERIC_TYPE_NON_INTEROPERABLE: 'Non Interoperable',
}

SUBCATEGORY = {
    GENERIC_TYPE_REMOTE_CONTROLLER: {
        SPECIFIC_TYPE_PORTABLE_REMOTE_CONTROLLER: 'Portable Remote Controller',
        SPECIFIC_TYPE_PORTABLE_SCENE_CONTROLLER: 'Portable Scene Controller',
        SPECIFIC_TYPE_PORTABLE_INSTALLER_TOOL: 'Portable Installer Tool',
        SPECIFIC_TYPE_REMOTE_CONTROL_AV: 'Remote Control AV',
        SPECIFIC_TYPE_REMOTE_CONTROL_SIMPLE: 'Remote Control Simple'
    },
    GENERIC_TYPE_STATIC_CONTROLLER: {
        SPECIFIC_TYPE_STATIC_PC_CONTROLLER: 'Static PC Controller',
        SPECIFIC_TYPE_STATIC_SCENE_CONTROLLER: 'Static Scene Controller',
        SPECIFIC_TYPE_STATIC_INSTALLER_TOOL: 'Static Installer Tool'
    },
    GENERIC_TYPE_AV_CONTROL_POINT: {
        SPECIFIC_TYPE_SET_TOP_BOX: 'Set Top Box',
        SPECIFIC_TYPE_SUB_SYSTEM_CONTROLLER: 'Sub System Controller',
        SPECIFIC_TYPE_TV: 'TV',
        SPECIFIC_TYPE_GATEWAY: 'Gateway',
        SPECIFIC_TYPE_SATELLITE_RECEIVER: 'Satellite Receiver',
        SPECIFIC_TYPE_SATELLITE_RECEIVER_V2: 'Satellite Receiver V2',
        SPECIFIC_TYPE_DOORBELL: 'Doorbell'
    },
    GENERIC_TYPE_DISPLAY: {
        SPECIFIC_TYPE_SIMPLE_DISPLAY: 'Simple Display'
    },
    GENERIC_TYPE_NETWORK_EXTENDER: {
        SPECIFIC_TYPE_SECURE_EXTENDER: 'Secure Extender'
    },
    GENERIC_TYPE_APPLIANCE: {
        SPECIFIC_TYPE_GENERAL_APPLIANCE: 'General Appliance',
        SPECIFIC_TYPE_KITCHEN_APPLIANCE: 'Kitchen Appliance',
        SPECIFIC_TYPE_LAUNDRY_APPLIANCE: 'Laundry Appliance'
    },
    GENERIC_TYPE_SENSOR_NOTIFICATION: {
        SPECIFIC_TYPE_SENSOR_NOTIFICATION: 'Notification Sensor'
    },
    GENERIC_TYPE_THERMOSTAT: {
        SPECIFIC_TYPE_HEATING_THERMOSTAT: 'Heating Thermostat',
        SPECIFIC_TYPE_GENERAL_THERMOSTAT: 'General Thermostat',
        SPECIFIC_TYPE_SETBACK_SCHEDULE_THERMOSTAT: (
            'Setback Schedule Thermostat'
        ),
        SPECIFIC_TYPE_SETPOINT_THERMOSTAT: 'Setpoint Thermostat',
        SPECIFIC_TYPE_SETBACK_THERMOSTAT: 'Setback Thermostat',
        SPECIFIC_TYPE_GENERAL_THERMOSTAT_V2: 'General Thermostat V2'
    },
    GENERIC_TYPE_WINDOW_COVERING: {
        SPECIFIC_TYPE_SIMPLE_WINDOW_COVERING: 'Simple Window Covering'
    },
    GENERIC_TYPE_REPEATER_SLAVE: {
        SPECIFIC_TYPE_BASIC_REPEATER_SLAVE: 'Basic Repeater Slave'
    },
    GENERIC_TYPE_SWITCH_BINARY: {
        SPECIFIC_TYPE_POWER_SWITCH_BINARY: 'Binary Power Switch',
        SPECIFIC_TYPE_SCENE_SWITCH_BINARY: 'Binary Scene Switch',
        SPECIFIC_TYPE_POWER_STRIP: 'Power Strip',
        SPECIFIC_TYPE_SIREN: 'Siren',
        SPECIFIC_TYPE_VALVE_OPEN_CLOSE: 'Valve Open Close'
    },
    GENERIC_TYPE_SWITCH_MULTILEVEL: {
        SPECIFIC_TYPE_POWER_SWITCH_MULTILEVEL: 'Multilevel Power Switch',
        SPECIFIC_TYPE_MULTIPOSITION_MOTOR: 'Multiposition Motor',
        SPECIFIC_TYPE_SCENE_SWITCH_MULTILEVEL: 'Multilevel Scene Switch',
        SPECIFIC_TYPE_MOTOR_CONTROL_CLASS_A: 'Motor Control Class A',
        SPECIFIC_TYPE_MOTOR_CONTROL_CLASS_B: 'Motor Control Class B',
        SPECIFIC_TYPE_MOTOR_CONTROL_CLASS_C: 'Motor Control Class C'
    },
    GENERIC_TYPE_SWITCH_REMOTE: {
        SPECIFIC_TYPE_REMOTE_SWITCH_BINARY: 'Binary Remote Switch',
        SPECIFIC_TYPE_REMOTE_SWITCH_MULTILEVEL: 'Multilevel Remote Switch',
        SPECIFIC_TYPE_REMOTE_TOGGLE_SWITCH_BINARY: (
            'Binary Toggle Remote Switch'
        ),
        SPECIFIC_TYPE_REMOTE_TOGGLE_SWITCH_MULTILEVEL: (
            'Multilevel Toggle Remote Switch'
        )
    },
    GENERIC_TYPE_TOGGLE_SWITCH: {
        SPECIFIC_TYPE_TOGGLE_SWITCH_BINARY: 'Binary Toggle Switch',
        SPECIFIC_TYPE_TOGGLE_SWITCH_MULTILEVEL: 'Multilevel Toggle Switch'
    },
    GENERIC_TYPE_ZIP_GATEWAY: {
        SPECIFIC_TYPE_ZIP_TUNNELING_GATEWAY: 'Z/IP Tunneling Gateway',
        SPECIFIC_TYPE_ZIP_ADVANCED_GATEWAY: 'Z/IP Advanced Gateway'
    },
    GENERIC_TYPE_ZIP_NODE: {
        SPECIFIC_TYPE_ZIP_TUNNELING_NODE: 'Z/IP Tunneling Node',
        SPECIFIC_TYPE_ZIP_ADVANCED_NODE: 'Z/IP Advanced Node'
    },
    GENERIC_TYPE_VENTILATION: {
        SPECIFIC_TYPE_RESIDENTIAL_HEAT_RECOVERY_VENTILATION: (
            'Residential Heat Recovery Ventilation'
        ),
    },
    GENERIC_TYPE_SECURITY_PANEL: {
        SPECIFIC_TYPE_ZONED_SECURITY_PANEL: 'Zoned Security Panel'
    },
    GENERIC_TYPE_WALL_CONTROLLER: {
        SPECIFIC_TYPE_BASIC_WALL_CONTROLLER: 'Basic Wall Controller'
    },
    GENERIC_TYPE_SENSOR_BINARY: {
        SPECIFIC_TYPE_ROUTING_SENSOR_BINARY: 'Routing Binary Sensor'
    },
    GENERIC_TYPE_SENSOR_MULTILEVEL: {
        SPECIFIC_TYPE_ROUTING_SENSOR_MULTILEVEL: 'Routing Multilevel Sensor',
        SPECIFIC_TYPE_CHIMNEY_FAN: 'Chimney Fan'
    },
    GENERIC_TYPE_PULSE_METER: {},
    GENERIC_TYPE_METER: {
        SPECIFIC_TYPE_SIMPLE_METER: 'Simple Meter',
        SPECIFIC_TYPE_ADVANCED_ENERGY_CONTROL: 'Advanced Energy Control',
        SPECIFIC_TYPE_WHOLE_HOME_METER_SIMPLE: 'Whole Home Meter Simple'
    },
    GENERIC_TYPE_ENTRY_CONTROL: {
        SPECIFIC_TYPE_DOOR_LOCK: 'Door Lock',
        SPECIFIC_TYPE_ADVANCED_DOOR_LOCK: 'Advanced Door Lock',
        SPECIFIC_TYPE_SECURE_KEYPAD_DOOR_LOCK: 'Secure Keypad Door Lock',
        SPECIFIC_TYPE_SECURE_KEYPAD_DEADBOLT_DOOR_LOCK: (
            'Secure Keypad Door Lock DeadBolt'
        ),
        SPECIFIC_TYPE_SECURE_DOOR: 'Secure Door',
        SPECIFIC_TYPE_SECURE_GATE: 'Secure Gate',
        SPECIFIC_TYPE_SECURE_BARRIER_ADDON: 'Secure Barrier AddOn',
        SPECIFIC_TYPE_SECURE_BARRIER_OPEN_ONLY: 'Secure Barrier Open Only',
        SPECIFIC_TYPE_SECURE_BARRIER_CLOSE_ONLY: 'Secure Barrier Close Only',
        SPECIFIC_TYPE_SECURE_LOCKBOX: 'Secure LockBox'
    },
    GENERIC_TYPE_SEMI_INTEROPERABLE: {
        SPECIFIC_TYPE_ENERGY_PRODUCTION: 'Energy Production'
    },
    GENERIC_TYPE_SENSOR_ALARM: {
        SPECIFIC_TYPE_ROUTING_SENSOR_BASIC_ALARM: 'Basic Routing Alarm Sensor',
        SPECIFIC_TYPE_ROUTING_SENSOR_ALARM: 'Routing Alarm Sensor',
        SPECIFIC_TYPE_SENSOR_BASIC_ZENSOR_ALARM: 'Basic Zensor Alarm Sensor',
        SPECIFIC_TYPE_SENSOR_ZENSOR_ALARM: 'Zensor Alarm Sensor',
        SPECIFIC_TYPE_SENSOR_ADVANCED_ZENSOR_ALARM: (
            'Advanced Zensor Alarm Sensor'
        ),
        SPECIFIC_TYPE_ROUTING_SENSOR_BASIC_SMOKE: 'Basic Routing Smoke Sensor',
        SPECIFIC_TYPE_SENSOR_ROUTING_SMOKE: 'Routing Smoke Sensor',
        SPECIFIC_TYPE_SENSOR_BASIC_ZENSOR_SMOKE: 'Basic Zensor Smoke Sensor',
        SPECIFIC_TYPE_SENSOR_ZENSOR_SMOKE: 'Zensor Smoke Sensor',
        SPECIFIC_TYPE_SENSOR_ADVANCED_ZENSOR_SMOKE: (
            'Advanced Zensor Smoke Sensor'
        ),
        SPECIFIC_TYPE_SENSOR_ALARM: 'Alarm Sensor'
    },
    GENERIC_TYPE_NON_INTEROPERABLE: {}
}

So i guess the best thing would be to locate icons for the command classes as well as for the device categories and sub categories.

It doesn't have to be all of them. icons can be added as they are found.
If you like the work I have been doing then feel free to Image

holdestmade
Experienced User
Posts: 182
Joined: Thu Dec 04, 2014 2:44 pm

Re: Z-Wave

Post by holdestmade » Sun Sep 02, 2018 7:52 am

Have you looked at icons8 ? I've used them in the past for remote control projects. I think they are free as long as you provide a link. There are most home automation icons. If you have a look and they are free for eg and find a suitable collection I'm quite happy to find / create an icon for each class.

skribb
Experienced User
Posts: 224
Joined: Thu Feb 12, 2015 7:22 pm
Location: Win7 64bit

Re: Z-Wave

Post by skribb » Thu Sep 13, 2018 6:56 pm

error while trying to SET battery level

I assume it's because you're not supposed to be able to manipulate the battery level? I'd like to request however that you remove battery level from "set" because I actually got this because I accidentally chose SET instead of GET :roll: :roll:

Code: Select all

ZWave: Set: aeotec_zstick.Entrance.main_door.Battery Level = None
   Error in Action: "ZWave: Set: aeotec_zstick.Entrance.main_door.Battery Level = None"
   Traceback (most recent call last) (0.5.0-rc4):
     File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionBase.py", line 116, in CallWrapper
       return self(*args)
     File "C:\ProgramData\EventGhost\plugins\ZWave\__init__.py", line 1419, in __call__
       prop.data = value
     File "C:\ProgramData\EventGhost\plugins\ZWave\zwave_value.py", line 509, in data
       self._network.manager.setValue(self.id, value)
     File "libopenzwave_source\libopenzwave\libopenzwave.pyx", line 2855, in libopenzwave.PyManager.setValue
   TypeError: an integer is required
Exception in thread Thread-271114:
Traceback (most recent call last):
  File "threading.pyc", line 801, in __bootstrap_inner
  File "threading.pyc", line 754, in run
  File "C:\ProgramData\EventGhost\plugins\ZWave\zwave_value.py", line 116, in run
    self._func(*self._args, **self._kwargs)
  File "libopenzwave_source\libopenzwave\libopenzwave.pyx", line 2855, in libopenzwave.PyManager.setValue
TypeError: an integer is required
Automation is life.

Win7 64bit
EG: v0.5.0-rc4

User avatar
kgschlosser
Site Admin
Posts: 4919
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Z-Wave

Post by kgschlosser » Thu Sep 13, 2018 8:43 pm

It is supposed to only allow you to change variables that can be changed. In this case I am guessing you can set the battery level. The ability to set a specific variable is gotten from the actual device. The error you are seeing is because the data sent to the device was not the proper type. In this case an integer is supposed to be passed. And again this is gotten from the device it's self.

What I need to know is.. what type of control was there for setting the level?? Was it a spin control where you had the up and down arrows to change the value. Or was it a text entry control. Where you had to type out the value.

I also wanted to know how the stability is working out for ya?? Everything you hoped for??? I know you were concerned about spending more money and ending up with it not being relialable like you have done in the past.

I am hoping this plugin fixes the issues you were having in the past. I am also hoping that if it has fixed your issues you will expand your network.

I have been working on adding more device classes but also adding support for the really new command class versions.
I still have to figure out the whole multi instance deal. I have a multizone landscape lighting controller that has 6 zones that can be turned on and off but it shows up as a single switch. There is a way to tell the device which zone to turn on and off. I have not been able to figure that out yet.
If you like the work I have been doing then feel free to Image

skribb
Experienced User
Posts: 224
Joined: Thu Feb 12, 2015 7:22 pm
Location: Win7 64bit

Re: Z-Wave

Post by skribb » Mon Sep 17, 2018 7:16 pm

kgschlosser wrote:
Thu Sep 13, 2018 8:43 pm


I also wanted to know how the stability is working out for ya?? Everything you hoped for??? I know you were concerned about spending more money and ending up with it not being relialable like you have done in the past.

I am hoping this plugin fixes the issues you were having in the past. I am also hoping that if it has fixed your issues you will expand your network.
The plugin is handling the magnet sensor quite well :D

Donation is coming, but I want to test it out an additional week or two :D


What I need to know is.. what type of control was there for setting the level?? Was it a spin control where you had the up and down arrows to change the value. Or was it a text entry control. Where you had to type out the value.
There is nothing to set, there's a preset "100%" that cannot be edited (just a line of text, no text edit box or anything) :shock:
Automation is life.

Win7 64bit
EG: v0.5.0-rc4

User avatar
kgschlosser
Site Admin
Posts: 4919
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Z-Wave

Post by kgschlosser » Mon Sep 17, 2018 10:03 pm

OK that would mean there is nothing to set. LOL... It means that the detection of the read only for the variable is working correctly. I have to put in some code that will disable the OK and Apply button if that zwave variable is selected in the set action.

I firmly believe that no one should be able to break your HA except for you. some third party shouldn't be able to do that. So i am glad it is working out for you as far as the door sensor goes.

You are going to have to step it up a notch now.
viewtopic.php?f=13&t=8226

:D
If you like the work I have been doing then feel free to Image

skribb
Experienced User
Posts: 224
Joined: Thu Feb 12, 2015 7:22 pm
Location: Win7 64bit

Re: Z-Wave

Post by skribb » Wed Sep 19, 2018 7:32 am

kgschlosser wrote:
Mon Sep 17, 2018 10:03 pm
OK that would mean there is nothing to set. LOL... It means that the detection of the read only for the variable is working correctly. I have to put in some code that will disable the OK and Apply button if that zwave variable is selected in the set action.
cool

kgschlosser wrote:
Mon Sep 17, 2018 10:03 pm

You are going to have to step it up a notch now.
viewtopic.php?f=13&t=8226

:D
gonna check that out!
Automation is life.

Win7 64bit
EG: v0.5.0-rc4

User avatar
kgschlosser
Site Admin
Posts: 4919
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Z-Wave

Post by kgschlosser » Wed Sep 19, 2018 9:36 am

The geofencing is pretty cool stuff. tho it does take some life out of the batteries on a mobile phone. They have gotten much better with how long the batteries last. My phone lasts more then a single day with the geofencing running.
If you like the work I have been doing then feel free to Image

skribb
Experienced User
Posts: 224
Joined: Thu Feb 12, 2015 7:22 pm
Location: Win7 64bit

Re: Z-Wave

Post by skribb » Tue Sep 25, 2018 3:42 pm

so like 3 times now, since I got the Zwave door contact, it has not triggered in EG. looking the log, there has been no events coming from the door contact at those specific moments.

I'm wondering if this is related to the plugin, or if there's an inherent fault in the door contact I'm using, or maybe even the Zstick itself?

I should probably get a second door contact on the same door for redundancy and troubleshooting purposes!
Automation is life.

Win7 64bit
EG: v0.5.0-rc4

User avatar
kgschlosser
Site Admin
Posts: 4919
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Z-Wave

Post by kgschlosser » Wed Sep 26, 2018 5:03 am

I am going to assume you have gotten events in EventGhost for the door sensor.
I am also going to assume that you do not have the computer go to sleep.


Even if you do not have your PC go to sleep it could be shutting off power to the USB ports. so we want to make sure that anything related to the USB ports for powering them down is disabled/off

Make sure you have all of the power saving features turned off for your USB hubs. you can do this in device manager.
also in Device manager go into the drivers for the zstick in device manager and make sure any power saving features are also turned off there as well, if there are any

in the Power Settings in control panel. edit the plan you have active click on the advanced settings. expand the USB settings and under the selective suspend make sure it is set t disabled.

You may have power setting options in the bios of your PC. if you do make sure anything related to USB is disabled/off

I did find an issue in the plugin I have to fix. in the plugin config. the polling setting for a zstick does not work.
you need to go into the network settings for that zstick it is one of the tabs in the plugin config dialog.
go to that device and make sure you turn on the polling for it.
then go to the variable that holds the state of the device and make sure the polling is turned on there as well...
If you like the work I have been doing then feel free to Image

jachin99
Experienced User
Posts: 603
Joined: Sat Feb 13, 2016 8:39 pm

Re: Z-Wave

Post by jachin99 » Mon Oct 01, 2018 2:35 pm

I believe I have successfully installed this plugin but I want to give some feedback in case it is needed or helpful for others. I ran into a few errors but I think it worked out in the end. This is how I installed this.

1. I installed drivers for my zstick by right clicking the .inf file and selecting install
2. I then plugged in the zstick
3. I then downloaded version .5b of the zwave plugin, ad clicked on it - EG threw what has been captured in Error 1 .jpg below
Error 1.JPG
4. I then selected OK in the dialogue popup box captured in the screenshot above, tried adding the plugin but got a screen telling me
that I might need to restart EG as admin, or install manually. I restarted as admin, and tried adding the plugin once again

5. This time the zwave plugin was added to my tree but I DID NOT GET the dialogue box asking me which com port the zstick was on, and I got the
error message captured in Save EG Tree error.jpg below.
Save EG Tree error.JPG



6. I closed EG out without saving, and tried adding the plugin again. This time I got the box asking me which com port my zstick was on, and I see SET, GET, Etc. listed under the plugin's folder.

This is with EG 5 RC 4, and Windows 10 build 1511
Attachments
Capture.JPG

User avatar
kgschlosser
Site Admin
Posts: 4919
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Z-Wave

Post by kgschlosser » Mon Oct 01, 2018 4:59 pm

Problem was EG was not running when you installed the plugin.

It never even dawned on me to install it without EG running.

The errors are because it is trying to manipulate EG in a way that cannot be done if it is not fully running.
If you like the work I have been doing then feel free to Image

jachin99
Experienced User
Posts: 603
Joined: Sat Feb 13, 2016 8:39 pm

Re: Z-Wave

Post by jachin99 » Wed Oct 03, 2018 2:43 pm

When I add a device, such as my Aeotec ZW100, to my ZWave network does EG assume it is capable of every Set/Get action, or does EG somehow ask the device what its capabilities are, and only allow me to create Set/Get macros based on the device's response? Thanks.

User avatar
kgschlosser
Site Admin
Posts: 4919
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Z-Wave

Post by kgschlosser » Thu Oct 04, 2018 4:33 am

the device is what populates what can be done with it.

What I would so is use the network control panel to make any one time setting changes. things like polling. all of the settings are persistent. I would use the set action to set the dynamic items. things like the light level or state.

There is one thing that i need to fix in the set action. and that is if you do not see a field that you can change then you should not try to set that item. it will error if you do.
If you like the work I have been doing then feel free to Image

Post Reply