Everything posted by MWoods329
-
Network Module Rules
Just an update - I'm still not able to get usable packets monitoring my network traffic. Additionally, Sony updated their firmware and now includes an option in the settings for developers to send commands over network - but no documentation on it. I found it much easier to just use the new IFTTT channel (Maker) to build network resources that send commands to my Harmony Ultimate Hub. That gets the job done. Sent from my iPhone using Tapatalk
-
Network Module Rules
No, registration occurs in a different section of the settings. Look up in the user guide how to register a mobile device. That will give you a four digit PIN. That's the registration PIN.
-
Network Module Rules
It's in network settings. I think the header is WiFi Direct. The description will say "to connect devices on your network to the TV" or something like that. Instead of doing what it asks you to do when you get in there, look for the option of manual registration. That's where you get the manual registration authentication code. You have to leave your TV on that page with the code up while you register the device. Sent from my iPhone using Tapatalk
-
Network Module Rules
Here is the script I ran to register my ISY to the TV. Its literally a copy/paste from the API I mentioned. Just be sure to manually replace the "your.ISY.ip", "your.TVs.ip", and "YourAuthenticationCode". The authentication code comes from the manual registration page in settings on the TV itself. public bool sendAuth(string YourAuthenticationCode) { bool reg = false; string your.tvs.IP = this.Server_Name; string jsontosend = "{\"id\":13,\"method\":\"actRegister\",\"version\":\"1.0\",\"params\":[{\"clientid\":\"" + your.tvs.IP + ":34c43339-af3d-40e7-b1b2-743331375368c\",\"nickname\":\"" + your.tvs.IP + "\"},[{\"clientid\":\"" + your.tvs.IP + ":34c43339-af3d-40e7-b1b2-743331375368c\",\"value\":\"yes\",\"nickname\":\"" + your.tvs.IP + "\",\"function\":\"WOL\"}]]}"; try { var httpWebRequest2 = (HttpWebRequest)WebRequest.Create(@"http://" + your.ISY.IP + @"/sony/accessControl"); httpWebRequest2.ContentType = "application/json"; httpWebRequest2.Method = "POST"; httpWebRequest2.AllowAutoRedirect = true; httpWebRequest2.CookieContainer = allcookies; httpWebRequest2.Timeout = 500; using (var streamWriter = new StreamWriter(httpWebRequest2.GetRequestStream())) { streamWriter.Write(jsontosend); } string authInfo = "" + ":" + YourAuthenticationCode; authInfo = Convert.ToBase64String(Encoding.Default.GetBytes(authInfo)); httpWebRequest2.Headers["Authorization"] = "Basic " + authInfo; var httpResponse = (HttpWebResponse)httpWebRequest2.GetResponse(); using (var streamReader = new StreamReader(httpResponse.GetResponseStream())) { var responseText = streamReader.ReadToEnd(); _Log.writetolog("Registration response: " + responseText, false); this.Registered = true; reg = true; } string answerCookie = JsonConvert.SerializeObject(httpWebRequest2.CookieContainer.GetCookies(new Uri("http://" + your.ISY.IP + "/sony/appControl"))); System.IO.StreamWriter file = new System.IO.StreamWriter("cookie.json"); file.WriteLine(answerCookie); file.Close(); this.Cookie = answerCookie; } catch { _Log.writetolog("Registration process Timed Out", false); this.Registered = false; } return reg; } #endregion
-
Network Module Rules
I'll send it to you. Check out this API: https://github.com/KHerron/SonyAPILib/blob/master/README.md My model (KDL-48W600b) requires a script to be run which "registers" the new virtual remote with the TV. Oddly, I copied and pasted the script from the API for registration into a network resource on the ISY - and the ISY registered as OK. I did the same for my PC, which also registered as OK. But, when I ran the commands from my PC, it worked fine - same commands on the ISY register a response of 500.
-
Network Module Rules
Did anyone figure this out yet? I'm trying to do the same thing. Sent from my iPhone using Tapatalk
-
Anyone else regret installing a Home Automation system?
HA is the most fun I've ever had with a hobby and the only one that I can't seem to grow out of it get bored with after a while. I find that researching up front, buying components little by little as you learn, and always buying used have prevented a lot of headaches that others have and I don't! Sent from my iPhone using Tapatalk
-
Problem adding devices to a scene
I did the same thing you did for "bedtime" except it's a program; not a scene. Don't know if you had a specific reason for using a scene instead of a program but a program works great every time. I've never had a problem. Sent from my iPhone using Tapatalk
-
Third Party Camera Systems
Has anyone tried integrating a third party camera system like Arlo? I'm working on a solar powered gate project which is a decent distance from the house. I can get WiFi signal out at the area where I'm setting up the gates - but I don't want to have to wire an additional power source for a gate camera. I've seen the Arlo system which runs on its own router and batteries. Has anyone tried integrating a system like this? Or is there already something out there like this that works outdoors by battery? Sent from my iPhone using Tapatalk
-
Harmony Ultimate Hub
I have an ISY994i with the network module. We recently got a Harmony Ultimate Hub to control the entertainment center (the iphone app for it is easier for my wife to use). I have a sleep program in my ISY (countdown to turn off all appliances), and we use the sleep timer in the Harmony app. I've read in a few areas of this forum that a network resource can be created to push commands to the Harmony Hub. Also read a little bit more here (http://www.domoticz.com/forum/viewtopic.php?f=4&t=4676) I'm still trying to figure out the network resource. I'd like to be able to create a network resource that activates the sleep timer for the Harmony hub and add that into the sleep timer program I created in the ISY. Can anyone point me to an example I can follow?
-
Mobile Program Management and Creation
Any iphone or android apps that can modify or create programs and scenes on the ISY994i? Or does this all have to be done on a PC through the admin console?