ToddGreenfield / homebridge-onkyo

Homebridge module for Onkyo Receivers
ISC License
39 stars 24 forks source link

Polling Onkyo to make a fast 'Onkyo to homebridge' -connection #68

Open Lander81 opened 4 years ago

Lander81 commented 4 years ago

Hi,

When powering on the Onkyo with the original RC, the 'update to ON' in homebridge (and homekit) takes around 10 seconds. I want to have the info directly to make an automation in .home (to power on the TV + CableBox who are not on the network-with BroadlinkRM). As a result, there only need to be pushed on one button, or talking only one sentence to the smart speaker, to turn on the television (video+ audio).

The polling interval is currently on '1'. But putting it on '3000' doesn't help.

any ideas?

Lander81 commented 4 years ago

Some more info: Have made other implements to my Onkyo, to see how they react. Number 3 on the picture is a connection between openHab and Homebridge (openHab-complete), binding in openHab, it all reacts immediately (=turn on the Onkyo -> a few milliseconds later a good result in .home)

  1. OnkyoAVR (gw-wiscon) into Homebridge; also reacts immediately.
  2. this plugin.

=> so it really looks like the polling is not working, or it is because it's a TV accessory, or a combination.

The TV accessory is a great improvement (switching source and notifying on the button), but not right now :)

good to mention: I have a TX-NR646, and use the TX-NR609-config. is that the right way to go? not sure, because the 3th HDMI input (STRM BOX) is not switchable.

PollingOnkyo

ryanschmidt commented 4 years ago

I have experienced this as well. On a previous version of this plugin, when it was an accessory instead of a platform, the response time was handled as expected by the polling value. Now it appears to not update until I open the Home app which forces a refresh.