Page 1 of 1

Change wind m/s to kph

Posted: Tue Nov 28, 2017 8:49 pm
by Leon
I am trying to change wind values to kph from m/s in my daily email html...somehow i am getting the syntax wrong...
Please see attachment of what I receive and I just want to change the wind m/s to kph.
below is current wind html
<td>Wind Speed (averaged)</td>
<td><br>
</td>
<td>[wind0avgwind-dmin.1:--] m/s</td>
<td>[wind0avgwind-dmax.1:--] m/s</td>
</tr>
<tr>
<td>Gust Speed</td>
<td><br>
</td>
<td>[wind0wind-dmin.1:--] m/s</td>
<td>[wind0wind-dmax.1:--] m/s</td>
</tr>

Thank you,any help would be much appreciated,
Leon.
Screen Shot 2017-11-28 at 20.39.28.png
Screen Shot 2017-11-28 at 20.39.28.png (34.17 KiB) Viewed 1753 times

Re: Change wind m/s to kph

Posted: Tue Nov 28, 2017 10:56 pm
by Mattk
<td>[wind0avgwind-dmin=kmh.1:--] km/h</td>

Syntax is sensor-selector=converter.decimals:replacement