victronenergy / venus-html5-app

HTML5 App including Javascript library that communicates with Venus OS over MQTT websockets
MIT License
102 stars 32 forks source link

show temperatures in Fahrenheit if the user has selected that in the normal gui #359

Closed martinbosma closed 7 months ago

martinbosma commented 7 months ago

Reported on community: https://community.victronenergy.com/questions/263432/farenheit-on-marine-mfd-app.html

Currently only Celsius is supported, even if the user has selected to show Fahrenheit. It works in the gui-v1: image image

And gui-v2: image

But not in the html5 app: image

Related MQTT topic: N/<vrmid>/settings/0/Settings/System/Units/Temperature, supported values: "fahrenheit", "celsius". Applies to: all temperature topics, i.e. battery, environmental, etc.

fwaalkens commented 7 months ago

Implemented in: https://github.com/victronenergy/venus-html5-app/commit/9de04e2a2b1a9216c67f7abfbba5643021f42aed