Page 7 of 27

Fedora packages in place!

Posted: Thu May 21, 2015 8:56 am
by leamas
So, after a lot of work and several long delays in the packaging process: the Fedora package is in place. Practically, this means that to install irscrutinizer on Fedora 21 you do:

Code: Select all

 $ sudo yum install harctoolbox
Likewise, on the upcoming Fedora 22 release:

Code: Select all

 $ sudo dnf install harctoolbox
The packaging process has involved not only the harctoolbox package, but also a lot of dependencies. Notably, the rxtx package has been updated with the Arduino support patches which has been present in the harctoolbox.

For fedora 21, it might take yet another day before all mirrors are updated. If yum does not find the package, just wait a litlle.

A bugfix update will be release shortly. If you have problems with the package, please report using the fedora bugzilla at http://bugzilla.redhat.com.

On fedora 22, you can also use graphical tools like Gnome Software instead of dnf.

Putting an end to a long effort. Cheers!

Re: Fedora packages in place!

Posted: Sat May 23, 2015 2:41 pm
by Barf
Alec,
thanx a whole bunch for this!! :lol: :D

There are a few problems presently, I have just submitted a few bugs to bugzilla. Just a note to the reader: the warning message:

Code: Select all

WARNING:  RXTX Version mismatch
        Jar version = RXTX-2.2
        native lib Version = RXTX-2.2pre2
is harmless. (Fedora is to blame :wink: )

Should probably also say that DecodeIR 2.45 is also available as Fedora-package (do you say "yum-able"? At least better than "dnf-able", yucc... :? )

Posted: Sun May 24, 2015 12:50 am
by leamas
The warning message is about the latest rxtx update not being pushed to stable (f21/f22). You could help this happen by testing the update and give karma as described in https://bugzilla.redhat.com/show_bug.cgi?id=1212417 This is actually a very simple procedure, which also will enable the rxtx Arduino support (and mute the warning message).

Posted: Wed Sep 09, 2015 12:32 pm
by Barf
There is a new release, version 1.1.3. Download links in this forum are the same. Release notes are in the first message in the thread.

New functionality: Support for the CommandFusion learner. Import of CML (RTI) files (like the Glackowitz' Megalist). A number of small improvements and bug fixes. See the releasenotes for the full list.

IrScrutinizer timeout

Posted: Fri Sep 11, 2015 5:45 pm
by Ellen
I'm having trouble getting IrScrutinizer to work and am hoping someone can help me figure out what I am doing wrong.

I'm running java 1.7.0.80 on Windows XP SP3

Arduino UNO

QSE158 photosensor left pin to Arduino GND, center pin to Arduino pin 8, right pin to Arduino 5V

Used Arduino IDE 1.0.6 to open and load the GirsLite sketch from...

C:\Documents and Settings\username\My Documents\Arduino\GirsLite which contains
README.txt
Girs.cpp
GirsLite.ino
IrCapturer.cpp
IrCapturer.h
IRLib.cpp
IRLib.h
IRLibMatch.h
IRLibRData.h
IRLibTimer.h
IrWidget.cpp
IrWidget.h
IrWidgetAggregating.cpp
IrWidgetAggregating.h
Makefile


I did get a bunch of "...contains unrecognized characters..." errors on the various files and recommendation to use Tools -> Fix Encoding to change to UTF-8 encoding. I've both done this and ignored it with both resulting in successful upload confirmation from the IDE (and same eventual results in IrScrutinizer).

I've tried both versions 1.1.0 and 1.1.3 of IrScrutinizer.

On the Capture hw tab, I selected the COM port that my UNO is on. Left the default speed of 115200 bits/s and clicked the Open button. I get the following in the message window:

LocalSerialPortBuffered.sendString: Sent ''.
LocalSerialPortBuffered.readString: received "ERROR"
LocalSerialPortBuffered.sendString: Sent ''.
LocalSerialPortBuffered.readString: received "OK"
LocalSerialPortBuffered.sendString: Sent 'version'.
LocalSerialPortBuffered.readString: received "ArduinoGirsLite 2014-06-07"
version returned 'ArduinoGirsLite 2014-06-07'.

I click the test button and point a remote at the QSE158 and press a button. After a time I get the following:

LocalSerialPortBuffered.sendString: Sent 'analyze'.
LocalSerialPortBuffered.readString: TIMEOUT

Doesn't matter how short or long I hold the button press, it eventually times out.

I thought that I read in a previous post a couple of pages back in this thread that almost any IR sensor should work, including the QSE158. I had one laying around so thought I'd give it a try. I am fairly certain that the sensor is fine as I see voltage fluctuate when I connect the center pin to a multimeter and take readings while pointing the remote at it and pressing a button.

Any ideas what might be wrong?

Let me know if there is any other info that I need to provide to help diagnose the problem.

Any assistance would be greatly appreciated.

Posted: Sat Sep 12, 2015 3:20 am
by Barf
Hi Ellen,

The QSE158 is a non-inverting sensor, while the (current) sketch expects an inverting sensor, like QSE159 etc. (There previously was code from MikeT detecting whether the sensor was inverting or not, but since code that is only very seldomly triggered gives me cold feet (if it breaks due to some change, you only notice it much later), so I took it out.)

But not all is lost: If you change

Code: Select all

static const bool sensorIsInverting = true;
to

Code: Select all

static const bool sensorIsInverting = false;
in IrWidget.h (line 177 in the current version) it should work.

Let me also suggest that you get the current version of GirsLite, and the current version of the Arduino IDE 1.6.5.
I did get a bunch of "...contains unrecognized characters..." errors on the various files
There are only ASCII characters in my sources. So "this cannot happen" :-). Try the current IDE and the current sources.

Please let me know if this works.

Posted: Sat Sep 12, 2015 5:00 am
by Ellen
Hello Barf,

I downloaded newer Arduino IDE and GirsLite as you suggested. Made the true to false change in IrWidget.h and voila... successful decode when I click the Test button.

Thanks a bunch for your help!

Posted: Sat Sep 12, 2015 11:49 am
by Barf
Thank you for verifying that it works! Hope you will find the program useful. 8-)

Bengt

Posted: Tue Sep 15, 2015 3:17 pm
by leamas
Barf wrote:There is a new release, version 1.1.3. Download links in this forum are the same. Release notes are in the first message in the thread.

.
There are fedora test packages available in the harctoolbox repo at https://copr.fedoraproject.org/coprs/le ... rctoolbox/

Continuous integration builds

Posted: Fri Jan 01, 2016 7:28 am
by Barf
Thanx to help from probono, there is now Continuous Integration builds (using the travis service) available. This means that after a checkin of souce changes, the corresponding build is available a few (around 3 :wink: ) minutes later, in this directory. For the moment, the generic binary build and the Mac app build is there, i.e., the Windows setup.exe presently not.

Note that the source code in the same "directory" and the git tag do not necessarily correspond to the build. (This is due to limitations in the Github API).

Bug in ICT export on Windows fixed

Posted: Fri Jan 01, 2016 7:38 am
by Barf
In this and some followin posts a bug in the ICT export on Windows was discovered. Turned out that this was very easy to fix, since that export is purely implemented as XSLT-code withing the file exportformats.xml.

To get the fix of the problem, just get as the newest version of exportformats,xml from Github.

Posted: Fri Jan 08, 2016 2:12 pm
by Barf
Here is a fairly detailed DIY guide for an Arduino nano clone based board, perfect for use with IrScrutinizer for capturing and sending. The component cost is about the price of a small pizza.

Convert codes from globalcache

Posted: Sun Feb 21, 2016 7:23 am
by Carl
Hi Barf,

Your software is great.
I was wondering if you could add some kind of tool to convert globalcache code to OBC, so it could be imported in remote master with the name of buttons and OBC code.
Right now we can only convert it by pasting it in the scrutinize signal window, but it only take one signal.


The email that globalcache is sending when you request for a a code look like this:

Code: Select all


function, code1, hexcode1, code2, hexcode2

"BLANK","sendir,1:1,1,38000,1,69,342,171,22,21,22,21,21,22,21,21,22, 63,22,63,22,21,22,21,21,64,21,64,21,64,21,64,21,21,22,21,22,63,22,63, 22,63,22,63,22,21,21,64,21,21,22,21,22,21,21,64,21,21,22,21,22,63,22, 21,22,63,22,63,22,63,22,21,21,1529,343,85,22,3656 ","0000 006D 0022 0002 0156 00AB 0016 0015 0016 0015 0015 0016 0015 0015 0016 003F 0016 003F 0016 0015 0016 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0016 0015 0016 003F 0016 003F 0016 003F 0016 003F 0016 0015 0015 0040 0015 0015 0016 0015 0016 0015 0015 0040 0015 0015 0016 0015 0016 003F 0016 0015 0016 003F 0016 003F 0016 003F 0016 0015 0015 05F9 0157 0055 0016 0E48",,

"CURSOR DOWN","sendir,1:1,1,38000,1,69,342,171,21,22,21,21,22,21,22,21,21, 64,21,64,21,21,22,21,22,63,22,63,22,63,22,63,22,21,21,21,22,63,22,63, 22,63,22,21,22,63,22,63,22,21,21,21,22,21,22,63,22,21,22,63,22,21,21, 21,22,63,22,63,22,63,22,21,22,1528,342,85,22,3652 ","0000 006D 0022 0002 0156 00AB 0015 0016 0015 0015 0016 0015 0016 0015 0015 0040 0015 0040 0015 0015 0016 0015 0016 003F 0016 003F 0016 003F 0016 003F 0016 0015 0015 0015 0016 003F 0016 003F 0016 003F 0016 0015 0016 003F 0016 003F 0016 0015 0015 0015 0016 0015 0016 003F 0016 0015 0016 003F 0016 0015 0015 0015 0016 003F 0016 003F 0016 003F 0016 0015 0016 05F8 0156 0055 0016 0E44",,

"CURSOR ENTER","sendir,1:1,1,38000,1,69,342,171,22,21,21,21,22,21,22,21,22, 63,22,63,22,21,21,21,22,63,22,63,22,63,22,63,22,21,22,21,21,64,21,64, 21,64,21,64,21,64,21,64,21,21,22,21,22,21,21,21,22,21,22,21,21,22,21, 21,22,63,22,63,22,63,22,63,22,1529,342,85,22,3656 ","0000 006D 0022 0002 0156 00AB 0016 0015 0015 0015 0016 0015 0016 0015 0016 003F 0016 003F 0016 0015 0015 0015 0016 003F 0016 003F 0016 003F 0016 003F 0016 0015 0016 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0016 0015 0016 0015 0015 0015 0016 0015 0016 0015 0015 0016 0015 0015 0016 003F 0016 003F 0016 003F 0016 003F 0016 05F9 0156 0055 0016 0E48",,

I've also ask others if they knew if such a tool exist:

http://www.hifi-remote.com/forums/viewtopic.php?t=17032

Posted: Sun Feb 21, 2016 7:33 am
by Barf
I wrote a technical answer on how to parse the mail in the other thread.

I have almost completed a nice class for import through the ControlTower API, but then I discovered that they do not allow free account to retrieve codes throught the API. Annoying... :cry:

Posted: Sun Feb 21, 2016 9:04 am
by Carl
Ok I have successfully imported the global cache mail in the import/raw tab by renaming the mail in csv and I can see all the codes in the scrutinize remote tab.

The problem is exporting them for use in remotemaster (2.03 build 14).
Why does it produce a .tsv file? It is not recognized by remote master.
I cannot paste it either in the Functions window.