Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - domotiqa.com

Pages: 1 2 3 [4] 5 6 ... 14
46
Feature requests & roadmap / Re: Roadmap
« on: September 08, 2008, 10:59:44 pm »
I guys, I really think you have to put a sticky thread like: need developpers !!
and maybe ask for task in each reply !
Another point, in my mind, I'm maybe not the best programmers, however, I know, C, C++, VB, java, php, css, some shell scripts, little perl, hardware conception/arch... and I really thing that getting involved in lmce is hard, hard, hard (in time)!!

In my case I'm creating a new company, so it take me lot's of time and to be involved, I really need to read hundred of doc... the developper thread looks like... poor... no easy step...

So I guess lmce could be more efficient with this kind of "programmers doc for dummies" !
All of guru like hary, tschak... know tricks, arch... of lmce and have

47
Developers / Re: Adding FULL support for other regions/country/languages
« on: September 08, 2008, 10:44:02 pm »
easyest way is to follow my link above, take my script (same little bit modified), create a table in language with new ID for italian, maybe 4,5... whatever... then change the langage in the script and the langage id (of the sql table)

Only one problem, with this script (yahoo translation), after 50, 100 word, the yahoo website, looks like not allowing the translation... so you have to wait for some hours then retry from the last translated word !!

49

when trying to run mythbackend I had meesage :

Quote
Table './mythconverg/settings' is marked as crashed and should be repaired

I just run:
mysqlcheck -u root-p<password> --repair mythconverg

and now it's working again

llink:
http://ubuntuforums.org/showthread.php?t=452920
http://www.mythtvtalk.com/forum/viewtopic.php?t=5022
http://www.gossamer-threads.com/lists/mythtv/users/335503
http://www.mythtv.org/pipermail/mythtv-users/2008-May/223763.html

50
Installation issues / dvd install: initramfs prompt error
« on: September 01, 2008, 02:49:51 pm »
for people who having trouble with this problem, you can try that:

I booted the desktop live cd image, chose language, install, F6 and entered:

all_generic_ide floppy=off irqpoll

51
Users / Re: Edit IR codes - no learn option??
« on: August 15, 2008, 04:26:44 pm »
ok !
Just for info, did you fix these ??

Quote
Hopefully it won't be too long and I'll get that part figured out. Its one of the few bugs remaining in the toggle handling.

52
Users / Re: Edit IR codes - no learn option??
« on: August 15, 2008, 03:43:55 pm »
jon:
why your script has not been merge to the project ?

53
Users / Re: Edit IR codes - no learn option??
« on: August 15, 2008, 03:42:23 pm »
thanks both for advices and files, I'll go into it and give feedback!

For the air unit I halready have the script (just adapt it to ruby/perl...)

in french
http://ccnicolas.free.fr/domotique/climuirt.htm

in english...
http://fr.babelfish.yahoo.com/translate_url?doit=done&tt=url&intl=1&fr=bf-home&trurl=http%3A%2F%2Fccnicolas.free.fr%2Fdomotique%2Fclimuirt.htm&lp=fr_en&btnTrUrl=Traduire

Thks you


54
Users / Re: Edit IR codes - no learn option??
« on: August 15, 2008, 01:59:16 pm »
Skeptic,

 Use webadmin - Wizard - AV Equipment - your device - AV properties. You will then get the test. I find when you go back to the template and click edit A/V properties you loose the send too device which would be why you cannot test them.

 Dave

hy,do you know if there is a way of
1/ creating cycling IR signal!
For example, my tv (panassonic plasma) can turn on/off by holding the remote buton during 2s-3s, so I tried to copy/paste the learned code several times but it's not enough !
2/ creating more complex scenario like sending one code, then 1s later sending another one...
3/ sending code depending on event, in my case, I have a air control device that I control by infra red, however the ir signal send for increasing the temperature is depend on the current temperature. For example, if it's 75°, then the signal should be 76°...
thks

55
Users / Re: howto: french translation
« on: August 06, 2008, 10:03:52 pm »
ok, so continue the thread:

from the great and nice translate script under:
http://forum.linuxmce.org/index.php?topic=4907.0

I change some parameters for french then get the WWW-Babelfish perl script:
Code: [Select]
http://www.cpan.org/authors/id/D/DU/DURIST/WWW-Babelfish-0.16.readme
Code: [Select]
wget http://cpan.uwinnipeg.ca/cpan/authors/id/G/GA/GAAS/libwww-perl-5.814.tar.gz
wget http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/IO-String-1.08.tar.gz
wget http://www.cpan.org/authors/id/D/DU/DURIST/WWW-Babelfish-0.16.tar.gz
http://search.cpan.org/CPAN/authors/id/S/SA/SAMV/Lingua-Translate-0.09.tar.gz

then

Code: [Select]
After unpacking the tar file, do the usual in each downloaded tar:

        perl Makefile.PL
        make
make test
        sudo make install

here are the scripts (with chmod +x):

translationFr.sh
Code: [Select]

#### Global variables
lang_id=2;#french in db
base_lang_id=1;
lang_desc='Francais';
char_set='utf8';
###char_set='koi8r';
###char_set='cp1251';
###char_set='cp866';

