mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-01 06:22:55 +01:00
Add wind speed to JSON produced for Bangle.js - fixes https://codeberg.org/Freeyourgadget/Gadgetbridge/issues/1974
This commit is contained in:
parent
d98f8d7484
commit
8599d2f8db
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user