Skip to content

📺 Brav(i)a Go Interface for Upselling Light Issuing Appliances (works with recent Sony Bravia models)

Notifications You must be signed in to change notification settings

baol/bravagiulia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Brava Giulia

A go library to send IRCC commands to a Sony TV using a Pre-Shared-Key

Setup the TV

First set the key in your TV under

 Settings > Network > Home Network Setup > IP Control

Set Authentication to

Normal and Pre-Shared-Key

And also set a key value.

Use your router to discover your TV IP address (and maybe give the TV its own host name, say sonytv)

Use the package

package main

import (
    "fmt"
    "github.com/baol/bravagiulia"
)

func main() {
    c := bravagiulia.NewClient("sonytv", "<YOUR-PSK-HERE>")
    commands = c.GetSupportedCommands()
    fmt.Println(commands) // will list the available commands
    c.SendIRCC(commands["PowerOff"]) // can call the commands by name
}

About

📺 Brav(i)a Go Interface for Upselling Light Issuing Appliances (works with recent Sony Bravia models)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages