GithubHelp home page GithubHelp logo

sfr_decoder_ha's Introduction

sfr_decoder_ha

image-20220326225847650

Having little knowledge of python, I created a mediaplayer to manage my SFR decoder by combining :

  • universal media player
  • HA helpers
  • node red flow
  • sources.json file which contains the titles of the channels

Node Red

This flow is built around 2 websocket nodes.

You will need to enter the address of your decoder inside these nodes and lws-bidirectional-protocol in Subprotocol field

image-20220326221030617

STB7.json

image-20220326220023945

Helpers

Here are the helpers used

image-20220326222206742

STB7 key: You need to change maximum value to 309

STB7 sources: You can put any text to create it

On startup HA STB7 sources will be populated with the contents of sources.json

Configuration.yaml

A simple universal mediaplayer

configuration.yaml

Sources.json

This file must be put in your HA config directory

It is important that the names of the channels correspond exactly to what is returned by the decoder (json GetSessionsStatus)

sources.json

sfr_decoder_ha's People

Contributors

thierrybourbon avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.