npope / home-assistant-crestron-component

Integration for Home Assistant for the Crestron XSIG symbol
Apache License 2.0
63 stars 25 forks source link

control my C2N-Amp crestron with your integration #20

Open sebastiensoulac opened 8 months ago

sebastiensoulac commented 8 months ago

Hello @georgesak

Thanks for the update on crestron integration with HA. I would like to control my C2N-Amp crestron with your integration.

Can you help me to do this integration? If yes, can you tell me how to fill the join on the crestron. my yaml config: `crestron: port: 16384 media_player:

platform: crestron name: "Room 1" turn_off: 10 turn_on: 9 mute_join: 4 volume_up_join: 1 volume_down_join: 2 volume_join: 1 source_number_join: 13 sources: 1: "Android TV" 2: "Roku" 3: "Apple TV" 4: "Chromecast" 7: "Volumio" 8: "Crestron Streamer"` The source names are only indicative.

I would like to have zone On/Off and volume management. Thanks for your help

georgesak commented 8 months ago

What processor are you using?

sebastiensoulac commented 8 months ago

My processor is a DIN-AP3

georgesak commented 8 months ago

So you need to add 2 things:

It's best to use 2 XSigs, one for digital and another for analog/serial. Otherwise join numbering gets confusing (read the original readme, this is documented).

Let me know if that helps or you're still stuck.

sebastiensoulac commented 8 months ago

Hello @georgesak

Thanks for your help. As I understand it:

TCP/IP client, point it to your HA instance (IP + port 16384) image

image

XSig symbol. And expose the joins there image

First question is it normal to have "unlnown" in my connection with HA? image

thank you for your feedback

georgesak commented 8 months ago

Everything looks good. It should show connected, mine does.

Only difference is that I don't have a "1" on the Connect signal of the TCP Client. It might be that the network stack is not yet up and running. I drive it with a delay so try that:

Hopefully that works!