dzVents and Onkyo hardware

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
User avatar
Varazir
Posts: 487
Joined: Friday 20 February 2015 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

dzVents and Onkyo hardware

Post by Varazir »

Hello

I use this script to turn on my Onkyo if the tv is on.
https://gist.github.com/varazir/6246d4c ... 61dd4d0d5c

It's copy paste script so much is just taken from other scripts.

I use the hardware OnkyoAVTCP for controlling my Onkyo, the problem I'm having is it tries to connect every 30 sec
so after the Onkyo is turned on I have to wait up to 30 until I can control it. Is there a way to get around that ?
Force connect or something ?

TIA
Daniel
Raspberry PI 4 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
jake
Posts: 751
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: dzVents and Onkyo hardware

Post by jake »

What about the existing Onkyo python plugin? You have instant control over your whole receiver, since the plugin catches all information that the receiver broadcasts (source/listening mode/volume/on-off).
User avatar
Varazir
Posts: 487
Joined: Friday 20 February 2015 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: dzVents and Onkyo hardware

Post by Varazir »

jake wrote: Sunday 10 June 2018 23:41 What about the existing Onkyo python plugin? You have instant control over your whole receiver, since the plugin catches all information that the receiver broadcasts (source/listening mode/volume/on-off).
I keep getting this https://gist.github.com/varazir/ebb2d68 ... dfac83df6f
Raspberry PI 4 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
jake
Posts: 751
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: dzVents and Onkyo hardware

Post by jake »

Do youpossibly have an unsupported type of receiver?

When I enable the Onkyo hardware again, it gives this log:

Code: Select all

2018-06-11 20:50:08.667 (Onkyo AV Receiver TX-NR535) Receiver found:
2018-06-11 20:50:08.667 (Onkyo AV Receiver TX-NR535) Type: AV Receiver or Stereo Receiver
2018-06-11 20:50:08.667 (Onkyo AV Receiver TX-NR535) Type: TX-NR535
2018-06-11 20:50:08.667 (Onkyo AV Receiver TX-NR535) Region: European or Asian model
2018-06-11 20:50:08.667 (Onkyo AV Receiver TX-NR535) IP adress: 192.168.1.33
2018-06-11 20:50:08.667 (Onkyo AV Receiver TX-NR535) eISCP port: 60128
2018-06-11 20:50:08.667 (Onkyo AV Receiver TX-NR535) MAC: 0009B0973A25
2018-06-11 20:50:10.626 (Onkyo AV Receiver TX-NR535) Requesting XML configuration
2018-06-11 20:50:10.777 (Onkyo AV Receiver TX-NR535) Received XML
2018-06-11 20:50:12.636 (Onkyo AV Receiver TX-NR535) Checking if Devices exist
2018-06-11 20:50:12.636 (Onkyo AV Receiver TX-NR535) Checking Main zone
2018-06-11 20:50:12.636 (Onkyo AV Receiver TX-NR535) Receiver main power device exists
2018-06-11 20:50:12.636 (Onkyo AV Receiver TX-NR535) Receiver input selector device exists
2018-06-11 20:50:12.636 (Onkyo AV Receiver TX-NR535) Receiver listening mode selector device exists
2018-06-11 20:50:12.636 (Onkyo AV Receiver TX-NR535) Receiver Tuner preset selector device exists
2018-06-11 20:50:12.637 (Onkyo AV Receiver TX-NR535) Receiver volume control device exists
2018-06-11 20:50:12.637 (Onkyo AV Receiver TX-NR535) Checking Zone 2
2018-06-11 20:50:12.637 (Onkyo AV Receiver TX-NR535) Receiver Zone 2 power device exists
2018-06-11 20:50:12.637 (Onkyo AV Receiver TX-NR535) Receiver input selector Zone 2 device exists
2018-06-11 20:50:12.637 (Onkyo AV Receiver TX-NR535) Receiver zone 2 volume control device exists
2018-06-11 20:50:13.140 (Onkyo AV Receiver TX-NR535) Update 0:'Off' (Onkyo AV Receiver TX-NR535 Power)
Are you sure you use this plugin: https://github.com/jorgh6/domoticz-onkyo-plugin
User avatar
Varazir
Posts: 487
Joined: Friday 20 February 2015 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: dzVents and Onkyo hardware

Post by Varazir »

jake wrote: Monday 11 June 2018 20:56 Do youpossibly have an unsupported type of receiver?

When I enable the Onkyo hardware again, it gives this log:

Are you sure you use this plugin: https://github.com/jorgh6/domoticz-onkyo-plugin
I have a Onkyo TX-NR509, don't think it's supported.
The build in works but the delay sux.
Raspberry PI 4 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
jake
Posts: 751
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: dzVents and Onkyo hardware

Post by jake »

I saw that you already mentioned your receiver number in the Onkyo Python topic.

Please check with the dev if he will continue his ideas with the xml file. Offering help and input usually helps :)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest