Originally posted by Gogs
View Post
Announcement
Collapse
No announcement yet.
A script to announce phone calls while you were away
Collapse
X
-
I've been trying to get this running but every time I call anything, I get:
Script compile error: Method arguments must be enclosed in parentheses.on line 50
Then it lists the entire script on the next log line. I'm calling it with an event:
PhoneManagement.vb("LogCall", "")
What am I missing?
Comment
-
I am setting up this script, and have a few questions. I created the virtual occupancy device and defined it in the script. i changed the phone line from 0 to 1 (cause mine is 1). I created an event called "CID LOG" and made it conditional on CID available, the action being to call the script, with the "logcall sub"
So, I think I'm correct up to that point. Now, what I think i need to do is create an event that clears the log, based on vacancy (because it is going to log every call, every time, right?) which would be an event action calling the script, using the clear log sub.
I also need to create an event based on when I want the CID spoken, action to call the script, using the speak sub.
am I right so far?
additional questions: I'd like it to email CID info on every call, regardless of occupancy status, how would I set that up?
thanks,
IanPlugins:
BLLogMonitor, BLGarbage, BLBackup, BLOutGoingCalls, BLUps, BLRfid, JvEss, DooMotion, Applied Digital Ocelot, AC RF Processor, UltraMon, PJC AVR 430, UPB, Rain8net, DSC Panel, JRiver Media center, Windows Media Player, SageMediaCenter, SnevlCID, MCSTemperature.
Comment
-
Originally posted by TrOjAn View PostHe was referring to the fact you had disabled the paging file and it didnt work, re enabling the paging file and it started to work again..
that IS odd!!
TrOjAnsigpic
A founder member of "The HA Pioneer Group" otherwise known as the "Old farts club!"
Comment
-
Originally posted by completelyhis View PostI am setting up this script, and have a few questions. I created the virtual occupancy device and defined it in the script. i changed the phone line from 0 to 1 (cause mine is 1). I created an event called "CID LOG" and made it conditional on CID available, the action being to call the script, with the "logcall sub"
So, I think I'm correct up to that point. Now, what I think i need to do is create an event that clears the log, based on vacancy (because it is going to log every call, every time, right?) which would be an event action calling the script, using the clear log sub.
I also need to create an event based on when I want the CID spoken, action to call the script, using the speak sub.
am I right so far?
additional questions: I'd like it to email CID info on every call, regardless of occupancy status, how would I set that up?
thanks,
Ian
To activate the announcement I use the "living Area" occupancy sensor changing to occupied. If the House goes unoccupied it call the script like so, which clears the log. Call script byPhonemanagement.VB("ClearCallLog","")sigpic
A founder member of "The HA Pioneer Group" otherwise known as the "Old farts club!"
Comment
-
Thanks Gogs,
that works quite nicely.
has anyone experimented with the emailing of the info? what would the optional parameter for that be? (sorry, I'm very script challenged!)Plugins:
BLLogMonitor, BLGarbage, BLBackup, BLOutGoingCalls, BLUps, BLRfid, JvEss, DooMotion, Applied Digital Ocelot, AC RF Processor, UltraMon, PJC AVR 430, UPB, Rain8net, DSC Panel, JRiver Media center, Windows Media Player, SageMediaCenter, SnevlCID, MCSTemperature.
Comment
Comment