-
Posts
692 -
Joined
-
Last visited
Everything posted by barrygordon
-
I have a broken Insteon Lamplinc and have received the replacement. I deleted the old one and added the new one. I can control it from the admin console just fine. I have tried to add it to the scenes the old one was in with some success. I have a remote linc2 that I can not add it to the button as a responder. I am not sure what I am supposed to do, it has been too long since something has failed. If I do a scene add to the button it says it is already a member. It (the Lamplinc) does not show up as a controller or a responder for the button on the remote2. Any advice would be appreciated. Is there a nice easy command that I have missed such as "Replace device with new one", This would be very handy in situations where a device is a member of many scenes, has failed and is being replaced. Especially if it then changed all associated scenes.
-
My security system, an old Ademco but soon to be changed to ELK Gold, has motion sensors distributed throughout the house. Their tripping causes a message to Homeseer which then broadcasts it to all iPads and eventually the RPi using UDP. I use two UDP protocols in my LAN. One, xAP, is the older one and more general. It was started by a group of enthusiasts in the UK but has since been taken over by technology. The other one is simpler, and of my own design. Basically, UDP datagrams are sequence numbered and sent multiple times (currently 2) based upon what I felt would give me a a fairly consistent delivery. My LAN traffic is not that high except when I am watching a movie in the theater with the NAS in the server room supplying the stream. Keep in mind that I live alone except when there are guests in the house. I use homelink visor controls in my cars. One has them built into the mirror and one uses a Lutron RA transmitter. The receiver is a Lutron RA Visor receiver. The three buttons ("Leaving", "Returning", and open/close garage door) trigger all sorts of actions via Homeseer, to be done by the RPi. Actually the RPi fields the contact closure input and then broadcasts it on the network. Homeseer then does most of the lifting. It sets a trigger waiting for the security system to report motion and then speaks a greeting. We probably should move these conversations off this thread.
-
Glad to hear it. I also generally prefer to run my own stuff for that degree of independence.
-
All my iPads run a program I wrote using Commandfusion (think iRule but based on Javascript with a full Javascript engine enhanced to handle graphics through a class like structure.) Very similar to what the Pronto people did with the Pronto PRO. I wrote a plugin for Homeseer that watches what is going on and sends UDP messages to the iPads to keep them in sync. The iPads are all logged into the ISY and get full status in real time. I do not do any polling. All the iPad code is event driven. It has been running for well over a year without a single stop. I have never used hsTouch. As I said I like to code. It relaxes me and I have lots of free time. I just finished the callerID interface for my RPi. I know have to just modify the callerID modules on my iPads to accept the simplified format I am now using. I use UDP a lot using a protocol I worked out. The Autelis pool control people actually added UDP async notifications using this protocol to their controller so all my iPads are kept completely up to date with out ever polling the controllers.
-
The UDI gateway is, IMHO, reasonably priced at $50 for 2 years. this comes out to around $2 per month. I have started to switch all my Home Automation over tor raspberry pi's. Main reason I like to code. Secondarily I find the Pi to be easy to deal with and highly reliable. I say that tongue in cheek since my Homeseer system doesn't go down unless I take it down to change something. In fact that is the behavior of all of my 24/7 PC's. Eventually they will fail and the pi is quite bargain at ~$50 for a unit with PSU and case. I control my Insteon ( over 100 units) and Z-wave (just 2 thermostats) and no Zigbee with the ISY994. I still use Homeseer for certain aspects of scheduling but I will be moving that to the Pi. The Amazon Echo can not drive a bluetooth speaker. It can control an audio system over bluetooth if the audio system follows the appropriate specs. The Amazon Dot can drive a bluetooth speaker and I do do that in the master and guest bedrooms. I only instruct the amazon dot to connect the speaker when I want to listen to music. Every room in my home has a speaker in the ceiling for announcement purposes. Homeseer used to directly drive those speakers but now the RPi does. Homeseer tells the RPI over a TCP link what it would like the announcement to say and the RPi does the TTS, turns on the requested speakers and makes the announcement. The ISY can also tell the RPi to say something using the networking capability. I do not find the experience being ruined in any way. At the current time Alexa does not make announcements but does respond to its commands with its own speaker(s).
-
There is no sleep mode in Raspbian Jesse. I had a hard time finding your posts as the site kept pointing me to the middle of this thread. I am not sure how the HUE bridge affects the AWS_Configurator because I do not believe it should. The 424 error is a hard stop in the AWS_Configurator that indicates that there is something bad in the code but it will be almost impossible to find because I would need to be able to duplicate your environment. There are many others using the configurator with no issue. However I no longer use it and I am the one that wrote it. It was written as a stop-gap to allow ISY users to deal with the Hue Emulator. At the current time I merely use the official Alexa interface (Smart Things? they change the name too often) with 100% success. The only delays I ever see are when there is an Amazon traffic delay or an ISP delay. Normally response is just about instantaneous. I have 105 devices configured for the Amazon Echo and multiple amazon devices (2 echos, 2 Dots). I use an RPi to do all sorts of things related to the Echo and the ISY and have posted about that in a different thread. At this time my ISY can make all sorts of arbitrary voice announcements through the RPi acting as a proxy. I use Google TTS as the voice system with no cost and no issues. I am slowly phasing out my previous main Home Automation controller (Homeseer) in favor of the RPi. The next task is moving the callerID system over. I just need to buy a FTDI USB to rs232 cable and move the code from VB.net to NodeJS. Thye RPi is currently controlling 16 SPDT relays (IP based) and has 16 digital inputs, 8 temperature inputs, and 8 analog inputs through an interface board made by Denkovi. Strongly suggest if it is possible in your system to go with the Echo interface from UDI.
-
I believe you are assuming I am using DHCP for the ISY. I am not. I am using a static IP and have entered the DNS address which is now 8.8.8.8 and working fine. I guess I could enter 192.168.1.1 (the routers IP) and do as you pointed out. I never had a problem with 8.8.4.4 until yesterday.
-
Thanks, Michel, I checked the error log and noticed that there were a ton of entries starting at about 3PM that looked like: Fri 2016/07/29 10:35:38 PM System -140000 my.isy.io Fri 2016/07/29 10:36:13 PM System -170001 [Network-DNS][Task=22] Failed DNS 37/rc=6 Fri 2016/07/29 10:36:13 PM System -140000 my.isy.io Fri 2016/07/29 10:36:48 PM System -170001 [Network-DNS][Task=22] Failed DNS 38/rc=6 Fri 2016/07/29 10:36:48 PM System -140000 my.isy.io Fri 2016/07/29 10:37:22 PM System -170001 [Network-DNS][Task=22] Failed DNS 39/rc=6 I then took a look at the DNS value that the ISY was using and it was 8.8.4.4 Which is one of the secondary Google DNS servers, the major one being 8.8.8.8. I changed it to 8.8.8.8 and the ISY rebooted. After the reboot the portal was happy and everything went back to normal. I am assuming that for some reason Google took that DNS server off line or something happened such that the ISY could not reach it. Many devices allow for a primary and secondary DNS address, however the ISY only allows for one.
-
I spoke too fast. I agree the portal is Up, or at least I can get to it from a browser. When I Select Tool /Amazon Echo tells me the ISY is down. If I open the admin console It is clear the ISY is up and running and I can control things from the admin console. If I go to configuration/portals it shows as 'Offline - registered". The ISY is acting very sluggish taking quite a bit of time to respond to the admin console after I rebooted it. It is obviously local to me. I am off to dinner so this will have to wait till either later tonight or tomorrow. Any thoughts, advice appreciated.
-
It is about 7:15 EST and the ISY portal is offline when I try and get to it. It is also offline if I look for it in the ISY administrator. It was working fine this AM. I have been on V2 for a while. Any one know what is going on?
-
Blueman2, First off, I use the UDI skill. Since that is directly mapped there is no intermediary named skill needed to be asked or told to do anything. I do have my own skill named Sarah, but I do not use it at this time since I can do everything I want/need using the UDI skill. The bottom line for me is that using the UDI skill or the emulator looks exactly the same from a vocalization point, i.e. you say exactly the same things. I use programs referencing network commands to hit other systems such as my Proxy. jratliff, Clever, I assume you are using the UDI skill to handle commands ("Alexa, turn off . . ." as opposed to "Alexa tell me to turn off . . .")
-
To answer your questions: I noticed when I assigned my receiver Volume up command (obviously just pulled from the Harmony "database") your app's Device Editor has 2 Press URL boxes and the top (assume it is ON) listed Volume UP and the bottom (assume it is OFF) listed Volume down. (your doc file calls this the antonym entry) Would it be best practice to simply use the Friendly Name "Volume" and tell Alexa to Turn On Volume to increase and Turn OFF Volume to decrease? Look in the ini file under the Harmony Hub. You will see an entry for antonyms. If you select a device button that contains an antonym set (either member) it populets it as the On URL and the sets up the Off URL to be the opposite as stated in the Antonym. Using just the friendly name with Alexa should work but I am not sure it will. It does work with the UDI skill. In my system (UIDI skill) I have a friendly name "kitchen lights" and I say Turn on the kitchen lights or turn off the kitchen lights. As for the Blueman's capability to essentially create a macro, would that mean I just need to unlock the button's URL and string together multiple button press codes? If so, what is the format I need to follow? I believe that is correct. Just name the button codes and separate them with a dash. I suggest you discuss this with blueman2 as I know very little about it. I implemented it for him and he went on vacation so he has not had a chance to test it. He wshould be back in about a week or so. Just PM him. If that works as I think, I guess I could create channel macros for my favorite channels and simply use the channels name to execute, is that right? That sounds right to me. but I am not sure. At first I didn't think I would need to run multiple emulators, but now that your tool is working great and has more functionality, I may need to figure out how to set up multiple ones with BWS's latest version (unless the old limit of 25 on the hue is not a factor anymore) I do not think the 25 limit is a factor but I do not know for sure as I am not using the emulator at this time. Setting up multiple emulators is trivial IIRC. You jst need the start up in rc.local to look some thing like: # The following is for multiple emulators on the same machine echo "Starting the Echo Bridge Emulators" nohup java -jar -Dvera.address=192.168.1.229 -Dupnp.config.address=$_IP -Dserver.port=8081 -Dupnp.response.port=50001 -Dupnp.device.db=/home/pi/echobridge/data/device81.db -Ddev.mode=true /home/pi/echobridge/current.jar > /home/pi/echobridge/logs/log81.txt 2>&1 & nohup java -jar -Dvera.address=192.168.1.229 -Dupnp.config.address=$_IP -Dserver.port=8082 -Dupnp.response.port=50002 -Dupnp.device.db=/home/pi/echobridge/data/device82.db /home/pi/echobridge/current.jar > /home/pi/echobridge/logs/log82.txt 2>&1 & nohup java -jar -Dvera.address=192.168.1.229 -Dupnp.config.address=$_IP -Dserver.port=8083 -Dupnp.response.port=50003 -Dupnp.device.db=/home/pi/echobridge/data/device83.db /home/pi/echobridge/current.jar > /home/pi/echobridge/logs/log83.txt 2>&1 & nohup java -jar -Dvera.address=192.168.1.229 -Dupnp.config.address=$_IP -Dserver.port=8084 -Dupnp.response.port=50004 -Dupnp.device.db=/home/pi/echobridge/data/device84.db -Dharmony.address=10.0.0.1 -Dharmony.user=<userid> -Dharmony.pwd=<password> /home/pi/echobridge/current.jar > /home/pi/echobridge/logs/log84.txt 2>&1 & I believe only one entry needs to have the harmony info. <userid> and <password> should be your Harmony info. I suggest you discuss this with blueman2
-
Corrected version (6.0.3) has been placed on my web site. I neglected to quote a JSON substring for the Add function which had changed in the code to accommodate a request from blueman2. Blueman2 had BWS make a change that allows for multiple buttons in a single button URL. He uses this example, to send channel numbers for example. I added it to the emulator so that a URL of the form x-y-z-. . . will send the emulator a JSON list structure which is then interpreted as button x, button y, button z. . . . The way AWS_Config works it does not care what x y z are they can be numbers or the names of other buttons as long as the names do not contain the "-" which I use as a separator. In effect this allows you to command the Harmony to send a Macro. Let me know how you make out with version 6.0.3
-
Ross, I am retired so I generally have enough time to chase puzzles which I really enjoy doing. Previously I had no way of duplicating the exact conditions encountered by a AWS_Config user. That is now resolved with the AWS_JSON.txt file. I will look into your issue today or tomorrow. I will give it a quick try now to at least see that I can duplicate the issue, and let you know if I need anything beyond what you have sent me. I will get back to you shortly. As you know I do not have a harmony hub. I run the ISY to control about 95% the HA things in my home. I control just about everything by voice using the UDI skill. I am handling IR controlled devices using a Proxy I wrote that runs on an RPi. The Proxy accepts network commands from the ISY as simple TCP strings. The TCP strings consist of a command plus parameters. For an IR controlled device the command is "DOIR" or just "IR" followed by a set of comma separated parameters to state the Global cache to use, the port on that Global Cache, the name of the timing file , and the name of the specific command in the timing file. The proxy then issues the correct timing sequence to the specified GC unit and handles all issues. There is a command named MACRO which is similar, but allows for the specification of multiple IR commands which are sent the the GC unit with correct timing and feedback processing. I use the Macro command to do things like change channels. There is a separate program to build the correct timing strings for the Global Cache using as input several different IR command formats (e.g. .irp, Pronto Hex, . . .) The proxy can handle other device types that use RS-232 or complex TCP/UDP sequences. In fact the proxy can be made to do anything I want. In effect, it is my simplified Harmony Hub, but under my full control so it never goes obsolete when things change. On the subject of voice control, for network commands I just have simple ISY programs whose Then part puts out an ISY network resource command along with an Else part that is sometimes used. The Then part generally issues the correct string for "Turn On" and the Else part when used the correct string for "Turn Off". In the case of a device with only a Power toggle command I issue the same string for both Then (on) and Else (off). In my home about 85% of the time the response to a voice command occurs within 1 second of when I finish speaking. Sometimes (the other 15%) there is a delay of a few seconds which I believe is due to network or cloud congestion.
-
I just put the new, hopefully final version of the AWS_Config program on my web site. It is version 6.0.0 The problem was mine. I was not handling the chunking of the data as indicated by the header clause. The result was that the chunking indices were being left in the data stream. If the index, a hex number as a string e.g. 8000 for an index of 32768, , fell in some part of the JSON where it disrupted the syntax; the parser would fail. The ini file is set with the JSON Save parameter set to false. If you need to send me debugging information make a run with that parameter set to true, and send me the aws_config.log file and the aws_JSON.txt file. The aws_JSON.text file allows me to reproduce the exact conditions for your specific Harmony hub. If all is working well, you cant set logging to none instead of All. That will make the process run much faster as nothing of any size will be written to the log file, only key messages and error messages.
-
The web version was a stop gap fix. I finally found the root cause and will be posting a final version shortly.
-
Ross I just posted a new version on my web site. In your ini file set the JSON Save parameter to true. There are some other new entries in the ini file, but they are set to the default values so you can add them if you do not have them, but it will not affect the test. Send me the two files as before and if possible a screen snapshot if it fails. Thanks
-
I know what the problem is but am not sure where it is happening. The problem is the size of the Harmony files coming from the HA-bridge. The device file is 80,019 bytes and the activity file is 99,988 bytes. For some reason there is extraneous data inserted every 32768 bytes. That extraneous data is killing the parser. I would like to keep working this, but I need you to do testing for me as I have no Harmony hub. If that is okay, I will pick this up tomorrow and send you a version with some extra debugging in it so I can try and see what is happening and where. I would also like to take this off line as opposed to cluttering up the forum. you can email me at barry@the-gordons.net and attach the files as we proceed. Let me know if this is okay Barry
-
I just placed what should be the final corrected version on my website, but I have been wrong before. Please give it a try and let me know. I tested it with the JSON saved data you sent me and it worked fine.
-
Ross, I will be working on your issue tomorrow. It is perfectly possible to have the error you are seeing and a valid log file with no errors. The error you are seeing has to do with the parsing of the JSON file from the HA-Bridge. The current version does not abort on a parsing error (it should and I will change that). I may need you to do some special stuff, but let me look at what you sent me. Look at the ini file on my web site. There are two new entries [JSON Testing] JSON Save = false [Logging] All = true set JSON save to true. This will produce a new file in the same directory as the log file. The files name is AWS_JSON.txt. Send me that file along with the log file. The log file will be much bigger as logging will be on. The AWS_JSON.txt file will allow me to reproduce your issue as I do not have a Harmony Hub.
-
Looking at the log file you sent I do not see anything wrong. I just posted a new version on my web site. Look carefully at the ini file a lot has changed. If the problem persists then set the JSON save option in the JSON Settings section to true. This will produce a new file called AWS_JSON.txt. Send that file to me along with the log and I will be able to reproduce exactly what you have and should be able to figure out what is wrong..
-
ross, I need a copy of the AWS_Config.log file. Make the same run after changing your ini file to have: [HUE HUB] Process = true [Logging] All = true Zip up the log file and attach it to your post. With logging set to all=true, the processing will take longer as it has to write a detailed log file. Also send me the same screen snapshot as before if things do not work. When you say the harmony does not list any activities, I assume you mean that in the upper right pane if you press the harmony activity button nothing shows. That makes sense as the parsing has stopped, probably when doing the harmony activities. I will be able to tell when I see the detailed log.
-
I put a corrected version for HA-Bridge 2.x.x on my web site (the-gordons.net). It has an exe and an ini. Replace your exe with the new one. Check the included ini file by comparing it against yours. I added some debugging changes, that affect what goes in the log file.
-
I will hold off doing anything on the config program until I hear from you that BWS has responded to the Harmony changes. Is there any where that harmony has a document That describes what and how they control devices? in particular do they control devices using TCP? if they do and I can get their protocol it hould not be too hard to build something that will allow a harmony to properly deal with the ISY with full feedback
-
I have not stopped using the RPi's in my home. I just have switched emphasis. I developed a Proxy system for the RPi that is more of a back end to the ISY as opposed to a front end. Ity handles two things for me All IR for the house runs through it as TCP commands. It then handles all the communications with any Global Cache device on my network. All the necessary timing tables for the commands are kept on the RPi along with macros. All It takes to send IR is a TCP string containing the Name of the Global cache (blank if there is only one, the name of the port as either an integer or the GC connection number as in "4:1" the name of the device the IR is destined for and the name of the specific command to send. an Actual command looks like "DOIR House,4:1,STB, Power" where STB is the mnemonic name for the set top box connected to port 1 (connection 4:1). Al interaction with the GC devices is handled by the RPi. there is a companion PC based program that will build GC timing strings from either Pronto HEX, IRP, and several other formats. If the ISY needs to control a specialized device, it can send a TCP command such as "Theater On" to the special device which needs to be able to deal with it. The ISY merely puts out a simple network command such as "Theater On" which then gets properly sent along based on what the initialization file of the proxy contains. The Echo's interface to the ISY network resources through simple program names. I moved all IR and special devices I wish to control by