yashsingh1/xdaforums huggingface dataset:
[One (M7) Themes and Apps] antifish:
Thanks for the reply!

When i have a look at the database there are only #0 .. #1 Codes for the Z5500, no power or volume. Not that i would make any difference for the app, it doesnt know which code does what :D

And when you send the code from the my layout, at the momment, it always will send the first that it findes in the DB (if you have more than one for the same key code).

Can you try to record the power code again, with key type = Power, and then before uploading press the TEST button? It will send out the command out as recorded by the ONE, without serializing and deserializing in the database.

About the URI thing, what do you think of this solution:

otrta://send/{codenr}

The codenr you could get when browsing through the database and pressing on a code, it would show a toast with the id?
[One (M7) Themes and Apps] shad0w77:
no luck with the test button. it doesn't turn on or off. just goes back to he apps main screen.

i think that uri would work nicely!!
[One (M7) Themes and Apps] antifish:
okay so the code is recognized correct but doenst work... hm maybe i try to add a feature to change the repeat cound (how often the code will be sent out) or a long-press feauture where the code will be send out until you keep your finger off the button.

URI will be ready soon, easier then i thought
[One (M7) Themes and Apps] antifish:
Update 0.2d

-> Drag/Drop to edit buttons in custom layouts (when in edit mode)

-> Test of sending codes out using the app uri (send me a pm if you are interested in that feaure, very untested)
[One (M7) Themes and Apps] Hoax87:
Just added the complete remote codes for my Samsung D6200 tv. Works perfect.

Could you add the option to rename buttons plus add an Option to add own background Images (transparent PNG)? Or coloured BGs at least?

Gesendet von meinem HTC One mit Tapatalk 2
[One (M7) Themes and Apps] antifish:
Sounds like a good idea with the custom backgrounds (image from gallery or just color).

will put that on my to-do list :D

As its my first app it took a lot of time for everything (search how to do, implement, test...)
[One (M7) Themes and Apps] Hoax87:
I could join you. Also wanted to build such an app exactly like yours. Already got in contact with HTC for the IR SDK. But when I saw your app there was no need for me to start.

This would have been my first android app, too. Was an iOS Dev before I bought the ONE and sold the iPhone :)

PM me if you could need my help.

Regards from germany

Gesendet von meinem HTC One mit Tapatalk 2
[One (M7) Themes and Apps] antifish:
Hi hoax,

thanks for your help, but i think i go alone with this, as its my first app i want to do it on my own :)

If you start developing with the IR API and have troubles, just send me pm (gerne auch auf deutsch :) )

The custom backgrounds will be part of the next version
[One (M7) Themes and Apps] eisteh:
Your new version works better. Got alot of pulse and Frequency errors but it works. Thanks
[One (M7) Themes and Apps] toxic_garden:
this may be a bit early, but did you already think about macros? I'd love to use them, e.g. for something like "turn TV on - wait for 3 sec - switch to Antenna Input - switch to Channel 23". My favourite 1-click-Pro7-Simpsons time-Action ;)
[One (M7) Themes and Apps] antifish:
There is already the possibilty to send a code using the URI otrta://send?id=xxx

So you could use TASKER to create a script. This feature is in a early stage and somebody reported that it doesnt work yet, but feel free to try.

And maybe i impelement the scripting feature in this app, but will not be high priority :)
[One (M7) Themes and Apps] antifish:
Can you try with stock kernel and see if it makes any diffrence?
[One (M7) Themes and Apps] eisteh:
I will later today
[One (M7) Themes and Apps] sgtrhd:
Please delete the two Zehnder HX7130 #3 Codes from Database... only One is ok (no idea what i done with the other code...)

and the three Vol- Codes

and the two Exit Codes

and the two Mute Codes

Error: In "My Layout" are (for me) only the wrong codes selectable...

So if all are deleted, another try...

or delete all except the newest ones
[One (M7) Themes and Apps] antifish:
Deleted all codes for the HX7130. You must delete the app data and sync the DB again, as i dont have a sync function to catch the deleted codes.

Any yes i need to fix the code selector, so you can selected every code per codetype, if there are mutiple for the same model
[One (M7) Themes and Apps] sgtrhd:
i give up... delete it....

