#814 separate commands for On and OFF

Ashkan Jalili Fri 15 May 2020

Hi

I have a project, they are using 2 separate commands for lights to turn it ON and another point to turn it OFF. in regular I am using "cmd, lights, lightsGroup" for ON/OFF command. But here I need to split it into 2 points. Any help how could this be done?

Thanks in advance

Ashkan Jalili Mon 18 May 2020

any suggestion on:

cmd lights liminare equipOn

cmd lights liminare equipOff

Brian Frank Mon 18 May 2020

Haystack requires binary commands to be normalized to one logical point and commanded to true/on and false/off. What you are talking about is more like a "action" then a real point.

Ashkan Jalili Thu 28 May 2020

Thanks Brian.

Yes, actually it refers to a specific action. But the thing is that in the implemented BMS they are using 2 separate points for 2 actions on basically 1 point.

I am not sure what was the need to do this but, now we have to model them as 2 separate points.

So here if the point with ON command is triggered, it will override the value to ON. If it is not triggered it does nothing.

Then if the point with OFF command is triggered, it will override the value to OFF. If it is not triggered it does nothing.

Login or Signup to reply.