Giter Club home page Giter Club logo

harmony's People

Contributors

hdurdle avatar lakritzator avatar slion avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

harmony's Issues

Recover properly from socket error

Upon socket error during login process our XMPP connection gets stuck in Connecting state.
Currently calling Close does not fix the issue.
A workaround could be to re-create the XMPP object following socket errors.
To reproduce just try to open a connection using a bad host name.

Epson projector won't turn off from Nvidia Shield activity

Epson LS500 projector would not turn off from an activity containing NVidia Shield. Other people seems to be having the same issue.

I could work around it by adding the following custom command to the activity shutdown sequence:
image

The Epson Power command is a custom command I added using IR learning from the original Epson remote as the default PowerToggle command does not show up in that combobox.

Here is what my custom Epson projector device shutdown sequence looks like:
image
You need to click twice the power button for the LS500 to shutdown.

To speed things up a bit I used the following activity shutdown sequence and it works too:
image

Disconnect after some (mostly 60?) seconds + Solution

Hey, to keep the connection alive you have to send ping messages in the form

<iq type='get' id='ping-xxx'><ping xmlns='urn:xmpp:ping'/></iq>

, where xxx is a unique id.

Just write a function to send this every minute and you'll be fine ;)

Handle "Command not found" error

When sending an unknown command we get the following error response. We currently don't handle that error properly.

<iq xmlns="jabber:client" to="1" id="agsXMPP_5" type="get"> <oa xmlns="connect.logitech.com" errorcode="566" mime="vnd.logitech.harmony/vnd.logitech.harmony.engine?holdAction" errorstring="Command not found for device id:37058142" /> </iq>

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.