AND:

the Test-function force-closes the signal mapping... Result: upload to test... O.o

Wait for fix

no more uploads before then
[One (M7) Themes and Apps] turbox:
For me the test button quit the learning mode. When I click to shutdown all, I've a message "TimeOut" and nothing happend on my tv.
[One (M7) Themes and Apps] antifish:
Sorry guys, i fix the test button tomorrow. Plus update with custom background or color for the own layouts.

Does somebody have a working "all off" button? Damn need to get my ONE soon, to much bugs :)
[One (M7) Themes and Apps] antifish:
V0.2f should fix layout force close in 0.2e :D
[One (M7) Themes and Apps] eisteh:
Have you ever thought about a remote widget, so you can have a layout on the homescreen? Just a suggestion for future versions ^^

Maybe I'll have some time later today to finally test this app again.
[One (M7) Themes and Apps] antifish:
Widgets will come in a later version, first need to fix the stuff which is not working, optimize the db functions, make a nicer gui, etc :)
[One (M7) Themes and Apps] eisteh:
Ok :) good to know
[One (M7) Themes and Apps] parabolo:
Hey! Since this is my first post in this thread: Thanks for this application. I'm seeing a lot of potential :cool:

I'm running the newest stock firmware (unrooted). Learning codes from my Samsung remote works just fine. :good:

But then I was trying to learn my IR-remote Canon trigger and couldn't get it to work:

Sometimes I just get a timeout error, sometimes it says "PULSE ERROR".

What is the right technique to learn the IR-code?

Just press it ONCE and hold it very close to the One's IR-sensor?

Because when I do press it once I get a timeout (however close and directly I point it to the sensor), when I press multiple times I get the "PULSE ERROR"

Any suggestions?

Thanks in advance
[One (M7) Themes and Apps] Sikki:
Some issues i've found, stock unrooted One, 0.2f:

1. Clicking all-off does "Sending 1/54" and then ! TimeOut ! and doesn't shut down any of my devices.

2. Learning any button from a Philips tv remote gives "Pulse Error", and sometimes "Frequency out of range" or something similar (couldn't reproduce with a fast test). The TV -app built-in to the phone doesn't recognize some of the buttons from my remote either, though :(

3. Going to My Layouts seems to crash the app.
[One (M7) Themes and Apps] parabolo:
(Also Stock Unrooted 0.2f)

Same problem here...

Same "PULSE ERROR" when trying to learn my Canon IR-Remote / Working with my Samsung-Remote.

(Well, at least I get some kind of error, stock Tv-App doens't recognize it at all)

Nope, that doesn't happen to me. "My Layouts" works just fine for me.

What does "PULSE ERROR" actually mean? Too many signals?
[One (M7) Themes and Apps] antifish:
1) Okay i implemented the sending a background thread with waiting until i get an event from the IR API that the code is sent out. propaply there is something wrong with the event (not fired or i dont catch it). I'll implement the function with a wait time between sending out a code. The wait time will be adjustable so you can try whats best (between 1...1000ms or something). Maybe it will work then.

2) PULSE ERROR is an error which i received from the IR API when learning is finished, maybe its a code which is not compatible?

Is it this remote? maybe i can implement the code in the databse manualy

www.doc-diy.net/photo/rc-1_hacked/index.php

3)@Sikki are your sure you are using version 0.2F and not D? If yes, please try reinstall the app. If still not works, tell when it crashes, when you click MY LAYOUTS, or when you add one? edit one? delete one?
[One (M7) Themes and Apps] Sikki:
It was F, but reinstalling worked.

The HTC TV app can't learn buttons but most of the pre-configured stuff still work on the TV. Not sure how a simple pulsing IR signal could be "incompatible". Some of the other remotes I use were able to be learned by your app, though.
[One (M7) Themes and Apps] parabolo:
Well mine says "Canon RC-6 IR" - probably just a newer version. I don't think they've changed the IR-signal, though...

Thanks! That would be awesome.

I'll keep testing and report back.

P.S.: I think this would be the first app that is able to fire a DSLR with the built in IR-remote. At least I couldn't find a working one...
[One (M7) Themes and Apps] antifish:
I dont know if the ONE is limited to a frequency range or a pulse length, so there maybe codes which can't be learned.

