Jump to content

MstrD

Members
  • Posts

    141
  • Joined

  • Last visited

Everything posted by MstrD

  1. I don't believe there is an easy way to have schedules that are change without programming that in to each program/schedule on the isy-99i. However, if for instance you have 3 different work schedules, you you could create a folder for each schedule. Create a variable that represents the schedule (1,2,3). In each folder, set it to be "if $variable=1" of "if $variable=2" etc. Then under each folder, create programs for that work schedule. Similar to a home and away/vacation folders. When active, only those programs will execute in that folder. You will need 3 folders and 2 sets of programs in each. The variable could be updated via a REST command that you initiate into the isy-99i. That would update the variable, and then, based on folder, change the scheduling. You could alternatively, set the variable via some kind of mobile phone/web page interface.
  2. I'm in the middle of expanding the automation in my house. What kinds/brands of devices are other people controlling via RS232/serial? I've currenlty got the following to work: Russound CAV6.6 Whole House Audio Controller Extron Crosspoint Plus Video Switching (component) Sharp XR-30X Projection TV Zenith Z50PV220 Plasma TV (same as LG TVs) Anyone controlling any other kinds of devices? In the end, all my TVs and most AV equipment will be controlled. Just wondering if there are any other types of household devices that I'm not thinking about. (either serial or IP)
  3. Zenith TV Z50PV220 Plasma (which I beleive is the same or similar to an LG TV - LG commands seem pretty standard) Setting s 9600, N, 8, 1. No flow control Pinout from the RJ45 to DB9 using a modular adapter: RJ45.................DB9 5 RxD Green to TxD 3 4 Txd Red to RxD 2 6 SG Yellow to SG 5 Commands: On: ka 01 01 Off: ka 01 00 Additional commands in the manual. The command above assumes set id = 01.
  4. Extron Plus Video Switcher Pinout: Settings were 9600 baud, N, 8, 1. For this connection, no flow control. Pinout from the RJ45 to DB9 using a modular adapter: RJ45.................DB9 5 RxD Green to TxD 3 4 Txd Red to RxD 2 6 SG Yellow to SG 5 Commands: For Zone 2, from Source 1: 1*2! For Zone 6, from Source 3: 3*6! etc.
  5. I just setup a Sharp XR-30X Projector to my Digi Portserver Settings were 9600 baud, N, 8, 1. For this connection, I set CTS=on, and DTS=on There is an adapter cable that goes to a mini-DIN9 to DB9. Model ANA1RS. Pinout from the RJ45 to DB9 using a modular adapter: RJ45.................DB9 5 RxD Green to TxD 3 4 Txd Red to RxD 2 6 SG Yellow to SG 5 7 CTS brown to RTS 7 2 RTS orange to CTS 8 Commands are pretty easy: For OFF: POWR 0 For ON: POWR 1 That is the letters POWR followed by 3 spaces and then either a 0 or a 1.
  6. I'm in the middle of setting up a whole house audio system (not all rooms are wired yet)and I'm integrating it with the isy-99i. I'm using a Russound CAV66 x 2. That gives me 6 sources, and 12 zones (6 zones x 2). It also has composite video switching which I won't be using. You could also go with the CAM66 (built-in tuners) or the CAA66. They have a protocol called RNET and each unit has a RS232 port. I've also been using an iphone app called Llama Panel Pro that lets me control the unit (switch sources, zones, etc). It communicates with the same RS232 port/protocol. To connect to the RS232 port you need some kind of network-serial adapter. I was originally using a Global Cache GC-100. I recently got an old Digi Portserver to work. The 2 units are linked together via the Russound RNET protocol. You can connect to one RS232 port and and of the 6 zones on unit 1 or the 6 zones on unit 2. I call also send commands via a Network Resource to the same RS232 port. Since I have 2 units, I'm actually connecting to both RS232 ports. That way, if the app is connecting, I can still ahve commands run through the other port from ths isy-99i. If you do have keypads, you can run cat5 to any room, to control that zone. It also passes back IR from each keypad, so you could control a central source, via IR, if you did have a keypad. I picked up all my equipment through eBay. They won't have any warranty from Russound that way though. One interesting point to note however, is that if a unit is out of warranty, Russound has a flat fee repair service. I originally picked up a CAM6 for $80 that was broken. $300 got it refurned by Russound. I ended up selling it as I went to the CAV66 model. The only reason I'm using the CAV66 is that it has a paging function. It will interupt the audio (on selected zones), and broadcast your audio. I have a thread on this in the Network Rsources section. I'm adding audio/alerts to my isy-99i. Newer Russound's have a built in ethernet port, and more advanced app (for the ipad) right from Russound. I don't have a lot of experience with any other controllers, but so far, this is working for me.
  7. I did get some answers from Digi, and also some help from dpower on this thread: viewtopic.php?f=27&t=7792 I assumed that this needed to be set up for bi-directional communications, since I wanted to use an iphone app, that connects to my Russound system. (I'm already doing it with a Global Cache GC-100). After speaking with Digi, it really needs to be set up as a printer, even though it communicates from and to the Russound amp. Once I got the IP set, and I could telnet in, I was able to setup port 2 (which is in the range command below). There isn't a specific "no flow control" option. Basically, you just make sure all other flow control options are turned off. The following are the settings that I setup for my Russound connection: set port dev=prn range=2 set line baud=19200 csize=8 parity=N stopb=1 range=2 set flow aixon=off altpin=off cts=off dcd=off dtr=off ixon=off ixoff=off ri=off rts=off range=2 It's only using 3 pins on the DB9 side. I'll post later the pinout between the RJ45 and the DB9.
  8. I used a Smartlinc and upgraded to the isy-99i. The isy-99i is completely programmable to "Events". The smartlinc was more better suited to timed schedules. With the isy-99i, I can say "if the hall light is turned on, and the thermostat is set below 65 degrees, turn it up to 68". The isy-99i can also communicate with other network devices, and they can communicate with it. For instance, I have a Russound home audio system, with a RS232 port. I can send commands from the isy-99i to turn on specific zones, etc. I have mine set to turn off the kids bedroom zones at a specific time, if they left the music on when they went to sleep. The isy-99i also handles all the physical programming between the actual insteon switches. For instance, if you have 2 switches controlling one light (a 3-way setup), you normally have to link the two together. That means walking to switch A to link to B, and B to link to A. If you have 3 switches controlling 1 light, it compounds the problems. With the isy-99i, you do all the linking from 1 PC. You only have to link the switch to the isy-99i once, and then all links and scenes are controlled at the PC. There is more to it than that, but those are the biggies for me.
  9. Attached is the RIO protocol for reference. RIO Protocol for 3rd Party Integrators.zip
  10. Actually, I'm almost positve that the MCA-C3 uses RIO commands from Russound and not the ones that I have. However, I do have that RIO Protocol for 3rd Part Integrators PDF and it has the commands in it. From the document it looks liek the commands are MUCH simplier than the older commands. It looks like, the do not disturb command is this: C[c].Z[z].doNotDisturb Change the c and the z to the controller and zone. Leave the brackets. Valid modes are ON, OFF, and SLAVE So I'm guessing the command is SET C[1].Z[1].doNotDisturb="ON" for Controller 1, zone 1 to DND on. I'd take one of the existing wiki commands, load them in your isy-99i and then copy one, and modify like the above.
  11. Gary, I'm using Russound with my isy-99i, but it's a CAV66. It's connected via RS232 to a Global Cache GC-100. I have listings from Russound of all the RS232 commands, but I "think" the MCA-C3 commands are slightly different. I know the MCA-C3 has an integrated ethernet port so you skip the GC-100 connections. Have you tried any of the Russound commands that are in the wiki? If those work (zones on/off), then maybe the other commands will work. I will pull out all the commands I have now (PDFs), and see if I can find the do not disturb commands. Their commands are pretty odd, with a weird checksum on the end. If you aren't aware, there is an app for the CAV/CAA Russound units called Llama Panel Pro. I can use my iphone now to control my CAV. Russound has their own app for the MCA-C3 called My Russound for the ipad. I haven't been able to try that to see if it would work on my CAV. I don't think it does, but I haven't tried it. BTW - I'm doing a similar thing with the Russound, using DND for different paging areas. On my Russound, there is also a Paging On/Off, but I haven't found a way to set it, except in the initial programming. My method was going to be set all zones to DND On, then DND off for just the zone I want the message, and then when done, all zones DND off. I haven't gotten there yet. This would only be for messages triggered by my isy-99i. If you can test the Russound commands that are in the wiki, and they work, I can dig up the other codes for you. David
  12. The manual for my unit can be found here: http://ftp1.digi.com/support/documentation/9028700c.pdf And for reference, mainly my own, the raw port to connect is 21xx where xx is the portserver port. Port #1 is connected via TCP at port 2101. (Telnet is 20xx which isn't needed here and not to be confused with telnet into the portserver at it's IP address). Also for Russound RS232, it is 19200 baud, 8 bit, 1 start, 1 stop, no flow control, no parity. DB9 staright thru cable. PIn 1: NC, Pin 2: Transmit, Pin 3: Receive, Pin 4: NC, Pin 5: Ground, Pin 6: NC, Pin 7: NC, Pin 8: NC, and Pin 9: NC. I also found alink to this kind of cable pinout, but I can't confirm it works yet. rj45 - db9F 1 blue 1 5 green 2 4 red 3 8 white 4 6 yellow 5 2 orange 7 7 brown 8 3 black
  13. I've made some progress. To reset the Digiport 16 (not TS), to factory defaults you press and hold the left/right buttons and power the unit on. Keep holding until it shows EP on the screen. Then let go. That should reset it. To set the initial IP of the unit, you need to either connect with a terminal (eumulator) to Port 1, or use a RARP server. I was able to find a Windows RARP server here: http://www.panix.com/~perin/#rarp It's not the main program. Near the bottom, is a link to a server. You create a table of MAC addresses and IP addresses. The next problem for me was that RARPD only works on NT or XP. I brought my Portserver to work and found an XP computer. Then I had to turn off the firewall and run RARPD. Once the Portserver was powered up, it was given the IP from the table. I could then PING it, and TELNET into it, to set the IP as a permanent IP. So now I have a 16 port serial connection on my network. The next step will be to do something with the ports. I'll initially connect to my Russound to test. I know how it's supposed to work with the GC-100, and I can test compatibility. My goal is to run extra CAT5 to all my TV locations. All my new TVs have RS232 connectors for control. Hopefully I will get an extra 16 RS232 Ports, plus the 2 I have on my GC-100. If I can make this work, a $30 port server is a pretty good deal. I'll update this as I make progress.
  14. I just picked up a Digi Portserver 16 (not the TS). This must be older. Does anyone know how to set one of these up? For starters, I'm trying to just set the IP address. I found out how to reset it to factory defaults. In theory port #1 should be setup to telnet into it. I can't get that far. I'm not sure I have the correct pinout from RJ45 to DB9. It says it can use RARP to get an IP off the network. Unfortunately, I can't find a RARPD program that will run on Windows 7. I found one that might work on NT, but I can't get that to work. If I could get the IP set, then I could go the next step, of trying to setup the ports. I'm thinking that this might be too old of a model in the first place, and I might be better off with something newer. Anyone have any thoughts on a) the pin out, and setting the IP?
  15. Here is the output I get when I run it: Welcome to Unslung V2.3R63-uNSLUng-6.10-beta ---------- NOTE: THIS SYSTEM IS CURRENTLY UNSLUNG ---------- BusyBox v1.3.1 (2007-12-29 03:38:35 UTC) Built-in shell (ash) Enter 'help' for a list of built-in commands. # ser2sock Usage: ser2sock -p -s -h, -help display this help and exit -p port socket port to listen on -s serial device ex /dev/ttyUSB0 options -i IP bind to a specific ip address default is ALL -b baudrate set buad rate default to 9600 -d daemonize -t send terminal init string -g debug level 0-3 -c keep incoming connections when a serial device is disconnected -w milliseconds delay between attempts to open a serial device (5000) Error missing serial device name exiting #
  16. I was able to compile it. I had to move it into /opt/bin to make it execute. Then change the permissions 0755. I couldn't upload it as it was - it doesn't have an extension. Rename it to just ser2sock from ser2sock.zip. I copied it using WinSCP from the NSLU. I hope it goes back jsut as easily. If you can't download it from here, I'll email. Let me know if that works. ser2sock.zip
  17. I did find a copy of ser2sock.c here: http://www.nutech.com/index.php?option= ... =4&id=1158 I was able to execute gcc ser2sock.c and it came back without any errors. (logged in as root). I'm not exactly sure where the output goes, but I recieved no errors. David
  18. I just logged into my NSLU, using puTTy in WINSCP. I logged in as ROOT. At the command line I type just GCC and I got "no input files". So it's finding GCCc fine. Does your c program require something else? Is it downloadable someplace? I could try and compile it and see what errors I might get. If it compiles on mine, that it would be some kind of config issue at your end.
  19. I don't think I made any changes. When I was using it, it was to compile a module to be used with the LUA interpreter. ( a language I know very little about ). I used the MAKE and .config that came with it. Did you reboot the NSLU after making that changes? Maybe some environment variable needs to be set? David
  20. Waht I did was load the package called optware-devel. On my Unslung version it's : ipkg install optware-devel It's a really large package. 150mb+ I think. Some additional informaiton here: http://www.nslu2-linux.org/wiki/HowTo/N ... ngPackages That package includes a bunch of stuff. More than is probably necessary. Someplace it installs gcc the c compiler. I think that's what you will need. You should be able to move forward from there.
  21. I've never used that device but I have been playing around with the NSLU integrated with the isy-99i. (I posted some threads in the Network Resources secton). Which software version did you use to hack your NSLU? I used the basic one - Unslung. I've had to compile one program on my NSLU. I had to download the development package wich included the compilers. I looked quick, but I couldn't figure out what I loaded. Once you have that, you sould be able to compile that program. Based on this article: http://www.nslu2-linux.org/wiki/Applications/AlarmSlug It looks like the NSLU should recognize the USB adapter with the built in drivers? I'll look so more for the compilers, and see if I can figure out what I used.
  22. I know there has been discoussion before about the differences between the Venstar T1700 and T1800. I just replaced my T1700 with a T1800 so I am familiar with both. I also upgraded from V1.3 to V2.2 insteon controller. The major difference is that the T1800 is 7 day programmable and the T1700 is 1 day programmable. Some people have opted for the T1700 because they were going to control it with their isy-99i. Thre are a couple other differences, which I'll explain later. I live in the Northeast. Generally we are either in heating mode, or cooling mode. With a month in the Spring or Fall, where everything is really off. I've opted to set my T1800 in either Program Heat or Program Cool. I didn't want it in auto-crossover mode. That requires changing a setting, for manual crossover. I can then cycle through Off, Heat, Program Heat, Cool, and Program Cool. The last thing I want is for the A/C to come on when it's freezing outside. I am using my isy-99i to adjust my settings, but, I'm setting the T1800 up in Program mode anyway. We are generally on a schedule. I'm using the isy to adjust around that schedule as necessary. I'm also want ot make sure that if for some reason the isy locks up, or fails, that the furnace will still operate in the dead of winter. I'm also using the Program Heat vs. Heat in a "vacation mode". I have a button by the front door that I can set on - "vacation mode". If the thermostat is currently set to Program Heat sets it to Heat, and sets the temp to 60F. The reverse if it's set to Program Cool. One of the other reasons that I'm using the T1800, is that it has a setting called Energy Saver. If the thermostat is set in Program mode, when it is coming out of night to morning mode, it will try to have the temp at the correct setting, by the time indicated. For instance, if you set the thermostat to 70F at 7am, then it will try to be at 70F AT 7am, not jsut set the setpoint to 70F at 7am. It will call for heat before that time. The manual says that it takes 4-8 days for the thermostat to learn your house. This can't be done using the T1700, with just the isy controlling the temp, unless you can create all the logic and tell it when to come on, ahead of time. The last thing that the T1800 can do that the T1700 can't is it has a programmable fan. You can set the thermostat to turn the fan on for a number of minutes at the top of each hour. You can also set the on/off window as well. This will help circulate air throughout your house to eliminate deadzones, as well as run the air through your air filters. You can do this with isy-99i as well, but in this case, the T1800 is handling that function. I just wanted to put this out there for anyone doing some thermostat research. I got a good deal on the T1800, and for now I'll probably just sell my T1700 with it's v1.3 insteon controller on ebay. For me it was worth the upgrade.
  23. Thanks for this! I put it on my system last night and it appears to be working just fine. I'll probably create some kind of monthly report/reset program to view the longer term data. I just switched out my thermostat (twice). I originally put in a Venstar T1700, but then replaced it with a T1800. My original thermostat was a modulating thermostat. Unfortunately, there doesn't appear to be a modulating thermostat that is insteon controllable. Using a Venstar makes my furnace operate as a 2-stage (Actually 3 stage - the furnace ramps up from 40%, to 65% to 100%, based on its own internal logic). I'm trying to decide if there a difference in furnace runtime. It seems like it doesn't warm up as fast, but, it's difficult to compare. We are also in the middle of a remodel, and some walls are out, so all the airflow is already messeed up. We've also had a VERY mild winter here. I'd like to be able to compare my runtimes vs. my natural gas usage on a monthly basis, and this might be very helpful. I'd some point, I'm going to create a home status web page. (probably using my NSLU - see my other threads in the Network Resources section). I'd like to include some of this information on there as well. I'm adding a Sony Google TV to my kitchen. At a glance, I'd like to be able to see the "house at a glance". I'm not sure how I'm going to accomplish this yet, but I'll get there.
  24. Thanks for this little program. I used this with a Synchrolinc attached to our family room TV. It tracks the minutes for each day, then sends a notification with the minutes. Then resets each day. Helps keep track of the kids TV watching after school.
  25. I'm actually going a slightly different route. I'm installing a tiny linux box right next to my isy-99i. Then I'm connecting a 1-wire USB controller to that (and I can have a bunch of remote sensors attached to it). The setup is relatively cheap, and opens up other options to integrate with the isy-99i. The linux box polls the temperature readings and then sends a REST command to update a temperature variable on the isy-99i. I'm still in the testing phase (but it works) and when I get done, I'll do a write up on it. This is going to give me inside and outside temperature, as well as multiple zones in the house. The linux box is also pulling weather conditions/forecast from the internet, and ultimately, will convert text to speech and be playable through the whole house audio system.
×
×
  • Create New...