No announcement yet.

Doorbell chime based on month

  • Filter
  • Time
  • Show
Clear All
new posts

    Doorbell chime based on month

    Is there anyway to setup an event so when a device (Digital input) triggers it will play a wave file based on months or time periods. i.e (October plays a ghost sound, November plays a Turkey sound, etc.)

    I just want to know if there is some way to setup a single event with conditions, etc. to do this or do I need multiple events or a script.


    You could do it with twelve events, (I think you can do it with the conditions date wildcard D/1/Y, D/2/Y etc), I don't think you could get away with just one (unless it ran a script), although personally I would have one event, one ini file and one script.

    Have twelve filenames in the inifile with the key values as 1-12, in each key write the name of the file you want to play for that month.

    When the event gets triggered, compare the month of the current date with the ini file keys, pull the filename and play it from the script. Would only be a few lines of script, nothing much.


      You have to share your chimes, too
      HS4Pro Running on a Raspberry Pi4
      68 Z-Wave Nodes, 175 Events, 359 Devices
      UPB modules via OMNI plugin/panel
      Plugins: Z-Wave, OMNI, HSTouch, weatherXML, EasyTrigger
      HSTouch Clients: 3 Android, 1 Joggler


        That's a great idea, my wife being the queen of holidays would love that. I never even gave it a thought.
        XPpro SP3 /w HS Standard, HSTouch Server -, HSTouch Client HSTouch Android -, HSTouch iPhone -
        Playing with HS3 a bit but it's just play at this point.


          You should be able to do it with one event and something like the following in the run script field of the event. As written it expects the "Jan.wav", "Feb.wav" etc in the \HTML subfolder under Homeseer.

          &hs.Playwavfile hs.GetAppPath & "\HTML\" & hs.StringItem("Jan,Feb ... Dec",month(now),",") & ".wav"