Updating xml file Everspring SP816 motion detection

For Z-Wave related questions in Domoticz

Moderator: leecollings

Post Reply
HJvD
Posts: 6
Joined: Wednesday 24 October 2018 14:27
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Contact:

Updating xml file Everspring SP816 motion detection

Post by HJvD »

Hi,

Just bought the Everspring SP816 motion detector. After including the sensor in the Zwave network I found in Domoticz that not all the possebilities of the sensor were available. After looking in the xml configuration file I found that this was very brief:

<?xml version="1.0" encoding="utf-8"?>
<!--
Everspring Outdoor Motion Detector SP816-1
https://products.z-wavealliance.org/products/2656
-->
<Product xmlns='http://code.google.com/p/open-zwave/'>
<!-- Configuration not Supported-->
<!-- Basic set as report -->
<CommandClass id="32" setasreport="true"/>
<!-- COMMAND_CLASS_ASSOCIATION. Groups -->
<CommandClass id="133">
<Associations num_groups="2">
<Group index="1" max_associations="1" label="Lifeline" />
<Group index="2" max_associations="4" label="Control" auto="true"/>
</Associations>
</CommandClass>

</Product>

After looking in the products database (https://products.z-wavealliance.org/products/2656) I found that there was a more enhanced product data file.

My question: can I replace the existing xml file with the more enhanced file after excluding the sensor en then include again, or do I have to adjust the enhanced file for it being able to work with Domoticz?

The enhanced file looks like this:

<?xml version="1.0" encoding="utf-8"?>
<ProductExport xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Id>2656</Id>
<Name>Outdoor Motion Detector</Name>
<Description>The SP816 Outdoor Motion Detector is a Z-Wave Plus enabled device which built S2 security and is fully compatible with any Z-Wave enabled network. The device can be set up in a Z-wave network to communicate directly with other end devices such as lighting controllers, or to report directly to a Z-wave controller.

This motion detector is primarily designed for outdoor lighting control application. It features a PIR motion detector to detect movement in a protected area and a lux sensor for determining brightness of its surroundings. It comes with a built in timer to set the duration for light turn on. The lux level and the timer can be set through knobs on the device itself.

If the PIR detects motion when lux level falls below a preset setting, the device will transmit a signal to turn on the outdoor lighting (or indirectly through gateway) and then later turns it off when its timer has elapsed.

This device can also be used as a basic motion sensor for indoor security application.
</Description>
<Description_Short>Everspring SP816 Z-Wave Outdoor Motion Detector</Description_Short>
<Brand>Everspring</Brand>
<Identifier>SP816-1</Identifier>
<CertificationNumber>ZC10-17115829</CertificationNumber>
<OemVersion>HW: 1 FW: 1.01:02.01</OemVersion>
<HardwarePlatform>SD3502</HardwarePlatform>
<ZWaveVersion>6.71.01</ZWaveVersion>
<LibraryType>Enhanced 232 Slave</LibraryType>
<DeviceType>Notification Sensor</DeviceType>
<RoleType>Reporting Sleeping Slave</RoleType>
<ManufacturerId>0x0060</ManufacturerId>
<ProductTypeId>0x0001</ProductTypeId>
<ProductId>0x0005</ProductId>
<FrequencyName>CEPT (Europe)</FrequencyName>
<UserIcon>0x0C07</UserIcon>
<InstallerIcon>0x0C07</InstallerIcon>
<ProductUrl />
<SupportUrl />
<ManualUrl>https://Products.Z-WaveAlliance.org/Pro ... 2656/SP816 A501112630R_20171030.pdf</ManualUrl>
<InclusionDescription>1. Put the Z-Wave Controller into inclusion mode.
2. Press the tamper switch 3 times within 1.5 seconds to put the unit into inclusion mode.
</InclusionDescription>
<ExclusionDescription>1. Put the Z-Wave Controller into exclusion mode.
2. Press the tamper switch 3 times within 1.5 seconds to put the unit into exclusion mode.
</ExclusionDescription>
<LearnModeDescription />
<ResetDescription>Please use this procedure only when the network primary controller is missing or otherwise inoperable.

1. Press the link button 3 times within 1.5 seconds to put the unit into exclusion mode.
2. Within 1 second of step 1, press the tamper switch again and hold until LED is off (about 5 seconds).
3. Node ID is excluded. The device reverts to factory default state and will be in auto-inclusion mode for 4 minutes.
</ResetDescription>
<WakeupDescription>After it has been included into a Z-Wave network, the detector will go to sleep but will send a Wakeup Notification Command periodically at preset period to the controller. The Motion detector will stay awake for 10 seconds at least and then go back to sleep to conserve battery life.

The time interval between Wakeup Notification Commands can be set in the Wakeup Command Class based on the range values below:

Minimum Wake Up Interval 600s (10 minutes)
Maximum Wake Up Interval 86400s (1 day)
Default Wake Up Interval 14400s (4 hours)
Wake Up Interval Step Seconds 600s (10 minutes)
</WakeupDescription>
<OtherSpecialFeaturesDescription />
<CertificationApprovedDate>2017-10-31T20:34:10.889656</CertificationApprovedDate>
<Image>https://products.z-wavealliance.org/Pro ... 829</Image>
<Categories>
<string>Sensors</string>
</Categories>
<SupportedCommandClasses>
<CommandClassExport>
<Name>Association Group Information V1</Name>
<Identifier>COMMAND_CLASS_ASSOCIATION_GRP_INFO</Identifier>
</CommandClassExport>
<CommandClassExport>
<Name>Association V2</Name>
<Identifier>COMMAND_CLASS_ASSOCIATION_V2</Identifier>
</CommandClassExport>
<CommandClassExport>
<Name>Battery V1</Name>
<Identifier>COMMAND_CLASS_BATTERY</Identifier>
</CommandClassExport>
<CommandClassExport>
<Name>Device Reset Local V1</Name>
<Identifier>COMMAND_CLASS_DEVICE_RESET_LOCALLY</Identifier>
</CommandClassExport>
<CommandClassExport>
<Name>Firmware Update MD V4</Name>
<Identifier>COMMAND_CLASS_FIRMWARE_UPDATE_MD_V4</Identifier>
</CommandClassExport>
<CommandClassExport>
<Name>Manufacturer Specific V2</Name>
<Identifier>COMMAND_CLASS_MANUFACTURER_SPECIFIC_V2</Identifier>
</CommandClassExport>
<CommandClassExport>
<Name>Notification V4</Name>
<Identifier>COMMAND_CLASS_NOTIFICATION_V4</Identifier>
</CommandClassExport>
<CommandClassExport>
<Name>Powerlevel</Name>
<Identifier>COMMAND_CLASS_POWERLEVEL</Identifier>
</CommandClassExport>
<CommandClassExport>
<Name>Security S2</Name>
<Identifier>COMMAND_CLASS_SECURITY_2</Identifier>
</CommandClassExport>
<CommandClassExport>
<Name>Security V1</Name>
<Identifier>COMMAND_CLASS_SECURITY</Identifier>
</CommandClassExport>
<CommandClassExport>
<Name>Supervision</Name>
<Identifier>COMMAND_CLASS_SUPERVISION</Identifier>
</CommandClassExport>
<CommandClassExport>
<Name>Transport Service V2</Name>
<Identifier>COMMAND_CLASS_TRANSPORT_SERVICE_V2</Identifier>
</CommandClassExport>
<CommandClassExport>
<Name>Version V2</Name>
<Identifier>COMMAND_CLASS_VERSION_V2</Identifier>
</CommandClassExport>
<CommandClassExport>
<Name>Wake-Up V2</Name>
<Identifier>COMMAND_CLASS_WAKE_UP_V2</Identifier>
</CommandClassExport>
<CommandClassExport>
<Name>Z-Wave Plus Info V2</Name>
<Identifier>COMMAND_CLASS_ZWAVEPLUS_INFO_V2</Identifier>
</CommandClassExport>
</SupportedCommandClasses>
<ControlledCommandClasses>
<CommandClassExport>
<Name>Supervision</Name>
<Identifier>COMMAND_CLASS_SUPERVISION</Identifier>
</CommandClassExport>
</ControlledCommandClasses>
<S2Classes>
<S2ClassExport>
<Name>S2 Authenticated</Name>
<Identifier>S2_AUTHENTICATED</Identifier>
</S2ClassExport>
<S2ClassExport>
<Name>S2 Unauthenticated</Name>
<Identifier>S2_UNAUTHENTICATED</Identifier>
</S2ClassExport>
</S2Classes>
<AssociationGroups>
<AssociationGroupExport>
<Description>Association with 1 node.</Description>
<GroupNumber>1</GroupNumber>
<MaximumNodes>1</MaximumNodes>
</AssociationGroupExport>
<AssociationGroupExport>
<Description>Association with 4 nodes.</Description>
<GroupNumber>2</GroupNumber>
<MaximumNodes>4</MaximumNodes>
</AssociationGroupExport>
</AssociationGroups>
<ConfigurationParameters />
<Features>
<FeatureExport>
<feature_Id>10</feature_Id>
<product_Id>2656</product_Id>
<option_value_bool>false</option_value_bool>
<option_value_text />
<option_value_selections>
<string>White</string>
</option_value_selections>
<feature_Type>eSelect_One</feature_Type>
<featureName>Color</featureName>
<featureDescription>If the product is only available in one color, pick the color from the list.</featureDescription>
<featurePrompt>Choose one color for the product's main color component. Not for use with products available in multiple colors.</featurePrompt>
</FeatureExport>
<FeatureExport>
<feature_Id>9</feature_Id>
<product_Id>2656</product_Id>
<option_value_bool>false</option_value_bool>
<option_value_text />
<option_value_selections>
<string>Motion/No Motion (Binary)</string>
</option_value_selections>
<feature_Type>eSelect_Many</feature_Type>
<featureName>Sensors</featureName>
<featureDescription>Sensor types supported by the product.</featureDescription>
<featurePrompt>Select multiple sensors by holding down CTRL as you make selections.</featurePrompt>
</FeatureExport>
<FeatureExport>
<feature_Id>26</feature_Id>
<product_Id>2656</product_Id>
<option_value_bool>false</option_value_bool>
<option_value_text>AA</option_value_text>
<feature_Type>eEnter_Text</feature_Type>
<featureName>Battery Type</featureName>
<featureDescription>Enter the type (e.g. AA, CR2032, AAA) of the battery/batteries that the product uses.</featureDescription>
<featurePrompt>Enter the battery type designation.</featurePrompt>
</FeatureExport>
<FeatureExport>
<feature_Id>27</feature_Id>
<product_Id>2656</product_Id>
<option_value_bool>false</option_value_bool>
<option_value_text>3</option_value_text>
<feature_Type>eEnter_Text</feature_Type>
<featureName>Battery Quantity</featureName>
<featureDescription>Enter the number of batteries of the designated type that the product uses.</featureDescription>
<featurePrompt>Enter a number only for the number of batteries.</featurePrompt>
</FeatureExport>
<FeatureExport>
<feature_Id>36</feature_Id>
<product_Id>2656</product_Id>
<option_value_bool>false</option_value_bool>
<option_value_text />
<option_value_selections>
<string>Home Security</string>
</option_value_selections>
<feature_Type>eSelect_Many</feature_Type>
<featureName>Supported Notification Types</featureName>
<featureDescription>Select the Notification Types that the product handles (controllers), or sends (slaves).</featureDescription>
<featurePrompt>Use the CTRL key to select more than one.
</featurePrompt>
</FeatureExport>
<FeatureExport>
<feature_Id>19</feature_Id>
<product_Id>2656</product_Id>
<option_value_bool>true</option_value_bool>
<option_value_text />
<feature_Type>eYes_No</feature_Type>
<featureName>IP (Ingress Protection) Rated</featureName>
<featureDescription>Product is suitable for Outdoor use and is waterproof under an IP (Ingress Protection) rating system.</featureDescription>
<featurePrompt>Only choose Yes if this device is IP rated.</featurePrompt>
</FeatureExport>
<FeatureExport>
<feature_Id>18</feature_Id>
<product_Id>2656</product_Id>
<option_value_bool>true</option_value_bool>
<option_value_text />
<feature_Type>eYes_No</feature_Type>
<featureName>Outdoor Use</featureName>
<featureDescription>Product is suitable for use outdoors.</featureDescription>
<featurePrompt />
</FeatureExport>
</Features>
<Supports_NWI>true</Supports_NWI>
<Supports_Explorer>true</Supports_Explorer>
<is_FLiRS>false</is_FLiRS>
<Supports_SmartStart>false</Supports_SmartStart>
</ProductExport>
etype
Posts: 1
Joined: Sunday 10 February 2019 11:57
Target OS: -
Domoticz version:
Contact:

Re: Updating xml file Everspring SP816 motion detection

Post by etype »

Hi,

Have you resolved issue with SP816 ?
I have noticed the same issue.
Device is registered in Domoticz however there is no configuration in it.
I replaced configuration file in raspberry on this from producer site however without success.

BR
Tomasz
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest