Loading ...
Sorry, an error occurred while loading the content.
 

B136, Extra Sensor Alarms

Expand Messages
  • wuhu_software
    All, I have added alarm generation for extra sensors that are optional weather sensors available on many weather stations including the Davis VP2 & Vue as
    Message 1 of 2 , Oct 30, 2010

      All,

      I have added alarm generation for "extra sensors" that are optional weather sensors available on many weather stations including the Davis VP2 & Vue as well as OS and Honeywell stations.

      These extra sensors provide data for temperature, humidity, soil temperature, leaf  wetness, UV sensors and Solar Radiation, as well as Evapotranspiration (Yes, that is a real word and sensor, known affectionately as ET). See your user manual for how to configure your console to work with your optional sensors.

      The Davis stations will automatically number your extra sensors (like UV1, UV2, etc). For the OS WMR models, Sensor 1=Alarm 2, Sensor 3 is Alarm 4, in other words, add one to your sensor number to get the proper alarm number.

      To test this new feature, first install the B136 software. Start the software. When the software is up and running, hit the Stop button, then exit WUHU. This causes the WUHU settings to be saved and will generate quite a few of new INI file settings related to the extra sensor alarm settings.

      Next, enabling the extra sensor alarms will require modifying the WUHU Configuration.INI file using Notepad.

      In the general section, there are many new setting related to the extra sensor alarms. Because there are so many possible alarms that can be generated, I have decided not to implement a user interface within WUHU at this time. There are at this time, 9 different sensor types and you can have up to 10 of each of these types, allowing for up to 90 extra sensors (like that is going to happen).

      For every alarm type, there is a high alarm and a low alarm.

      For example, looking at the alarm setting for the UV index (Extra UV Index 1 is the first optional UV sensor, there can exist up to 10 extra UV sensors):

      [General Settings]
      ...
      High Extra UV Index 1 Enable=1
      High Extra UV Index 1 Trigger=2.000000
      High Extra UV Index 1 Reset=0.000000
      High Extra UV Index 1 Units=0
      High Extra UV Index 1 Sound=
      High Extra UV Index 1 Deactivate Sound=
      High Extra UV Index 1 Action=
      High Extra UV Index 1 Deactivate Action=
      ...

      Low Extra UV Index 1 Enable=0
      Low Extra UV Index 1 Trigger=0.000000
      Low Extra UV Index 1 Reset=0.000000
      Low Extra UV Index 1 Units=0
      Low Extra UV Index 1 Sound=
      Low Extra UV Index 1 Deactivate Sound=
      Low Extra UV Index 1 Action=
      Low Extra UV Index 1 Deactivate Action=

      The Enable value is 0 if the alarm is disabled, 1 if enabled.

      The Units field is 0 for English units, 1 for Metric units. The unit field is ignored for variables like Humidity that are unit-less.

      The Sound value specifies the full path and file name of a .WAV file to play. The same applies to Deactivate Sound.

      The Action and Deactivate Actions are the same as defined in the WUHU actions/alerts screen and can specify a variety of actions like processing templates. See the manual for more information.

      The trigger value is the value at which the alarm will trip. These are the same trigger and resets as seen in the WUHU actions screen.

      In the case of the above example, the High Extra UV Index 1 Trigger is set to 2.0. When the UV index for the first UV sensor (1) is at level 2 or greater, the alarm will trip and will stay tripped until the reset level is reached (High Extra UV Index 1 Reset reaches 0.0). 

      The triggers and reset are required to deal with hysteresis:

      The term "hysteresis" is sometimes used in other fields, such as economics or biology, where it describes a memory, or lagging effect.

      A smoke detector is also an example of sensor that must deal with hysteresis to operate properly. The smoke detector at the ceiling of the kitchen starts the alarm as soon as the level of smoke reaches a certain starting value, x, then the smoke detector stays in the alarm position until the level of smoke has been reduced to level y, after which the smoke detector is reset automatically to "normal". 

      The Low Extra UV Index alarms will probably not be of much value is it does not make sense to trip an alarm based on a low UV Index.

      If we look at another setting however like:

      Low Extra Temperature 1 Enable=1
      Low Extra Temperature 1 Trigger=50.000000
      Low Extra Temperature 1 Reset=60.000000
      Low Extra Temperature 1 Units=0
      Low Extra Temperature 1 Sound=
      Low Extra Temperature 1 Deactivate Sound=
      Low Extra Temperature 1 Action=
      Low Extra Temperature 1 Deactivate Action=

      This will cause the Low Extra Temperature 1 alarm to trip if the temperature drops below 50.0 and will remain active until the sensor readings 60.0 or more. 

      These trigger and reset values are explained further in the WUHU manual. It is a good idea to have a firm grasp of how the triggers and resets work before you try entering these values. If you have these values backwards, you might have an alarm trip continually and it will never reset itself!

      These extra alarms are useful if you use the Growl application that will receive WUHU alarm notifications (INI file setting required to do so).  Growl can also generate email notifications automatically (perhaps to your cell phone). It is worth looking at if you would like to remotely monitor your castle while you are out and about or far far away.

      If you have any questions, please post them in the group area.

      ---

      Software Download:



    • Don Lafferty
      Outstanding as usual Heath! ... -- The day Microsoft starts making vacuum cleaners is the day they start making something that doesn t suck.
      Message 2 of 2 , Oct 30, 2010
        Outstanding as usual Heath!

        On Sat, Oct 30, 2010 at 4:30 PM, wuhu_software <wuhu_software@...> wrote:
         


        All,

        I have added alarm generation for "extra sensors" that are optional weather sensors available on many weather stations including the Davis VP2 & Vue as well as OS and Honeywell stations.

        These extra sensors provide data for temperature, humidity, soil temperature, leaf  wetness, UV sensors and Solar Radiation, as well as Evapotranspiration (Yes, that is a real word and sensor, known affectionately as ET). See your user manual for how to configure your console to work with your optional sensors.

        The Davis stations will automatically number your extra sensors (like UV1, UV2, etc). For the OS WMR models, Sensor 1=Alarm 2, Sensor 3 is Alarm 4, in other words, add one to your sensor number to get the proper alarm number.

        To test this new feature, first install the B136 software. Start the software. When the software is up and running, hit the Stop button, then exit WUHU. This causes the WUHU settings to be saved and will generate quite a few of new INI file settings related to the extra sensor alarm settings.

        Next, enabling the extra sensor alarms will require modifying the WUHU Configuration.INI file using Notepad.

        In the general section, there are many new setting related to the extra sensor alarms. Because there are so many possible alarms that can be generated, I have decided not to implement a user interface within WUHU at this time. There are at this time, 9 different sensor types and you can have up to 10 of each of these types, allowing for up to 90 extra sensors (like that is going to happen).

        For every alarm type, there is a high alarm and a low alarm.

        For example, looking at the alarm setting for the UV index (Extra UV Index 1 is the first optional UV sensor, there can exist up to 10 extra UV sensors):

        [General Settings]
        ...
        High Extra UV Index 1 Enable=1
        High Extra UV Index 1 Trigger=2.000000
        High Extra UV Index 1 Reset=0.000000
        High Extra UV Index 1 Units=0
        High Extra UV Index 1 Sound=
        High Extra UV Index 1 Deactivate Sound=
        High Extra UV Index 1 Action=
        High Extra UV Index 1 Deactivate Action=
        ...

        Low Extra UV Index 1 Enable=0
        Low Extra UV Index 1 Trigger=0.000000
        Low Extra UV Index 1 Reset=0.000000
        Low Extra UV Index 1 Units=0
        Low Extra UV Index 1 Sound=
        Low Extra UV Index 1 Deactivate Sound=
        Low Extra UV Index 1 Action=
        Low Extra UV Index 1 Deactivate Action=

        The Enable value is 0 if the alarm is disabled, 1 if enabled.

        The Units field is 0 for English units, 1 for Metric units. The unit field is ignored for variables like Humidity that are unit-less.

        The Sound value specifies the full path and file name of a .WAV file to play. The same applies to Deactivate Sound.

        The Action and Deactivate Actions are the same as defined in the WUHU actions/alerts screen and can specify a variety of actions like processing templates. See the manual for more information.

        The trigger value is the value at which the alarm will trip. These are the same trigger and resets as seen in the WUHU actions screen.

        In the case of the above example, the High Extra UV Index 1 Trigger is set to 2.0. When the UV index for the first UV sensor (1) is at level 2 or greater, the alarm will trip and will stay tripped until the reset level is reached (High Extra UV Index 1 Reset reaches 0.0). 

        The triggers and reset are required to deal with hysteresis:

        The term "hysteresis" is sometimes used in other fields, such as economics or biology, where it describes a memory, or lagging effect.

        A smoke detector is also an example of sensor that must deal with hysteresis to operate properly. The smoke detector at the ceiling of the kitchen starts the alarm as soon as the level of smoke reaches a certain starting value, x, then the smoke detector stays in the alarm position until the level of smoke has been reduced to level y, after which the smoke detector is reset automatically to "normal". 

        The Low Extra UV Index alarms will probably not be of much value is it does not make sense to trip an alarm based on a low UV Index.

        If we look at another setting however like:

        Low Extra Temperature 1 Enable=1
        Low Extra Temperature 1 Trigger=50.000000
        Low Extra Temperature 1 Reset=60.000000
        Low Extra Temperature 1 Units=0
        Low Extra Temperature 1 Sound=
        Low Extra Temperature 1 Deactivate Sound=
        Low Extra Temperature 1 Action=
        Low Extra Temperature 1 Deactivate Action=

        This will cause the Low Extra Temperature 1 alarm to trip if the temperature drops below 50.0 and will remain active until the sensor readings 60.0 or more. 

        These trigger and reset values are explained further in the WUHU manual. It is a good idea to have a firm grasp of how the triggers and resets work before you try entering these values. If you have these values backwards, you might have an alarm trip continually and it will never reset itself!

        These extra alarms are useful if you use the Growl application that will receive WUHU alarm notifications (INI file setting required to do so).  Growl can also generate email notifications automatically (perhaps to your cell phone). It is worth looking at if you would like to remotely monitor your castle while you are out and about or far far away.

        If you have any questions, please post them in the group area.

        ---

        Software Download:






        --
        The day Microsoft starts making vacuum cleaners is the day they start making something that doesn't suck.
      Your message has been successfully submitted and would be delivered to recipients shortly.