As soon as i get my ONE i'll try implement the canon codes

Update is online, please try the All-Off function!
[One (M7) Themes and Apps] Sikki:
It can replicate the codes with preset settings, so shouldn't be an issue learning them.

All-Off works now, at least on my philips tv!
[One (M7) Themes and Apps] antifish:
thanks for the reply!

Maybe the ONE is limited in learning more than in sending?!

Please use 0.2h, it has a fix when you use custom send timeouts

http://goo.gl/z5Mt0
[One (M7) Themes and Apps] Steeldunes:
Hi Antifish,

I found a bug (0.2h)

When you press learn code and accidentally press back or home on your device, and switch back to the app there is a forceclose
[One (M7) Themes and Apps] deol 4ever:
I was trying to learn a code to control my fan but kept getting out of frequency error :P what does that mean
[One (M7) Themes and Apps] toxic_garden:
i'll give the URI-Method a try tomorrow. This is going to be wild, as i have several steps to do before. Like calling one URL to activate the remote controlled power socket, using OtrtA to switch the TV on, selecting the right input on the amp and switching to the right channel then. God how i LOVE scripting things!
[One (M7) Themes and Apps] Steeldunes:
I don't know how the app handles the IR codes but maybe this is helpfull?

remotecentral.com/cgi-bin/codes/ I can't post links yet so copy and past please...

This has many IR codes in hex values, maybe you could build in an option where you can manually add devices with the hex codes?

For example:

I can manually add a POWER code for a Sanyo beamer:

0000 006B 0000 0044 0000 00AD 0000 0015 0000 0015 0000 0015 0000 0015 0000 0040 0000 0040 0000 0015 0000 0015 0000 0040 0000 0040 0000 0040 0000 0040 0000 0015 0000 0015 0000 0040 0000 0040 0000 0015 0000 0015 0000 0015 0000 0015 0000 0015 0000 0015 0000 0015 0000 0015 0000 0040 0000 0040 0000 0040 0000 0040 0000 0040 0000 0040 0000 0040 0000 0040 0000 0D27 0000 00AD 0000 0015 0000 0015 0000 0015 0000 0015 0000 0040 0000 0040 0000 0015 0000 0015 0000 0015 0000 0040 0000 0040 0000 0040 0000 0015 0000 0015 0000 0040 0000 0040 0000 0040 0000 0040 0000 0040 0000 0040 0000 0040 0000 0040 0000 0040 0000 0040 0000 0015 0000 0015 0000 0015 0000 0015 0000 0015 0000 0015 0000 0015 0000 0015 0000 0D37

Do you think this could work?

It's just a thought...
[One (M7) Themes and Apps] antifish:
Hi

Thanks for the info. Im currently working on a "debug" mode where you can enter the code data (the hex values) and the other parameters like frequency and then send it out. When the debug mode is ready you can give it a try :)
[One (M7) Themes and Apps] antifish:
[MENTION=5255778]Steeldunes[/MENTION]

Thanks for the info, will have a look at that!

[MENTION=4192974]deol 4ever[/MENTION]

Propably your FAN remote uses a frequency which is not compatible with the ir blaster of the ONE
[One (M7) Themes and Apps] antifish:
Hi @ all,

got a packet today from HTC, they loan me a ONE for developing until my own arrives (still not available here). Realy impressed how they care about there customers. The device is kind of a protoype (at least it doesnt have the unibody housing).

So i tried out my app today the first time :cool:

Bugfixing should now be faster... at the moment im chaning the service and db to another host, which takes some time as the service now is a WCF service and i'll have to write it new in PHP.

But you dont have to worry about it, i'll move all codes when the database is ready

What i figured out about code learning: You really have to point directly to the IR transmitter that it works, otherwise i alyway get a timeout error.

And i'll have to implement a new learning form, which maybe learnes until it recognizes a button and doesnt close after upload, so it will be much faster to learn a whole remote.

PS: if you need more device types / code types, just post your request here or send me i pm
[One (M7) Themes and Apps] codest17:
Hey, great app with lots of potential. There are a few buttons on my remote that isn't in the button options, for example: zoom, picture, audio, pause, stop, etc. Just thought I'd let you know. Keep up the good work!
[One (M7) Themes and Apps] antifish:
Thanks for your response, added a couple new ones. Just send me a message when you need another one
[One (M7) Themes and Apps] antifish:
Version 0.2i uploaded.

