Light-O-Rama Forums Home 

 Moderated by: LightORamaDan
New Topic Reply Print
Telephone relay - The Coffee Shop - The Midway Zone ( Not necessarily LOR ... Login for full access) - Light-O-Rama Forums

 Not logged in  
 Login
 Register
 Home
 Calendar
 Members
 Help

Search
Search
Search by username

Light-O-Rama Links
Online Store
Support Site
Customer Videos
Tutorials/Manuals
The LOR Wiki

PlanetChristmas Links
Home Page
Forums


AuthorPost
Westport Lights
Member


Joined: Fri Nov 9th, 2007
Location: Westport, Washington USA
Posts: 118
Picture: [Download]
Status:  Offline
 Posted: Mon Nov 2nd, 2009 06:31 pm
QuoteReply
Has anyone thought of or done this?

I was thinking, with so many people carrying cell phones in their car nowadays. Instead of having trigger operated buttons sitting at the curb. Would it be possible to setup a temporary phone line, using some kind of telephone activated relay. Where a person watching the show could call the phone number, press a button, and trigger a song to play?



____________________
http://www.facebook.com/pages/Westport-Lights/250672005243



Back To Top QuoteReply

LENNY RUEL
Member


Joined: Wed Dec 3rd, 2008
Location: Appleton, Wisconsin USA
Posts: 166
Picture: 
Status:  Offline
 Posted: Mon Nov 2nd, 2009 07:01 pm
QuoteReply
Michael Farney has been working on this.  The song would play when the current song was done and then once the requested song played the program would start up again from where it left off.  The viewer could access his playlist on his computer by a cell phone from his/her car and make the request.  Don't know if it will ever be offered up as a software purchase by him but it's an awesome idea.

Lenny

 

 



____________________


Back To Top QuoteReply

Dennis Cherry
Member


Joined: Sat Feb 2nd, 2008
Location: Dallas, Texas USA
Posts: 268
Picture: [Download]
Status:  Online
 Posted: Mon Nov 2nd, 2009 09:27 pm
QuoteReply
Does it cost 99 cents per song using your telephone?;)



____________________


25,000 LED/Mini Lights

2008 Videos: http://www.vimeo.com/Dennischerry

My other Hobby http://home.swbell.net/dbcherry
Back To Top QuoteReply

Westport Lights
Member


Joined: Fri Nov 9th, 2007
Location: Westport, Washington USA
Posts: 118
Picture: [Download]
Status:  Offline
 Posted: Mon Nov 2nd, 2009 10:02 pm
QuoteReply
Dennis Cherry wrote: Does it cost 99 cents per song using your telephone?;)

OOoo! I like the idea. Then I could donate that money to a charity! That's probably a lot harder than what I'm thinking though.




____________________
http://www.facebook.com/pages/Westport-Lights/250672005243



Back To Top QuoteReply

michael.farney
Member
 

Joined: Sun Jul 8th, 2007
Location: Chicago, Illinois USA
Posts: 336
Picture: 
Status:  Offline
 Posted: Tue Nov 3rd, 2009 05:37 pm
QuoteReply
LENNY RUEL wrote: Michael Farney has been working on this.  The song would play when the current song was done and then once the requested song played the program would start up again from where it left off.  The viewer could access his playlist on his computer by a cell phone from his/her car and make the request.  Don't know if it will ever be offered up as a software purchase by him but it's an awesome idea.

Lenny



The request line was a smashing success for Halloween.  The record was on a Saturday -- 44 calls in one night.  That particular night was pretty comical.  I was watching as 3 teens on the sidewalk proceeded to have a "phone war."  I have my LED sign synced to the system, so it reports when the call line is busy.  All 3 of them had their cells out staring at the sign, and they'd race to push the send button as soon as the line was free.  :P

There are a few downsides to the system.  First, the system will not queue requests.  So if someone requests a song and hangs up, the next caller will override their request if the song hadn't already played.  Secondly, without creating a show file for every possible show position, the LOR queue will restart at the top after a request.  In my case, I had 10 Halloween songs.  The first few would play excessively and the last few would rarely play since LOR always started at the top of the queue after a request.  Also, the equipment is expensive -- the entire system will cost you $400-$500 in hardware and software. Now it can be done considerably cheaper if you are willing to play Russian roulette with hardware/software compatibilities.  I purchased higher quality equipment with known compatibilities.  Finally, it will require batch programming.  If you are ok editing batch programming examples for your file paths, then it's pretty simple to setup to work with LOR.  I will be adding a detailed tutorial to the website later (after Christmas, sorry) for those wanting to tackle this. 

You might also want to note that most people don't use the phone line.  However, when a tech savy person comes, I have seen them sit for a half hour or even an hour and continuously request songs.  It is not uncommon to open the call log and see a single phone number request 8+ songs over the course of an hour.  I posted  more typical day for you below.  On 10/23, there were 25 requests from 9 unique phone numbers.  That means the average person using the phone number is making over 2 requests before leaving.  When you boil it down, it's the same couple people using the line repeatedly. 

This will give you an idea to how the phone line is used.  I have masked the telephone numbers.  There were 33 calls on 10/23.  Of those 33 calls, 25 made requests before hanging up.  I've color coded it so you can see it listed by caller.  As you can tell, the display is dominated by a few people interested in using the hot line.  The average display viewer is not calling. 

2009-10-23,19:02:59,FarneyLights.com,********41, Thriller
2009-10-23,19:18:09,FarneyLights.com,********41, This is Halloween

2009-10-23,19:37:54,FarneyLights.com,********92, Monster Mash
2009-10-23,19:43:45,FarneyLights.com,********92, Fantasmic!
2009-10-23,20:01:59,FarneyLights.com,no data received, Purple People Eater
2009-10-23,20:06:02,FarneyLights.com,********92, Thriller

2009-10-23,20:12:13,FarneyLights.com,********82, This is Halloween
2009-10-23,20:13:50,FarneyLights.com,********92, Ghostbusters
2009-10-23,20:18:06,FarneyLights.com,********82, Monster Mash
2009-10-23,20:24:43,FarneyLights.com,********82, Tubular Bells

2009-10-23,20:27:32,FarneyLights.com,********10, Darkness Descends
2009-10-23,20:29:33,FarneyLights.com,********82, Fantasmic!
2009-10-23,20:31:14,FarneyLights.com,********28, Photo Op
2009-10-23,20:33:18,FarneyLights.com,********28, Photo Op

2009-10-23,20:44:26,FarneyLights.com,********29, Thriller
2009-10-23,20:54:43,FarneyLights.com,********29, This is Halloween
2009-10-23,20:56:38,FarneyLights.com,********29, Monster Mash
2009-10-23,21:03:24,FarneyLights.com,********16, Footsteps in the Dust
2009-10-23,21:09:21,FarneyLights.com,********28, Monster Mash
2009-10-23,21:10:24,FarneyLights.com,********12, This is Halloween
2009-10-23,21:12:25,FarneyLights.com,********28, Monster Mash
2009-10-23,21:16:54,FarneyLights.com,********28, Purple People Eater
2009-10-23,21:27:10,FarneyLights.com,********38, Tubular Bells
2009-10-23,21:35:29,FarneyLights.com,no data received, Footsteps in the Dust
2009-10-23,21:37:08,FarneyLights.com,********38, Fantasmic!

Last edited on Tue Nov 3rd, 2009 05:43 pm by michael.farney



____________________
Share LOR sequences . . http://LORsequences.com
LOR Tutorials . . . . . . . . http://tutorials.LORsequences.com
Personal Display. . . . . . http://FarneyLights.com
Back To Top QuoteReply

Westport Lights
Member


Joined: Fri Nov 9th, 2007
Location: Westport, Washington USA
Posts: 118
Picture: [Download]
Status:  Offline
 Posted: Tue Nov 3rd, 2009 07:01 pm
QuoteReply
Gosh, I was thinking something like this:

http://www.electronickits.com/kit/complete/tele/ck603.htm

You could maybe hook it up to the trigger inputs on a director card or something.

You went way above and beyond how I was thinking it would work. Your way is much, much better though.



____________________
http://www.facebook.com/pages/Westport-Lights/250672005243



Back To Top QuoteReply

michael.farney
Member
 

Joined: Sun Jul 8th, 2007
Location: Chicago, Illinois USA
Posts: 336
Picture: 
Status:  Offline
 Posted: Tue Nov 3rd, 2009 10:17 pm
QuoteReply
Westport Lights wrote: Gosh, I was thinking something like this:

http://www.electronickits.com/kit/complete/tele/ck603.htm

You could maybe hook it up to the trigger inputs on a director card or something.

You went way above and beyond how I was thinking it would work. Your way is much, much better though.


Your method will work with trigger inputs.  However, you would not be able to give the user a phone menu. 

Look at it as an investment.  I can now control everything about the display with a phone call -- enable/disable LOR shows, kill/start programs like zara radio, change the contents of the LED sign,  even reboot the PC.  Plus, the obvious advantage of having a request line for viewers.  I am still tweaking the system and working on a way to not lose the show position, so it doesn't restart the queue after every request.

Last edited on Tue Nov 3rd, 2009 10:18 pm by michael.farney



____________________
Share LOR sequences . . http://LORsequences.com
LOR Tutorials . . . . . . . . http://tutorials.LORsequences.com
Personal Display. . . . . . http://FarneyLights.com
Back To Top QuoteReply

