Results 1 to 4 of 4

Thread: Homevision Schedule

  1. #1
    Automated Home Guru Anonymous's Avatar
    Join Date
    Nov 2000
    Posts
    173

    Default Homevision Schedule

    How do i create a shedule that turns multiple appliances on and off constantly, e.g. 4 fans that need to go on for 4 mins then off for 8 mins 24/7. All my study of the standard/wait timers, periodic events and so on has left me wonderiing how on earth this is done in Homevision. Aaaagggh please help!

  2. #2

    Default Re: Homevision Schedule

    Havent done any HV programming for a couple of years so this is sort of Pseudo code :-)

    I am assuming from your post that all fans are to run at the same time and on a constant 4 ON 8 OFF Cycle. If not, modify this idea a bit


    1 - assign a flag "FansRunning"

    2 - Create a Macro "StartFans" containing
    send the X10 codes to start fans
    set "FansRunning" flag

    3 - create a macro "StopFans" containing
    send the X10 commands to stop fans
    clear "FansRunning" flag

    4 - create a periodic event "ShouldIStart" that runs every minute
    If CurrentMinute =(0 or 12 or 24 or 36 or 48 ) and FansRunning = false
    Do Macro "StartFans"

    5 - create a periodic event "ShouldIStop" that runs everyminute
    If CurrentMinute =(4 or 16 or 28 or 40 or 52) and FansRunning = true
    Do Macro "StopFans"

    I dont believe you need to use timers at all for this repetitive task.

    Hope that makes sense and is not total rubbish!

    As I said, I havent programmed my Homevision for a long while.... it just runs... and runs.... and runs... and runs :-)

    Regards

    Keith

  3. #3
    Automated Home Guru Anonymous's Avatar
    Join Date
    Nov 2000
    Posts
    173

    Default Re: Homevision Schedule

    This might be simpler -

    if you don't want all fans on at the same time you can do one of these for each fan to keep it simple or nest more waits here.

    scheduled at 0001 (12:01 am)
    ; - this makes sure that the series will start every day at same time
    ; - you could also do this every hour in a perodic if needed

    - Do Fan Macro

    Fan Macro
    - Turn on fans
    - wait 4 minuts then
    - - turn fans off
    ; - so far pretty obvious - turns fans on for 4 minutes
    ; - at end of 4 minuts after fans off starts 8 min wait
    - - - wait 8 min then
    ; - then starts the whole thing all over by calling itself
    - - - - do fan macro
    - - end wait
    - end wait
    -

  4. #4
    Automated Home Lurker
    Join Date
    Jan 2006
    Posts
    1

    Default Re: Homevision Schedule

    This might be simpler -

    if you don't want all fans on at the same time you can do one of these for each fan to keep it simple or nest more waits here.

    scheduled at 0001 (12:01 am)
    ; - this makes sure that the series will start every day at same time
    ; - you could also do this every hour in a perodic if needed

    - Do Fan Macro

    Fan Macro
    - Turn on fans
    - wait 4 minuts then
    - - turn fans off
    ; - so far pretty obvious - turns fans on for 4 minutes
    ; - at end of 4 minuts after fans off starts 8 min wait
    - - - wait 8 min then
    ; - then starts the whole thing all over by calling itself
    - - - - do fan macro
    - - end wait
    - end wait
    -

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •