kkapitan / homebridge-homesung

A Homebridge plugin for Samsung SmartTV H and J models with the pairing protocol
MIT License
30 stars 5 forks source link

POWER With CEC #6

Open maimbe opened 5 years ago

maimbe commented 5 years ago

I have this problem:

Sep 19 21:31:36 raspberry homebridge[2014]: [9/19/2018, 9:31:36 PM] [SamsungTV] Requesting device status failed: cec-client never reported ready Sep 19 21:31:36 raspberry homebridge[2014]: [9/19/2018, 9:31:36 PM] [SamsungTV] TV status: standby Sep 19 21:31:36 raspberry homebridge[2014]: [9/19/2018, 9:31:36 PM] [SamsungTV] Requesting device status: 224 Sep 19 21:31:36 raspberry homebridge[2014]: [9/19/2018, 9:31:36 PM] [SamsungTV] Requesting device status failed: cec-client never reported ready Sep 19 21:31:36 raspberry homebridge[2014]: [9/19/2018, 9:31:36 PM] [SamsungTV] TV status: standby Sep 19 21:31:42 raspberry homebridge[2014]: [9/19/2018, 9:31:42 PM] [SamsungTV] Requesting device status: 224 Sep 19 21:31:42 raspberry homebridge[2014]: [9/19/2018, 9:31:42 PM] [SamsungTV] Requesting device status failed: cec-client never reported ready Sep 19 21:31:42 raspberry homebridge[2014]: [9/19/2018, 9:31:42 PM] [SamsungTV] Requesting device status: 224 Sep 19 21:31:42 raspberry homebridge[2014]: [9/19/2018, 9:31:42 PM] [SamsungTV] Requesting device status failed: cec-client never reported ready Sep 19 21:31:42 raspberry homebridge[2014]: [9/19/2018, 9:31:42 PM] [SamsungTV] Changing status to: on Sep 19 21:32:56 raspberry homebridge[2014]: [9/19/2018, 9:32:56 PM] [SamsungTV] Requesting device status: 224 Sep 19 21:32:56 raspberry homebridge[2014]: [9/19/2018, 9:32:56 PM] [SamsungTV] Requesting device status failed: cec-client never reported ready Sep 19 21:32:56 raspberry homebridge[2014]: [9/19/2018, 9:32:56 PM] [SamsungTV] Requesting device status: 224 Sep 19 21:32:56 raspberry homebridge[2014]: [9/19/2018, 9:32:56 PM] [SamsungTV] Requesting device status failed: cec-client never reported ready Sep 19 21:32:56 raspberry homebridge[2014]: [9/19/2018, 9:32:56 PM] [SamsungTV] Changing status to: on

and don't work a power ON or OFF!

Any idea?

maimbe commented 5 years ago

I test here, i use this:

cec-client Power OFF: standby 0 Power ON: on 0

and working, idk not working in plugin :'(

kkapitan commented 5 years ago

Hi!

This is a limitation on the side of the third party dependency that handle hdmi-cec communication. For example if you run the cec-client command from the terminal before it can cause the cec-client instance run within a plugin to get stuck.

I had this issue before and what fixed it was to close all the terminals and run homebridge again. In long term, try running homebridge multiple times until it succeeds. I might try to fix this in the future if this will be more painful than that.

maimbe commented 5 years ago

I tried it, but for me never working!!

😥😥... What i need to do for it working?

Help me! Hahaha

maimbe commented 5 years ago

Don't work for me this!...

I thinks a model of TV