Fairly sure this has been done already but.....

In this forum you can share tips and tricks on how to use Cinemar products with some program or a task that you want it to do. So no one has to reinvent the wheel if you already did! (No questions in this forum only solutions, questions will be deleted without hesitation.)

Posts: 353
Joined: Wed Mar 19, 2008 10:28 am

Fairly sure this has been done already but.....

Postby kgudge » Thu May 29, 2008 9:17 am

I have an old Analogue Cable box that broadcasts different channels depending on the time of day.

My cable scene uses the state info on setting for each channel logo and a set of server automation tasks sets the correct state and sets another variable with the channel name.

So at 8pm Nickelodeon becomes Paramount Comedy etc...
You do not have the required permissions to view the files attached to this post.
Last edited by kgudge on Sat May 31, 2008 4:10 pm, edited 1 time in total.

User avatar
Simply Incredible
Simply Incredible
Posts: 11071
Joined: Sat Feb 08, 2003 9:39 am
Location: Metamora, Michigan

Postby DavidL » Thu May 29, 2008 11:20 am

Nice job.

Posts: 353
Joined: Wed Mar 19, 2008 10:28 am

Postby kgudge » Sat May 31, 2008 4:31 pm

I have now removed the scheduler tasks and wrote a set of server automation tasks to set the icon/button states (cheers Mario). If the server was down for a scheduler event, it never ran and thus the icon/button state would be out of sync until the next scheduled event many hours later.

Now whenever the server comes up it will re-sync the icon/button states to the correct values.

Sample Automation Rule:

Whenever currenthourmilitary is greaterorequal than w
and currenthhourmilitary is less than x
then setvariable y
then setvariable z

w = on time
x = off time
y= icon/button state
z= channel name


Each channel is assigned a cycle state. The command for each cycle state sets the channel name, passes first and second digit of the channel number and calls a macro to change the channel.


Each icon/button
Label = variable for on/off state
command = MLCycleState set sat_channel~#cyclestate

TV buttons on the left hand side set current selected TV.
Used to set the TV onto the cable channel in the macro
Used for the mute button.
Volume up/down
Channel up/down buttons do mlcyclestate next/prev

If tv is not on, turns it on.
Turns TV to cable channel.
sets the cable box to the relevant channel. 1 digit at a time. 1 second pause between digits.

Return to “Tips, Tricks and Tutorials”

Who is online

Users browsing this forum: No registered users and 1 guest