Exten Posted August 15, 2012 Posted August 15, 2012 I have a custom email with 2 variables. They look like this: Day Light is ${mod.weather.light.level} Light Rate is ${mod.weather.light.rate} But when the email arrives it looks like this: Day Light is 44.4 %Light Rate is 7.3 % How do I get it to look like this: Day Light is 44.4 % Light Rate is 7.3 % I think the carriage return is getting ignored. Is there a way to put in some ALT-Shifted weird key combination to get the carriage return to work? Thx folks.
Michel Kohanim Posted August 15, 2012 Posted August 15, 2012 Hi Exten, What happens if you put two lines in between the two? We have had this issue with another ISP in Canada and unfortunately we couldn't find a workaround. With kind regards, Michel
Exten Posted August 15, 2012 Author Posted August 15, 2012 The email does not pass through an ISP email system. ISY994i sends directly to a linux box running sendmail which is physically located right there in the same garage as the ISY. So it looks like the provider email system is not in this loop. Pic 2 - I added 2 blank lines twixt the variables. This made no difference. Pic 1 - Instead of popping the email, I logged into the linux box and ran mutt - this was so that I could look at the email before it passed through any email program on my local machine. It appears that the carriage returns and blank lines are being stripped before they reach my sendmail box. I think it's happening within the ISY. Either when the variables are being parsed, or in the ISY Mailer v1.0 as detailed in the screen shot. I tried inserting a blank variable but the state and int variables apparently cannot hold a blank - must be a number (int) or in the case of state vars - true/false (whatever...just can't be blank?) Thank you for your time!
Exten Posted August 15, 2012 Author Posted August 15, 2012 I can insert spaces after the 1st variable - they do not get stripped. Doing this resulted in better presentation for the user, but carriage returns are still stripped. (the variables are not squished together anymore.) How do I get on the beta firmware testing situation?
LeeG Posted August 15, 2012 Posted August 15, 2012 Anyone who wants can test a beta. When the next ISY image drop is announced as available it will be a beta. It is your choice to use that beta or not. After a series of betas have been released where the last image is deemed stable it will become the next Official release.
Michel Kohanim Posted August 15, 2012 Posted August 15, 2012 Hi Exten, To register for beta, please go to: http://sales.universal-devices.com/my-account and register. With kind regards, Michel
Exten Posted August 16, 2012 Author Posted August 16, 2012 Hi Michel and Lee...I'll go get on that firmware situation. Love the device and love what it does. Great work! I could sniff some packets and show unequivocally that the carriage returns do not arrive at my sendmail box but that really doesn't seem necessary given what I've seen. Keep up the good work and let's automate the whole world
Recommended Posts