Alarm on certain time

General HouseBot discussion. Any issues that don't fit into any of the other topics belong here.
Post Reply
Pinkie2
Member
Posts: 6
Joined: Mon May 23, 2005 7:29 am
Location: Hamburg - Germany

Alarm on certain time

Post by Pinkie2 »

Sorry for this question, but I realy don't know how!



I made a Null Device with prop. User Definable Time Property 1 and a property edit control on my SoftR to change the value of this definable time.

Now I want to make a task that executes when this prop1 time is equal the system time. How do I do this?!

Every way I tried it did not work.

So please help this stupid newbie.
Pentium 4 2,4, Thermalright XP-90/Papst 3412/2L

MSI RX9550SE-TD128, Wint-TV pvr 350

FSC D1683A, 512 MB DDR

Samsung SV0802N, NEC ND3520A

NB-Fortron UltraSilent 300 Watt

ATCS-620, Papst 4412/F2GLL

IPaq rx3715 (Netremote)

Win XP SP2, TVC 1.4
spike5884
Senior Member
Posts: 129
Joined: Thu Aug 26, 2004 8:08 am
Location: WI

Post by spike5884 »

The conditional line in your Task should be something like:


Code: Select all

If ('System Time.Time Without Seconds' is Equal 'NullDevice.Time Property') Then


You may need to use "%%System Time.Time Without Seconds%%". Check the help on how to use it.



And if you don't have the seconds in your times, just remove the "Without Seconds" parts.
Thanks,
Scott J
aka spike5884
dlmorgan999
HouseBot Special Member
Posts: 409
Joined: Tue Jul 13, 2004 9:13 am
Location: Tigard, OR

Post by dlmorgan999 »

I have a task that does this and here is the code I use:


Code: Select all

If ('System Time.Time' is Equal '%%Bedroom Clock Radio.Alarm Time%%' Then
      Change 'Bedroom Clock Radio.State' to 'Running'


-- Dave
Post Reply