sharandac / My-TTGO-Watch

A GUI named hedge for smartwatch like devices based on ESP32. Currently support for T-Watch2020 (V1,V2,V3), T-Watch2021, M5Paper, M5Core2 and native Linux support for testing.
GNU General Public License v2.0
524 stars 246 forks source link

IR App help #323

Closed Crsarmv7l closed 2 years ago

Crsarmv7l commented 2 years ago

Hi,

Looking for some insight about your IR Remote app

I have 3 TV's in my house, and for simplicity sake I would like to create one remote that sends 3 commands with each button press (one for each tv). Think the old school tv-b-gone type implementation. That would simplify the interface/remotes, reducing it to one remote on screen which should work on 3 different tvs. Not the most elegant, but effective and definitely scaleable for others as well.

The remote file would look like this:

{ "Remote": [{ "Power": { "m": 7, "hex": "E0E040BF" "m": tv2, "hex": "tv2 hex" "m": tv3, "hex": "tv3 hex" }, "Ch+": { "m": 7, "hex": "E0E048B7" "m": tv2, "hex": "tv2 hex" "m": tv3, "hex": "tv3 hex" }, "Ch-": { "m": 7, "hex": "E0E008F7" "m": tv2, "hex": "tv2 hex" "m": tv3, "hex": "tv3 hex" } ......... } ], "defBtnHeight": 33, "defBtnWidth": 65, "defSpacing": 2 }

Obviously the "m" and hex values would be replaced by the appropriate values.

It doesn't seem to work with the ir app though. Any tips?

d03n3rfr1tz3 commented 2 years ago

Took me a bit longer then usual, but I answered this here: https://github.com/d03n3rfr1tz3/TTGO.T-Watch.2020/issues/15

Regarding the feature for defining multiple commands for one button, I will probably implement that in the near future. Depends a little bit on when I have time and motivation to do it 😉 Of course I will create a PR when it's done to bring it to the real firmware (sharandacs one).

Crsarmv7l commented 2 years ago

Took me a bit longer then usual, but I answered this here: d03n3rfr1tz3#15

Regarding the feature for defining multiple commands for one button, I will probably implement that in the near future. Depends a little bit on when I have time and motivation to do it 😉 Of course I will create a PR when it's done to bring it to the real firmware (sharandacs one).

Thank you. I created the issue on your github before I found your writeup and discovered that the IR app was already in the firmware when you forked, so I figured I would put it here. I know there have been previous refs to you as the IR app expert.

I look forward to the implementation!

IR, opensource and the BLE UART, are the main reasons I got this. I was able to get it working with Sailfish OS, now just need to finish it off.

Crsarmv7l commented 2 years ago

d03n3rfr1tz3 is awesome.

d03n3rfr1tz3 commented 2 years ago

do not celebrate to early, it' just merged into experimental currently. it "works on my machine" 😉