Rytek EPG for TM800

There was a problem with my post someone changed it so i changed it back now so it makes sense.
 
Last edited by a moderator:
I edited your post mate as it's another dig at Tm

I left the thankyou to conchobair though :)
 
Hi all,
pity I haven't seen this thread earlier, could have saved you some time :).

Long story short:
TM800HD system time (\>date {enter}) and hardware time (\>hwclock {enter}) differ.
It has been more-less established that in order for EPG data to be collected, these clocks have to be in sync, and obviously, correct.

NTP plugin mentioned in the thread is fine, but so is manually setting the "date" once-off, or leaving it to TM800 to pick up from the transponder (it doesn't always, that's why the manual once-off...).

That however does not resolve the hwclock issue. To sync the hardware with system time, run "\>hwclock -w {enter}"

The easiest thing to do, add this command as the last line in that Time-Update.sh script.
If you are satisfied with your TM800 system-time keeping, you do not need to sync with NTP all the time, so you might want to have ONLY the "hwclock -w" line in the script.

Now, the scheduling:

Cronmanager plugin mentioned in the thread is not really necessary - imho, it just adds the complexity to an already complex "patient case" (tm800). Google for "cron" and "crontab" and you will find how to create a crontab entry for what you need to schedule (the script above).

From memory (could be wrong on the format below, please google!), a crontab line should look something like this:
01, 31 * * * * /usr/bin/Time-Updater.sh

Decoded:
command line "/usr/bin/Time-Updater.sh"
will be executed by cron
on minutes 1 and 31
on every hour, day, week. month.

cron daemon (crond) is already running on the TM800, you can verify this by executing the "\>ps {enter}" and look for the line that begins with "crond". crond line will also show you the directory where the crontab(s) are stored.

There you go, you're "on time".
 
Cheers fdlsys.

I'm loving all these little tutorials that have popped up recently. :)

BTW, I thought the hwclock was the system uptime, lol

I checked it this morning and it seemed to tie in with the length of time my box had been running, but I suppose the hwclock just resets to 00:00:00 each time the box is booted.
 
Last edited:
HWClock is'nt that important ..system time is, HWclock drifts all the time

also the use of the crontab manager is for those people who are not sure of running commands on the box but you are 100% correct regarding the crond on the box ..
 
conchobair, I admit, I live in the very difficult EPG area, so my bad experiences with EPG data collection could be unique, but still: I was getting nowhere with it until I crontab-ed the "hwclock -w" - and that's all I had to do, because my "date" once set manually, keeps the clock true.
 
:proud: my HWclock is currently about 8 hours and 3 days different to my system time ... but as you said its a simple enough command if you need to correct the hardware clock
 
It wouldn't help :proud:

There's a couple of things you can try to bring the time back in line with what it should be

Install the attached cronmanager (put the ipk file in tmp and run ipkg install )

and then in etc/cron/examples stick in the attached script.
Then within cronmanager set up a timed script update ..and it should get your time/date back on track

remember to ftp the time script and set its attributes to 755

Alternatively you could try and install the attached NTPupdate manager (again using ipkg install) and set that up and hopefully it should get your date/time back on track ... mines been solid ever since i've used these

How do I run ipkg install?

Thanks sinky
 
If you use the Cron manager plugin then FTP the IPK file to /tmp

then telnet into your box
go to /tmp directory and type

ipkg install cronmanger(the file name of the IPK file)
 
has anyone got this to install the EPG Data on their internal Hard Drive instead of the Internal memory of the box??
 
has anyone got this to install the EPG Data on their internal Hard Drive instead of the Internal memory of the box??

Yes, but it depends on how your disks are set up

For the plugin, 1st choice is Media/HDD which relates to media/disk-1

if your HDD comes up as media/disk then it will use tmp directory as its storage point.

So you either have to input a symbolic link to point media/HDD to disk
or
Stick a USB stick in the back of your box and reboot and then it should automatically set up a symbolic link to point media/HDD to media/disk-1

then your EPG.dat should be stored on your HDD
 
The post from fdlsys about syncing the TM800 is time is great, but could anyone simplify if down to the basics, exactly what you need to do.

I have read it and reread it and still struggling with it.

Thank you in advanced.
 
Thanks for this thread i now have time/date and epg up and running :Clap:
 
wooohhh Sargie... read my post above.
Help me with the time sync?
Its driving me nuts

are we running these commands via telnet?
 
Last edited:
yes once in \tmp folder telnet

use a programme called putty to telnet

Ive only just done thiis and forgot some already lol
 
wooohhh Sargie... read my post above.
Help me with the time sync?
Its driving me nuts

are we running these commands via telnet?

Yeah Firstly ftp the cronmanager.ipk to /tmp. Rename the file to just cronmanager.ipk aswell.

use putty as rat says.Telnet to box.

Type root hit enter.

Hit enter again

Type ipkg install /tmp/cronmanager.ipk hit enter.

Ftp the Time-Updater.sh to etc/cron/examples
reboot box.

Go to menu/plugins then cronmanager. Select
'add command to crontab with time'

Delete the part that says rmc_sh 30 8 and put in instead Time-Updater.sh and press OK.

Time should be correct if not reboot box once more.

Hope that is clear enough for you m8ty. If you need more help just ask.
 
Last edited:
Back
Top