Author Topic: Hourly email  (Read 506 times)

0 Members and 1 Guest are viewing this topic.

Offline billnq0w

  • Member
  • *
  • Posts: 5
Hourly email
« on: April 22, 2020, 05:42:25 AM »
Hello,

I recently had to reconfigure my meteobridge, which is running on a TL-3020 and software version 3.4.  Prior I had it set up to send me an hourly email with outdoor temp, indoor temp, wind speed and rain rate.  I was able to get the email set back up, but lost my directions to setup the body of the email.  I can get it to send me the data, but I would like to put each bit of data on a different line, but cannot remember how to do that.  Can anyone help???


Thanks

Bill

Offline ToTo

  • Member
  • *
  • Posts: 16
Re: Hourly email
« Reply #1 on: April 24, 2020, 01:05:06 AM »
I use this:

Meteobridge Report [DD].[MM].[YYYY] - [hh]:[mm]\nContent-Type: text/html#<html> <body> <table id='table-2'> <thead><tr><th>Sensor</th><th>Jetzt</th> <th>Heute (min)</th> <th>Heute (max)</th></tr></thead> <tbody> <tr><td>Temperatur &deg; C</td> <td>[th0temp-act.1:--]</td> <td>[th0temp-dmin.1:--]</td> <td>[th0temp-dmax.1:--]</td></tr> <tr><td>Luftfeuchte %</td> <td>[th0hum-act.0:--]</td> <td>[th0hum-dmin.0:--]</td> <td>[th0hum-dmax.0:--]</td></tr> <tr><td>Taupunkt &deg; C</td> <td>[th0dew-act.1:--]</td> <td>[th0dew-dmin.1:--]</td> <td>[th0dew-dmax.1:--]</td></tr> <tr><td>Temperatur gefuehlt &deg; C</td> <td>[wind0chill-act.1:--]</td> <td>[wind0chill-dmin.1:--]</td> <td>[wind0chill-dmax.1:--]</td></tr> <tr><td>Luftdruck hPa</td> <td>[thb0seapress-act.1:--]</td> <td>[thb0seapress-dmin.1:--]</td> <td>[thb0seapress-dmax.1:--]</td></tr> <tr><td>Wind Richtung</td> <td>[wind0dir-avg2=dedir.:--]</td> <td></td><td></td></tr> <tr><td>Windgeschw (avg) km/h</td> <td>[wind0avgwind-act=kmh.:--]</td> <td>[wind0avgwind-dmin=kmh.:--]</td> <td>[wind0avgwind-dmax=kmh.:--]</td></tr> <tr><td>Wind Boeen km/h</td> <td>[wind0wind-max5=kmh.1:--]</td> <td>[wind0wind-dmin=kmh.1:--]</td> <td>[wind0wind-dmax=kmh.1:--]</td></tr> <tr><td>Regen mm</td> <td>[rain0rate-act.1:--]    h</td> <td></td> <td>[rain0total-sumday.1:--]</td> </tr> </tbody> </table> </body> </html>
PWS Magdeburg - Germany - https://wetter.de.cool MB-Smart HWS

Offline galfert

  • Global Moderator
  • Forecaster
  • *****
  • Posts: 6822
Re: Hourly email
« Reply #2 on: April 28, 2020, 09:19:18 PM »
Backslash followed by n.
\n
Ecowitt GW1000 | Meteobridge on Raspberry Pi
WU: KFLWINTE111  |  PWSweather: KFLWINTE111
CWOP: FW3708  |  AWEKAS: 14814
Windy: pws-f075acbe
Weather Underground Issue Tracking
Tele-Pole

Offline billnq0w

  • Member
  • *
  • Posts: 5
Re: Hourly email
« Reply #3 on: April 28, 2020, 09:34:36 PM »
Thanks!  I will try that.


Bill

 

anything