Arduino-HomeKit-ESP8266 icon indicating copy to clipboard operation
Arduino-HomeKit-ESP8266 copied to clipboard

Television service?

Open vmarks opened this issue 2 years ago • 13 comments
trafficstars

Hi,

Does this support the television service?

I would like to set inputs, volume up/down/mute and power on/off for a television with this project.

vmarks avatar Mar 31 '23 17:03 vmarks

yes

hassbian-ABC avatar May 19 '23 07:05 hassbian-ABC

Pay attention that you cannot control this accessory from the Home app or using Siri. Other apps wil work. Apple does not allow uncertified (OpenSource HAP) accessories to audio and video. (Shame)

PimV5755 avatar Jul 07 '23 09:07 PimV5755

That is incorrect.

Apple allows ravensystems/HAA ir blasters to control television input and volume for example in home and the control Center remote control widget.

On Fri, Jul 7, 2023 at 5:21 AM PimV5755 @.***> wrote:

Pay attention that you cannot control this accessory from the Home app or using Siri. Other apps wil work. Apple does not allow uncertified (OpenSource HAP) accessories to audio and video. (Shame)

— Reply to this email directly, view it on GitHub https://github.com/Mixiaoxiao/Arduino-HomeKit-ESP8266/issues/218#issuecomment-1625118431, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACSWUY7NNEIFP3KDN3TZBDXO7IIJANCNFSM6AAAAAAWO6LWRA . You are receiving this because you authored the thread.Message ID: @.***>

vmarks avatar Jul 07 '23 11:07 vmarks

That would be great. I tried to make a "speaker" accessory to control the volume of an amplifier/speaker. The accessory paired fine but in the Home-app there came the message that it is not supported. Do you have made it working?

Here ther is also the same problem mentioned (few years ago) https://github.com/homebridge/homebridge/issues/1326

PimV5755 avatar Jul 07 '23 14:07 PimV5755

I have an IR blaster running ravensystems/haa that controls inputs and volume of a samsung TV.

Separately, I have homebridge running an onkyo receiver plugin which appears to homekit like a TV for inputs, and uses a fan speed or lamp dimmer (config option) to add a volume slider to homekit. Without that, you have to open control center, tap on remote, and use the volume buttons to control the volume of the receiver or TV.

but… it works.

On Jul 7, 2023 at 10:12:18 AM, PimV5755 @.***> wrote:

That would be great. I tried to make a "speaker" accessory to control the volume of an amplifier/speaker. The accessory paired fine but in the Home-app there came the message that it is not supported. Do you have made it working?

Here ther is also the same problem mentioned (few years ago) homebridge/homebridge#1326 https://github.com/homebridge/homebridge/issues/1326

— Reply to this email directly, view it on GitHub https://github.com/Mixiaoxiao/Arduino-HomeKit-ESP8266/issues/218#issuecomment-1625476884, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACSWU6I4MHS5CF7S2QMMG3XPAKMFANCNFSM6AAAAAAWO6LWRA . You are receiving this because you authored the thread.Message ID: @.***>

vmarks avatar Jul 07 '23 14:07 vmarks

Yes, through Homebridge it works. However, I prefer the native setup so that I can use Siri. BTW I made a HomeKit “gateway” to control my Denon AVR

Op vr 7 jul. 2023 om 16:39 schreef Victor Marks @.***>

I have an IR blaster running ravensystems/haa that controls inputs and volume of a samsung TV.

Separately, I have homebridge running an onkyo receiver plugin which appears to homekit like a TV for inputs, and uses a fan speed or lamp dimmer (config option) to add a volume slider to homekit. Without that, you have to open control center, tap on remote, and use the volume buttons to control the volume of the receiver or TV.

but… it works.

On Jul 7, 2023 at 10:12:18 AM, PimV5755 @.***> wrote:

That would be great. I tried to make a "speaker" accessory to control the volume of an amplifier/speaker. The accessory paired fine but in the Home-app there came the message that it is not supported. Do you have made it working?

Here ther is also the same problem mentioned (few years ago) homebridge/homebridge#1326 https://github.com/homebridge/homebridge/issues/1326

— Reply to this email directly, view it on GitHub < https://github.com/Mixiaoxiao/Arduino-HomeKit-ESP8266/issues/218#issuecomment-1625476884>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/AACSWU6I4MHS5CF7S2QMMG3XPAKMFANCNFSM6AAAAAAWO6LWRA>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/Mixiaoxiao/Arduino-HomeKit-ESP8266/issues/218#issuecomment-1625513769, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUKZ5LWYVD5KCVPTHKOA3UDXPANQZANCNFSM6AAAAAAWO6LWRA . You are receiving this because you commented.Message ID: @.***>

PimV5755 avatar Jul 07 '23 14:07 PimV5755

I agree, I prefer to not use homebridge. But the point I was making was that open source HAP works with volume.

I would like to replicate your Denon control. Are you able to share how you did it? I was thinking of using ravensystem/haa and mapping the TV configuration to the AVR urls that Denon uses.

On Jul 7, 2023 at 10:58:50 AM, PimV5755 @.***> wrote:

Yes, through Homebridge it works. However, I prefer the native setup so that I can use Siri. BTW I made a HomeKit “gateway” to control my Denon AVR

Op vr 7 jul. 2023 om 16:39 schreef Victor Marks @.***>

I have an IR blaster running ravensystems/haa that controls inputs and volume of a samsung TV.

