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

Implement direction and command Sensor Data differentiation #1

Open
anesmemisevic opened this issue Dec 3, 2023 · 0 comments
Open
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@anesmemisevic
Copy link
Owner

It's possible to differentiate between different sensor data sets according to the direction/command provided.
Applicable to a low number of EEPs.

Example from the schema:

    <profiles func="0x20" description="HVAC Components">
      <profile type="0x01" description="Battery Powered Actuator (BI-DIR)">
        <data direction="1">
          <value shortcut="CV" description="Current Value" offset="0" size="8" unit="%">
            <range>
              <min>0</min>
              <max>100</max>
            </range>
            <scale>
              <min>0</min>
              <max>100</max>
            </scale>
          </value>
            .
            .
            .

and

        </data>
        <data direction="2">
          <value shortcut="SP" description="Valve Position or Temperature Setpoint" offset="0" size="8" unit="%">
            <range>
              <min>0</min>
              <max>100</max>
            </range>
            <scale>
              <min>0</min>
              <max>100</max>
            </scale>
          </value>
          <value shortcut="TMP" 
            .
            .
            .

or for Command:

    <profiles func="0x38" description="Central Command">
      <profile type="0x08" description="Gateway">
        <command description="Command ID" shortcut="COM" offset="0" size="8">
          <item description="Switching" value="1" />
          <item description="Dimming" value="2" />
        </command>
        <data command="1">
          <enum shortcut="COM" description="Command ID" offset="0" size="8">
            <rangeitem description="Command ID {value}" start="0" end="13" />
          </enum>
          <value shortcut="TIM" description="Time in 1/10 seconds. 0 = no time specifed" offset="8" size="16" unit="s">
            <range>
              <min>1</min>
              <max>65535</max>
            </range>
            <scale>
              <min>0.1</min>
              <max>6553.5</max>
            </scale>
          </value>
           .
           .
           .
@anesmemisevic anesmemisevic added enhancement New feature or request good first issue Good for newcomers labels Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant