Code Monkey home page Code Monkey logo

Comments (3)

dillbyrne avatar dillbyrne commented on May 30, 2024

That is a pi issue nothing to do with my script. My pi boots to kodi (which has its own cec implementation) and it won't work if it was turned on before the TV. If this happens I switch off and unplug the TV for a second or two and then plug it in again. This causes the TV to send power down the hdmi line and it is detected on the pi and cec then works.

Your double input is due to the fact the script is already running ( but as cec is not active it can't relay get your instructions from the tv) and you're running another instance of it.

It could be some power saving feature built into the pi chipset when the hdmi source is not active. That is my guess. Anyway I'm closing this issue as it is not due to the script

from es-cec-input.

mooooonbaby avatar mooooonbaby commented on May 30, 2024

You unplug the hdmi cable from the tv or from the pi?

from es-cec-input.

dillbyrne avatar dillbyrne commented on May 30, 2024

I unplug the TV plug from the wall wait a few seconds and then plug it back in and then the pi detects it.

It is only necessary if the pi was on before the TV. if I turn on the TV and then the pi it works as expected.

another option is to ssh into the pi and reboot it

from es-cec-input.

Related Issues (20)

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.