Separately, I have homebridge running an onkyo receiver plugin which appears to homekit like a TV for inputs, and uses a fan speed or lamp dimmer (config option) to add a volume slider to homekit. Without that, you have to open control center, tap on remote, and use the volume buttons to control the volume of the receiver or TV.

but… it works.

On Jul 7, 2023 at 10:12:18 AM, PimV5755 @.***> wrote:

That would be great. I tried to make a "speaker" accessory to control the volume of an amplifier/speaker. The accessory paired fine but in the Home-app there came the message that it is not supported. Do you have made it working?

Here ther is also the same problem mentioned (few years ago) homebridge/homebridge#1326 https://github.com/homebridge/homebridge/issues/1326

— Reply to this email directly, view it on GitHub <

https://github.com/Mixiaoxiao/Arduino-HomeKit-ESP8266/issues/218#issuecomment-1625476884>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AACSWU6I4MHS5CF7S2QMMG3XPAKMFANCNFSM6AAAAAAWO6LWRA>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/Mixiaoxiao/Arduino-HomeKit-ESP8266/issues/218#issuecomment-1625513769>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/AUKZ5LWYVD5KCVPTHKOA3UDXPANQZANCNFSM6AAAAAAWO6LWRA>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/Mixiaoxiao/Arduino-HomeKit-ESP8266/issues/218#issuecomment-1625541853, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACSWU5JNYPFZ54OYOYN4EDXPAP2VANCNFSM6AAAAAAWO6LWRA . You are receiving this because you authored the thread.Message ID: @.***>

vmarks avatar Jul 07 '23 15:07 vmarks

Sure. To make it work with Siri I made it a Lightbulb and limited the control URL to on/off and volume. I did make the double direction work. So if you use the remote or the volume knob, and the on/off it does update HomeKit (as it should) From that you can add more if you go for your solution. I will post an archive with th sample when I am home.

Op vr 7 jul. 2023 om 17:02 schreef Victor Marks @.***>

I agree, I prefer to not use homebridge. But the point I was making was that open source HAP works with volume.

I would like to replicate your Denon control. Are you able to share how you did it? I was thinking of using ravensystem/haa and mapping the TV configuration to the AVR urls that Denon uses.

On Jul 7, 2023 at 10:58:50 AM, PimV5755 @.***> wrote:

Yes, through Homebridge it works. However, I prefer the native setup so that I can use Siri. BTW I made a HomeKit “gateway” to control my Denon AVR

Op vr 7 jul. 2023 om 16:39 schreef Victor Marks @.***>

I have an IR blaster running ravensystems/haa that controls inputs and volume of a samsung TV.

Separately, I have homebridge running an onkyo receiver plugin which appears to homekit like a TV for inputs, and uses a fan speed or lamp dimmer (config option) to add a volume slider to homekit. Without that, you have to open control center, tap on remote, and use the volume buttons to control the volume of the receiver or TV.

but… it works.

On Jul 7, 2023 at 10:12:18 AM, PimV5755 @.***> wrote:

That would be great. I tried to make a "speaker" accessory to control the volume of an amplifier/speaker. The accessory paired fine but in the Home-app there came the message that it is not supported. Do you have made it working?

Here ther is also the same problem mentioned (few years ago) homebridge/homebridge#1326 https://github.com/homebridge/homebridge/issues/1326

— Reply to this email directly, view it on GitHub <

https://github.com/Mixiaoxiao/Arduino-HomeKit-ESP8266/issues/218#issuecomment-1625476884>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AACSWU6I4MHS5CF7S2QMMG3XPAKMFANCNFSM6AAAAAAWO6LWRA>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub <

https://github.com/Mixiaoxiao/Arduino-HomeKit-ESP8266/issues/218#issuecomment-1625513769>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AUKZ5LWYVD5KCVPTHKOA3UDXPANQZANCNFSM6AAAAAAWO6LWRA>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/Mixiaoxiao/Arduino-HomeKit-ESP8266/issues/218#issuecomment-1625541853>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/AACSWU5JNYPFZ54OYOYN4EDXPAP2VANCNFSM6AAAAAAWO6LWRA>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/Mixiaoxiao/Arduino-HomeKit-ESP8266/issues/218#issuecomment-1625546300, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUKZ5LUWRLT2J3NNEJKG4CTXPAQGRANCNFSM6AAAAAAWO6LWRA . You are receiving this because you commented.Message ID: @.***>

PimV5755 avatar Jul 07 '23 15:07 PimV5755

I used IRremoteESP8266 and created a TV service

hassbian-ABC avatar Jul 07 '23 15:07 hassbian-ABC

IMG_0113

hassbian-ABC avatar Jul 07 '23 15:07 hassbian-ABC

IMG_0114

hassbian-ABC avatar Jul 07 '23 15:07 hassbian-ABC

Nice.

Op vr 7 jul. 2023 om 17:12 schreef img @.***>

[image: IMG_0114] https://user-images.githubusercontent.com/37896214/251784325-7425481a-4669-4ce1-9d5b-f217c05696a0.png

— Reply to this email directly, view it on GitHub https://github.com/Mixiaoxiao/Arduino-HomeKit-ESP8266/issues/218#issuecomment-1625562202, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUKZ5LWDFJZB6OGYAWO3HHDXPARPVANCNFSM6AAAAAAWO6LWRA . You are receiving this because you commented.Message ID: @.***>

PimV5755 avatar Jul 07 '23 15:07 PimV5755

@hassbian-ABC could you share the code for tv remote(im interested in HomeKit part)? im trying to make it and if you already done it it'd be easier for me

bartosz-777 avatar Mar 01 '24 11:03 bartosz-777