huffmd1
Members-
Posts
24 -
Joined
-
Last visited
huffmd1's Achievements
Newbie (1/6)
1
Reputation
-
Hey guys I have the communicating via IR signals to the ISY from the harmony working and has been for quite some time. What I want is to be able to walk into my place and have my door sensor or a keypad button trigger playing music via my harmony activity. So far I have been unable to do so and it sounds as if Harmony is not cooperating with the people at ISY in getting them the info to do this. I am not familiar with running a rasberry pi server if you will. If anyone knows how to do this let me know. It seems as if ISY should be able to go through the authorization stuff with the Harmony and then be able to communicate with it. I am able to do this with my Lutron shades and it has worked for some time now.
-
I would really like to send commands to my Harmony from an insteon keypad. Is there anyway this is possible? I am ok at this stuff but not super advanced.
-
Hey Billy thanks for the response. Whenever you get some time I could use some help.
-
The problem is finding them. I have looked at a couple of places but I am not a programmer and do not understand much of this stuff. I went to this site: http://sourceforge.net/projects/harmony ... rol/files/ but I am not having any luck with the information. If anyone else could look and give me some help I would greatly appreciate it.
-
I also found this stuff but unsure about how to use it. Logitech Harmony Protocol This document describes the Logitech Harmony protocol used for communicating with the Harmony Link device. Harmony Link Device The Logitech Harmony Link connects to your home wireless network and obtains an IP address. It runs an XMPP server that listens on port 5222. Authentication Obtaining Login Token The first step in authenticating is sending a Logitech username and password to a Logitech web service. The endpoint for getting an authentication token is: https://svcs.myharmony.com/CompositeSec ... rAuthToken A POST request is sent to this URL with a payload of JSON. The Content-Type request header must be set to application/json; charset=utf-8 and the body of the request should contain JSON like this: { "password": "secret", "email": "foo@example.com" } The response will also be JSON of the form: { "GetUserAuthTokenResult": { "AccountId": 0, "UserAuthToken": "xyzxyz" } } The value of UserAuthToken is a base64 string containing 48 bytes of data. This token, which I will call the "Login Token", is used in the next step. Obtaining Session Token Once the login token is obtained, a session token must be obtained. This is done by logging into the Harmony device with username guest@x.com and password guest. The login process uses the XMPP SASL PLAIN authentication standard (XEP-0034). Once logged in as guest, the XMPP IQ Query Action Protocol standard (XEP-0099) is used to send an XML stanza to the server. The XML looks like this: token=y6jZtSuYYOoQ2XXiU9cYovqtT+cCbcyjhWqGbhQsLV/mWi4dJVglFEBGpm08OjCW:name=1vm7ATw/tN6HXGpQcCs/A5MkuvI#iOS6.0.1#iPhone The important part here is the content of the tag. It comes in the format token=:name=# where T is the base64-encoded Login Token, N is any unique identifier (doesn't seem to matter in my tests), and D is a client device description. The server appears to validate these device descriptions, as no other value besides iOS6.0.1#iPhone seemed to work when I tried it. I assume it might do some sort of validation checking for one of iPhone, Android, etc. After this stanza is sent, the server sends back a response that looks like: identity=753b4836-2093-4c56-b4cf-eb6db9da28cb:status=succeeded The important part here is the content of the tag. It contains the "identity" string, which I will call the Session Token. It is a UUID version 4 string that contains 16 bytes of information. This is what's used to login to the device as an authenticated user. Logging In Once the Session Token is obtained, it can be used to login to the harmony device as an authenticated XMPP user. The username for logging in is @x.com and the password is . Example: username: 764b97db-f883-4ccd-b1db-26bb9b20aee8@x.com password: 764b97db-f883-4ccd-b1db-26bb9b20aee8 Once logged in with this session token, commands can be sent to the device. Sending Commands Once logged in with the session token, commands can be sent to the device. The XMPP command for sending a "volume down" press event looks like this: action={"type"::"IRCommand","deviceId"::"11586428","command"::"VolumeDown"}:status=press I have verified that this does send the volume down press event. A followup release event would have to be sent to stop the volume from continuing to go down. It looks like the deviceId parameter is some numeric identifier of the device you're sending the command for. I assume this can be obtained from the sync protocol but have not yet investigated. Retrieving devices and command list You can send an IQ query with an tag to ask for ?config: The response contains a CDATA body that has a JSON string containing the list of devices and their available commands.
-
So this is what I have found so far: The command line for HarmonyHubControl is as follows: HarmonyHubControl.exe [password] [harmony_ip] [command (optional)] [primary_parameter (optional)] [secondary_parameter (optional)]\n"); where the and [password] parameters are the login credentials used to log into your Logitech Harmony account to update the device configuration. These are also the same credentials used with the Harmony app. [harmony_ip] is the IP address of the harmony device on your network [command] can be any of the following: get_current_activity_id list_devices list_activities start_activity [iD] issue_device_command [DEVICE_ID] [DEVICE_COMMAND] get_config Typical example usage would be as follows: 1) Query the device for a list of activities: HarmonyHubControl.exe your_email@your_email_server.com your_password 192.168.0.XXX list_activities 2) Start an activity based on the activity identifiers listed in step 1: HarmonyHubControl.exe your_email@your_email_server.com your_password 192.168.0.XXX start_activity For full argument information simply run the executablewith no parameters. I have tried to put something in but have nothing. I am very new at this and have very little experience with doing anything like this. I am going to post my screenshot so you can see what I have so far.
-
Any idea when the support will be back for weather module?
-
source forge I went to source forge and read some there but I am not a programmer. I see some of the commands down at the bottom of the page. I am assuming I might can take these and make a program to try and control some of the activities of the hub. I am gonna purchase the network module and give it a try. If anyone else has some suggestions let me know.
-
Is it possible that the ISY could send a command to the Harmony Ultimate? I can control it from my iPhone so it uses my network. Any help would be great. Ultimately what I want to do is when I open my door it triggers the ISY to send a signal to my logitech hub to start my activity for playing music and it begins playing music when I come home. It would be pretty nice!
-
Hey I am in the same boat as the guy who started this post. I want to tell my hub to start up one of my activities when I open the door so I can play music. Seems like something we should be able to do but it is proving more difficult than I thought. I looked at github and it looks like some people have cracked the code in C# code or something. I am not a programmer and cannot understand that stuff. If there is anyone out there that can help I would be very grateful!
-
I have installed a new fanlinc and 6 button keypadlinc to control it. I have gotten the fan speeds working correctly but I am having trouble with the on and off button for my lights. I cannot seem to get them to link correctly. I have made a scene with the on, off button as the controller and the fanlinc light as the responder but that does not seem to work. Any help?
-
Hey Everyone I have just purchased a Logitech Harmony Smart Control and an ISY 994i/ir with the ir control and having a hard time getting them set up. I have logged into myharmony and added the ISY but there doesn't seem to be a good way of adding commands in their software. I have also gone into my ISY and downloaded the available IR codes to use. Some help with this would be great!!