Python plugin: Sony Bravia TV
Moderator: leecollings
-
- Posts: 36
- Joined: Wednesday 07 December 2016 19:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python plugin: Sony Bravia TV
Try to :
disable the plugin
delete the cache folder inside your sony plugin folder
restart the system
than re-enable the plugin.
I have the same issue... hope this can be fixed
disable the plugin
delete the cache folder inside your sony plugin folder
restart the system
than re-enable the plugin.
I have the same issue... hope this can be fixed
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Re: Python plugin: Sony Bravia TV
Which other Python plugins are you using? Then I can install these as well on my system to see what is causing the error.
The Sony plugin is running for more than a day now without any issues on my system.
The Sony plugin is running for more than a day now without any issues on my system.
Not using Domoticz anymore
Re: Python plugin: Sony Bravia TV
How can I do this???markcame wrote:Try to :
disable the plugin
delete the cache folder inside your sony plugin folder
restart the system
than re-enable the plugin.
I have the same issue... hope this can be fixed
-
- Posts: 36
- Joined: Wednesday 07 December 2016 19:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python plugin: Sony Bravia TV
i have the same issues after this for now the system is again up.vgr2 wrote:How can I do this???markcame wrote:Try to :
disable the plugin
delete the cache folder inside your sony plugin folder
restart the system
than re-enable the plugin.
I have the same issue... hope this can be fixed
after disabling the plugin from hardware panel in domoticz, delete the folder __pycache__ inside your sony plugin installation folder
the i rebooted and i have re enabled the plugin....
for now the system say up
-
- Posts: 36
- Joined: Wednesday 07 December 2016 19:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python plugin: Sony Bravia TV
Nothing to do after 49 minutes domoticz stop working
Re: Python plugin: Sony Bravia TV
Sorry I could not support you. I'm not an expert but would be nice if the plugin rans without errors
-
- Posts: 36
- Joined: Wednesday 07 December 2016 19:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python plugin: Sony Bravia TV
I've tryed everithing but domoticz after a while crash no error was reported on the log ! there's a way to debug ?
i've no others plugins running in domoticz
i've no others plugins running in domoticz
-
- Posts: 36
- Joined: Wednesday 07 December 2016 19:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python plugin: Sony Bravia TV
here the log of domoticz
Code: Select all
2017-07-01 16:21:04.909 Error: Domoticz received fatal signal 11 !...
2017-07-01 16:21:04.912 Error: /home/pi/domoticz/domoticz() [0x1ccd8c]
2017-07-01 16:21:04.912 Error: /home/pi/domoticz/domoticz(_Z14signal_handleri+0x58) [0x1cce44]
2017-07-01 16:21:04.912 Error: /lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0) [0x76ac8180]
-
- Posts: 331
- Joined: Monday 03 July 2017 19:58
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Python plugin: Sony Bravia TV
@G3rard, thank you very much for the plugin. Beginner for Domoticz here. Using your plugin with Android Bravia KD55XD8505. Everything works except for the "Switch on" command. I was an openhab user and was using a Simple IP binding for my Bravia and it was working well. Are there any plans for a Simple IP plugin or should i use an LUA script for my condition or is your plugin Simple IP already?
Thanks again ...
Thanks again ...
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Re: Python plugin: Sony Bravia TV
That is a generic error which is seen at other Python plugins as well, see the following posts.markcame wrote:here the log of domoticzCode: Select all
2017-07-01 16:21:04.909 Error: Domoticz received fatal signal 11 !... 2017-07-01 16:21:04.912 Error: /home/pi/domoticz/domoticz() [0x1ccd8c] 2017-07-01 16:21:04.912 Error: /home/pi/domoticz/domoticz(_Z14signal_handleri+0x58) [0x1cce44] 2017-07-01 16:21:04.912 Error: /lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0) [0x76ac8180]
https://www.domoticz.com/forum/viewtopi ... 05#p139741
https://www.domoticz.com/forum/viewtopi ... 13#p139528
I cannot fix this in the code of the plugin. I think this has to be fixed in the Python framework.
Also seems this only occurs on a Pi, as I don't have this error on my Ubuntu 14.04 server which is running the Sony Bravia and Sonos plugins for 5 days now.
Maybe @Dnpwwo can have a look at this?
Last edited by G3rard on Tuesday 04 July 2017 23:09, edited 1 time in total.
Not using Domoticz anymore
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Re: Python plugin: Sony Bravia TV
Your welcomefebalci wrote:@G3rard, thank you very much for the plugin. Beginner for Domoticz here. Using your plugin with Android Bravia KD55XD8505. Everything works except for the "Switch on" command. I was an openhab user and was using a Simple IP binding for my Bravia and it was working well. Are there any plans for a Simple IP plugin or should i use an LUA script for my condition or is your plugin Simple IP already?
Thanks again ...
Can you try the latest version 1.0 of the plugin and use "Android" as your MAC address?
Maybe the switch on then works. See also this post. I updated the code according to that post.
I have no plans to use the Simple IP control since it is a lot of work to migrate to that and it has no extra features that I would like to use.
Not using Domoticz anymore
-
- Posts: 331
- Joined: Monday 03 July 2017 19:58
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Python plugin: Sony Bravia TV
Wow, i was using version 1.0 already and i might swear i tried "Android" as MAc yesterday and it didn't worked. But today magically it worked... I guess there might be some problem with the switch in the Dashboard, it barely works (i simply have no idea how) since in Switches page it always works.Can you try the latest version 1.0 of the plugin and use "Android" as your MAC address?
Maybe the switch on then works. See also this post. I updated the code according to that post.
Thanks again
-
- Posts: 36
- Joined: Wednesday 07 December 2016 19:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python plugin: Sony Bravia TV
I think you are right, the issue is in the framework, i hope this can be fixed, for now i have disabled the plugin for now, if i can help i'm available.G3rard wrote:That is a generic error which is seen at other Python plugins as well, see the following posts.markcame wrote:here the log of domoticzCode: Select all
2017-07-01 16:21:04.909 Error: Domoticz received fatal signal 11 !... 2017-07-01 16:21:04.912 Error: /home/pi/domoticz/domoticz() [0x1ccd8c] 2017-07-01 16:21:04.912 Error: /home/pi/domoticz/domoticz(_Z14signal_handleri+0x58) [0x1cce44] 2017-07-01 16:21:04.912 Error: /lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0) [0x76ac8180]
https://www.domoticz.com/forum/viewtopi ... 05#p139741
https://www.domoticz.com/forum/viewtopi ... 13#p139528
I cannot fix this in the code of the plugin. I think this has to be fixed in the Python framework.
Also seems this only occurs on a Pi, as I don't have this error on my Ubuntu 14.04 server which is running the Sony Bravia and Sonos plugins for 5 days now.
Maybe @Dnpwwo can have a look at this?
- lmet
- Posts: 23
- Joined: Wednesday 19 July 2017 22:35
- Target OS: Raspberry Pi / ODroid
- Domoticz version: v4.9700
- Location: France
- Contact:
Re: Python plugin: Sony Bravia TV
Hi,
Sorry for this beginner question but it would be very nice if someone could help me.
I'm trying to use this plugin for my Sony Bravia TV
Python seems to be Ok
On "Setup" "Hardware" I see a Sony Bravia TV (with Kodi remote)
But nothing about changing parameters like IP address PSK ...
So i choose to clic "add" and in the list button setup does nothing.
In the log in can find :
If i try localtest.py I get
I've done all the setup on my TV a KDL-50W755c
Thanks in advance
Sorry for this beginner question but it would be very nice if someone could help me.
I'm trying to use this plugin for my Sony Bravia TV
Python seems to be Ok
Code: Select all
2017-08-05 18:25:02.759 PluginSystem: Started, Python version '3.4.2'.
But nothing about changing parameters like IP address PSK ...
So i choose to clic "add" and in the list button setup does nothing.
In the log in can find :
Code: Select all
2017-08-05 18:32:59.264 Error: () failed to load 'plugin.py', Python Path used was ':/usr/lib/python3.4/:/usr/lib/python3.4/plat-arm-linux-gnueabihf:/usr/lib/python3.4/lib-dynload'.
2017-08-05 18:32:59.264 Error: (Sony) Module Import failed, exception: 'ImportError'
2017-08-05 18:32:59.264 Error: (Sony) Module Import failed: ' Name: plugin'
2017-08-05 18:34:00.734 Error: Sony hardware (25) thread seems to have ended unexpectedly
Code: Select all
No reaction of TV, assumed is off
TV status : off
Thanks in advance
-
- Posts: 612
- Joined: Wednesday 07 August 2013 19:09
- Target OS: -
- Domoticz version:
- Location: UK
- Contact:
Re: Python plugin: Sony Bravia TV
I have just updated and have the exact same error. Any idea's anyone?lmet wrote:Hi,
Sorry for this beginner question but it would be very nice if someone could help me.
I'm trying to use this plugin for my Sony Bravia TV
Python seems to be OkOn "Setup" "Hardware" I see a Sony Bravia TV (with Kodi remote)Code: Select all
2017-08-05 18:25:02.759 PluginSystem: Started, Python version '3.4.2'.
But nothing about changing parameters like IP address PSK ...
So i choose to clic "add" and in the list button setup does nothing.
In the log in can find :If i try localtest.py I getCode: Select all
2017-08-05 18:32:59.264 Error: () failed to load 'plugin.py', Python Path used was ':/usr/lib/python3.4/:/usr/lib/python3.4/plat-arm-linux-gnueabihf:/usr/lib/python3.4/lib-dynload'. 2017-08-05 18:32:59.264 Error: (Sony) Module Import failed, exception: 'ImportError' 2017-08-05 18:32:59.264 Error: (Sony) Module Import failed: ' Name: plugin' 2017-08-05 18:34:00.734 Error: Sony hardware (25) thread seems to have ended unexpectedly
I've done all the setup on my TV a KDL-50W755cCode: Select all
No reaction of TV, assumed is off TV status : off
Thanks in advance
Cheers
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Re: Python plugin: Sony Bravia TV
@lmet, @simon_rb,
Please download plugin.py and bravia.py from https://github.com/gerard33/sony-bravia ... evelopment to see if that works for you.
That version works here without the error message on startup.
Edit: @simon_rb confirmed that version works, so I have pushed those changes to the master brance. The latest version of the plugin is now version 1.2.
Please download plugin.py and bravia.py from https://github.com/gerard33/sony-bravia ... evelopment to see if that works for you.
That version works here without the error message on startup.
Edit: @simon_rb confirmed that version works, so I have pushed those changes to the master brance. The latest version of the plugin is now version 1.2.
Not using Domoticz anymore
- lmet
- Posts: 23
- Joined: Wednesday 19 July 2017 22:35
- Target OS: Raspberry Pi / ODroid
- Domoticz version: v4.9700
- Location: France
- Contact:
Re: Python plugin: Sony Bravia TV
@G3rard same issue,
Changing type of device to Sony Bravia TV (with Kodi remote) then Update always return to Awox SmartPlug
Thanks for your help
Changing type of device to Sony Bravia TV (with Kodi remote) then Update always return to Awox SmartPlug
Thanks for your help
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Re: Python plugin: Sony Bravia TV
@lmet, that looks like a browser cache issue. Can you clear browser cache and appcache?
Or open Domoticz in incognito tab to see if it solves this issue.
Or open Domoticz in incognito tab to see if it solves this issue.
Not using Domoticz anymore
- lmet
- Posts: 23
- Joined: Wednesday 19 July 2017 22:35
- Target OS: Raspberry Pi / ODroid
- Domoticz version: v4.9700
- Location: France
- Contact:
Re: Python plugin: Sony Bravia TV
@G3rard you were right Thanks a lot
The only thing that does'nt works is power on tv with the plugin. May be here : The address is entered in the file
The only thing that does'nt works is power on tv with the plugin. May be here : The address is entered in the file
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Re: Python plugin: Sony Bravia TV
Do you have an Android tv?
Then enter 'Android' (without the quotes) in the PSK field in Domoticz hardware.
Then enter 'Android' (without the quotes) in the PSK field in Domoticz hardware.
Not using Domoticz anymore
Who is online
Users browsing this forum: Bing [Bot] and 1 guest