PhanTomiZ Posted February 24, 2015 Share Posted February 24, 2015 Sorry for the Newbie question. How do I retrieve the actual temperature, and send it in an email for every 1 degree temperature change? Thanks Link to comment
Xathros Posted February 24, 2015 Share Posted February 24, 2015 Temp from a TStat or from the Climate data received from HAMWeather? -Xathros Link to comment
Teken Posted February 24, 2015 Share Posted February 24, 2015 Sorry for the Newbie question. How do I retrieve the actual temperature, and send it in an email for every 1 degree temperature change? Thanks What is your method for measuring temperature? Link to comment
PhanTomiZ Posted February 24, 2015 Author Share Posted February 24, 2015 Using an Insteon wired thermostat... Link to comment
Teken Posted February 24, 2015 Share Posted February 24, 2015 Status -> TSTAT Main -> Operator of choice -> Degree's of choice. Link to comment
Xathros Posted February 24, 2015 Share Posted February 24, 2015 (edited) Here is the program to monitor the Stat: If Status 'Thermostats / LR Thermostat - Main' <= 122° (Temperature) Then Send Notification to 'Xathros Email' content 'Send Temp' Else - No Actions - (To add one, press 'Action') The above program will trigger anytime the status of the Main stat node changes. Then the custom notification: Where 11 B2 7 is the insteon address of the Stat. Note if any of the 3 address digits contains a leading 0, drop the 0. In my example, the address is: 11.B7.07 which becomes 11 B7 7 Hope this helps. -Xathros Edited February 24, 2015 by Xathros Link to comment
PhanTomiZ Posted February 24, 2015 Author Share Posted February 24, 2015 Thanks for the spoon feed. I will try this when I get home tonight and I'll let you know how it turned out... Can I move the body of the message to the subject to see the actual ? Much quicker to see changes rather than having to open the email... Thanks PhanTomiZ Link to comment
Xathros Posted February 24, 2015 Share Posted February 24, 2015 Thanks for the spoon feed. I will try this when I get home tonight and I'll let you know how it turned out... Can I move the body of the message to the subject to see the actual ? Much quicker to see changes rather than having to open the email... Thanks PhanTomiZ Yes. As long as your not sending this to an AT&T MMS address you should be fine. There is a recently discovered issue with the formatting of the degree symbol that the AT&T gateway does not like. UDI says this is fixed in the next firmware version. That custom notification was left over from my testing that issue and was not one I actually use otherwise the subject would have been more useful. -Xathros Link to comment
PhanTomiZ Posted February 24, 2015 Author Share Posted February 24, 2015 I got the program part working, but the message part is not working as I would have expected.... Custom Notification 'Send Temperature' Subject: ${sys.node.29 25 2C.ST} Body: ${sys.node.29 25 2C.ST} ${sys.node.29 25 2C.CLISPH} When I run (if), the outcome is this: Subject : node[29 25 2C]Body: node[29 25 2C]node[29 25 2C] What am I missing? Thanks PhanTomiZ Link to comment
Xathros Posted February 24, 2015 Share Posted February 24, 2015 I got the program part working, but the message part is not working as I would have expected.... Custom Notification 'Send Temperature' Subject: ${sys.node.29 25 2C.ST} Body: ${sys.node.29 25 2C.ST} ${sys.node.29 25 2C.CLISPH} When I run (if), the outcome is this: Subject : node[29 25 2C]Body: node[29 25 2C]node[29 25 2C] What am I missing? Thanks PhanTomiZ Should be: ${sys.node.29 25 2C 1.ST} -Xathros Link to comment
PhanTomiZ Posted February 24, 2015 Author Share Posted February 24, 2015 Can't believe I missed that. I have the wiki ISY-99i Series INSTEON:Custom Email Substitution Variablesopened to my left, trying to decipher and I didn't catch the "1.ST" Thanks again, I will now be able to build some great informational emails. PhanTomiZ Link to comment
Xathros Posted February 24, 2015 Share Posted February 24, 2015 Glad I could help. Enjoy! -Xathros Link to comment
chrishick Posted February 25, 2015 Share Posted February 25, 2015 There is a recently discovered issue with the formatting of the degree symbol that the AT&T gateway does not like. UDI says this is fixed in the next firmware version. -Xathros Xathros, does this mean the degree symbol will be removed from the formatting in notifications? I want to have ISY email my pool temp to IFTTT to add to a google spreadsheet log of my daily pool temp. It won't work with the degree symbol. It would be great if this is going to be removed. Link to comment
Xathros Posted February 25, 2015 Share Posted February 25, 2015 I believe they are just changing the character encoding to avoid issues with mail gateways. -Xathros Sent from my iPhone using Tapatalk Link to comment
PhanTomiZ Posted February 25, 2015 Author Share Posted February 25, 2015 This is what mine looks like with Hotmail.com when I open the email... Current Temp is 66.00� Setpoint 66.00� Humidity 34.00% When I look in the Hotmail specific folder, I see the degree's symbol. This is what I want to see When I forward this email to my cell phone (email to text), all I see is "Current Temp is"... PhanTomiZ Link to comment
Xathros Posted February 25, 2015 Share Posted February 25, 2015 It's encoded Unicode I believe and that is what causes the odd symbols and rejection by the email to sms gateway. -Xathros Link to comment
PhanTomiZ Posted February 25, 2015 Author Share Posted February 25, 2015 (edited) Here is the program to monitor the Stat: If Status 'Thermostats / LR Thermostat - Main' <= 122° (Temperature) Then Send Notification to 'Xathros Email' content 'Send Temp' Else - No Actions - (To add one, press 'Action') The above program will trigger anytime the status of the Main stat node changes. Then the custom notification: Screen Shot 2015-02-24 at 12.04.32 PM.jpg Where 11 B2 7 is the insteon address of the Stat. Note if any of the 3 address digits contains a leading 0, drop the 0. In my example, the address is: 11.B7.07 which becomes 11 B7 7 Hope this helps. -Xathros How about, if I also want to send that same email if the setpoint is changed either locally at the TStat or remotely through UDAjax page? Last week, I found my thermostat at 76 when I returned from work. When I asked the offending person if they turned it up, they said "yes, I was cold". I told them they wouldn't get warmer faster by increasing the temperature 6 degrees and that 2 would be sufficient... PhanTomiZ Edited February 25, 2015 by PhanTomiZ Link to comment
Xathros Posted February 25, 2015 Share Posted February 25, 2015 (edited) Here is the program to monitor the Stat: If Status 'Thermostats / LR Thermostat - Main' <= 122° (Temperature) Then Send Notification to 'Xathros Email' content 'Send Temp' Else - No Actions - (To add one, press 'Action') The above program will trigger anytime the status of the Main stat node changes. Then the custom notification: Screen Shot 2015-02-24 at 12.04.32 PM.jpg Where 11 B2 7 is the insteon address of the Stat. Note if any of the 3 address digits contains a leading 0, drop the 0. In my example, the address is: 11.B7.07 which becomes 11 B7 7 Hope this helps. -Xathros How about, if I also want to send that same email if the setpoint is changed either locally at the TStat or remotely through UDAjax page? Last week, I found my thermostat at 76 when I returned from work. When I asked the offending person if they turned it up, they said "yes, I was cold". I told them they wouldn't get warmer faster by increasing the temperature 6 degrees and that 2 would be sufficient... PhanTomiZ While this is not exactly what you asked for, this is what I do and contains what you need to do what you asked. In my case, I heat with a pellet stove. I use info from my Insteon stat (tied to my oil burner) to control the stove via a relay interface. I have my Stat set at 58 (minimum temp before the furnace comes on) and force the stat to stay there if manually changed. My ISY programs determine when to enable/disable the stove and I can change those set points and hours of operation in my programs. In fact, I have different set points and hours of operation automatically chosen based on outside temps. Thermostat - Autoset - [ID 01CA][Parent 0023] If Status 'Thermostats / LR Thermostat - Main' is not 58° (Heat Setpoint) Or Status 'Thermostats / LR Thermostat - Main' is not 82° (Cool Setpoint) Then Set 'Thermostats / LR Thermostat - Main' 58° (Heat Setpoint) Set 'Thermostats / LR Thermostat - Main' 82° (Cool Setpoint) Else - No Actions - (To add one, press 'Action') Hope this helps. -Xathros Edited February 25, 2015 by Xathros Link to comment
Teken Posted February 25, 2015 Share Posted February 25, 2015 When I asked the offending person if they turned it up, they said "yes, I was cold". I told them they wouldn't get warmer faster by increasing the temperature 6 degrees and that 2 would be sufficient... PhanTomiZ I have nothing of value to add to this conversation but this reply struck me funny! Link to comment
PhanTomiZ Posted February 25, 2015 Author Share Posted February 25, 2015 Well, they think that by increasing it 6 or 10 or 15 degrees will some how output more heat from the furnace. Setpoint is not a factor of output from the furnace, but rather time. They would have to wait 20 minutes for the second stage to come on, but by then they already feel the extra heat. Oh yea, did I mention the sunglasses, bathing suit and sunscreen??? Link to comment
larryllix Posted February 26, 2015 Share Posted February 26, 2015 (edited) I have nothing of value to add to this conversation but this reply struck me funny! I found this same syndrome quite common among electricians that worked outside in cold weather too much. They would come in for lunch. Crank the stat up to 85 and go back outside after lunch. Guess who breaks out in a sweat that afternoon before discovering the setting? LOL. Edited February 26, 2015 by larryllix Link to comment
Keane Posted December 31, 2016 Share Posted December 31, 2016 Very helpful. I've added my 3 thermostats and variables. Searching around for more useful ideas on this cold NJ day. Link to comment
Recommended Posts