Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

New Sony Bravia TV - Plugin or HTTP Control


Question

Posted

Has anyone been able to integrate the new Sony Bravia TV's (my particular one is KD75X8500C) with Fibaro?

Recommended Posts

  • 0
Posted

sadly no.. i have x93 series (android tv), and not working with fibaro...

  • 0
Posted

You can make it with Global Chache, but it will be only for IR control.

 

I did not tried it, but this could help.

Please login or register to see this link.

  • 0
Posted

HTTP control of your Sony Bravia TV is likely possible. I just successfully tested with my KDL-55W805C. The fibaro plugin does not work for me but this works: 

Please login or register to see this link.

 

I don't know if this is possible to implement into fibaro LUA but I will look into it. Worst case you will have to do it via some sort of proxy.

 

Edit: After looking at the code I'm rather sure this is not possible in fibaro LUA. I'll set up an arduino or RPi to do the cUrl magic and use it as a http proxy.

  • 0
Posted

I whipped this PHP script together and it works quite nicely with my TV. Used GET for easy testing. Just make a GET request from HC2 with ip of the TV and the IRCCommand. Remember to set the auth code to 0000 on the TV.

Please login or register to see this code.

  • 0
Posted

Actually. I just managed to control my Sony TV using Net.FTcpSocket.

Please login or register to see this code.

  • 0
Posted

The TV needs a WOL packet if it isn't responsive so ping it first. Look at the github documentation and the json responses from the TV for more info. Getting power status can be done like this.

Please login or register to see this code.

  • 0
Posted

hi starkjohan, 

 

im pretty limited in my coding knowledge.  coudl you give a little more information to your codes above?  do i use it in a VD? 

If it is a VD could you possibly post it?

 

Cheers,

  • 0
Posted

I'll post the VD I've been testing with. It should provide all the information you need to do what you aim for.

Please login or register to see this attachment.

  • 0
Posted

@all

hi,

 

I've got a Sony Bravia Android TV KD-65X9005C and the plugin won't work for me too. The plugin can't find my devices.

I've got the same problem with my DENON AVR-X3000. Both devices are connected via LAN.

 

The remote of these devices with Apps on my iOS devices works fine via WLAN.

 

Any solutions?

 

THX

  • 0
Posted
8 minutes ago, atari said:

Any solutions?

 

Yes, read the previous posts in this very thread.

  • 0
Posted
On 19.10.2016 at 8:38 PM, StarkJohan said:

I'll post the VD I've been testing with. It should provide all the information you need to do what you aim for.

Please login or register to see this attachment.

port: 80?

  • 0
Posted

I installed your VD, but nothing is happening with my tv...

 

Can you give me a step-by-step for making my Sony KD-55X8507C work? Thank you in advance!

  • 0
Posted (edited)

1. Make sure the TV is set to accept remote control via "apps". 

2. Have you read the info in my post (#4)? If not, that's step 2. (and set the pre-shared key) TV and VD must match, obviously.

3. Test with phone app or otherwise (CLI) to make sure 1&2 are done correctly.

4. Get network settings sorted and IP matched between the TV and the Fibaro VD.

5. Have a look at the code in the VD. It is a very basic example which should be easy to understand. In it's current state it needs a global variable to intermittently store the command (makes a more dynamic setup for adding buttons/functions). 

6. Make sure you've got the global variable needed.

7. Try the VD buttons using the debug function.

8. Let us know what is happening if it still isn't working and what debug info you're getting.

Edited by StarkJohan
  • 0
Posted (edited)

Hi everyone!

 

Had a problem with connect, plugin couldn't find my device. It found my receiver Sony, but don't see Sony Bravia TV.

I looked for auth code in tv settings, but couldn't find anything.

To check auth code I installed "Sony remote for iPad" and connect it.

After successful connect, I put this code IP to plugin without result.

Unexpectedly i saw auth code on tv for fibaro.

Now it works!

 

Quations

 

1) I see plugin in menu devices, but don't see it scenes. How can I use it, only manually?!

2) If plugin finds my receiver Sony STR DN840 in search, is it possible to control it? ( tryed with no result)

 

Thank you.

Edited by Trr
  • 0
Posted

IT WORKSSSSSS!! Thank you!!

 

Mine is KD-55X9005C Android TV.

 

So now, I will study some more things!

  • 0
Posted
On 1/23/2017 at 1:19 PM, StarkJohan said:

1. Make sure the TV is set to accept remote control via "apps". 

2. Have you read the info in my post (#4)? If not, that's step 2. (and set the pre-shared key) TV and VD must match, obviously.

3. Test with phone app or otherwise (CLI) to make sure 1&2 are done correctly.

4. Get network settings sorted and IP matched between the TV and the Fibaro VD.

5. Have a look at the code in the VD. It is a very basic example which should be easy to understand. In it's current state it needs a global variable to intermittently store the command (makes a more dynamic setup for adding buttons/functions). 

6. Make sure you've got the global variable needed.

7. Try the VD buttons using the debug function.

8. Let us know what is happening if it still isn't working and what debug info you're getting.

Hi,

I have HCL and therefore I can not import your VD.

I have tested response from my TV with code from GitHub (

Please login or register to see this link.

) and it works. That means that TV is open for taking commands over IP and that I have right codes for IT (KDL-55W805C). But, I cannot achive same results with VD. I am new to HCL, but what I have tried is to set IP adress (allocated fix address to TV) and port to 80 (is that correct) and to put code in string field (AAAAAgAAAMQAAABLAw==), but it does not work. What am I doing wrong and is it possible at all to do it in HCL (i just want 2-3 simple controls for use in scenes)?

  • 0
Posted

Unfortunately I have no idea on what you can and cannot do using the HCL. 

  • 0
Posted
On 4/20/2017 at 10:46 AM, StarkJohan said:

Unfortunately I have no idea on what you can and cannot do using the HCL. 

Here are screenshots of how I set up SonyTV VD and what is the form to add buttons in HCL. Like I said, I am able to sent control from my computer, I just cant figure in which form to interpret that comand in the field that is offered ("string to send").

Any ides?

 

Thanks in advance!

Please login or register to see this attachment.

Please login or register to see this attachment.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...