[RELEASED] Python plugin to control Onkyo receivers

Python and python framework

Moderator: leecollings

JimmyH1969
Posts: 153
Joined: Tuesday 28 June 2016 16:38
Target OS: Windows
Domoticz version: Beta
Location: Amersfoort NL
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by JimmyH1969 »

I know, but that's a domotic thingy. The max is 100%, but for a selector switch there should be no limit i think.
dwmw2
Posts: 52
Joined: Thursday 03 December 2015 12:42
Target OS: Linux
Domoticz version:
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by dwmw2 »

biggles
Posts: 7
Joined: Wednesday 15 June 2016 23:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by biggles »

JimmyH1969 wrote: Sunday 18 February 2018 15:06 You can move the inputs up and down when you modify the selectorswitch. Moving the desired input up at a level below 100 should do the trick.
Hi Jimmy,

I found something else that is weird and i am unable to find a solution.
If i edit the ONKY Selector switch and i delete the value at the Selector Actions / Action (let say there is a value of 05) then i am unable to put in a new value as it is expecting to start with script of http and i am unable to put in any action value like a number.

Is there a workaround for this ?

Regards,

Biggles.
User avatar
Varazir
Posts: 377
Joined: Friday 20 February 2015 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by Varazir »

Any update on this script ?
Raspberry PI 2 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
dwmw2
Posts: 52
Joined: Thursday 03 December 2015 12:42
Target OS: Linux
Domoticz version:
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by dwmw2 »

The 4.9700 stable release was made a week or two ago, containing built-in support for Onkyo amps.
User avatar
Varazir
Posts: 377
Joined: Friday 20 February 2015 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by Varazir »

dwmw2 wrote: Wednesday 04 July 2018 15:57 The 4.9700 stable release was made a week or two ago, containing built-in support for Onkyo amps.
yes I know, it was in the beta for some time and it works fine but I hate that I can't force connect.
It's hard set to 30 sec.
Raspberry PI 2 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
dwmw2
Posts: 52
Joined: Thursday 03 December 2015 12:42
Target OS: Linux
Domoticz version:
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by dwmw2 »

Varazir wrote: Monday 09 July 2018 21:09 yes I know, it was in the beta for some time and it works fine but I hate that I can't force connect.
It's hard set to 30 sec.
Hm, that's the first time I've spotted that complaint. Why's it a problem? You can connect to the amp even if it's "off"... do you use a hard power switch with it?

It probably isn't hard to fix; I think it sends a multicast when it starts up (and periodically thereafter). But I didn't see this "complaint" until after the stable release happened so it'll be a while before it gets fixed in the next stable release...

Patches welcome :)
User avatar
Varazir
Posts: 377
Joined: Friday 20 February 2015 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by Varazir »

dwmw2 wrote: Monday 09 July 2018 21:33
Varazir wrote: Monday 09 July 2018 21:09 yes I know, it was in the beta for some time and it works fine but I hate that I can't force connect.
It's hard set to 30 sec.
Hm, that's the first time I've spotted that complaint. Why's it a problem? You can connect to the amp even if it's "off"... do you use a hard power switch with it?

It probably isn't hard to fix; I think it sends a multicast when it starts up (and periodically thereafter). But I didn't see this "complaint" until after the stable release happened so it'll be a while before it gets fixed in the next stable release...

Patches welcome :)
I turn off and on the power to my amp using my greewave switch. So the build in tries to connect every 30 sec.
So when I turn it on I have to wait up to 30 sec until I can turn it on. I wish I could use a script to force connect when the amp responds to ping.
Turn it on and unmute.
Raspberry PI 2 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
ronald1977
Posts: 8
Joined: Monday 01 January 2018 18:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by ronald1977 »

Hi i have now update Domoticz to 4.9700 and I can see more of my Onkyo 609.
But I wish to switch with selector or button from radio broadcast, but I see in the log that he sees it, but there is nothing created in the hardware list.

Must I make a script or is there a way around?
jake
Posts: 742
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by jake »


ronald1977 wrote:Hi i have now update Domoticz to 4.9700 and I can see more of my Onkyo 609.
...
I assume you use the built in version for the Onkyo? That is not the same (topic) as this Python version.
silver323
Posts: 28
Joined: Friday 01 December 2017 18:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by silver323 »

Does somebody know why i get the following in my log:
2018-11-05 12:07:15.562 (Onkyo) Pushing 'onHeartbeatCallback' on to queue
2018-11-05 12:07:15.608 (Onkyo) Processing 'onHeartbeatCallback' message
2018-11-05 12:07:15.608 (Onkyo) Calling message handler 'onHeartbeat'.
2018-11-05 12:07:15.608 (Onkyo) onHeartbeat called
2018-11-05 12:07:15.609 (Onkyo) Checking if discovery data has been received
2018-11-05 12:07:15.709 (Onkyo) Sending UDP discovery packet
2018-11-05 12:07:15.710 (Onkyo) UDP Discovery packet send succesfully

Its repeats over and over. Can't get any devices..
My Onkyo is online.
jake
Posts: 742
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by jake »

@jorgh, is there still a benefit for using this plugin versus the built in hardware within domoticz?
I use the NR535 receive.
silver323
Posts: 28
Joined: Friday 01 December 2017 18:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by silver323 »

