Jump to content

larryllix

Members
  • Posts

    14889
  • Joined

  • Last visited

Everything posted by larryllix

  1. Well I did mean just devices but since you raised it....
  2. Some Leak sensors send On and then Off alternatively for a heartbeat while apparently some newer units only repeatedly send On. If you check the status of an older unit it could be in any state and quite normal.
  3. This seems rather odd that want to disable a folder containing a program and yet have the program continue to run. You program snapshot is rather small text and low res, to be readable, for me so I don't understand why you are trying to do this. Maybe a clearer explanation of what you are trying to do. We got some sharp ones here. On the surface it would seem if you want the timer to finish you must not disable it's folder, or take the program out of the folder., or create another program, out of the folder, to do the job. When you re-enable the folder the timers inside the programs are not relevant anyway. You probably need to rethink your logic somewhat and find another way to accomplish your mission (should you choose it.) If what I think you want to accomplish is have any timers in the folder complete before disabling further triggers in the programs. This could be done with folder logic looking at all the programs statuses inside. So that my program statuses look nice for Mobilinc and Admin Console I often use an Else call at the end of each Then section. If whatever Then do something Wait 1 second Run 'This program' (else) Else ----- You could also have each program disable itself as a last line in each. You can detect a program is true and also detect how long since the program was last run but IIRC not if it is running currently.
  4. Insteon. I have read other forums and listened to the complaints and used X10 since the 70s and Insteon has them all beat except for the lack of device variety.
  5. Do you have other Insteon devices that were not on? Also, view your event logs in level 3 after operating these in question several times and compare the "hops left" count. Try the same after operating at the midnight usual time and see if you get variances. This usually indicates comm problems.
  6. The program is halted and disabled.
  7. Backup old ISY data Need to get copy of old ISY variables and create in new ISY. There may be a better way to do this one. Maybe restore will create them??? Pull in the backup file into your new ISY with Restore. Rename all your devices by adding XX to the end of each name. -Install new Insteon device with same names (no XX) -Use find/replace to replace all occurrences of that device name using XX with device name not using XX -Delete device with XX Repeat above three steps until all XX's are gone. Save frequently in case of mistakes This is a PITA but the only way I know to preserve your code and swap in new Insteon addresses.
  8. Usually with notifications you need to use two programs. The first program has the trigger and calls the second program (disabled) as a subroutine. The second program disables the first program, sends out notifications, waits awhile until ready for another notification, and then enables the first program again. Hysteresis is the deadband between on and off levels.
  9. I have to disagree somewhat. If I send an X10 On to an Insteon LampLinc module ISY has no idea the lamp has turned on unless I detect the X10 command or manually query the LampLinc module. Also, ISY does not keep track of scene statuses and presents no status on the scene's setup page. This was discussed elsewhere that ISY can send scene commands but not (or won't) receive them. ISY only keeps track of commands from itself or initiating devices and doesn't really know the true status of any device. This is why there are so many ISY status blanks on power up. Most of the time this is transparent.
  10. I use one Switchlinc Dimmer for seven different scenes. Double tap up -- all lights in room on full Single tap up - Lights in TV watching mode, toggles between reading mode scene Long press up - brighter scene for room Long press down - Movie watching mode and trn on coloured lights around perimeter Single tap down - All lights off scene - bedtime Double tap down. - Turn on coloured lights only - turn on Off scene for white lights I use these programs to set one variable to a value (non zero except Off scene). I built many programs that turn on scenes based on that variable value. If I change an involved light say... brighter over a desk, when I turn off that switch over the desk I can resume the scene by setting the variable to -1 (no scene) and then back to it's value again. ISY is automagic! Here is a sample of both ends of this code using the double tap up command on any of 4 SwitchLinc Dimmers ora 4 button RemoteLinc that clones the tapping styles of the main SwitchLinc. Note $cMODE.FULLON is an integer variable only used for a constant and predefined in the variables for easy reading and programming. Also note the use of a second variable, $sGathRm.Colours, to duplicate this process with coloured light scenarios. GathRm Mode.FullOn.select - [ID 005F][Parent 0004] If Control 'Gathering Room / PotLights over Chairs' is switched Fast On Or Control 'Gathering Room / GathRm KeyPad.A' is switched Fast On Or Control 'Gathering Room / PotLight over Desk' is switched Fast On Or Control 'Gathering Room / PotLight over Table' is switched Fast On Or Control 'PotLights over TV' is switched Fast On Then $sGathRm.Mode = -1 $sGathRm.Mode = $cMODE.FULLON $sGathRm.Mode Init To $sGathRm.Mode $sGathRm.Colours = $cCOLOUR.FULLON Wait 1 second Run Program 'GathRm Mode.FullOn.select' (Else Path) Else - No Actions - (To add one, press 'Action') Here is one program that actually operates the white light scene GathRm Mode.FullOn - [ID 00AF][Parent 00C8] If $sGathRm.Mode is $cMODE.FULLON Then Set Scene 'Gathering Room / FullOn' On Else - No Actions - (To add one, press 'Action')
  11. Sorry for the sideline but.... For both our educations. DR Front On Program If Status 'CR / Devices / CR FanLinc-Light 80' is not Off { Or Status 'KT / Devices / KT Ceiling 50' is not Off { Status is used instead of Control, so it doesn't matter how the light was turned on Or Status 'LR / Devices / LR Ceiling Light KPL 20' is not Off { Then.... How does ISY know if a device was operated via some scene or - do you never operate devices involved via scene control, or - do you detect the scene operation via the initiating device command sent, or - will status always know a devices status? I didn't think this was true and hardly ever use it anyway - other
  12. There is a bit of a defacto standard attempting to evolve for 1wire over Cat5/6 cable and using the same as Ethernet RJ-31? 8 pin connectors but it can get expensive and inconvenient for certain wiring configurations. sheepwalk electronics tends to support this 1wire connector system with daisy-chainable connectors on each board to use store bought cables, if desired. The connections diagrams I found online never agreed with the sheepwalk electronics connections or each other for that matter.
  13. Each 1wire probe/IC takes a custom designed interface to use that probe. There are no generic drivers to accommodate a line of them. The DS2438 battery management chip is used because it has a temperature sensor built in and an A/D converter that allows the use of an analogue humidity sensor's output. The DS2438 also talks 1wire to controllers. The DS2438 battery management chip is used in the SWE3 combo sensor board and offers temperature and humidity in one connection. Apparently the DS2438 chip uses a quite different interface style from the common DS1820 temperature probes people are using mostly so gives firmware writers a problem. CAI with their WebControl 8 board attempted to create a driver for the DS2438 chip but had many problems with it. They since discontinued support for the DS2438 chip on their 1wire port. Autelis (that Teken has) never supported the DS2438 chip AFAIK. RPi uses an adapter and can support the DS2438 chip. I have tried it and it works. WebControl 8 and Autelis both use a bit-banger interface (mostly software) and multitasking, timing critical, interfaces can be a problem depending on hardware timers etc. available to support the software interface. Rpi is mostly done in hardware and tends to be more reliable and more costly with interface cards and custom enclosures required. I explained the reboot problem previously and let me add that I was monitoring the WebControl stuffing date and time into my ISY every 8 and 10 seconds and not allowing any misses. Once I dropped the 1wire humidity sensor, CAI loosened their watchdog timing, and I loosened my watching noose, the problem basically went away. Many others never had a problem, not watching so closely, and not trying to add weird sensors using long cables. CAI WebControl board has a discreet set of 3 terminals to direct connect a humidity sensor. As I stated before I would not want to increase leads by more than about 5-6 feet due to noise pickup on sensitive lines. Untested. Shielding and other techniques would be in order for longer lengths. CAI has available a WebControl 32 board that implements 1wire in hardware also. No experience but they both use an easy to write PLC language with limited memory space but usually workable for any controller application. The Autelis may be a good compromise if not too many customisations are required at that end of your system. Teken would have to tell you about any logic that Autelis can do. If you are an adept programmer with Linux and Python experience, the RPi offers all the options for multiple applications but the learning curve is very steep and help can be very hard to find that applies to your 1 of 10,000 different distros, hardware, python versions and other options. I found most information didn't apply. All options are going to run you $120-200 or more to get up and running. RPi will require a spare keyboard and newer monitor with HDMI inputs to get going. You have to pick the complexity of setup vs flexibility as a tradeoff.
  14. Thanks Teken. Yeah I confused the DS1820 with the DS2438 part numbers. Apologies for the confusion.
  15. Need to look harder. Darn! I used the wrong prefixes....fixed They are very popular, everywhere and frequently sold in groups of 5, 10 or 100 pieces. http://www.ebay.ca/itm/1pcs-DS18B20-Waterproof-Sensor-Digital-thermometer-Thermal-Probe-ds18b20-sensor-/131559792384?pt=LH_DefaultDomain_0&hash=item1ea1931f00 The Webcontrol rebooting was resolved by not attempting to support the DS2438 humidity sensor and finally increasing the watchdog time. It seems the board's limited memory space being shared was causing too much delay between 1wire and Ethernet comms and the board watchdog would assume a crash and reboot. This humidity sensor was never supported by Webcontrol or Autelis (never implemented it). The interface is very difficult to interface on the same 1 wire port with the other more common probes. IIRC, it used a faster bit rate and has many more registers internally. RPi does it, though. Humidity IC can be direct connected to the board and not via 1Wire. I wouldn't want to extend leads more than about 6-10 feet from the board. My temperature probes on 1 wire would be fine for less than 15-20'. The interface is very raw, right into the CPU pins, without filtering etc. Others use long cables with the 1wire successfully. I had my 1wire humidity sensor confusing the issue and haven't got back to lengthening my just temp probe cables yet. After reading more on 1wire slew rates, and scoping the lines, I figure I can make this reliable with a few simple parts and I was doing it wrong. The WebControl switches the line too fast, and causes echoes, while the well designed probes seem to have a slower slew rate and do not cause overshoot in signals.
  16. Interesting unit! It seems there has been many different versions and they have changed their battery requirements a few times now. The Aeotec site shows the latest version taking two CR123A batteries. These are a 2/3 AA size 3v lithium battery. My old camera used those and something to beware of. They did cost over $15 a piece, years ago, making a battery change about $30 per year or sooner. I also found some bitching about the batteries dying while trying to setup the unit. I couldn't determine if batteries came with the units or not. YMMV.
  17. I use the WebControl board as a cheap option. I would use it again for certain situations as I am familiar with it and it is easy to interface to the ISY. I use it to stuff in/out high/low for the day temps, humidity, wind speed and wind gust speeds into ISY variables. - I had no success with the 1-wire combo humidty/temperature sensor (24B38? Autelis doesn't support either, RPi does) for sheepwalk electronics. Support drivers have since been discontinued in newer versions of firmware. - it has a direct humidity sensor input that appears to work well directly connected. - it supports 8 x 1wire DS1820, DS18B20 etc.. temperature sensors on one 1Wire input very well, analogue &TTL inputs and TTL outputs - runs on 6-12vdc PS - it has hardware counter input good to 2 MHz. - it can do direct email on command and stuff 8 different variables/programs/device controls directly into ISY via Ethernet - supposed to control X10 devices but why would I want that with an ISY? - newer modules have been heat tested to 70-80 degrees C after some complaints about heat in boxes out in the sun. -watchdog built in will reboot if failure detected. - UTC based real-time clock with access, for time slice program execution or integration of event counts over time. Note: These DS18B20 sensors you can buy on eBay for $1.99 are 0.1 degree resolution and 0.5 degree rated accuracy. With a more accurate standard I am sure you could calibrate them individually by tweaking the curve in software. I believe these sensors are stable to maintain consistency. after a burn-in period. EDIT: corrected IC names.
  18. After wire clipping the component pulls back before the solder process. I can see the hole in the pad very clearly in the picture. Next time I will have to come out there and help you inspect the soldering. Will I need a parachute?
  19. Ok. Your OP stated "cold solder joint". Just a slip of the pen finger mind meaning typo attachment keyboard then! Oh. Now I see the finger you should have used!
  20. When the sloppy line worker didn't clean the ends of the wires stubs the wave-solder machine didn't cause the solder to stick to the ends of the wires. I didn't see any cold solder joints, just an improperly prepared wire end that the wave of solder didn't stick to. It was shiny. You come along with your higher temperature soldering iron and burn the low temperature polyurethane/Polysol coating off the magnet wire and make the solder stick.
  21. Further to his comments above, I believe LeeG uses X10 devices as Virtual Devices (VD?) he can easily see in logs and event lists to prove his testing results.
  22. Right click on your program and select "copy to clipboard". Then paste it in here and people can help you properly with your application. Others here have experience with this EZIO40 unit and I know they have some quirks that need to be understood.
  23. Awesome! Image the poor SOB getting four defective units from SH! Now I wonder if they were purchased - sequentially, - all together, or - each unit was sent out as a warranty replacement for the previous. Either way SH needs a kick in the Marrettes wirenuts.
  24. I use two programs to do this based on how many MS units have reported it being dark. Note I use a lot of time delays between brightness changes as these types of operations tie my ISY communications up and prevent other operations for a long time. These two programs could be combined into one using Then and Else and run from one time frame condition such as If From sunrise + 10 minutes To sunset - 10 minutes Then ... Set SwitchLinc LEDs Bright - [ID 0027][Parent 0036] If $sHouse.Dark.Count < $cHOUSE.DARK_THESHOLD Then Wait 5 seconds Set 'Gathering Room / PotLight over Table' 20% (Backlight Level) Wait 5 seconds Set 'Gathering Room / PotLights over Chairs' 20% (Backlight Level) Wait 5 seconds Set 'Dining Room / Dining Table' 23% (Backlight Level) Wait 5 seconds Set 'Gathering Room / PotLight over Desk' 15% (Backlight Level) Wait 5 seconds Set 'Foyer / Front Porch Lights' 15% (Backlight Level) Wait 5 seconds Set 'PotLights over TV' 15% (Backlight Level) Wait 5 seconds Set 'Mudroom / MudRm Potlights' On 12 / Off 2 (Backlight Level) Run Program 'Set SwitchLinc LEDs Dim' (Else Path) Else - No Actions - (To add one, press 'Action') Set SwitchLinc LEDs Dim - [ID 0007][Parent 0036] If $sHouse.Dark.Count > $cHOUSE.DARK_THESHOLD Then Wait 5 seconds Set 'Gathering Room / PotLight over Table' 5% (Backlight Level) Wait 5 seconds Set 'Gathering Room / PotLights over Chairs' 7% (Backlight Level) Wait 5 seconds Set 'Dining Room / Dining Table' 8% (Backlight Level) Wait 5 seconds Set 'Gathering Room / PotLight over Desk' 5% (Backlight Level) Wait 5 seconds Set 'Foyer / Front Porch Lights' 5% (Backlight Level) Wait 5 seconds Set 'PotLights over TV' 5% (Backlight Level) Wait 5 seconds Set 'Mudroom / MudRm Potlights' On 7 / Off 2 (Backlight Level) Run Program 'Set SwitchLinc LEDs Bright' (Else Path) Else - No Actions - (To add one, press 'Action')
  25. All devices must be installed in the ISY first. This is done on the Admin Console. There is a convenience icon on the tool bar. After that, using another icon on the toolbar un the devices tab you can create a scene, name it, then drag devices and drop them into the scene answering questions that pop up. This connects the devices in the scene by installing link codes in each and every one of them involved and now do not require ISY to communicate for that scene attributes. Battery devices MUST be in linking mode or this will not talk to them and you will see lot of red icons on your Admin Console. Scenes can be treated just like a single device. You can modify scenes easily from your ISY and set ramp rates, dim levels etc. like radio station preset buttons. Just turn the scene on or any controller can do it. Insteon devices can hold about 256 scenes each. ISY simplifies this complicated process without it.
×
×
  • Create New...