steilerDev / homebridge-openhab2-complete

A homebridge plugin for openHAB, that has the expectation to fully support all Services offered by Apple's Homekit Accessory Protocol (HAP)
GNU General Public License v3.0
52 stars 16 forks source link

Temperature Sensor does not show value on accessory #41

Closed grzegorz914 closed 5 years ago

grzegorz914 commented 5 years ago

Describe the bug Temperature Sensor does not show value number on accessory in HomeKit app, hovewer Humidity Sensor show.

Configurations Homebridge config.json

{
                    "name": "Pogoda temp.",
                    "type": "temp",
                    "item": "PLC_PogodaTemp",
                    "batteryItem": "",
                    "batteryItemInverted": "false"
                },
                {
                    "name": "Pogoda wilgotność",
                    "type": "humidity",
                    "item": "PLC_PogodaWilgotnosc",
                    "batteryItem": "",
                    "batteryItemInverted": "false"
                },

OH2 *.items

Number    PLC_PogodaTemp      "Temperatura powietrza"  <temperature>  (Pogoda) { simatic="plc:DB28.DBD190:float" }
Number    PLC_PogodaWilgotnosc      "Wilgotność powietrza"  <humidity>  (Pogoda) { simatic="plc:DB28.DBD202:float" }

Logs:

[2019-8-7 8:03:12 PM] [openHAB2-Complete] Setting new transformed state for item PLC_PogodaTemp: 21.799999237060547
[2019-8-7 8:03:12 PM] [openHAB2-Complete] Received push with new state for item PLC_PogodaWilgotnosc: 80.19999694824219

Environment

Additional context IMG_0056

IMG_0057

extric99 commented 5 years ago

This is an issue with iOS 13. I have devices on both iOS 12 and 13 and the issue does not occur on iOS 12. Thermostats show the temperature correctly but temp sensors seem to have changed behaviour.