silver323 wrote: Monday 05 November 2018 12:10 Does somebody know why i get the following in my log:
2018-11-05 12:07:15.562 (Onkyo) Pushing 'onHeartbeatCallback' on to queue
2018-11-05 12:07:15.608 (Onkyo) Processing 'onHeartbeatCallback' message
2018-11-05 12:07:15.608 (Onkyo) Calling message handler 'onHeartbeat'.
2018-11-05 12:07:15.608 (Onkyo) onHeartbeat called
2018-11-05 12:07:15.609 (Onkyo) Checking if discovery data has been received
2018-11-05 12:07:15.709 (Onkyo) Sending UDP discovery packet
2018-11-05 12:07:15.710 (Onkyo) UDP Discovery packet send succesfully

Its repeats over and over. Can't get any devices..
My Onkyo is online.
Nobody?
jake
Posts: 742
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by jake »

Is your Onkyo device supported by the plugin?
silver323
Posts: 28
Joined: Friday 01 December 2017 18:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by silver323 »

jake wrote: Friday 15 February 2019 17:56 Is your Onkyo device supported by the plugin?
Is there a way to check if my device is compatible with this script?
I didn't see any list which are supported
jake
Posts: 742
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by jake »

silver323 wrote:
jake wrote: Friday 15 February 2019 17:56 Is your Onkyo device supported by the plugin?
Is there a way to check if my device is compatible with this script?
I didn't see any list which are supported
I believe that all models after 2012? are supported. Back in this thread I read about accepting XML or not, defining how well the plugin works.
silver323
Posts: 28
Joined: Friday 01 December 2017 18:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by silver323 »

jake wrote: Saturday 16 February 2019 23:33
silver323 wrote:
jake wrote: Friday 15 February 2019 17:56 Is your Onkyo device supported by the plugin?
Is there a way to check if my device is compatible with this script?
I didn't see any list which are supported
I believe that all models after 2012? are supported. Back in this thread I read about accepting XML or not, defining how well the plugin works.
I've got the TXNR609
For now i use the "Onkyo AV Receiver (LAN)" as default implemented in the domoticz.
Then I get the normal switches with on/off and volume but that's not working correct.
Most of the time the switch stays at Off. Doesn't see when it's on.
When the onkyo is really off Iget a lot of logs.
2019-02-21 07:08:45.824 Error: OnkyoAVTCP: Can not connect to: IP
2019-02-21 07:09:18.944 Error: OnkyoAVTCP: Can not connect to: IP
2019-02-21 07:09:52.064 Error: OnkyoAVTCP: Can not connect to: IP
2019-02-21 07:10:25.184 Error: OnkyoAVTCP: Can not connect to: IP
2019-02-21 07:10:58.304 Error: OnkyoAVTCP: Can not connect to: IP
2019-02-21 07:11:31.424 Error: OnkyoAVTCP: Can not connect to: IP
2019-02-21 07:12:04.544 Error: OnkyoAVTCP: Can not connect to: IP
2019-02-21 07:12:37.664 Error: OnkyoAVTCP: Can not connect to: IP
2019-02-21 07:13:07.666 Error: OnkyoAVTCP: Can not connect to: IP

Does somebody know that?
User avatar
mvveelen
Posts: 687
Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by mvveelen »

silver323 wrote: Sunday 17 February 2019 14:45
jake wrote: Saturday 16 February 2019 23:33
silver323 wrote:
Is there a way to check if my device is compatible with this script?
I didn't see any list which are supported
I believe that all models after 2012? are supported. Back in this thread I read about accepting XML or not, defining how well the plugin works.
I've got the TXNR609
For now i use the "Onkyo AV Receiver (LAN)" as default implemented in the domoticz.
Then I get the normal switches with on/off and volume but that's not working correct.
Most of the time the switch stays at Off. Doesn't see when it's on.
When the onkyo is really off Iget a lot of logs.
2019-02-21 07:08:45.824 Error: OnkyoAVTCP: Can not connect to: IP
2019-02-21 07:09:18.944 Error: OnkyoAVTCP: Can not connect to: IP
2019-02-21 07:09:52.064 Error: OnkyoAVTCP: Can not connect to: IP
2019-02-21 07:10:25.184 Error: OnkyoAVTCP: Can not connect to: IP
2019-02-21 07:10:58.304 Error: OnkyoAVTCP: Can not connect to: IP
2019-02-21 07:11:31.424 Error: OnkyoAVTCP: Can not connect to: IP
2019-02-21 07:12:04.544 Error: OnkyoAVTCP: Can not connect to: IP
2019-02-21 07:12:37.664 Error: OnkyoAVTCP: Can not connect to: IP
2019-02-21 07:13:07.666 Error: OnkyoAVTCP: Can not connect to: IP

Does somebody know that?
Same here.

I used to have a package installed on Buster, but now I moved to Bookworm, I can't install it and use the built-in Onkyo support. The volume switch works, the on-off switch doesn't recognise the right status. And I received several messages about the IP as mentioned above and that's just "ugly". If the IP isn't available, the status of the Power switch should be changed to "Off" and no error message should be in the log, right?
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest