Everything posted by TJF1960
-
How To: Filtrete 3m-50 wifi thermostat basic program
Here is a script I have modified to retrieve data from the thermostat and send the data to variables in the ISY. First I would like to thank 87squirrels for his code for the tstat (http://forum.universal-devices.com/viewtopic.php?f=68&t=6009&p=50006&hilit=filtrete#p50006). This modified script will only retrieve data and send variable updates to ISY. It will not change set points etc. on the tstat. Those can be changed via Network Resources in the ISY itself. This code works on the PogoPlug which is Linux based, so it probably will work on other similar units. It will retrieve the data from the tstat and send the updates to the ISY every two minutes. After the initial data is loaded only changes in the data will get sent to the ISY to save on resources. Here is the disclaimer: I am not a programmer or coder....as such there are probably a lot of things that could be changed to improve the script. If anyone has constructive criticism or suggestions they are welcome. Look thru the script for # and change the following line(s) as needed. I would suggest following the tstat API for a description of terms etc. http://central.isaroach.com/wiki/index.php/Tstat_APIs #!/bin/bash #Change this next line to your 3M-50 IP address var_tstat="http://xxx.xxx.x.xxx/tstat" #Change this next line Name Password to the user name and password for your ISY var_wgt="/usr/bin/wget -q -O /dev/null --http-user=admin --http-password=admin" #Change the IP address to your ISY IP address var_ISY="http://xxx.xxx.x.xxx/rest/vars/set" #This next line gets the current time provided by Pogoplug and parses it for a usuable number for ISY variables TIME=`date | cut -c12-19` var_hb="$(echo "$TIME" | sed "s/[^0-9]//g" | sed 's/0*//')" STR=`/usr/bin/wget -q $var_tstat -O -` TEMP=`echo $STR | sed -e 's/.*temp":\([0-9]*\).*/\1/'` TMODE=`echo $STR | sed -e 's/.*tmode":\([0-9]*\).*/\1/'` FMODE=`echo $STR | sed -e 's/.*fmode":\([0-9]*\).*/\1/'` OVERRIDE=`echo $STR | sed -e 's/.*override":\([0-9]*\).*/\1/'` HOLD=`echo $STR | sed -e 's/.*hold":\([0-9]*\).*/\1/'` THEAT=`echo $STR | sed -e 's/.*t_heat":\([0-9]*\).*/\1/'` TCOOL=`echo $STR | sed -e 's/.*t_cool":\([0-9]*\).*/\1/'` TSTATE=`echo $STR | sed -e 's/.*tstate":\([0-9]*\).*/\1/'` FSTATE=`echo $STR | sed -e 's/.*fstate":\([0-9]*\).*/\1/'` #Change the following numbers to match your variable numbers in ISY. ex $var_ISY/2/160/$TEMP change 160 to match which variable you choose for Temp. $var_wgt $var_ISY/2/160/$TEMP $var_ISY/2/161/$TMODE $var_ISY/2/162/$FMODE $var_ISY/2/163/$OVERRIDE $var_ISY/2/164/$HOLD \ $var_ISY/2/165/0 $var_ISY/2/166/0 $var_ISY/2/165/$THEAT $var_ISY/2/166/$TCOOL $var_ISY/2/167/$TSTATE \ $var_ISY/2/168/$FSTATE $var_ISY/2/169/$var_hb #This puts the program to sleep for 2 minutes then continues on below. sleep 120s while true do TIME=`date | cut -c12-19` data="$var_wgt " var_hb="$(echo "$TIME" | sed "s/[^0-9]//g" | sed 's/0*//')" TEMPOLD=$TEMP TMODEOLD=$TMODE FMODEOLD=$FMODE OVERRIDEOLD=$OVERRIDE HOLDOLD=$HOLD THEATOLD=$THEAT TCOOLOLD=$TCOOL TSTATEOLD=$TSTATE FSTATEOLD=$FSTATE STR=`/usr/bin/wget -q $var_tstat -O -` TEMP=`echo $STR | sed -e 's/.*temp":\([0-9]*\).*/\1/'` TMODE=`echo $STR | sed -e 's/.*tmode":\([0-9]*\).*/\1/'` FMODE=`echo $STR | sed -e 's/.*fmode":\([0-9]*\).*/\1/'` OVERRIDE=`echo $STR | sed -e 's/.*override":\([0-9]*\).*/\1/'` HOLD=`echo $STR | sed -e 's/.*hold":\([0-9]*\).*/\1/'` THEAT=`echo $STR | sed -e 's/.*t_heat":\([0-9]*\).*/\1/'` TCOOL=`echo $STR | sed -e 's/.*t_cool":\([0-9]*\).*/\1/'` TSTATE=`echo $STR | sed -e 's/.*tstate":\([0-9]*\).*/\1/'` FSTATE=`echo $STR | sed -e 's/.*fstate":\([0-9]*\).*/\1/'` #Change the numbers below like you did above to match your ISY variables. if [ "$TEMP" != "$TEMPOLD" ]; then data="$data $var_ISY/2/160/$TEMP" fi if [ "$TMODE" != "$TMODEOLD" ]; then data="$data $var_ISY/2/161/$TMODE" fi if [ "$FMODE" != "$FMODEOLD" ]; then data="$data $var_ISY/2/162/$FMODE" fi if [ "$OVERRIDE" != "$OVERRIDEOLD" ]; then data="$data $var_ISY/2/163/$OVERRIDE" fi if [ "$HOLD" != "$HOLDOLD" ]; then data="$data $var_ISY/2/164/$HOLD" fi if [[ "$STR" =~ "t_heat" ]] && [[ "$THEAT" != "$THEATOLD" ]]; then data="$data $var_ISY/2/165/$THEAT $var_ISY/2/166/0" fi if [[ "$STR" =~ "t_cool" ]] && [[ "$TCOOL" != "$TCOOLOLD" ]]; then data="$data $var_ISY/2/166/$TCOOL $var_ISY/2/165/0" fi if [ "$TSTATE" != "$TSTATEOLD" ]; then data="$data $var_ISY/2/167/$TSTATE" fi if [ "$FSTATE" != "$FSTATEOLD" ]; then data="$data $var_ISY/2/168/$FSTATE" fi data="$data $var_ISY/2/169/$var_hb" $data sleep 120s done Good luck! Tim
-
Cleaning Lady and Thermostat
I should think that info would be included in the Elk owners manual. I have a DSC alarm and when any user code is entered the system automatically arms from a dis-armed state. If an entry/exit door is opened during the exit period the alarm arms in away mode otherwise it arms in the stay mode. Have you tried entering her code to see what will happen?
-
Cleaning Lady and Thermostat
I don't have an Elk but it seems to me you could used the Elk's Armed State, if the Elk is disarmed set tstat to whatever. Then as oberkc suggested after a half hour or so of no motion detection reset the tstat. It also seems to me that she should be able to re-arm the alarm using her code, but again I don't have an Elk. But if she could arm with her code then the Elk's Armed state could be used again to reset the tstat.
-
Release 3.3.2 (Beta) Is Now Available!
Hello JMC, Here is Michel's announcement from another thread: Hello all, We need a few volunteers to test the enhancements (for accuracy) as proposed by IndyMike. Please note that this will be a separate branch outside the current beta so as to not disturb existing installations. I suspect we would need about a month of testing to ensure calculations are accurate. If you are interested, please send an email to support@universal-devices.com with subject "New ET Firmware". Thanks in advance and with kind regards, Michel _________________ Michel Kohanim Universal Devices, Inc. ISY-99i/ISY-26 INSTEON Wiki Submit a ticket The original thread fount here. viewtopic.php?f=25&t=8771&start=0
-
LED Brightness
jmed999, Some of my devices LED's also vary a bit in brightness when set to the same level. It got to the point before installing multiple devices in the same gang box that I would bench test them beforehand (esp. kpl's), side by side for LED brightness compatablility. But never have I had some as bad as you with the 145 point spread! Thats a pretty wide gap. LED's can vary pretty widely in intensity even from the same batch after production. Near as I could tell on my switchlinc's 255 seemed to be about 50 to 75% brightness. If I remember correctly setting to 0 was full brightness and setting to 1 was off (or the other way around).
-
Check internet connection
Xathros, out of curiosity is this method of testing the internet connection still working for you? If so what version are you on, still 3.2.6? Thanks, Tim
-
Program for changing state
Hmm. Well you could use a Triggerlinc (I think its called) at the top of each of the garage doors. Then just add the status of them to the program. When the garage door closes the triggerlink will change status right away causing the program to run. Or get a Simplehomenet EZIO2x4 which would take care of 2 doors (2 relays) and 4 sets of inputs (2 contacts per door).
-
Program for changing state
This will turn the garage light on for 10 minutes anytime either garage door sensor status changes. If Status of Garage Door1 is On Or Status of Garage Door2 is On Then Turn Garage Light On Wait 10 minutes Turn Garage Light Off Else Turn Garage Light On Wait 10 minutes Turn Garage Light Off
-
Remotelinc Labels
Yes, but because I have to. I was looking for a method of printing for kpl buttons a few years ago and I came across a thread in the smarthome forum of someone using these http://www.papilio.com/white%20inkjet%20waterslide%20decal%20transfer%20paper%20media.html which are inkjet white water slide decals. Since they are water slide I have to spray them after printing and before cutting and wetting with a clear acrylic coat. Then after they dry on the buttons another coat or two is applied. Its kind of a pain and a long drawn out process, but the results are very nice. I asked about the clear coat because I am looking for a quicker, easier method of making the labels.
-
Remotelinc Labels
After sticking the printed label on do you spray them with a clear coat?
-
An example of how to make a whole scene BEEP
WhiteSax, Very clever, and well laid out description. It worked for me the first time I followed your instructions....Awesome tip! It's a nice have all the devices beep at once. Thanks for sharing. Tim
-
Remote Access And DDNS Problems
Try opening a browser and typing in http://whatismyipaddress.com/ this website will show what your WAN ip address is. Then try https://yourwanipaddress:port#/admin
-
Remote Access And DDNS Problems
Hello NickMach007, I am sure you have probably tried https://hostname.zapto.org:port# or https://hostname.zapto:port#/admin, but just in case you haven't. Also can you access from https://your modems ip address:port#/admin ? Tim
-
Programming question
Or KPL C was turned On after Sunset had already occured.
-
Programming question
Wow apostolakisl, Nice One! I am with oberkc, I would have bet that it wouldn't have worked either. But sure enough it does work. Nice Job!
-
Attic Ventilation
Using the CAI WebControl boards http://www.cainetworks.com/products/webcontrol/index.html and using the 1 wire temp sensors from Maxim DS1820/DS1822 http://datasheets.maxim-ic.com/en/ds/DS1822.pdf I am using the CAIWC program on a Pogoplug http://forum.universal-devices.com/viewtopic.php?f=81&t=7998 or you can also use WCLink http://forum.universal-devices.com/viewtopic.php?f=77&t=6612. Both programs work very well. The programs send the temps to variables in ISY.
-
Attic Ventilation
Did you have the foam put in during new construction or existing construction. I haven't heard of it being done...will have to do some surfing to find out more about it. That’s a huge temp differential. I too am using the webcontrol boards along with the caiwc program. I keep finding more reasons to buy them and implement them around the house. Thanks, Tim
-
Cycle Complete
Hello jdunne, You could, but the other possible issue would be if the "'Climate' Irrigation Requirement" changes while the program is running it would start the program over again so what has been watered would be watered again. Michel's suggestion of breaking the program into two is your best option for non-interrupted watering. Tim
-
Attic Ventilation
No but you know what, that is a very good idea. I am going to check into doing that. I have sat and watched the temp in the attic drop when the fans turn on, but its been a while and I don’t remember by how much. When I get some time I am going to look into it again. Knowing the builder of these homes - I wouldn’t be surprised that I have at least few leaks into the attic and I am going to have to address them the best I can. In the mean time there are at least plenty of intake vents in both the soffits and gable ends. Thanks, Tim
-
Attic Ventilation
Hello jmed999, I have two roof mount attic fans which are each controlled by their own Switchlinc Relay. Once the attic temp reaches a set temperature I have programs which turn them on one at a time. I have them run for about a half hour each at a time then cycle off for a bit. Still trying to play with them to get the most benefit (air flow/cool down vs electric use). Haven't drawn any conclusions just yet. I did bypass 1 of the attic fan thermostats so it is directly controlled by its SL relay switch at all times, the other attic fans thermostat is still active but was set pretty low so when its warm in the attic its thermostat is on at which point the SL relay is in full control of the fan operation. Tim
-
Control 'is not' question
Hello bsobel, Can you paste your program.
-
Remote Access - first time user
glase, just sent you a pm.
-
Check internet connection
Xathros, Very clever! I can confirm that removing the RG6 cable from the cable modem and testing the network command returns an error and does not update the variable. Once the cable is restored and the command is retested a positive confirmation is returned and the variable is updated. At least it does work here on my system with Comcast internet. Thanks, Tim
-
2420M Motion / Light Setup with override
Hello jay5, Is the motion sensor directly linked to any of the switches in the three-way scene or is the motion just linked to the plm/ISY? In order for the turn off program to work, the motion cannot be directly linked to 'Laundry (1) switch. When you turn the three-way scene on locally does the ISY admin console correctly indicate the status level of "'Laundry (1)"?
-
Remote Access - first time user
Maybe try changing the routers outside access port to 4443 and have it forwarded to 443 to match the ISY port.