Improve usability of remote transmitter for Sony remotes #3384
Unanswered
malocycling
asked this question in
Component enhancements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Component name
remote_transmitter.transmit_sony
Link to component documentation on our website
https://esphome.io/components/remote_transmitter/
Describe the enhancement
I recently set up an ESP32 as IR blaster to use with my Sony AVR.
I did not have the original remote control where I could sniff the codes from but had to find the right codes from the sircs documentation you can find on the internet.
As the Sony IR command consist of a command and an address (and in some cases an extended address) part, the data which is handed over to the remote transmitter function needs to be converted beforehand into one data part.
While one could do this directly in their configuration I was wondering if it wouldn't make life easier to directly integrate it into the Sony remote_transmitter component, so that you can use it maybe like this:
<button:
name: power_on
on_press:
data_CMD: 0x2E
data_ADR: 0x10
nbits: 12
repeat:
times: 3>
Use cases
No need to do manually do the conversion for the right 'data' input but use command and address input instead.
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions