Thans for the reply
I understand what you mean, I have to trick the default libraries so that they send the value FFFF (65535), sending the value -1 to the default library function.
I would have to make a code change before sending the value to the defualt function for these specific manufacturers.
I do not want to doubt what you say, since I am not an expert in this and I am sure I am wrong and I do not want you to misunderstand me either, I just want to collaborate
As seen in the link @orangebucket sent, zwave-alliance says that you can use values with signed and unsigned format
There is even an example with size = 2 bytes and the value range from 0 to 65535.
On the other hand, also in the edge libraries it is clear that these formats can be used in the configuration, not only the signed one.
--- @class st.zwave.CommandClass.Configuration.format
--- @alias format st.zwave.CommandClass.Configuration.format
--- @field public SIGNED_INTEGER number 0x00
--- @field public UNSIGNED_INTEGER number 0x01
--- @field public ENUMERATED number 0x02
--- @field public BIT_FIELD number 0x03
local format = {
SIGNED_INTEGER = 0x00,
UNSIGNED_INTEGER = 0x01,
ENUMERATED = 0x02,
BIT_FIELD = 0x03
}
Configuration.format = format
Configuration._reflect_format = zw._reflection_builder(Configuration.format)
Also If this is going to stay like this, you will have to correct the code to send the AEON_NANO_SHUTTER configuration parameter 35, “openCloseTiming”, profile “stateless-curtain-power-button” to be able to send the values 128 to 255, with size = 1 Byte. with default libraries.
It will give oveflow integer error.
Apart from this, the profile needs in the preference the - name: "openCloseTiming"
before the title field to make it work.
name: stateless-curtain-power-button
components:
- id: main
capabilities:
- id: statelessCurtainPowerButton
version: 1
- id: refresh
version: 1
categories:
- name: Blind
preference:
- preferenceId: reverse
explicit: true
- title: "Open close timing"
description: "Set the motor's open/close time"
required: false
preferenceType: interger
definition:
minimum: 5
maximum: 255
default: 10
AEON_NANO_SHUTTER = {
MATCHING_MATRIX = {
mfrs = {0x0086, 0x0371},
product_types = {0x0003, 0x0103},
product_ids = 0x008D
},
PARAMETERS = {
openCloseTiming = {parameter_number = 35, size = 1}
}
}
Thanks agains