Some smaller bugfixes + ALL OFF feature should now work fast AND without timeout :good:

You can ignore the wait time setting, its nod used anymore, just forgot to remove...

My host is having some problems so if database can't get synced its not a app bug
[One (M7) Themes and Apps] subarudroid:
Any chance this working with aosp? I open the app and it just crashes. If a logcat would help, I'd be happy to provide one. :D

Sent from my ONE CM10.1
[One (M7) Themes and Apps] scarabe17:
IR is not working for AOSP rom for now :)

Envoyé depuis mon HTC One avec Tapatalk
[One (M7) Themes and Apps] Steeldunes:
All off! Was working great in 0.2h but in 0.2i it doesn't. I think they are too fast now. Speed was fine in 0.2h
[One (M7) Themes and Apps] antifish:
I think hey AOSP kernel would need the IR blaster driver + the sense.apk and framework files, and i dont think they will include that in the AOSP roms / CM :(

okay i bring back the variable delay in the next version
[One (M7) Themes and Apps] scarabe17:
Seems like it's working great for me :rolleyes:
[One (M7) Themes and Apps] toxic_garden:
URI-calling works great on latest version. Just did some tasker-stuff and had no issues. Regarding the "pulse error", it seems to help when you play around with the distance between remote and Phone. Some codes of my Samsung-remote could only be learned when i de- or increased the distance a bit, otherwise i always got that "pulse error"-thingie.
[One (M7) Themes and Apps] antifish:
I uploaded version 0.3a, check OT for link

Please don't use the old version anymore, the host & database, if you upload codes with version < 0.3 it will be lost.

All codes are tranfered from old to new database 5mins ago!

Im taking down all services for 0.2x now so dont wonder if app dont work anymore :)

Delete & Reinstall is recommended for update from 0.2xxx -> 0.3!

Other changes:

- bugfixes and propably new bugs :cyclops:

- new color picker

- all codes are listed in code selector

- fixed the URI start of sending codes

When the new database / host works as expected i'm going for some new features
[One (M7) Themes and Apps] antifish:
0.3b with a little bufix :laugh:
[One (M7) Themes and Apps] antifish:
0.3c with bugfix for syncing.

reflection error :cowboy:
[One (M7) Themes and Apps] ixrs:
Working so far with my TV. Thanks for all of your hard work!
[One (M7) Themes and Apps] Daman09:
I'm fairly confident that it would need an IR blaster driver, but I'm also fairly sure using the IR blaster require the sense framework to be present. I think this is just the case for the Sense TV app.
[One (M7) Themes and Apps] parabolo:
All-Off doesnt't work with out Pioneer TV. I'm going to look for the model name later.

Can you add a function like: "IR to Code"? So that you can hold an IR-device in front of the sensor and your app converts it to like HEX or something. Would make it easier to send IR-codes to you or other IR-app-programmers :)

Thanks! App develops extremely well :good:
[One (M7) Themes and Apps] Reptile420:
Cool app!

I figured out the HTC One is super picky of how you hold it towards the IR receiver. Also a lot of similar models work, My Sony TV worked with settings someone else already uploaded.

I have noticed a couple things that haven't worked right for me; The time-out settings cannot change. I type in 30 and it goes right back to 15 every time.

Also is there a way to add more codes?

Thanks
[One (M7) Themes and Apps] antifish:
What works is learning codes, they will be uploaded to the database. I'll add an "debug" view later where you can see all the parameters which the ONE record and edit them, so you will see what was recorded (frequency, data, etc).

Why dont you add the Off-Code for your Pioneer TV ? Press learn-code, point with the remote the the one and press power :good:

The timeoutsetting is limited to 15seconds as max in this verison. will increase to 60 seconds maximum in the next version.

Do you want more "code types"? Just send me what your missing and ill add them.

If you want more IR codes than you can contribute and learn the codes for your devices? maybe i'll find a way to add codes directly to the db without the need of a HTC ONE to learn them
[One (M7) Themes and Apps] kimifrance:
Hi thank for your app

