Tagtronic control

Discussion in 'AV Receivers & Amplifiers' started by trevsorbie, Sep 12, 2007.

Tags:
  1. trevsorbie

    trevsorbie
    Standard Member

    Joined:
    Feb 23, 2005
    Messages:
    50
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    6
    Ratings:
    +0
    I'm attempting to write an application to control my home cinema from a computer. Does anyone have any code that conforms to the Tagtronic protocol (including handling the CRC stuff) to get me started?

    I'm probably writing in Java but any code would help me.

    Many thanks

    Trev
     
  2. benzol

    benzol
    Active Member

    Joined:
    Mar 16, 2005
    Messages:
    385
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    31
    Location:
    Europe
    Ratings:
    +22
    Please have a look in the FAQ

    It's under "IR REMOTE CODES AND TAGTRONIC PROTOCOLS"

    There have been several attempts to do what you are planning, but it never surfaced again. So if you have found a solution it would be great if you go public with the developments.

    Cheers

    Benzol
     
  3. trevsorbie

    trevsorbie
    Standard Member

    Joined:
    Feb 23, 2005
    Messages:
    50
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    6
    Ratings:
    +0
    Thanks Benzol

    I did get a simple implementation working that just selected the input source and adjusted volume levels.

    That was about six years ago and I no longer have the code or the Excel spreadsheet I originally used to visually calculate the CRC codes for each message.

    I recently tried to calculate the code for the PING message but I couldn't get the received CRC to be 0x1D0F! I'm curious if anyone had managed to get the CRC calculation stuff to work to save me the bother :)

    Cheers
     
  4. babaroga

    babaroga
    Active Member

    Joined:
    Aug 27, 2003
    Messages:
    220
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    18
    Location:
    Hertfordshire
    Ratings:
    +4
    I have some code that i have got from SteveSky on this forum that has been written in JAVA....Now, if i have time to modify it....

    If steve is still here, I would need his permission if the code could be passed on, or release it as Open Source, now that IAG has ditched Tagtronic...

    regards
    darko
     
  5. Miron

    Miron
    Active Member

    Joined:
    Sep 26, 2002
    Messages:
    1,439
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    51
    Location:
    Vienna, Austria
    Ratings:
    +56
    bit off topic,
    as far as i can remember (and i am meanwhile so old that i can't rememeber anything anymore :D ) Steve was one of the very first people who wrote their application using TAGTronic protocol, even before he started at TMA.

    also, benzol, there were quite a few people who succesfully wrote their own applications talking to TAG units. A friend of mine still has his PC controling his AV32R with SN under 100.
     
  6. Stevesky

    Stevesky
    Active Member

    Joined:
    May 13, 2004
    Messages:
    454
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    18
    Ratings:
    +13
    Highly unlikely it's from me.... I don't do Java stuff! Probably more likely from John Mulcahy as he did a bit of work in this area for the TMREQ setup wizard.

    All the TAGTronic protocols were documented by TAG, they were just a bit tricky for Joe Blogs to implement, due to its multi-point nature (so bus arbitration is required) and all the messages are packetised, so CRC's etc. need to be calculated.

    From memory the TMREQ stuff assumed that it was working Point-to-point (so no bus arbitration issues).

    Cheers

    Steve
     
  7. babaroga

    babaroga
    Active Member

    Joined:
    Aug 27, 2003
    Messages:
    220
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    18
    Location:
    Hertfordshire
    Ratings:
    +4
    Steve,

    Can you speak to John then and ask him if can share the code, please ?

    regards
    Darko
     
  8. Stevesky

    Stevesky
    Active Member

    Joined:
    May 13, 2004
    Messages:
    454
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    18
    Ratings:
    +13
    John Mulcahy is a member of these forums. Do a search involving TMREQ and you will find posts from him.

    Steve
     
  9. babaroga

    babaroga
    Active Member

    Joined:
    Aug 27, 2003
    Messages:
    220
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    18
    Location:
    Hertfordshire
    Ratings:
    +4
    ooops, I have mixed up quite a few things, D'OH...

    Code has actually came from Chris Skates...now if Criss is still around...

    anyone ?
     
  10. babaroga

    babaroga
    Active Member

    Joined:
    Aug 27, 2003
    Messages:
    220
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    18
    Location:
    Hertfordshire
    Ratings:
    +4
    I just got mail from Chris Skates and he told me I can share the code with you guys under condition that he get what we make out of it :) fair deal....

    regards
    Darko
     
  11. trevsorbie

    trevsorbie
    Standard Member

    Joined:
    Feb 23, 2005
    Messages:
    50
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    6
    Ratings:
    +0
    Sounds fair enough to me; I don't mind making this open source.

    Please let me know where I can download the source that Chris has and I'll get started :)

    Thanks

    Trev
     
  12. babaroga

    babaroga
    Active Member

    Joined:
    Aug 27, 2003
    Messages:
    220
    Products Owned:
    0
    Products Wanted:
    0
    Trophy Points:
    18
    Location:
    Hertfordshire
    Ratings:
    +4
    Trev,

    I think that we can pull away this one together. That thing from Chris is nearly finished, but I had idea to clean some code and also make a "webservice" out of it, so you can "shoot" xml to it in a format like:

    <TAG>
    <device name="av32r" id="1">
    <value>av32r</value>
    <volume>
    <up>
    <value>10</value>
    </up>
    </volume>
    </device>
    <TAG>

    Jetty would be the choice of runtime for it.

    PM me your email address please.

    regards
    Darko
     

Share This Page

Loading...