JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

IrpTransmogrifier: new program/library for IRP protocols

 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Software
View previous topic :: View next topic  
Author Message
Barf
Expert


Joined: 24 Oct 2008
Posts: 903

PostPosted: Mon Aug 12, 2019 2:14 pm    Post subject: IrpTransmogrifier: new program/library for IRP protocols Reply with quote

After almost four years: First public release of IrpTransmogrifier, called version 1.0.1.! Very Happy Very Happy

This is a completely new program, written from scratch, that is intended to replace IrpMaster, DecodeIR, and (most of) ExchangeIR, and much more, like potentially replacing hand written decoders/renders. The project consists of an API library that is also callable from the command line as a command line program. It does not come with a GUI, but is intended to be integrated into GUI programs, like IrScrutinizer.

It has a data base file of protocols in IRP format. This drives both the rendering and the decoder. So, in contrast to DecodeIR, the behavior can be (almost) completely customized from that file, together with a number of parameters.

As a command line program, it is a program with sub-commands. Sub-commands are, for example

* render (for rendering signals from protocol/parameters),
* decode (decode signals like DecodeIR)
* analyze (from one or many signals, compute IRP form)
* expression (compute IRP expression)
* list (list information in the protocol data base)

and more.

Here are some bat files as example.

I intend to do a Youtube video within then next few days demonstrating the command line program.


Online reference manual

This thread continues this one.

A questions from that thread:

Quote:


The Robman wrote:

Here's what I tried:

irptransmogrifier decode "0000 006C 0024 0002 0159 00AD 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0016 0015 06C0 0159 0057 0015 0E81 0159 0057 0015 0E81" > output.txt


Actually, it is without the double quotes (I will see if I can make it grok them anyhow). But if you remove them, you will still get -- nothing. This is not an error but means that no decode has been found. In the strict sense, this is correct: the signal is a NEC1 with one copy of the repeat-ditto tucked onto the intro, and there is no known protocol that looks like that. I am not saying this is the ideal behavior of a decoder. Instead, the use case of loose matching, "guessing", I have simply not yet implemented. I know that DecodeIR, and also Dave's teaser presently do a better job here. It is planned.

It now works with AND without the quotes. AND the somewhat flawed signal poses no problem any more:

Code:

$ irptransmogrifier decode 0000 006C 0024 0002 0159 00AD 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0016 0015 06C0 0159 0057 0015 0E81 0159 0057 0015 0E81
        NEC1-rnc: {D=128,F=136,S=38}
        NEC1: {D=128,F=136,S=38}



The program can be downloaded here, just unpack the file IrpTransmogrifier-1.0.1-bin.zip into an empty directory and execute irptransmogrifier.bat (Windows) or irptransmogrifier.sh (Linux & MacOs) from the command line. Installing the newest version 2.0.1 of IrScrutinizer will also give access to the program.

Keep transmogrifying!!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - Software All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Get Smart! the band's official homepage Rockabilly Central