tomskillman
Member
 

Joined: Mon Jul 9th, 2007
Location: Saint Louis, Missouri USA
Posts: 61
Picture: 
Status:  Offline
 Posted: Wed Nov 4th, 2009 05:04 am
QuoteReply
Michael's use got me thinking of the same thing.  I was going to use a text-messaging service called TextMarks, but realized that some people won't text mesage ( and the interface was rather klunky).  I inquired about how Michael was using the phone.  He pointed me toward a software product called  IVM (http://www.nch.com.au/ivm/index.html) which isn't exactly cheap, but for what it does it's nice.  There are various prices depending on how much functionality you need.  There is also a demo you can play with.  I am using it with a VOIP connection from callcentric (http://callcentric.com).  Basic Callcentric service is free and you can call into your IVM free using Callcentric's VOIP client.  For a small fee (about $3-$5 a month), you get a local telephone number assigned to your account.  The bonus to using VOIP serivce from Callcentric is you actually get 2 lines for WAY less than you would spend on a standard phone line.  I've found no problems using this setup so far.   The menus let you do things like set variables to a value from the keypad.  This variable can then be sent to a batch file.  I have set up a batch file that then appends the request to a text file.  There is another batch file that runs as the windows command before each sequence which checks the queue and reschedules the show.  I found that changing out the show file did not work, so my batch file re-writes the schedule file instead.
    Michael mentions that the same songs from the full show keep playing because of requests.  I originally set the full show to random, but found that some sequences were favored over others, so I used a random number generator to choose a sequence to play if the queue is empty.

I realize this may be confusing, but it's hard to describe.  I'd be happy to share some of my scripts if there is interest.  Also, if you want to see how the phone system sounds, feel free to call my system.  It's running now, although there are no lights or controllers hooked up.  Here's the info you need if you want to call in....


Phone Number:  (314) 244-3798

The phone system also lets you vote for your favorite songs.  Feel free to vote. Vote tallys appear on my website at:

        http://www.lavernelllights.info/poll/results.php?pollid=1.


Please don't vote after Thanksgiving, as I'd like an accurate vote!  Between now and Thanksgiving, you can vote all you want, though.


Let me know if there are any further questions.



Last edited on Wed Nov 4th, 2009 05:06 am by tomskillman



____________________
Tom Skillman
http://www.lavernelllights.info

Running 144 Channels of LOR
Back To Top QuoteReply

michael.farney
Member
 

Joined: Sun Jul 8th, 2007
Location: Chicago, Illinois USA
Posts: 336
Picture: 
Status:  Offline
 Posted: Wed Nov 4th, 2009 04:03 pm
QuoteReply
Tom,

Here's a little more info to how I do mine.  At the beginning of the call, I write out to a log file the telephone information.  That way, I can tell every time a call is answered.  Then, IVM checks the current time of day.  If it is not valid show hours, it kicks the caller to an "out of hours" message.  If it is 5-10pm, it then goes into the main menu.  All the songs are listed on the main menu.  When the caller chooses a song, IVM uses the executable process to launch a batch file which overwrites the show file.  In addition, it writes the request to another log (so I can see what requests were made when.)  At this point, it lets the user hang up allows them to stay on hold until their song plays.

I am going to check out call centric.  It seems it will be much cheaper than I am doing now.   

Tom, if you want help getting the IVM to work using show files instead of the scheduler, let me know.  Doing show files are much cleaner than doing the scheduler. 

A note about random:  I don't know if LOR changed the algorithm recently, but when I played around with random in 2007, each day had its own seed.  But if you restarted the show multiple times in the same day, it would reuse the same seed.  Basically, that means that if the show restarted at 5pm, 7pm and 9pm, it would play the same songs in the same order as the last restart.  So it doesn't do a good job at random at all. 

Finally, I'd like to see your scripts for this.  Perhaps it will give me a better idea how to manage my system.  If I understand you correctly, you have basically created your own mechanism to do random for the display?  It will choose its own random songs unless there is a reuqest sitting in the queue?  The best I can figure out (using my method) is to make a show for every possible position we could be in the queue, and then use that show file to play the request.  That would effectively jump the queue to the natural location of that song and end the problem i have of songs getting "overplay." 



____________________
Share LOR sequences . . http://LORsequences.com
LOR Tutorials . . . . . . . . http://tutorials.LORsequences.com
Personal Display. . . . . . http://FarneyLights.com
Back To Top QuoteReply

tomskillman
Member
 

Joined: Mon Jul 9th, 2007
Location: Saint Louis, Missouri USA
Posts: 61
Picture: 
Status:  Offline
 Posted: Wed Nov 4th, 2009 04:07 pm
QuoteReply
Michael,

   I'll work up a web page with the info as time permits.  I'd like to lay out the flow of things in addition to linking the scripts.  For the random number generation, I use PHP.  Actually most of the work is done in PHP - the batch file is called from LOR to have PHP check the queue and also send the song information to an LED sign.  This could all be done in IVM directly, but I chose to not have multiple executables in IVM.
I'll let you know when I have the flow laid out - possibly later today...




____________________
Tom Skillman
http://www.lavernelllights.info

Running 144 Channels of LOR
Back To Top QuoteReply

hbomb341
LOR II Beta Testers


Joined: Sat Jul 7th, 2007
Location: Flower Mound, Texas USA
Posts: 201
Picture: 
Status:  Offline
 Posted: Wed Nov 4th, 2009 04:28 pm
QuoteReply
Tom that is AWESOME - looks like a feature I will be putting into place for 2010.

Harrison



____________________
Harrison Ward


http://www.flowermoundchristmas.com/
Back To Top QuoteReply

tomskillman
Member
 

Joined: Mon Jul 9th, 2007
Location: Saint Louis, Missouri USA
Posts: 61
Picture: 
Status:  Offline
 Posted: Wed Nov 4th, 2009 06:04 pm
QuoteReply
OK so here's what I've put together.  I"m sure there's more I forgot, so if anyone finds a hole in my information, let me know.  I'll try to go through it again later to be sure I didn't leave something out!

http://www.lavernelllights.info/telephone/





____________________
Tom Skillman
http://www.lavernelllights.info

Running 144 Channels of LOR
Back To Top QuoteReply

michael.farney
Member
 

Joined: Sun Jul 8th, 2007
Location: Chicago, Illinois USA
Posts: 336
Picture: 
Status:  Offline
 Posted: Thu Nov 5th, 2009 12:06 am
QuoteReply
tomskillman wrote: Michael,

   I'll work up a web page with the info as time permits.  I'd like to lay out the flow of things in addition to linking the scripts.  For the random number generation, I use PHP.  Actually most of the work is done in PHP - the batch file is called from LOR to have PHP check the queue and also send the song information to an LED sign.  This could all be done in IVM directly, but I chose to not have multiple executables in IVM.
I'll let you know when I have the flow laid out - possibly later today...



Thanks Tom!  I did not know I could move back and forth in PHP programming with batch files.  This opens up a whole new can of worms.   Can you use php variables and pass them back to IVM?  If so, then IVM could announce the queue and even tell the caller exactly how long before their request will play.  I already have IVM speaking variables (song number) for Christmas.  It would be pretty cool if it could give the actual wait time. 



____________________
Share LOR sequences . . http://LORsequences.com
LOR Tutorials . . . . . . . . http://tutorials.LORsequences.com
Personal Display. . . . . . http://FarneyLights.com
Back To Top QuoteReply

tomskillman
Member
 

Joined: Mon Jul 9th, 2007
Location: Saint Louis, Missouri USA
Posts: 61
Picture: 
Status:  Offline
 Posted: Thu Nov 5th, 2009 01:47 am
QuoteReply
I'm not sure if you can pass PHP variables back to IVM or not.  Haven't tried that, but I might experiment with that....would be nice to tell the caller how many sequences were ahead of theirs....I'm also thinking about implementing some kind of limits to the size of the queue....but for now, Im happy with the way it's working....




____________________
Tom Skillman
http://www.lavernelllights.info

Running 144 Channels of LOR
Back To Top QuoteReply

tomskillman
Member
 

Joined: Mon Jul 9th, 2007
Location: Saint Louis, Missouri USA
Posts: 61
Picture: 
Status:  Offline
 Posted: Thu Nov 5th, 2009 07:33 pm
QuoteReply
After playing with IVM today, I figured out how to pass a variable back from your script to send information back.  It's really very simple.  You just output from your script variable=value....

For instance, my requestit.bat file now calls a php script after it logs the request.  The PHP script reads the contents of the queue file (queue.txt) into an array and checks the number of elements in the array.  Then, it has one print statement:


print "position=".$numelements;


This sends back to IVM a variable position with the number of elements in the array (which is equivalent to the number of request in the queue).  The only other trick to this is the IVM menu that calls the batch file must have the "Is IVM Plugin Process" checked in the Run EXE Settings box.




____________________
Tom Skillman
http://www.lavernelllights.info

Running 144 Channels of LOR
Back To Top QuoteReply

Current time is 01:34 pm
Light-O-Rama Forums > The Midway Zone ( Not necessarily LOR ... Login for full access) > The Coffee Shop > Telephone relay


Slate theme designed by: The Cat Dragged Inn
Powered by WowBB 1.7 - Copyright © 2003-2006 Aycan Gulez
Page processed in 1.7173 seconds (92% database + 8% PHP). 23 queries executed.