Git Product home page Git Product logo

harmonyhubcontrol's People

Contributors

bmalrat avatar novagl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

harmonyhubcontrol's Issues

Auth is no longer required.

With Logitech's release of "developer" firmware, it is neither necessary nor even possible to get an authentication token. The hub is fully accessible to anything on its LAN.

Skip all the authentication stuff, and it works. Kind of.

This was their answer to DIY'ers pushback when they disabled XMPP for "security reasons" (remove any/all security). It still breaks all the automation stuff that jumped their old authentication hurdles That sounds passive-aggressive to me.

The more I fiddle with Logitech's harebrained crap, the better a $199 NEEO "Brain" looks... Yes, I said it: "harebrained". Logitech's team have brains that are roughly equivalent to a hare's. Small, slow, extremely limited, geared toward massive procreation vs quality, destined to be another virtual pile of frozen coyote dung in the annals of computing history.

How to input channel numbers.

The command I am using, "HarmonyHubControl.exe 192.168.0.XXX issue_device_command xxxxxxx 6 0 1". Whenever I use that command, channel 601 it set as the channel to 61 but whenever I want to change the channel to 1015 or some number other than channel 61. I use the command"HarmonyHubControl.exe 192.168.0.XXX issue_device_command xxxxxxxx 1 0 1 5" but it only changed the channel to channel 1. Is there something wrong with my command in terminal, how I have the harmony hub to send channel commands(inside the official app) or is the TV simply not receiving the complete IR signal?

Cannot list devices or activities

I can't use the list_activities or list_devices. I get nothing returned (no devices listed, and only the -1 activity listed). If I try to start the -1 activity it does work though. Also if I retrive the ID from "get_current_activity_id" I can start/stop that activity. What can be the issue?

Image shows "list_devices".
image

How can i run it without Visual studio 2015 ?

Seems like this software requires Visual Studio 2015 to run (
i get 0xc0000005 error without it, but it works on another machine with VS installed
Can you make a version that does not need VS 2015 to run ?

Is this project still alive or should I fork my own?

Bottom line: the code presented here does not work with my HarmonyHub. The only activity I get is PowerOff and I get no devices and commands. Investigating the code I found that it expects the HarmonyHub to return json data in a specific field order that does not match mine.

I've started rewriting the parser functions using jsoncpp (why reinvent the wheel, right?) and am currently able to list activities, devices and commands. It's far from (CPU) optimal yet though. Will you accept Pull Requests?

Logitech web service response does not contain a login authorization token

I've been using this on a Raspberry Pi with Home Assistant, and it WAS working fine, but now I get the "Logitech web service response does not contain a login authorization token" error if I run a command line from any directory that does NOT have HarmonyHub.AuthorizationToken in it. If I copy that file into another directory, that directory will then work.

The problem is that my Home Assistant scripts are not working, which execute the exact same command. So I think I need to know what directory to copy HarmonyHub.AuthorizationToken so it will, or how to include the HarmonyHubControl path in a configuration file someplace.

Any ideas?

Build issues under linux with gcc 6.3

Running make (with the default gcc 6.3) under Debian stretch generates an error as it works its way down the included files:

/usr/include/c++/6/ext/string_conversions.h:72:25: error: ‘ERANGE’ was not declared in this scope
       else if (errno == ERANGE

Compiling with gcc 4.9 is successful. I found that others had had to revert to that gcc version to compile after googling for the error message.

However I think I've found a better solution:

I made a change to line 9 of csocket.h to change the include from asm/error.h to cerrno. This allowed the compilation to now succeed while using gcc 6.3.

My understanding is that by calling the include in this fashion would take care of the namespace/scope issues. I'm not enough of a c++ programmer to know if there are other unintended consequences of that change, but it appears to be a solution. If this makes sense I can do a pull request, or you can fold it in as you see fit.

Support for OS X

I see you added support for OS X but how do I run it on Mac? Sorry probably a really dumb question but everything file wise is based on windows.

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.