digitalbuildings icon indicating copy to clipboard operation
digitalbuildings copied to clipboard

How to manage speed mode

Open ghairapetian opened this issue 3 years ago • 1 comments

Hello,

I have a warm air curtain with 6 differents speed mode (0, 20, 40, 60, 80, 100)%

The telemetry field discharge_fan_speed_mode mention the following :

  • AUTO
  • LOW
  • MEDIUM
  • HIGH
  • OFF
  • VFD

that does not correspond to my needs. However, in my case, it's a fan on discharge side, and it runs with speed mode. So I can't really create a new telemtry with a new name.

How can i resolve this issue ?

Thank you very much,

Have a nice day,

ghairapetian avatar May 10 '22 15:05 ghairapetian

Hello again, Do you had the time to look at this issue ? It blocks the 50A Google project modelisation. Thank you very much, Have a nice day.

ghairapetian avatar Jul 04 '22 14:07 ghairapetian

@tasodorff any updates on this one? @mschulze17 fyi

charbull avatar Nov 07 '22 15:11 charbull

Hello, this issue still block the Warm air curtain modelisation on 50A project. Any updates ?

ghairapetian avatar Jan 31 '23 16:01 ghairapetian

@tasodorff ping :)

charbull avatar Mar 20 '23 17:03 charbull

hi @ghairapetian

we have been exploring the best option here and I need more info on the field itself: will it be sending state data (e.g. states of 20, 40, 60, 80, 100) or can it send those discrete values as part of a message with units of percent?

speed_field:
  present_value: points.speed.present-value
  units:
    key: pointset.points.speed.units
    values:
      percent: percent

If it can be made to send the data with units but which only sends discrete values of 20, 40, 60, 80, and 100 then the existing discharge_fan_speed_percentage_command field will work fine. If not, we would need to add states specifically to handle the 20, 40, 60, etc. states; this would not be ideal and we would need to determine what best to call them. Can you please let me know if the field can support units?

tasodorff avatar Apr 05 '23 17:04 tasodorff

Hello, the field does not support units and takes the values (0,1,2,3,4,5). Those values mean : OFF Speed 1 Speed 2 Speed 3 Speed 4 Speed 5

ghairapetian avatar Apr 07 '23 09:04 ghairapetian

ah well this makes it easier. what we could do is something like this: OFF:OFF Speed 1:VERY_LOW, Speed 2:LOW, Speed 3:MED, Speed 4:HIGH, Speed 5:VERY_HIGH

We don't have strict definitions around what speed percentages mean, so we are free to define VERY_LOW and VERY_HIGH relatively (e.g. VERY_LOW as lower speed relative to LOW).

It is also acceptable to have a mapping like this for exact speed.

OFF:OFF, Speed 1:20_PERCENT, Speed 2:40_PERCENT, Speed 3:60_PERCENT, Speed 4:80_PERCENT, Speed 5:100_PERCENT

Either is acceptable for now.

tasodorff avatar Apr 07 '23 18:04 tasodorff

Hello, thank you for your answer.

The field discharge_fan_speed_mode is already defined into DBO with different values (not OFF and 5 speed mode) :

  • AUTO
  • LOW
  • MEDIUM
  • HIGH
  • OFF
  • VFD

how can we manage that ? To we need to change the field name ?

ghairapetian avatar Apr 11 '23 15:04 ghairapetian

Just add the states you need to states.yaml and list them on the discharge_fan_speed_mode.

tasodorff avatar Apr 17 '23 15:04 tasodorff

Hello,

It works !

I did not understand that that I could use only a few of states listed in discharge_fan_speed_mode and not all of them.

Thank you very much,

I wish you a nice day,

Grégory

ghairapetian avatar Apr 25 '23 09:04 ghairapetian