When enabling XMPP in the mobile App I can get the (prebuilt) x86\Release .exe to run (w/o the username/password, this result: LOGITECH WEB SERVICE LOGIN : BYPASSED HARMONY COMMUNICATION LOGIN : SUCCESS HARMONY COMMAND SUBMISSION : SUCCESS ....but list_activities only reports: Activities Available via Harmony : "PowerOff":"-1"} The rebuilt (MSVS community 2017) debug .exe throws the following abort when running: Debug Assertion Failed! File: minkernel\crts\ucrt\src\appcrt\lowio\write.cpp Line: 48...
Has anyone got this or any other variant of HarmonyHub software working recently? I've built and tested and cannot login. HARMONY COMMUNICATION LOGIN : FAILURE ERROR : connectToHarmony : Unable to connect to specified IP Address on specified Port
Hello, I have the same error, is there any solution? I've running on a rasberry pi with raspian. Best regards
Having the same issue. Any update?
Hello, I built HarmonyHubControll on a raspberry with the make command. If I start "./HarmonyHubControl" without parameters, I get a overview of the call parameters displayed. The application is apparently compiled correctly. If I call the application with parameters "./HarmonyHubControl email password ip", I get the error message "file or directory not found". Can anyone tell me what I am doing wrong?
Hello, I built HarmonyHubControll on a raspberry with the make command. If I start "./HarmonyHubControl" without parameters, I get a overview of the call parameters displayed. The application is apparently compiled correctly. If I call the application with parameters "./HarmonyHubControl <email> <password> <ip>", I get the error message "file or directory not found". </ip></password></email> Can anyone tell me what I am doing wrong?
I found the solution... You can build using gcc-4.9 with the following; first download gcc-4.9... sudo apt-get install gcc-4.9 g++-4.9 CD into the directory of the HarmonyHubControl Build with backdated compiler by using... make CXX=g++-4.9 CC=gcc-4.9
The error I recieved on the first attempt to build was.... pi@raspberrypi:~/harmonyhubcontrol-code $ make cc -c HarmonyHubControl.cpp csocket.cpp -lstdc++ In file included from /usr/include/c++/6/bits/basic_string.h:5417:0, from /usr/include/c++/6/string:52, from csocket.h:15, from csocket.cpp:1: /usr/include/c++/6/ext/string_conversions.h: In function ‘_Ret gnu_cxx::stoa(_TRet ()(const _CharT, _CharT, _Base ...), const char, const _CharT, std::size_t*, _Base ...)’: /usr/include/c++/6/ext/string_conversions.h:72:25:...
Hi, I am having trouble compile the source code. When I am in the 'HarmonyHubControl-master' directory, I type 'make', and this is the error message that appears on my screen... pi@raspberrypi:~/HarmonyHubControl-master $ make cc HarmonyHubControl.o csocket.o -o HarmonyHubControl -lstdc++ cc: error: csocket.o: No such file or directory Makefile:4: recipe for target 'HarmonyHubControl' failed make: *** [HarmonyHubControl] Error 1 If someone could help me through this hurtle, I would appreciate their...
Just installed and compiled this, testing with my new Harmony Hub. when I use the list_activities or list_devices (or their raw counterparts) 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. Further, if I use get_config to retrieve the configuration and pull an activity ID out of there I am able to successfully start it. So it seems like the communication is there with the hub, it's just the listing that isn't working....
FWIW, with compat-gcc-34-c++ it does build. $ CC=/usr/bin/gcc34 make /usr/bin/gcc34 -c HarmonyHubControl.cpp csocket.cpp -lstdc++ gcc34: -lstdc++: linker input file unused because linking not done /usr/bin/gcc34 HarmonyHubControl.o csocket.o -o HarmonyHubControl -lstdc++ I get an executable even though the linker input file was not used. list_devices and list_commands work seemingly fine, list_activities only shows -1 - PowerOff
FWIW, with compat-gcc-34-c++ it does build. $ CC=/usr/bin/gcc34 make /usr/bin/gcc34 -c HarmonyHubControl.cpp csocket.cpp -lstdc++ gcc34: -lstdc++: linker input file unused because linking not done /usr/bin/gcc34 HarmonyHubControl.o csocket.o -o HarmonyHubControl -lstdc++ I get an executable even though the linker input file was not used. list_devices works seemingly fine, list_activities only shows -1 - PowerOff
FWIW, with compat-gcc-34-c++ it does build. $ CC=/usr/bin/gcc34 make /usr/bin/gcc34 -c HarmonyHubControl.cpp csocket.cpp -lstdc++ gcc34: -lstdc++: linker input file unused because linking not done /usr/bin/gcc34 HarmonyHubControl.o csocket.o -o HarmonyHubControl -lstdc++ works fine, even though the linker input file was not used.
When I try to compile with GCC 6.3.1, I get; $ make cc -c HarmonyHubControl.cpp csocket.cpp -lstdc++ HarmonyHubControl.cpp: In function ‘int swapAuthorizationToken(csocket*, std::__cxx11::string&)’: HarmonyHubControl.cpp:373:28: warning: overflow in implicit constant conversion [-Woverflow] int pos = std::string::npos; ^~~~ In file included from /usr/include/c++/6.3.1/bits/basic_string.h:5402:0, from /usr/include/c++/6.3.1/string:52, from csocket.h:15, from csocket.cpp:1: /usr/include/c++/6.3.1/ext/string_conversions.h:...
I've been using this on a Raspberry Pi with Home Assistant, and it WAS working fine,...
Hi! I've got the same error. I tried to change password and others. While compilation...
Hi! I've got the same error. I tried to change password and others. While compilation...
Hi same problem for me : truncating output, but from a linux compiled HarmonyHubControl....
Hi, Compiled on Debian (arm and x64) without any problem. But after creating/deleting...
Just for info: I had exactly the same error after I created the binary by "make"...
Just for info: I had exactly the same error after I created the binary by "make"...
Just for info: I had exactly the same error after I created the binary (on Linux)...
Hi there. First of all: Nice work! I just started using your tool on my raspberry...
hi I've found that commands that come out of the remote rather than the ir blasters...
Old time programmer, but haven't touched code in almost 10 years. I'm trying to make...
Alright - got everything working as expected. Preface: I use an edgerouter lite as...
Added some firewall rules and forwarded the port 5222 from my external (internet...
For what it's worth - I'm running on version 4.5.106 of the hub software. HarmonyHubControl...
EDIT: Turns out ARP caching was the culprit - Logitech did NOT lock down the Harmony...
Alright - got everything working as expected. Preface: I use an edgerouter lite as...
Alright - got everything working as expected. Preface: I use an edgerouter lite as...
Added some firewall rules and forwarded the port 5222 from my external (internet...
For what it's worth - I'm running on version 4.5.106 of the hub software. HarmonyHubControl...
For what it's worth - I'm running on version 4.5.106 of the hub software. HarmonyHubControl...
For what it's worth - I'm running on version 4.5.106 of the hub software. HarmonyHubControl...
Had to reboot my hub after monkeying with my wireless network - and it must have...
I've compiled this on Mac OS X (10.10.3) (with /usr/include/errno.h). The executable...
I've compiled this on Mac OS X (10.10.3) (with /usr/include/errno.h). The executable...
As soon as you add a smart device, like for example , nest and or hue.. It stops...
I just wanted to tell you: Compiles well on Raspberry Pi by simply running make....
I just wanted to tell you: Compiles well on Raspberry Pi by simply running make....
Hi, Great Project! I would like to control my harmony link using this C++ version....
When i'm using harmonyhubcontrol all commands were sent 2-3 times. Seems like a "release"event...
Even after several reboots of the HUB is cannot get this software working. I can...
hi! my productive binary is some month old so I tried to reproduce your problem with...
Hi Tloram, no, I did not solve it yet. I have a feeling nobody else is reading my...
I am getting the same error, did you figure out what the issue is?
Nobody else with this problem???
I got a LOGITECH WEB SERVICE LOGIN : FAILURE ERROR : harmonyWebServiceLogin : Logitech...
Tune performace of sockets on Unix/Linux
Further decrease socket flush timeout to 0.05s.
Cache Logitech Authorization Token in a file fo...
Minor clean-up
Linux fixes
Update activities parser to properly contend wi...
Added full parsing of devices and device commands.
Updated Readme.
[HarmonyHubControl.cpp] added issue_action func...
Updated Readme file
Remove Qt Dependency