I have add code for my led lighting system but there is no category for it. I put it in "air conditionner"

I can not add enough keys for my denon 3311 amplifier. I put it in "tuner" but i want custom keys like the source : BD / SAT-CBL / GAME... Can you let us name the keys ?
[One (M7) Themes and Apps] codest17:
Hey, the new all off works good; however,I tried it on a couple of my tv's and they turn off and on several times with one cycle. So maybe you could ignore duplicate codes or something.
[One (M7) Themes and Apps] scarabe17:
+1 it's happening to me with Samsung TV's

Envoyé depuis mon HTC One avec Tapatalk
[One (M7) Themes and Apps] antifish:
0.3d uploaded.

Has a new view "Debug" where you can inspect the data from the codes (frequency, repeat count, and of course the data).

You can edit the data and send them out just for trying things out. If you learned a code and it doenst work, try adjust frequency or repeat count, or enter data manually if you find a code online.

Your changes are not saved in the code database, just in this this debug view. If this works well and we can improve the codes i'm thinking about that the user that created a code can also edit / improve them.

+some other bugfixes
[One (M7) Themes and Apps] antifish:
You can always send me requested categories / key types per PM or post it in the thread, when i add them in the database there will be in your app just after a sync.

I'll let the users create custom key name (which are uploaded and shared with others then) in a later version!

Okay i need a good approach to detect similar codes and dont send them, proaply cross-checking data + frequency in a certain range, will have a look at that!
[One (M7) Themes and Apps] antifish:
0.4a uploaded,

new main-gui (check slide menu on the left if you miss the functions :o)
[One (M7) Themes and Apps] pan466:
wdtv live streaming

can someone pls upload wdtv code? i lost my remote son i cannot use learn function :cyclops:

---------- Post added at 05:55 PM ---------- Previous post was at 05:52 PM ----------

btw there are some websites with code database and i guess you can download those codes like here:

http://onlyoneremote.com/database_pep2.html

would it be possible to add those databases from different sources?

i dont know if this is legal or not... sorry if it is...
[One (M7) Themes and Apps] bmwheaven:
Testing with my LED light (http://litb.me/1633Zl6) and it is working! And the remote on my One is much better (works from a bigger distance)!

I uploaded the codes, but I couldn't select a remote control for a LED light, and what I'm also missing is renaming the controls on a grid.

Great app, thanks!
[One (M7) Themes and Apps] johnnydommer:
0.4a update issue

After the update the database fails to update for me after starting app. Everything else seems to be working.
[One (M7) Themes and Apps] antifish:
I think somebody uploaded WDTV codes now :victory:

Its on my TODO list to check some other databases and see if i can import their codes, there are free database which should be legal to import.

I'll add a category LED Light to the app, so people can choose that. As i dont know what keys you have on that remote, let me know and ill add that to the database too

Does it always fails at startup but works manualy?

Maybe the webservice is sleeping and needs some time to wake up, as the timeout is the same if if syns on the app start or when you press manualy
[One (M7) Themes and Apps] parabolo:
It's incredibly how fast you improve your app! Both in functionality and GUI! I'm impressed! :good: :o

Some (small) things I noticed in the new version:

Maybe it's just me but I think the menu on the left side is a bit counter-intuitive. I don't know - I always wanna click on the top right hand side for the menu button. :D

You should create an own tab-page for the "Learn Code"-option. Maybe just with two buttons: "Learn" and "Cancel" plus some kind of indicator what it's picked up so far.

Right now there is no option to stop the learning and you're still in the previously selected tab. (A bit confusing...)

Debug: I don't know that much about IR-data... If I got it right the "Data" is sent in a special "Frequency [Hz]" and sometimes "Repeated" multiple times. So if you change the frequency the device cannot pickup the data anymore? And you can send the sama data in different Frequencies to different devices, both triggering a different action? (I'm just talking theoretically here)

I was trying to send a trigger signal to my Canon DSLR but obviously the correct Frequency wasn't enough :D

Can anyone pickup the required data from that site: doc-diy.net/photo/rc-1_hacked/ ?

Thanks in advance! :)

(P.S.: No force-closes etc for me, works really great!)