Palakis / esphome-native-hdmi-cec

HDMI-CEC implementation for ESPHome
Other
40 stars 11 forks source link

Implement ID #6

Open gekkie opened 4 months ago

gekkie commented 4 months ago

Hi,

First off LOVE THIS! after 2 months of screwing around with other options this one worked for me and saved my project!!!

Would it be possible to implement id in esphome. The reason is that I would love to use 3 HDMI CEC outputs.

Let me know hwo to buy you a coffee(tm) for all the hard work.

Palakis commented 4 months ago

Thanks for the kind words @gekkie! I'll look into this.

Palakis commented 4 months ago

@gekkie

I whipped up something on a separate feature/multiple-buses branch. Can you please give it a try?

Update your external_components section so that source points to the right branch:

external_components:
  - source: github://Palakis/esphome-hdmi-cec@feature/multiple-buses

And then declare several CEC buses like so:

hdmi_cec:
  - id: cec1
    pin: GPIO26
    address: 0x5
    physical_address: 0x4000

  - id: cec2
    pin: GPIO27
    address: 0x6
    physical_address: 0x4000
gekkie commented 4 months ago

Hi,

Thanx for the update! current project is on hold until beginning of June so I will not be able to test, that and honestly I forgot why I needed dual CEC (will figure that one later).

On Sun, May 12, 2024 at 5:24 PM Stéphane Lepin @.***> wrote:

@gekkie https://github.com/gekkie

I whipped up something on a separate feature/multiple-buses branch. Can you please give it a try?

Update your external_components section so that source points to the right branch:

external_components:

  • source: @.***/multiple-buses

And then declare several CEC buses like so:

hdmi_cec:

  • id: cec1 pin: GPIO26 address: 0x5 physical_address: 0x4000

  • id: cec2 pin: GPIO27 address: 0x6 physical_address: 0x4000

— Reply to this email directly, view it on GitHub https://github.com/Palakis/esphome-native-hdmi-cec/issues/6#issuecomment-2106289725, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAED2WC3NOAKDIXJHLBLAF3ZB6CS5AVCNFSM6AAAAABGQXFHY2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBWGI4DSNZSGU . You are receiving this because you were mentioned.Message ID: @.***>

-- Met vriendelijke groeten,

Geordy Korte @.***>

solarmill commented 3 months ago

Were you planning to use it as some sort of "bridge" to communicate with two different CEC networks?

gekkie commented 3 months ago

Nope. The goal is to have a bt remote connect to an esphome, then according to which hdmi system is selected (via a modded hdmi switcher, added esphome to that) send vol up to either cec1 or cec2That’s the plan. Next week i start coding and will let you know if it worksCheersGeordy KorteOn 2 Jun 2024, at 17:12, SolarMill @.***> wrote: Were you planning to use it as some sort of "bridge" to communicate with two different CEC networks?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

solarmill commented 1 month ago

not stale.

solarmill commented 1 month ago

@gekkie did you get this working?

gekkie commented 4 weeks ago

Hi,

Not yet to be honest. Just finished the installation and ran into a bunch of issues which set me back. The biggest is that when I use the CEC code it causes the Stepper motors to jitter and hang. Before you go off and start thinking about this, it is most probably an issue on my side. Instead of using separate wire looms for each of my components (fans, steppers, switches, displays etc) I decided to aggregate everything into one big cable (30 strands) and a big beffy connector... Thought the idea was great until I ran into crosstalk on the wires and most of my endstop switches were firing randomly.

Like I said this is going to take some time, so I would close this ticket instead of waiting for me to finish this simple project that is turning into "the project from hell".

On Wed, Aug 14, 2024 at 1:05 PM SolarMill @.***> wrote:

@gekkie https://github.com/gekkie did you get this working?

— Reply to this email directly, view it on GitHub https://github.com/Palakis/esphome-native-hdmi-cec/issues/6#issuecomment-2288459447, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAED2WA3DCWSBKN3VIZVASLZRM2X5AVCNFSM6AAAAABGQXFHY2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBYGQ2TSNBUG4 . You are receiving this because you were mentioned.Message ID: @.***>

-- Met vriendelijke groeten,

Geordy Korte @.***>