1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 12:56:49 +01:00

Add wind speed to JSON produced for Bangle.js - fixes https://codeberg.org/Freeyourgadget/Gadgetbridge/issues/1974

This commit is contained in:
Gordon Williams 2020-08-17 11:06:16 +01:00
parent d98f8d7484
commit 8599d2f8db

View File

@ -501,6 +501,7 @@ public class BangleJSDeviceSupport extends AbstractBTLEDeviceSupport {
o.put("hum", weatherSpec.currentHumidity);
o.put("txt", weatherSpec.currentCondition);
o.put("wind", weatherSpec.windSpeed);
o.put("wdir", weatherSpec.windDirection);
o.put("loc", weatherSpec.location);
uartTxJSON("onSendWeather", o);
} catch (JSONException e) {