Jump to content

Email temperature status


PhanTomiZ

Recommended Posts

Posted

Temp from a TStat or from the Climate data received from HAMWeather?

 

-Xathros

Posted

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? 

Posted (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:

post-1150-0-36606900-1424797522_thumb.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

Edited by Xathros
Posted

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

Posted

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

Posted

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

Posted

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

Posted

Can't believe I missed that.  I have the wiki 

ISY-99i Series INSTEON:Custom Email Substitution Variables

opened 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

Posted

Glad I could help.  Enjoy!

 

-Xathros

Posted

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.

Posted

I believe they are just changing the character encoding to avoid issues with mail gateways.

 

 

-Xathros

 

Sent from my iPhone using Tapatalk

Posted

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

Posted

It's encoded Unicode I believe and that is what causes the odd symbols and rejection by the email to sms gateway.

 

-Xathros

Posted (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:

attachicon.gifScreen 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 by PhanTomiZ
Posted (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:

attachicon.gifScreen 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 by Xathros
Posted
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! 

Posted

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??? 8)   

Posted (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 by larryllix
  • 1 year later...
Posted

Very helpful.  I've added my 3 thermostats and variables.

 

Searching around for more useful ideas on this cold NJ day.

Guest
This topic is now closed to further replies.

×
×
  • Create New...