I have a Generic MQTT Thing with the channel:
UID: mqtt:topic:tower:groundfloorThermostat
label: Ground Floor Thermostat
thingTypeUID: mqtt:topic
configuration: {}
bridgeUID: mqtt:systemBroker:tower
location: Ground Floor
channels:
- id: groundfloortempIndoor
channelTypeUID: mqtt:number
label: Ground Floor Temp Indoor
description: ""
configuration:
stateTopic: /home/hvac/groundfloor/tempIndoor
unit: °C
the MQTT topic is being generated by a bash script I have running on a cron job on a different linux machine to pull the temperature from my daikin one plus thermostat from https://api.daikinskyport.com/ and publish each parameter to an MQTT topic.
I then bring what topics I want into channels in openHAB.
If there is a better way to do this I would be open. Its a quick and dirty bash script and this was the easiest way I knew.
Anyway, thats all working my problem is the temperature is coming in Celsius and I want to convert it to Fahrenheit. I have set the unit on the thing channel as °C but then when I view it on my locations page it shows as °C.
I have also attached the Item setup.
I have another aerotec zwave sensor that seems to be working correct. The temp is coming in as C and it displays correctly as F on my locations page.