Onkyo plugin

Python and python framework

Moderator: leecollings

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

Onkyo plugin

Post by Varazir »

Hello

I'm using the Onkyo build in plugin and it works fine when it has connected to my AVR.
I turn off the power to it when I don't use it ( why waste 25W ) and the plugin keeps trying to reconnect to to my Onkyo every 30 sec, that's fine.

But when I turn on the power it takes up to 30 sec until is connects, I was hoping I could reduce that or using script to force connect.

Second is that I like to switch on my Onkyo using the plugin.

How do I first trigger a force connect and second how do I switch it on when it's connected?

TIA
Daniel

Running Domoticz Beta 3.8892 ( at the moment )
Raspberry PI 2 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
User avatar
Varazir
Posts: 448
Joined: Friday 20 February 2015 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Onkyo plugin

Post by Varazir »

Some thing like this:

Script1

Plugin = plugin.onkyo
Ping = device.ping.onkyo

If Ping.status = on || Plugin.status = disconnected
Connect Plugin
-----

Script 2
Plugin = plugin.onkyo
Onkyo = device.master

If Plugin.status = connected || Onkyo.status = off
Turn on Onkyo
------


Device.master is created by the plugin.
And please ignore the syntax this is just a description on how I'm thinking.

I control the power to the Onkyo by my TV.

Skickat från min G8141 via Tapatalk

Raspberry PI 2 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
User avatar
Varazir
Posts: 448
Joined: Friday 20 February 2015 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Onkyo plugin

Post by Varazir »

amirah wrote: Monday 12 February 2018 10:09 'Accept new devices' enabled in the settings ?
It wasn't but I don't understand how that would help me?
I have enabled it now.
Raspberry PI 2 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest