Jump to content

sys.node custom email substitution isn't working for me


spaterson76

Recommended Posts

Hi,

 

I'm having an issue with my AC unit & I want my ISY to email me some information about the AC setting & temp.

 

Looking at the custom email substitution variables here:

http://www.universal-devices.com/mwiki/ ... _Variables

 

I attempted to email myself with the following in the body of the email:

##########################################

##

downstairs cool setpoint: ${sys.node.14 85 E5 1.CLISPC}

downstairs current temp: ${sys.node.14 85 E5 1.ST}

 

downstairs bath light state: ${sys.node.1A 5F 79 1.ST}

 

${sys.date} ${sys.time12}

##

##########################################

 

14 85 E5 is a 2491T thermostat adapter v.93.

1A 5F 79 is 2476D switchlinc dimmer.

 

I do get an email, but it looks like this:

##########################################

##

downstairs cool setpoint: node[14 85 E5 1]

downstairs current temp: node[14 85 E5 1]

 

downstairs bath light state: ��������������������������������������������������������������������������������������������������������������������������������Off

 

2012/08/20 2:33:00 PM

##

##########################################

 

I'm not sure what's up with all those "?" before reporting "Off", but the light did substitute a value, I guess.

How can I get the actual values for the thermostat reported in the email?

 

I didn't find a similar sample program in searches so I'm not sure if my syntax is valid, but the bath light at least sent something back.

 

Steve

Link to comment

Hi Steve,

 

For the first two, you will only see node[14 85 E5 1] if it cannot find the node, therefore make sure your device address is correct. Is it possibly 14.B5.E5 instead of 14.85.E5 ?

 

For the value with all the �����s, I just looked at the code and this is a bug (will be fixed for the next beta drop). The bug occasionally causes a corrupted value to be created if the actual value of ST is either 0 (Off), or 100% (On).

Link to comment

Thanks Chris,

 

You're right. I blundered the address. After resolving, it now reports like this:

 

DN AC Setpoint: 77.00�

DN Temp: 77.00�

 

DN Bathroom Light: ��������������������������������������������������������������������������������������������������������������������������������Off

 

2012/08/21 11:27:05 AM

 

###

 

Not sure if you need to look at the code that reports the ac temp & setpoint as it also gives a trailing �

 

Thanks for the help & I'll grab the next release when it is ready. I'm currently running 3.2.6,

 

Steve

Link to comment

Thanks for the reference to the wiki article. It indicates that these variables are available in custom email definitions: CV, CC, PPW, TPW, and PF. I’m able get TPW (total power used) from an iMeter Solo (19.89.d4) into an email notification: TPW=€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€14040 (in kWs). But, the other variables don’t seem to work for me.

 

Using this statement in an email customization: CV=${sys.node.19 89 D4 1.CV}

Returns: CV=CV

 

Should I be able to get CV, CC, PPW, and PF from the iMeter Solo in an iSY-99i email customization? Thanks.

Link to comment

I've looked at the iMeter Solo Sales Page, User Guide, the HouseLinc display, the Extended data returned on the HL Refresh and the ISY Query. I do not see a value that I can attribute to a voltage reading.

 

The iMeter Solo does return a current Wattage, and Accumulated Power but nothing that I can attribute to the other items. HouseLinc is normally pretty good at displaying everything a device has to offer. It is not displaying Voltage or Current. Not an absolute though. Maybe MobiLinc will explain where the information comes from.

 

The ISY is tracking current power and accumulated power only. When I do REST call for the iMeter Solo the only properties returned are the two values displayed by the Admin Console.

Link to comment
Guest
This topic is now closed to further replies.

×
×
  • Create New...