Re: Python plugin to control Onkyo receivers
Posted: Sunday 12 March 2017 17:17
@jake,
In the protocol specification, Onkyo states a response within 50 ms. I don't know what method you mean with the current described method.
I've you refer to my script, I can at least say the following:
The script first discovers the Receiver through a network broadcast. After receiving the response it connects. I use pause of one second after each request, and 5 seconds after a power-on/off request, because it seems the receiver does otherwise sometimes miss a request (at least on my model).
On the plugin I'm developing, the discovery only takes place once (on startup).
After that, the command is issued immediately after an event from domoticz, and should be executed within 50ms.
I, don't know at this time, what the time between a domoticz event and call to a plugin function is. This would obviously need to be added to the response time.
Regards,
Jorg
In the protocol specification, Onkyo states a response within 50 ms. I don't know what method you mean with the current described method.
I've you refer to my script, I can at least say the following:
The script first discovers the Receiver through a network broadcast. After receiving the response it connects. I use pause of one second after each request, and 5 seconds after a power-on/off request, because it seems the receiver does otherwise sometimes miss a request (at least on my model).
On the plugin I'm developing, the discovery only takes place once (on startup).
After that, the command is issued immediately after an event from domoticz, and should be executed within 50ms.
I, don't know at this time, what the time between a domoticz event and call to a plugin function is. This would obviously need to be added to the response time.
Regards,
Jorg