Everything posted by apostolakisl
-
Any way to track duration of power outage?
The cheapest way to do it is to put your ISY on a UPS. Install the programs I wrote a few months ago that set variables to the time (hours and minutes). Have a program that queries a reliable device every so often, like once per minute. Then write a couple programs that set start of power outage to two variables (like $i.powerouthour, $i.poweroutminute) when the query first fails. The same program enables a second and disables itself. The second program writes the end of of power outage variables when the query succeeds (like $i.poweronhour, $i.poweronminute) and then that program re-enable the first program and disables itself. Of course if the power goes on and off multiple times you will only get the last one. Alternatively, you put your ISY and internet service on a UPS and have ISY send an email when the query fails and an email when the query first succeeds.
-
Repair of 2413S PLM When the Power Supply Fails
That would be nice. Like being able to change your mac address. It would make replacing any device easier.
-
Repair of 2413S PLM When the Power Supply Fails
Maybe we should leave the lid off of it?
-
I think we're doing it wrong.
The simple/not simple part of the home automation is not the button(s). It is setting up the button's action. How this makes that easy doesn't seem to be addressed. Plus, one button, one task. Unless you want to get complex and have the button do different things based on current conditions. But now your programming of the button just got that much more complex. This solves nothing except to look like the silly Staples commercials. Now if the button summoned your AI computer to ask you what you wanted and then it could parse out your answer and execute it for you, that would be great. Though Apple and Google are starting to get there with that.
-
I think we're doing it wrong.
Looks like an SNL skit. If it is real, I feel sorry for them. Gonna lose a lot of money.
-
Repair of 2413S PLM When the Power Supply Fails
I'll take a look. But . . .. when I went to buy it, they were our of stock, and my system was dead in the water. So I went hunting and found another source that had one in stock. Now, I am wondering if the reason they were out of stock is that they were waiting for the new revised version and I unwittingly bought old stock from a 3rd party.
-
Repair of 2413S PLM When the Power Supply Fails
Thanks for your research. Mine is still up and running for a couple weeks. Somebody should just order like 20 or 30 sets of those capacitors and make a little repair kit to sell. They could easily mail in a padded envelope for pennies instead of the $8 or so Mouser charges. My big conundrum is whether to replace the caps on my new one which is currently running my system. "If it ain't broke, don't fix it" keeps coming to mind. Maybe I'll buy the caps, put them in a baggy and tape them to the unit, ready to go for that day.
-
Isy programming
You illustrate the point nicely. The red are responses to the question "in scene". Controller 1, controller 2, etc. are device names, not scene names. Human names for devices and scenes are an ISY property, not an Insteon property, and the current "in scene" format doesn't follow the naming and organizing conventions established elsewhere by ISY. Quite possibly the most important aspect of an ISY is to take the Insteon addressing system and put it into an intuitive user interface. Insteon addressing doesn't respect the human naming of scenes, ISY has created that, and in this instance, ISY is blending things. Even if it said "in scene or scene controller device" it would be accurate, though still perhaps non-intuitive. That is why I believe there has got to be a better way to organize this. EDIT: OK, here is an idea on how to do this. First change the name to "adjust device and scene settings" When you click on it, you get the full list of devices and scenes (at least ones that have settable attributes), then when you click on a scene or device, you get a pane that opens just like the main ISY page that allows you to set things using the same exact methods as you do from the main page.
-
Isy programming
No, not confusing two things, these are two things. 1) In a program, you are given the option to "adjust scene" Your next choice is "in scene" It should follow then that you are presented a list of scenes. However, in the drop down menu you are presented with a list that includes the names of scenes, and individual devices. This makes no sense on the surface and requires a fair amount of research to figure out what the heck it is doing there. A device is not a scene and to "fill in the blank" with the name of a device when presented with the question "in scene" is using incorrect naming language. What it is meaning to say in that situation is "devices controlled by this device". Of course you can't only say that, since the list also includes scenes. I am not entirely sure how to make this naming more correct and intuitive. I have some ideas, but they seem messy to me, but I am sure there is a non-messy way to do it. 2) The second thing I totally agree with you on. Since air-gap is no longer required to adjust local properties, why not include direct access to devices for changing local control properties. Why require the workaround of putting a device in a scene as a controller to adjust its local control properties via a program. I understand that it was happenstance that because scene adjusting allowed local control properties to be adjusted, that ability got in there when adjusting scenes even though the device wouldn't actually change without a power cycle.
-
Isy programming
So, I have an idea, why don't we solve the problem. 1) "Adjust Scene" is incorrect. When you are presented with a list that includes names of devices and scenes where it says "in scene", that is incorrect nomenclature. A device is not a scene and therefore should never be listed as on option for "in scene". UD should at least re-label the situation as I mentioned in another thread. This is confusing to say the least. 2) UD should also re-do "adjust scene" to include devices on their own. There are historical reasons for not being able to adjust devices programmatically, (the fact that a power cycle used to be require after such a change). But this limitation does not exist with devices made for years. 3) In the mean time, put any devices you want to adjust programmatically into a scene as a controller. If that means a one device scene, then so be it. This here is the point of this particular thread and could have been taken care of many posts ago.
-
Isy programming
Not sure what you are talking about. I have a scene I call "all" and it contains almost every one of my devices as a responder. There is no reason I could not add the last couple devices if I wanted to (but I don't which is why I have this scene, so i can turn all the lights on during a fire alarm and not also turn on the bathroom fans).
-
Isy programming
OK, it appears that a device that is not in any scenes doesn't show up at all. I really didn't notice this since damn near every single one of my devices is in a scene that is called "all devices" So my suggestion to you would be to create a scene and call it "all devices" and put them all in there.
-
Isy programming
I have to say, mine has some odd stuff that I would like explained. Items listed as devices, also bring up all devices that are responders to that device in the "set" drop down. If I change those other devices, and go to the scene menu for the scene it is a controller, then click on that device in the scene to get the "applied local" showing, it shows that the "set" device changed, just under the "applied local" setting for the primary device. The device does not change under its own "applied local" menu. If I select the same device in the "in scene" menu and the "set" menu, then it changes the local on level. . as expected.
-
Isy programming
You can adjust both the applied locally attributes, or the attributes as it responds to a scene. When using "adjust scene" (this is a bad name) you can adjust not only scenes but applied local. If you want to adjust the local attributes, then pick the device from the first section of the drop down list where it lists all your devices with a little square icon to the left. If you want to adjust the device as it responds to a scene, select the name of the scene (with the circle and 3 dots in it icon), then pick which device you want to adjust.
-
How to trigger program when outletlinc is turned on
This would check for the status turning on, but exclude the remote. If control 'remote' is switched on then $i.outlettest = 1 wait 3 seconds $i.outlettest = 0 If status 'outletlinc' is on and $i.outlettest = 0 Then send email EDIT: or this might be better. If control 'remote' is switched on then disable program 2 wait 3 seconds enable program 2 Program 2 If status 'outletlinc' is on Then send email
-
How to trigger program when outletlinc is turned on
If your outlet linc did a have a control switched on, using this as the trigger would not trigger the program from 'a stray signal' since the outlet linc would be the responder. control switched on only triggers when the on command was first generated by the device in question.
-
Monitor sump pit level with ISY
PLC firmware. The ribbon cable can be directly spliced to a cat5 or some other wire, you can use a screw down blocks, or you can punch it into a female cat5. What I have done is punch the ribbon cable into a female cat5 plug and then use standard cat5 patch cable to connect other stuff. That gets you 8 conductors which will be several more than I would expect you would need. You can cut an extra hole in that enclosure to mount the cat5. Or whatever.
-
Monitor sump pit level with ISY
You know, I am not 100% sure if safe mode stops programs that don't involve Insteon comm from executing. I suggest you give it a try, my suspicion is that it will work. Go ahead and write your programs that use a variable to trigger an email. Then unplug your plm. Then use REST commands to set the variable manually via the network. The ISY won't know the difference between a manual REST command and the webcontrol board doing it. As far as webcontrol enclosures, I have seen some sellers on ebay sell them with the custom enclosure. There is an enclosure out there designed for it. EDIT: here is the enclosure. http://www.ebay.com/itm/WebControl-Metal-Chassis-/260319272733?pt=Home_Automation_Kits&hash=item3c9c3cdf1d EDIT again: You will also need the plug and ribbon cable for the input. It is listed in the user manual which you can download. I found them at a local store altex electronics. Not sure who else would have them in stock, maybe Fry's or Radio Shack? doubt Radio Shack, but maybe.
-
Monitor sump pit level with ISY
The PLM has nothing to do with network data (such as a webcontrol/raspberrypi/etc input or email/network resource command output) into and out of ISY. Putting a UPS on the PLM is a bad idea since it elliminates all power line data in/out of the PLM forcing at least one hop each way to be rf. Also, it accomplishes very little since pretty much none of your other Insteon devices will work in a power failure (except for battery operated stuff).
-
Monitor sump pit level with ISY
Webcontrol board, Raspberry Pi, Beagle Bone, etc. True, they don't come with enclosures, but they all have enclosures available separately. They are all quite reliable in the application you describe and can be inserted anywhere you like on your network, even in an outside network provided you set up port forwarding. Personally, I have lots of experience with webcontrol board which would only require a handful of lines of code to post to ISY. If you put your webctontrol board, router/modem/switch, and ISY on a UPS, all of this will work even in power outage. If it is email/text notification you are looking for, then webcontrol can do that directly without ISY. If you wanted more robust, put a cellular communicator for your internet backup..
-
Adding ELK to ISY, creating a program to flash lights when Elk is armed
I wrote a rule in Elk itself that chirps the outside sirens when armed away. I used to have it flash the lights next to the garage, but found that to be unnecessary. If you do that, and these same lights are supposed to be left on at night or during some certain hours of the day, then the last line of the program needs to call the program "if" clause that sets them in the first place. If elk is armed away Then set garage light to on wait 1 sec set garage light off run program 'evening outdoor lighting' if You can't chirp the sirens from ISY (that is one of the few features not included), so that is why I used an Elk rule.
-
Help with a program that is not functioning as designed
I would get rid of the wait 1 minute in the first program. It opens the possibility of the program getting terminated during that 1 minute and the second program never running. Also, be aware that the way this is written, if you change the toilet light from any value above 61% to any other value above 61%, it will start the second program over again, or if you drop below 61% and then raise it back up. That may or may not be something you want to happen. If you want the second program to run all the way through, have it disable the first program as the first "then" line and the "enable" it again as the final line.
-
How to get an email when synchrolinc goes on/off
You could do the same thing without the variable. You are effectively using the variable to disable the program's back and forth. You would also get the same result using the 5 second delay on the synchrolinc itself, except that an on cycle that lasts fewer then 5 seconds would just get ignored. Since your original stated goal was to know if the pump was running continuously for a long time, then you would still be achieving your end goal. On program: If Status 'Sump' is On Then Send Notification to 'Default' content 'Sump on' enable program "off program" disable program "on program" Else - No Actions - (To add one, press 'Action') Off program: If Status 'Sump' is Off Then Wait 5 seconds Send Notification to 'Default' content 'Sump off' enable program "on program" disable program "off program" Else - No Actions - (To add one, press 'Action')
-
ISY and PLM Communication Confirmation
ISY does not store up its communications when the PLM is offline, waiting for it to come back online. But I have to wonder, what would you be trying to send an Insteon message to when the power comes back on?
-
Sun Angle
Well, kinda. The time of year will alter things. In the winter (in the northern hemisphere), the arc the sun follows will be further South, it will be shorter, and the sun will move on that arc at a different speed. Santa Monica is fairly South, so it won't be as extreme an issue as say Seattle. There are programs that tell you exactly where the sun will be on any day of the year at any geographic location at any time. If you really want to nail it down, you need to consult those programs, then alter your shades per the date. Or you could just figure being off by a few minutes is no big deal and base it on a fixed time before/after sunset/rise.