dbuser='root';
dbip='localhost'

#### End Global variables


### create language entry
mysql -u$dbuser -h$dbip -e "insert into  \`pluto_main\`.\`Language\` (PK_Language, Description , psc_id) values ($lang_id ,\"$lang_desc\",$lang_id );"

### clean the xisting language from DB
mysql -u$dbuser -h$dbip -e "delete from pluto_main.Text_LS where FK_Language =$lang_id;"

### Read the first string id for english language
fk_text_=`mysql -u $dbuser -h $dbip -e "SELECT FK_Text FROM pluto_main.Text_LS where FK_Text > 0 and FK_Language=$base_lang_id and Description not like '%<\%%' order by FK_Text Limit 1"`;
### clean field name
fk_text=`echo $fk_text_ | cut -f 2 -d " "`

#### do this operation for each record in DB
while [ "$fk_text" != "" ] ; do
### Read the text for string id which stored in fk_text
   description_=`mysql -u$dbuser -h$dbip -e "select Description from pluto_main.Text_LS where FK_Text=$fk_text and FK_Language =$base_lang_id;"`
### clean field name
   description=`echo $description_ | sed  's/Description //' | sed 's/\\\n//'`;


### tralsation of the string
   description_rus=`echo $description |./trans e2f `;

### print for debug purpose
   echo -----------------------
   echo fk_text ::$fk_text::
   echo description::$description::
   echo description_rus::$description_rus::
   echo -----------------------

#### insert the translated string back to DB
   mysql -u$dbuser -h$dbip -e "insert into  \`pluto_main\`.\`Text_LS\` (FK_Text,FK_Language,Description) values($fk_text,$lang_id,\"$description_rus\");" --default-character-set=$char_set

### Read the next string id for english language
   fk_text_=`mysql -u$dbuser -h$dbip -e "SELECT FK_Text FROM pluto_main.Text_LS where FK_Text > $fk_text and FK_Language=$base_lang_id and Description not like '%<\%%' order by FK_Text Limit 1"`;

### clean field name
   fk_text=`echo $fk_text_ | cut -f 2 -d " "`

done;


trans
Code: [Select]
#!/usr/bin/perl -w

 use WWW::Babelfish;
     # Dummy UserAgent
 use constant AGENT =>
             'Mozilla/4.73 [en] (X11; U; Linux)';
     # Supported Languages
 my @languages = qw(English French German Italian
                  Portuguese Russian Spanish);
     # Build hash that assigns language abbreviations
     # to languages (e=>English, g=>German, ...)
 foreach my $language (@languages) {
     my $initial = substr($language, 0, 1);
     $i2full{lc($initial)} = $language;
}
     # All abbreviations in one string (efgpirs)
 my $chars = join '', keys %i2full;
     # Conversion direction from the
     # command line (g2e, e2f, ...)
 my $way = shift;
 usage() unless defined $way;
 usage("Scheme $way not supported") unless
 ($from, $to) = $way =~ /^([$chars])2([$chars])$/;
     # Read in text to be translated
my $data = join '', <>;
    # Contact Babelfish
my $babel = new WWW::Babelfish( service => 'Yahoo', agent => 'Mozilla/8.0');
usage("Cannot connect to Babelfish") unless
    defined $babel;
    # Perform translation
my $transtext = $babel->translate(
    source      => $i2full{$from},
    destination => $i2full{$to},
    text        => $data
);
die("Error: " . $babel->error) unless
    defined($transtext);
print $transtext, "\n";
##################################################
sub usage {
##################################################
    my $msg = shift;
    my $prog = $0;
    print "usage: $prog ",
          "[${chars}]2[${chars}] file ...\n";
    foreach $c (sort split //, $chars) {
        print " $c: $i2full{$c}\n";
    }
    exit(1);
}


56
Developers / Re: Adding FULL support for other regions/country/languages
« on: August 06, 2008, 10:00:17 pm »
nice scripts, I changed them a little for french but I still have a problem, only yahoo service work (babel make timeout) and yahoo work only for 100 query after what say that english langage doesn't work !!
I need to figure out what happened:

howto for french:
http://forum.linuxmce.org/index.php?topic=2558.30

57
Users / Re: video, audio and pictures from a nas via cifs
« on: August 06, 2008, 09:41:32 pm »
ok, so just for info,

I re-discovered the nas, and created share for video, pic and audio, independant, and declare it as lmce structure !! I  filtered by type (directories= videos...)
then everything work great!

Just the pics are a little bit poor ! No way to change the pics fom one to another (have to go back to the list...), no diaporama, and on win orbiter... you can see the pics on orbiter but can't look to it on tv, you have to use the remote.
So I guess we need to add buton like: display on TV...

however everything great

58
Developers / Re: GSD/Ruby Developers Conferences
« on: August 06, 2008, 09:22:32 pm »
so sad

59
did you try to use the freebox as tuner in mythtvbackend setup ? then you can import the playlist!
What best with the patch ?

60
Developers / Re: knx, linuxmce, eib part, ... help?
« on: August 04, 2008, 02:07:32 pm »
ok, I will try!
thks

Pages: 1 2 3 [4] 5 6 ... 14