Yamaha AV Receiver Plugin
Moderator: leecollings
- Dnpwwo
- Posts: 819
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: Yamaha AV Receiver Plugin
@sion,
Download a copy of SQLiteBrowser and update the database directly (after backing it up obviously )
Go to the "Browse Data" tab, select the Hardware table, set the Enabled field to 0 for the affected plugin and hit Write Changes.
Or you could wait and try the next beta. That has a number of fixes to the plugins and python event system.
Download a copy of SQLiteBrowser and update the database directly (after backing it up obviously )
Go to the "Browse Data" tab, select the Hardware table, set the Enabled field to 0 for the affected plugin and hit Write Changes.
Or you could wait and try the next beta. That has a number of fixes to the plugins and python event system.
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
-
- Posts: 113
- Joined: Friday 08 January 2016 12:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Yamaha AV Receiver Plugin
ok,
so i reupgraded to the latest beta of domoticz.
but also upgraded python from 3.4 to 3.4.3 and its all now working perfectly, using zicht's changes all zone 2 features working perfectly to.
Is there a way to select airplay on zone 2?
so i reupgraded to the latest beta of domoticz.
but also upgraded python from 3.4 to 3.4.3 and its all now working perfectly, using zicht's changes all zone 2 features working perfectly to.
Is there a way to select airplay on zone 2?
running domoticz 3.4834 on rpi2, with
Hue bridge / bulbs.
lightwave rf sockets, mood controlers, sensors & contacts.
Home bridge / Siri.
Ha bridge / echo Alexa.
Hard wired alarm system - setting home / away status.
Next: harmony hub.
Hue bridge / bulbs.
lightwave rf sockets, mood controlers, sensors & contacts.
Home bridge / Siri.
Ha bridge / echo Alexa.
Hard wired alarm system - setting home / away status.
Next: harmony hub.
-
- Posts: 14
- Joined: Monday 31 March 2014 16:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: (52.557965, 5.914462)
- Contact:
Re: Yamaha AV Receiver Plugin
Hello,
This plugin is working good.
is there also an option to combine the HDMI and AV inputs? or make them selectable i dont use all of them and also want to add "NET RADIO" and "Radio".
Please Help
This plugin is working good.
is there also an option to combine the HDMI and AV inputs? or make them selectable i dont use all of them and also want to add "NET RADIO" and "Radio".
Please Help
- raymond1972
- Posts: 32
- Joined: Wednesday 28 February 2018 13:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Contact:
Re: Yamaha AV Receiver Plugin
Hello Thomas,
Great plugin.
Although I miss some options i definitely will use like scenes and radio input stations.
I still get some error in my domotica log.
Could you help me with that?
every now and then i get:
2018-02-28 13:02:40.510 Error: (Yamaha RX-V475) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2018-02-28 13:02:40.510 Error: (Yamaha RX-V475) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2018-02-28 13:02:40.510 Error: (Yamaha RX-V475) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2018-02-28 13:02:40.510 Error: (Yamaha RX-V475) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2018-02-28 13:02:40.510 Error: (Yamaha RX-V475) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
Kind regards,
Raymond
Great plugin.
Although I miss some options i definitely will use like scenes and radio input stations.
I still get some error in my domotica log.
Could you help me with that?
every now and then i get:
2018-02-28 13:02:40.510 Error: (Yamaha RX-V475) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2018-02-28 13:02:40.510 Error: (Yamaha RX-V475) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2018-02-28 13:02:40.510 Error: (Yamaha RX-V475) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2018-02-28 13:02:40.510 Error: (Yamaha RX-V475) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2018-02-28 13:02:40.510 Error: (Yamaha RX-V475) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
Kind regards,
Raymond
HW:Raspberry Pi 3 B, Raspian stretch, Nano, Aeon Labs Aeotec Gen 5 Z-Wave USB
Raspberry Pi 4, Raspian buster, Nano, Aeon Labs Aeotec Gen 5 Z-Wave USB
Raspberry Pi 4, Raspian buster, Nano, Aeon Labs Aeotec Gen 5 Z-Wave USB
-
- Posts: 8
- Joined: Friday 29 December 2017 22:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Yamaha AV Receiver Plugin
Hi,raymond1972 wrote:Hello Thomas,
Great plugin.
Although I miss some options i definitely will use like scenes and radio input stations.
I still get some error in my domotica log.
Could you help me with that?
every now and then i get:
2018-02-28 13:02:40.510 Error: (Yamaha RX-V475) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2018-02-28 13:02:40.510 Error: (Yamaha RX-V475) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2018-02-28 13:02:40.510 Error: (Yamaha RX-V475) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2018-02-28 13:02:40.510 Error: (Yamaha RX-V475) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2018-02-28 13:02:40.510 Error: (Yamaha RX-V475) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
Kind regards,
Raymond
Do you use beta or stable version of Domoticz ?
Wich version of python is install on your raspberry ?
Try to upgrade python and use the last beta or Domoticz and it should be ok.
Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk
-
- Posts: 2
- Joined: Saturday 10 March 2018 22:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Yamaha AV Receiver Plugin
Hi all,
I'm newbie and I'd like ask to help. I create two test buttons "Test tlacitko 1" and "Test tlacitko 2" and I'd like to change the Yamaha Source to "HDMI 1" after click the button.
And I'm not sure if the condition is write correctly. But after I click the button nothing hapend.
Please could anyone help me? Thanks
I'm newbie and I'd like ask to help. I create two test buttons "Test tlacitko 1" and "Test tlacitko 2" and I'd like to change the Yamaha Source to "HDMI 1" after click the button.
And I'm not sure if the condition is write correctly. But after I click the button nothing hapend.
Please could anyone help me? Thanks
-
- Posts: 43
- Joined: Sunday 26 October 2014 22:11
- Target OS: Linux
- Domoticz version:
- Location: france
- Contact:
Re: Yamaha AV Receiver Plugin
Hi
thanks a lot for you job
I use plugin with RX-V473
But i have error
On linux with domoticz 3.8153
Thanks for help
thanks a lot for you job
I use plugin with RX-V473
But i have error
Code: Select all
2018-03-11 13:14:16.529 (rfxcom) Temp + Humidity (Temp ext Devant)
2018-03-11 13:14:19.435 (Yamaha) Calling message handler 'onHeartbeat'.
2018-03-11 13:14:19.435 (Yamaha) onHeartbeat called. Connected: False
2018-03-11 13:14:19.435 (Yamaha) Transport set to: 'TCP/IP', 10.0.0.156:50000.
2018-03-11 13:14:19.435 PluginSystem: Starting I/O service thread.
2018-03-11 13:14:19.435 (Yamaha) Connect directive received, action initiated successfully.
2018-03-11 13:14:19.485 (Yamaha) Calling message handler 'onConnect'.
2018-03-11 13:14:19.485 (Yamaha) onConnect called. Status: 0
2018-03-11 13:14:19.485 (Yamaha) onHeartbeat called. Connected: True
2018-03-11 13:14:19.485 (Yamaha) Sending 13 bytes of data:.
2018-03-11 13:14:19.485 (Yamaha) 40 4d 41 49 4e 3a 50 57 52 3d 3f 0d 0a .. .. .. .. .. .. .. @MAIN:PWR=?..
2018-03-11 13:14:19.485 (Yamaha) Sending 13 bytes of data:.
2018-03-11 13:14:19.485 (Yamaha) 40 4d 41 49 4e 3a 56 4f 4c 3d 3f 0d 0a .. .. .. .. .. .. .. @MAIN:VOL=?..
2018-03-11 13:14:19.485 (Yamaha) Sending 13 bytes of data:.
2018-03-11 13:14:19.485 (Yamaha) 40 4d 41 49 4e 3a 49 4e 50 3d 3f 0d 0a .. .. .. .. .. .. .. @MAIN:INP=?..
2018-03-11 13:14:19.485 (Yamaha) Sending 14 bytes of data:.
2018-03-11 13:14:19.485 (Yamaha) 40 4d 41 49 4e 3a 4d 55 54 45 3d 3f 0d 0a .. .. .. .. .. .. @MAIN:MUTE=?..
2018-03-11 13:14:19.485 (Yamaha) Sending 18 bytes of data:.
2018-03-11 13:14:19.485 (Yamaha) 40 4d 41 49 4e 3a 53 4f 55 4e 44 50 52 47 3d 3f 0d 0a .. .. @MAIN:SOUNDPRG=?..
2018-03-11 13:14:19.535 (Yamaha) Received 12 bytes of data:.
2018-03-11 13:14:19.535 (Yamaha) 40 4d 41 49 4e 3a 50 57 52 3d 4f 6e .. .. .. .. .. .. .. .. @MAIN:PWR=On
2018-03-11 13:14:19.535 (Yamaha) Calling message handler 'onMessage'.
2018-03-11 13:14:19.535 Error: (Yamaha) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2018-03-11 13:14:19.535 (Yamaha) Received 15 bytes of data:.
2018-03-11 13:14:19.535 (Yamaha) 40 4d 41 49 4e 3a 56 4f 4c 3d 2d 34 34 2e 35 .. .. .. .. .. @MAIN:VOL=-44.5
2018-03-11 13:14:19.535 (Yamaha) Calling message handler 'onMessage'.
2018-03-11 13:14:19.535 Error: (Yamaha) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2018-03-11 13:14:19.535 (Yamaha) Received 15 bytes of data:.
2018-03-11 13:14:19.535 (Yamaha) 40 4d 41 49 4e 3a 49 4e 50 3d 48 44 4d 49 31 .. .. .. .. .. @MAIN:INP=HDMI1
2018-03-11 13:14:19.535 (Yamaha) Calling message handler 'onMessage'.
2018-03-11 13:14:19.535 Error: (Yamaha) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2018-03-11 13:14:19.535 (Yamaha) Received 14 bytes of data:.
2018-03-11 13:14:19.535 (Yamaha) 40 4d 41 49 4e 3a 4d 55 54 45 3d 4f 66 66 .. .. .. .. .. .. @MAIN:MUTE=Off
2018-03-11 13:14:19.535 (Yamaha) Calling message handler 'onMessage'.
2018-03-11 13:14:19.535 Error: (Yamaha) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2018-03-11 13:14:19.536 (Yamaha) Received 25 bytes of data:.
2018-03-11 13:14:19.536 (Yamaha) 40 4d 41 49 4e 3a 53 4f 55 4e 44 50 52 47 3d 35 63 68 20 53 @MAIN:SOUNDPRG=5ch.S
2018-03-11 13:14:19.536 (Yamaha) 74 65 72 65 6f .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. tereo
2018-03-11 13:14:19.536 (Yamaha) Calling message handler 'onMessage'.
2018-03-11 13:14:19.536 Error: (Yamaha) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
Thanks for help
-
- Posts: 135
- Joined: Friday 13 November 2015 9:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands, Emmen Area
- Contact:
Re: Yamaha AV Receiver Plugin
I have this error.
Running latest beta and installed the plugin with the plugin manager.
Code: Select all
Transport is not connected, write directive to 'Yamaha connection' ignored.
-
- Posts: 135
- Joined: Friday 13 November 2015 9:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands, Emmen Area
- Contact:
Re: Yamaha AV Receiver Plugin
I have an RX-A1010, the plugin works in the basic, but switching between sources isn't working (HDMI 1-7).
How I create a switch to switch between Tuner, or other input?
How I create a switch to switch between Tuner, or other input?
-
- Posts: 1
- Joined: Sunday 08 April 2018 17:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3.8153
- Location: NL
- Contact:
Re: Yamaha AV Receiver Plugin
Hi all, based on the great plugin from Thomas I changed the script so that it fits my needs. I used large part of his code and the images.
BTW the images you must place in folder /www/images in your domoticz home folder....
That is I wanted to have and have added:
1) Party & status that shows and switches Party mode ON/Off and shows Surround decode
2) Main zone Volume that also switches Main ON/OFF
3) Main zone Input (if you push Off as Input also Main will be switched OFF)
4) Zone2 Volume that also switches Zone2 ON/OFF
5) Zone2 Input (if you push Off as Input also Zone2 will be switched OFF)
6) Party/all zone Volume that also switches all zones ON/OFF
It is working great for me, and again THANKS to Thomas!!
PS attached Python script must be renamed to plugin.py and replace the file of Thomas
PS2 I use the Homebridge to be able to use Homekit from Apple. And these devices allow you to voice control your stereo, how cool is that 'He Siri, increase the volume a little' and 'turn party mode on', although I haven't been able to find a nice integration for the input selection or showing status....
BTW the images you must place in folder /www/images in your domoticz home folder....
That is I wanted to have and have added:
- 1 input device (per zone)
- Add my own description to the inputs
- Add ZONE2
- Switch PARTY mode on/off
- Add PARTY/all zone volume control that changes volume in all zones equally
1) Party & status that shows and switches Party mode ON/Off and shows Surround decode
2) Main zone Volume that also switches Main ON/OFF
3) Main zone Input (if you push Off as Input also Main will be switched OFF)
4) Zone2 Volume that also switches Zone2 ON/OFF
5) Zone2 Input (if you push Off as Input also Zone2 will be switched OFF)
6) Party/all zone Volume that also switches all zones ON/OFF
It is working great for me, and again THANKS to Thomas!!
PS attached Python script must be renamed to plugin.py and replace the file of Thomas
PS2 I use the Homebridge to be able to use Homekit from Apple. And these devices allow you to voice control your stereo, how cool is that 'He Siri, increase the volume a little' and 'turn party mode on', although I haven't been able to find a nice integration for the input selection or showing status....
- Attachments
-
- plugin.txt
- (16.49 KiB) Downloaded 142 times
-
- Posts: 59
- Joined: Saturday 14 January 2017 21:37
- Target OS: Linux
- Domoticz version: Beta
- Location: Ukraine
- Contact:
Re: Yamaha AV Receiver Plugin
Great update! Thank you!!!reboon wrote: ↑Sunday 08 April 2018 18:23 Hi all, based on the great plugin from Thomas I changed the script so that it fits my needs. I used large part of his code and the images.
BTW the images you must place in folder /www/images in your domoticz home folder....
That is I wanted to have and have added:
- 1 input device (per zone)
- Add my own description to the inputs
- Add ZONE2
- Switch PARTY mode on/off
If you run this script as per Thomas instruction it will create 6 devices:
- Add PARTY/all zone volume control that changes volume in all zones equally
1) Party & status that shows and switches Party mode ON/Off and shows Surround decode
2) Main zone Volume that also switches Main ON/OFF
3) Main zone Input (if you push Off as Input also Main will be switched OFF)
4) Zone2 Volume that also switches Zone2 ON/OFF
5) Zone2 Input (if you push Off as Input also Zone2 will be switched OFF)
6) Party/all zone Volume that also switches all zones ON/OFF
It is working great for me, and again THANKS to Thomas!!
PS attached Python script must be renamed to plugin.py and replace the file of Thomas
PS2 I use the Homebridge to be able to use Homekit from Apple. And these devices allow you to voice control your stereo, how cool is that 'He Siri, increase the volume a little' and 'turn party mode on', although I haven't been able to find a nice integration for the input selection or showing status....
Just had issues with my latest beta of domoticz - it throws error in onMessage callback.
Additionally I've faced that the plugin is doing continuous updates to domoticz devices when receiver is in Standby mode,
rewriting the same values again and again:
Code: Select all
2018-04-15 15:55:08.189 (Yamaha RX-V683) @MAIN:PWR=Standby
2018-04-15 15:55:08.189 (Yamaha RX-V683) @ZONE2:PWR=Standby
2018-04-15 15:55:08.190 (Yamaha RX-V683) @MAIN:SOUNDPRG=Standard
2018-04-15 15:55:08.190 (Yamaha RX-V683) @MAIN:VOL=-48.0
2018-04-15 15:55:08.190 (Yamaha RX-V683) @MAIN:INP=HDMI2
2018-04-15 15:55:08.190 (Yamaha RX-V683) @MAIN:MUTE=Off
2018-04-15 15:55:08.190 (Yamaha RX-V683) @ZONE2:VOL=-36.0
2018-04-15 15:55:08.191 (Yamaha RX-V683) @ZONE2:MUTE=Off
2018-04-15 15:55:08.191 (Yamaha RX-V683) @ZONE2:INP=NET RADIO
2018-04-15 15:55:08.191 (Yamaha RX-V683) @SYS:PARTY=Off
https://github.com/stas-demydiuk/domoticz-yamaha-plugin
Thank you again for the great update!
-
- Posts: 6
- Joined: Sunday 22 April 2018 18:32
- Target OS: NAS (Synology & others)
- Domoticz version: 3.8153
- Location: France
- Contact:
Re: Yamaha AV Receiver Plugin
Hi all, Thomas,
Thanks for the plugin, great idea! I'm trying to use it over a R-N602. First question is how is YNCA different from MusicCast control?
On my side, I also get this message. I'mu using a Synology NAS.
Python 3.5.1
Domoticz stable.
Any idea?
Thanks,
David
Thanks for the plugin, great idea! I'm trying to use it over a R-N602. First question is how is YNCA different from MusicCast control?
On my side, I also get this message. I'mu using a Synology NAS.
Code: Select all
2018-04-22 18:34:40.990 Error: (R-N602_OK) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
Domoticz stable.
Any idea?
Thanks,
David
- Dnpwwo
- Posts: 819
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: Yamaha AV Receiver Plugin
you need to run the beta version of Domoticz
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
-
- Posts: 6
- Joined: Sunday 22 April 2018 18:32
- Target OS: NAS (Synology & others)
- Domoticz version: 3.8153
- Location: France
- Contact:
Re: Yamaha AV Receiver Plugin
Thanks. Just updated to the latest beta version. New errors coming up
And it repeats like that on every command. Am I missing something?2018-04-23 15:24:48.188 (R-N602_OK) Initialized version 2.0.0, author 'thomasvillagers'
2018-04-23 15:24:48.264 Error: (R-N602_OK): Async Read Exception: 104, Connection reset by peer
2018-04-23 15:24:48.293 PluginSystem: Restarting I/O service thread.
2018-04-23 15:24:48.293 Error: (R-N602_OK) 'onMessage' failed 'IndexError':'list index out of range'.
2018-04-23 15:24:48.293 Error: (R-N602_OK) ----> Line 380 in /usr/local/domoticz/var/plugins/yamaha-av-receiver/plugin.py, function onMessage
2018-04-23 15:24:48.293 Error: (R-N602_OK) ----> Line 314 in /usr/local/domoticz/var/plugins/yamaha-av-receiver/plugin.py, function onMessage
-
- Posts: 6
- Joined: Sunday 22 April 2018 18:32
- Target OS: NAS (Synology & others)
- Domoticz version: 3.8153
- Location: France
- Contact:
Re: Yamaha AV Receiver Plugin
Replying to my message above,
I have change the port to 41100, which is the default port for Musiccast (supported by my R-N602), and there is no Python error anymore.
But unfortunately, It still does not work.
In fact I'm not sure this amp can support YNCA. Is there a list somewhere of Yamaha Amp supporting YNCA portocol?
Thanks!
I have change the port to 41100, which is the default port for Musiccast (supported by my R-N602), and there is no Python error anymore.
But unfortunately, It still does not work.
In fact I'm not sure this amp can support YNCA. Is there a list somewhere of Yamaha Amp supporting YNCA portocol?
Thanks!
Code: Select all
2018-04-23 20:00:39.600 PluginSystem: Starting I/O service thread.
2018-04-23 20:00:39.600 (R-N602_Plugin) Connect directive received, action initiated successfully.
2018-04-23 20:00:39.601 (R-N602_Plugin) Pushing 'onConnectCallback' on to queue
2018-04-23 20:00:39.601 (R-N602_Plugin) Pushing 'DisconnectedEvent' on to queue
2018-04-23 20:00:39.650 (R-N602_Plugin) Processing 'onConnectCallback' message
2018-04-23 20:00:39.650 (R-N602_Plugin) Calling message handler 'onConnect'.
2018-04-23 20:00:39.651 (R-N602_Plugin) onConnect called. Status: 111
2018-04-23 20:00:39.651 (R-N602_Plugin) Processing 'DisconnectedEvent' message
2018-04-23 20:00:39.651 (R-N602_Plugin) Disconnect event received for '192.168.1.131:41100'.
2018-04-23 20:00:39.651 (R-N602_Plugin) Pushing 'onDisconnectCallback' on to queue
2018-04-23 20:00:39.651 (R-N602_Plugin) Processing 'onDisconnectCallback' message
2018-04-23 20:00:39.651 (R-N602_Plugin) Calling message handler 'onDisconnect'.
2018-04-23 20:00:39.651 (R-N602_Plugin) onDisconnect called
2018-04-23 20:00:59.553 (R-N602_Plugin) Pushing 'onHeartbeatCallback' on to queue
2018-04-23 20:00:59.578 (R-N602_Plugin) Processing 'onHeartbeatCallback' message
2018-04-23 20:00:59.578 (R-N602_Plugin) Calling message handler 'onHeartbeat'.
2018-04-23 20:00:59.578 (R-N602_Plugin) onHeartbeat called. Connected: False
2018-04-23 20:01:19.556 (R-N602_Plugin) Pushing 'onHeartbeatCallback' on to queue
2018-04-23 20:01:19.604 (R-N602_Plugin) Processing 'onHeartbeatCallback' message
2018-04-23 20:01:19.604 (R-N602_Plugin) Calling message handler 'onHeartbeat'.
2018-04-23 20:01:19.604 (R-N602_Plugin) onHeartbeat called. Connected: False
2018-04-23 20:01:39.559 (R-N602_Plugin) Pushing 'onHeartbeatCallback' on to queue
2018-04-23 20:01:39.584 (R-N602_Plugin) Processing 'onHeartbeatCallback' message
2018-04-23 20:01:39.584 (R-N602_Plugin) Calling message handler 'onHeartbeat'.
2018-04-23 20:01:39.584 (R-N602_Plugin) onHeartbeat called. Connected: False
2018-04-23 20:01:39.584 (R-N602_Plugin) Pushing 'ConnectDirective' on to queue
2018-04-23 20:01:39.584 (R-N602_Plugin) Processing 'ConnectDirective' message
2018-04-23 20:01:39.584 (R-N602_Plugin) Transport set to: 'TCP/IP', 192.168.1.131:41100.
2018-04-23 20:01:39.584 PluginSystem: Starting I/O service thread.
2018-04-23 20:01:39.584 (R-N602_Plugin) Connect directive received, action initiated successfully.
2018-04-23 20:01:39.585 (R-N602_Plugin) Pushing 'onConnectCallback' on to queue
2018-04-23 20:01:39.585 (R-N602_Plugin) Pushing 'DisconnectedEvent' on to queue
2018-04-23 20:01:39.634 (R-N602_Plugin) Processing 'onConnectCallback' message
2018-04-23 20:01:39.634 (R-N602_Plugin) Calling message handler 'onConnect'.
2018-04-23 20:01:39.634 (R-N602_Plugin) onConnect called. Status: 111
2018-04-23 20:01:39.635 (R-N602_Plugin) Processing 'DisconnectedEvent' message
2018-04-23 20:01:39.635 (R-N602_Plugin) Disconnect event received for '192.168.1.131:41100'.
2018-04-23 20:01:39.635 (R-N602_Plugin) Pushing 'onDisconnectCallback' on to queue
2018-04-23 20:01:39.635 (R-N602_Plugin) Processing 'onDisconnectCallback' message
2018-04-23 20:01:39.635 (R-N602_Plugin) Calling message handler 'onDisconnect'.
2018-04-23 20:01:39.635 (R-N602_Plugin) onDisconnect called
-
- Posts: 135
- Joined: Friday 13 November 2015 9:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands, Emmen Area
- Contact:
Re: Yamaha AV Receiver Plugin
Log still filled with
Code: Select all
2018-04-24 20:24:15.955 Error: (Yamaha RX-A1010) 'onHeartbeat' failed 'AttributeError':''BasePlugin' object has no attribute 'zones''.
2018-04-24 20:24:15.955 Error: (Yamaha RX-A1010) ----> Line 396 in /home/pi/domoticz/plugins/YamahaPlug/plugin.py, function onHeartbeat
2018-04-24 20:24:15.955 Error: (Yamaha RX-A1010) ----> Line 350 in /home/pi/domoticz/plugins/YamahaPlug/plugin.py, function onHeartbeat
-
- Posts: 21
- Joined: Sunday 12 March 2017 14:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.9589
- Contact:
Re: Yamaha AV Receiver Plugin
Hi, thanks for the great plugin! But unfortunately i am having an issue ever since i upgraded to the latest version. When i start the plugin, it floods the log with:
I have tried completely removing the plugin including the directory and reinstalling but with the same result. Does anyone have any ideas? Thank you.
Code: Select all
2018-07-21 06:40:18.412 Status: (Yamaha) Started.
2018-07-21 06:40:19.184 Status: (Yamaha) Initialized version 2.0.0, author 'thomasvillagers'
2018-07-21 06:40:19.185 Status: (Yamaha) Entering work loop.
2018-07-21 06:40:19.457 Error: (Yamaha) 'onMessage' failed 'KeyError'.
2018-07-21 06:40:19.457 Error: (Yamaha) ----> Line 380 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function onMessage
2018-07-21 06:40:19.457 Error: (Yamaha) ----> Line 317 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function onMessage
2018-07-21 06:40:19.457 Error: (Yamaha) ----> Line 132 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function handleMessage
2018-07-21 06:40:19.458 Error: (Yamaha) ----> Line 106 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function getMediaDevice
2018-07-21 06:40:19.463 Error: (Yamaha) 'onMessage' failed 'KeyError'.
2018-07-21 06:40:19.463 Error: (Yamaha) ----> Line 380 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function onMessage
2018-07-21 06:40:19.463 Error: (Yamaha) ----> Line 317 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function onMessage
2018-07-21 06:40:19.463 Error: (Yamaha) ----> Line 136 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function handleMessage
2018-07-21 06:40:19.463 Error: (Yamaha) ----> Line 201 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function setVolume
2018-07-21 06:40:19.464 Error: (Yamaha) ----> Line 112 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function getVolumeDevice
2018-07-21 06:40:19.464 Error: (Yamaha) 'onMessage' failed 'KeyError'.
2018-07-21 06:40:19.465 Error: (Yamaha) ----> Line 380 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function onMessage
2018-07-21 06:40:19.465 Error: (Yamaha) ----> Line 317 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function onMessage
2018-07-21 06:40:19.465 Error: (Yamaha) ----> Line 134 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function handleMessage
2018-07-21 06:40:19.465 Error: (Yamaha) ----> Line 216 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function setInput
2018-07-21 06:40:19.466 Error: (Yamaha) ----> Line 109 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function getInputDevice
2018-07-21 06:40:19.466 Error: (Yamaha) 'onMessage' failed 'KeyError'.
2018-07-21 06:40:19.467 Error: (Yamaha) ----> Line 380 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function onMessage
2018-07-21 06:40:19.467 Error: (Yamaha) ----> Line 317 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function onMessage
2018-07-21 06:40:19.467 Error: (Yamaha) ----> Line 139 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function handleMessage
2018-07-21 06:40:19.467 Error: (Yamaha) ----> Line 112 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function getVolumeDevice
2018-07-21 06:40:19.468 Error: (Yamaha) 'onMessage' failed 'KeyError'.
2018-07-21 06:40:19.468 Error: (Yamaha) ----> Line 380 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function onMessage
2018-07-21 06:40:19.468 Error: (Yamaha) ----> Line 317 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function onMessage
2018-07-21 06:40:19.469 Error: (Yamaha) ----> Line 141 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function handleMessage
2018-07-21 06:40:19.469 Error: (Yamaha) ----> Line 204 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function setDspProgram
2018-07-21 06:40:19.469 Error: (Yamaha) ----> Line 115 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function getDspProgramDevice
-
- Posts: 14
- Joined: Tuesday 23 May 2017 21:18
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: Yamaha AV Receiver Plugin
I have the same problem, did you find a solution?mrkrabs wrote: ↑Saturday 21 July 2018 6:42 Hi, thanks for the great plugin! But unfortunately i am having an issue ever since i upgraded to the latest version. When i start the plugin, it floods the log with:
I have tried completely removing the plugin including the directory and reinstalling but with the same result. Does anyone have any ideas? Thank you.Code: Select all
2018-07-21 06:40:18.412 Status: (Yamaha) Started. 2018-07-21 06:40:19.184 Status: (Yamaha) Initialized version 2.0.0, author 'thomasvillagers' 2018-07-21 06:40:19.185 Status: (Yamaha) Entering work loop. 2018-07-21 06:40:19.457 Error: (Yamaha) 'onMessage' failed 'KeyError'. 2018-07-21 06:40:19.457 Error: (Yamaha) ----> Line 380 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function onMessage 2018-07-21 06:40:19.457 Error: (Yamaha) ----> Line 317 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function onMessage 2018-07-21 06:40:19.457 Error: (Yamaha) ----> Line 132 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function handleMessage 2018-07-21 06:40:19.458 Error: (Yamaha) ----> Line 106 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function getMediaDevice 2018-07-21 06:40:19.463 Error: (Yamaha) 'onMessage' failed 'KeyError'. 2018-07-21 06:40:19.463 Error: (Yamaha) ----> Line 380 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function onMessage 2018-07-21 06:40:19.463 Error: (Yamaha) ----> Line 317 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function onMessage 2018-07-21 06:40:19.463 Error: (Yamaha) ----> Line 136 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function handleMessage 2018-07-21 06:40:19.463 Error: (Yamaha) ----> Line 201 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function setVolume 2018-07-21 06:40:19.464 Error: (Yamaha) ----> Line 112 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function getVolumeDevice 2018-07-21 06:40:19.464 Error: (Yamaha) 'onMessage' failed 'KeyError'. 2018-07-21 06:40:19.465 Error: (Yamaha) ----> Line 380 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function onMessage 2018-07-21 06:40:19.465 Error: (Yamaha) ----> Line 317 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function onMessage 2018-07-21 06:40:19.465 Error: (Yamaha) ----> Line 134 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function handleMessage 2018-07-21 06:40:19.465 Error: (Yamaha) ----> Line 216 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function setInput 2018-07-21 06:40:19.466 Error: (Yamaha) ----> Line 109 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function getInputDevice 2018-07-21 06:40:19.466 Error: (Yamaha) 'onMessage' failed 'KeyError'. 2018-07-21 06:40:19.467 Error: (Yamaha) ----> Line 380 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function onMessage 2018-07-21 06:40:19.467 Error: (Yamaha) ----> Line 317 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function onMessage 2018-07-21 06:40:19.467 Error: (Yamaha) ----> Line 139 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function handleMessage 2018-07-21 06:40:19.467 Error: (Yamaha) ----> Line 112 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function getVolumeDevice 2018-07-21 06:40:19.468 Error: (Yamaha) 'onMessage' failed 'KeyError'. 2018-07-21 06:40:19.468 Error: (Yamaha) ----> Line 380 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function onMessage 2018-07-21 06:40:19.468 Error: (Yamaha) ----> Line 317 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function onMessage 2018-07-21 06:40:19.469 Error: (Yamaha) ----> Line 141 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function handleMessage 2018-07-21 06:40:19.469 Error: (Yamaha) ----> Line 204 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function setDspProgram 2018-07-21 06:40:19.469 Error: (Yamaha) ----> Line 115 in '/home/pi/domoticz/plugins/yamaha-av-receiver/plugin.py, function getDspProgramDevice
- raymond1972
- Posts: 32
- Joined: Wednesday 28 February 2018 13:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Contact:
Re: Yamaha AV Receiver Plugin
Hi getdown,getdown wrote: ↑Wednesday 28 February 2018 13:52Hi,raymond1972 wrote:Hello Thomas,
Great plugin.
Although I miss some options i definitely will use like scenes and radio input stations.
I still get some error in my domotica log.
Could you help me with that?
every now and then i get:
2018-02-28 13:02:40.510 Error: (Yamaha RX-V475) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2018-02-28 13:02:40.510 Error: (Yamaha RX-V475) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2018-02-28 13:02:40.510 Error: (Yamaha RX-V475) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2018-02-28 13:02:40.510 Error: (Yamaha RX-V475) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
2018-02-28 13:02:40.510 Error: (Yamaha RX-V475) 'onMessage' failed 'TypeError':'onMessage() takes 2 positional arguments but 4 were given'.
Kind regards,
Raymond
Do you use beta or stable version of Domoticz ?
Wich version of python is install on your raspberry ?
Try to upgrade python and use the last beta or Domoticz and it should be ok.
Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk
Seemed like i had to remove the existing yamaha icons.
After that i added my receiver again and it worked.
HW:Raspberry Pi 3 B, Raspian stretch, Nano, Aeon Labs Aeotec Gen 5 Z-Wave USB
Raspberry Pi 4, Raspian buster, Nano, Aeon Labs Aeotec Gen 5 Z-Wave USB
Raspberry Pi 4, Raspian buster, Nano, Aeon Labs Aeotec Gen 5 Z-Wave USB
Re: Yamaha AV Receiver Plugin
Hi everyone and thanks to thomasvillagers for this great plugin.
I did put it in place with my RXV-2067 and all is working great apart one thing.
If the receiver is in "Straight mode" it is impossible to change DSP effect. You have to enable a dsp from the remote before to be able to switch to another one with the plugin.
It is down to yamaha and is kind of weird the way implemented it as "straight" is not in the list of DSP but a apparently in separate function.
@thomas: would it be possible to detect if the amp is in straight mode and switch this mode off to allow the DSP to be appliued then?
DSP status would need to be slightly reworked also to display that the Amp is currently in straight mode when it is the case and no DSP is applied.
So far it display the last DSP used even if in straight mode.
Hopefully this is not me doing something wrong.
This issue is quite annoying because straight mode is the only way to ensure you don't apply some useless DSP on sources already encoded in multi channel.
I did put it in place with my RXV-2067 and all is working great apart one thing.
If the receiver is in "Straight mode" it is impossible to change DSP effect. You have to enable a dsp from the remote before to be able to switch to another one with the plugin.
It is down to yamaha and is kind of weird the way implemented it as "straight" is not in the list of DSP but a apparently in separate function.
@thomas: would it be possible to detect if the amp is in straight mode and switch this mode off to allow the DSP to be appliued then?
DSP status would need to be slightly reworked also to display that the Amp is currently in straight mode when it is the case and no DSP is applied.
So far it display the last DSP used even if in straight mode.
Hopefully this is not me doing something wrong.
This issue is quite annoying because straight mode is the only way to ensure you don't apply some useless DSP on sources already encoded in multi channel.
Who is online
Users browsing this forum: No registered users and 0 guests