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

IrScrutinizer: capturing, generating, analyzing, import, exp
Goto page Previous  1, 2, 3 ... 6, 7, 8 ... 25, 26, 27  Next
 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Software
View previous topic :: View next topic  
Author Message
leamas



Joined: 20 Mar 2014
Posts: 7

                    
PostPosted: Thu May 21, 2015 9:56 am    Post subject: Fedora packages in place! Reply with quote

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:
 $ sudo yum install harctoolbox

Likewise, on the upcoming Fedora 22 release:
Code:
 $ 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!
Back to top
View user's profile Send private message
Barf
Expert


Joined: 24 Oct 2008
Posts: 1402
Location: Munich, Germany

                    
PostPosted: Sat May 23, 2015 3:41 pm    Post subject: Re: Fedora packages in place! Reply with quote

Alec,
thanx a whole bunch for this!! Laughing Very Happy

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:
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... Confused )
Back to top
View user's profile Send private message Send e-mail Visit poster's website
leamas



Joined: 20 Mar 2014
Posts: 7

                    
PostPosted: Sun May 24, 2015 1:50 am    Post subject: Reply with quote

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).
Back to top
View user's profile Send private message
Barf
Expert


Joined: 24 Oct 2008
Posts: 1402
Location: Munich, Germany

                    
PostPosted: Wed Sep 09, 2015 1:32 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Ellen



Joined: 03 Aug 2003
Posts: 103
Location: East of the Rock, West of the Hard Place

                    
PostPosted: Fri Sep 11, 2015 6:45 pm    Post subject: IrScrutinizer timeout Reply with quote

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.
Back to top
View user's profile Send private message
Barf
Expert


Joined: 24 Oct 2008
Posts: 1402
Location: Munich, Germany

                    
PostPosted: Sat Sep 12, 2015 4:20 am    Post subject: Reply with quote

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:
static const bool sensorIsInverting = true;

to
Code:
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.

Quote:

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" Smile. Try the current IDE and the current sources.

Please let me know if this works.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Ellen



Joined: 03 Aug 2003
Posts: 103
Location: East of the Rock, West of the Hard Place

                    
PostPosted: Sat Sep 12, 2015 6:00 am    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message
Barf
Expert


Joined: 24 Oct 2008
Posts: 1402
Location: Munich, Germany

                    
PostPosted: Sat Sep 12, 2015 12:49 pm    Post subject: Reply with quote

Thank you for verifying that it works! Hope you will find the program useful. Cool

Bengt
Back to top
View user's profile Send private message Send e-mail Visit poster's website
leamas



Joined: 20 Mar 2014
Posts: 7

                    
PostPosted: Tue Sep 15, 2015 4:17 pm    Post subject: Reply with quote

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/leamas/harctoolbox/
Back to top
View user's profile Send private message
Barf
Expert


Joined: 24 Oct 2008
Posts: 1402
Location: Munich, Germany

                    
PostPosted: Fri Jan 01, 2016 8:28 am    Post subject: Continuous integration builds Reply with quote

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).
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Barf
Expert


Joined: 24 Oct 2008
Posts: 1402
Location: Munich, Germany

                    
PostPosted: Fri Jan 01, 2016 8:38 am    Post subject: Bug in ICT export on Windows fixed Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Barf
Expert


Joined: 24 Oct 2008
Posts: 1402
Location: Munich, Germany

                    
PostPosted: Fri Jan 08, 2016 3:12 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Carl



Joined: 15 Jan 2009
Posts: 159
Location: Quebec city, Canada

                    
PostPosted: Sun Feb 21, 2016 8:23 am    Post subject: Convert codes from globalcache Reply with quote

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:


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
Back to top
View user's profile Send private message Visit poster's website
Barf
Expert


Joined: 24 Oct 2008
Posts: 1402
Location: Munich, Germany

                    
PostPosted: Sun Feb 21, 2016 8:33 am    Post subject: Reply with quote

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... Crying or Very sad
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Carl



Joined: 15 Jan 2009
Posts: 159
Location: Quebec city, Canada

                    
PostPosted: Sun Feb 21, 2016 10:04 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message 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
Goto page Previous  1, 2, 3 ... 6, 7, 8 ... 25, 26, 27  Next
Page 7 of 27

 
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
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control