Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Z-wave service component sends wrong value for parameter #7608

Closed
ronnyskogberg opened this issue May 15, 2017 · 1 comment · Fixed by #7652
Closed

Z-wave service component sends wrong value for parameter #7608

ronnyskogberg opened this issue May 15, 2017 · 1 comment · Fixed by #7652

Comments

@ronnyskogberg
Copy link

Home Assistant release (hass --version):
0.44.1

Python release (python3 --version):
Python 3.4.2

Component/platform:
"Call a service from a component" tab.

Description of problem:
Trying to issue Z-wave command to set a parameter, but HA send a different value than entered.

Domain:
zwave
Service:
set_config_parameter
Service Data (JSON, optional):
{
"node_id": 8,
"parameter": 100,
"value": 0,
"size": 1
}

Value logged in OZW_Log.txt is 1 instead of 0.

Values entered; values sent to dimmer.
0; 1
1; 2
2; 3
3; 4
4; 5
5; 6
6; 0
7; 9

The values sent to the dimmer correlates with the order the parameters are written in the z-wave configuration XML file for the dimmer instead of the "value" in each row of the XML.

Expected:
I expect the value entered in the JSON to be sent to the slave.

Additional info:
Controller: z-wave.me
Slave: Qubino dimmer, ZMNHDD1

Z-wave configuration XML:

<Value type="list" genre="config" instance="1" index="100" label="Enable / Disable Endpoints I2 or select Notification Type and Event" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="9" vindex="7" size="1">
  <Help>Enabling I2 means that Endpoint (I2) will be present on UI. Disabling it will result in hiding the endpoint according to the parameter set value. Additionally, a Notification Type and Event can be selected for the endpoint. Endpoint device type selection: notification sensor (1 - 6) sensor binary (9). NOTE: After parameter change, module has to be re included into the network in order setting to take effect! Default value 1.</Help>
  <Item label="Home Security; Motion Detection, unknown location." value="1" />
  <Item label="Carbon Monoxide; Carbon Monoxide detected, unknown location." value="2" />
  <Item label="Carbon Dioxide; Carbon Dioxide detected, unknown location." value="3" />
  <Item label="Water Alarm; Water Leak detected, unknown location." value="4" />
  <Item label="Heat Alarm; Overheat detected, unknown location" value="5" />
  <Item label="Smoke Alarm; Smoke detected, unknown location" value="6" />
  <Item label="Endpoint, I2 disabled" value="0" />
  <Item label="Sensor binary" value="9" />
</Value>

OZW_Log.txt

@evanfloden
Copy link

Not much to add but I can confirm this is happening.

@home-assistant home-assistant locked and limited conversation to collaborators Sep 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants