question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Thermostat temperature setting unavailable after iOS13 upgrade

See original GitHub issue

Pre Steps

Expected Behavior

After Opening themostat temperature settings I should be able to set temp in IOS13 Home app.

Current Behavior

After Opening themostat temperature settings I should be able to set temp, but after upgrade to IOS 13 temperature value in danfoss thermostats connected via zway server are showing empty value and I can’t set any temperature. Setting the temperature via Siri or using automation works fine.

Steps to Reproduce (for bugs)

Set the temerature in zway server on any thermostats to some value, than try it in IOS13 home app. Opening thermostat temperature IMG_1301 setting window shows empty value.

Versions

  • Homebridge: 0.4.46
  • Node: v8.9.4
  • OS: Raspbian Stretch

Configuration

            {
                    "platform": "ZWayServer",
                    "url": "http://localhost:8083/",
                    "login": "xxxx",
                    "password": "xxxx"
            },

Homebridge Log / Command Output

Oct 05 13:38:08 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:08 GMT ZWayServer Got value: 0, for Danfoss Battery (#2).
Oct 05 13:38:08 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:08 GMT Accessory [HomeBr] Got Characteristic "Status Low Battery" value: 0
Oct 05 13:38:08 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:08 GMT ZWayServer Got value: 22, for Balcony Doors.
Oct 05 13:38:08 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:08 GMT Accessory [HomeBr] Got Characteristic "Target Temperature" value: 22
Oct 05 13:38:08 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:08 GMT ZWayServer Got value: false, for Ksiezyc.
Oct 05 13:38:08 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:08 GMT Accessory [HomeBr] Got Characteristic "On" value: false
Oct 05 13:38:08 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:08 GMT ZWayServer Got value: 22, for Small Room.
Oct 05 13:38:08 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:08 GMT Accessory [HomeBr] Got Characteristic "Target Temperature" value: 22
Oct 05 13:38:08 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:08 GMT ZWayServer Got value: 0, for Danfoss Battery (8.0).
Oct 05 13:38:08 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:08 GMT Accessory [HomeBr] Got Characteristic "Status Low Battery" value: 0
Oct 05 13:38:08 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:08 GMT EventedHTTPServer [192.168.1.106] HTTP Response is finished
Oct 05 13:38:08 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:08 GMT EventedHTTPServer [192.168.1.106] Writing pending HTTP event data
Oct 05 13:38:12 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:12 GMT EventedHTTPServer [192.168.1.106] HTTP request: /characteristics
Oct 05 13:38:12 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:12 GMT HAPServer [CC:xx:xx:xx:xx:xx] HAP Request: PUT /characteristics
Oct 05 13:38:12 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:12 GMT Accessory [HomeBr] Processing characteristic set: [{"aid":27,"iid":11,"value":1}]
Oct 05 13:38:12 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:12 GMT Accessory [HomeBr] Setting Characteristic "Target Heating Cooling State" to value 1
Oct 05 13:38:12 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:12 GMT ZWayServer WARN: Set of TargetHeatingCoolingState not yet implemented, resetting to HEAT!
Oct 05 13:38:12 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:12 GMT EventedHTTPServer [192.168.1.106] HTTP Response is finished
Oct 05 13:38:13 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:13 GMT EventedHTTPServer [192.168.1.106] HTTP request: /characteristics?id=27.18,27.17
Oct 05 13:38:13 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:13 GMT HAPServer [CC:xx:xx:xx:xx:xx] HAP Request: GET /characteristics?id=27.18,27.17
Oct 05 13:38:13 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:13 GMT Accessory [HomeBr] Getting value for Characteristic "Charging State"
Oct 05 13:38:13 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:13 GMT ZWayServer Getting value for Danfoss Battery (#5), characteristic "Charging State"...
Oct 05 13:38:13 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:13 GMT Accessory [HomeBr] Got Characteristic "Charging State" value: 0
Oct 05 13:38:13 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:13 GMT Accessory [HomeBr] Getting value for Characteristic "Battery Level"
Oct 05 13:38:13 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:13 GMT ZWayServer Getting value for Danfoss Battery (#5), characteristic "Battery Level"...
Oct 05 13:38:13 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:13 GMT ZWayServer Got value: 45, for Danfoss Battery (#5).
Oct 05 13:38:13 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:13 GMT Accessory [HomeBr] Got Characteristic "Battery Level" value: 45
Oct 05 13:38:13 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:13 GMT EventedHTTPServer [192.168.1.106] HTTP Response is finished
Oct 05 13:38:21 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:21 GMT EventedHTTPServer [192.168.1.106] HTTP request: /characteristics
Oct 05 13:38:21 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:21 GMT HAPServer [CC:xx:xx:xx:xx:xx] HAP Request: PUT /characteristics
Oct 05 13:38:21 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:21 GMT Accessory [HomeBr] Processing characteristic set: [{"aid":27,"iid":11,"value":0}]
Oct 05 13:38:21 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:21 GMT Accessory [HomeBr] Setting Characteristic "Target Heating Cooling State" to value 0
Oct 05 13:38:21 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:21 GMT ZWayServer WARN: Set of TargetHeatingCoolingState not yet implemented, resetting to HEAT!
Oct 05 13:38:21 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:21 GMT EventedHTTPServer [192.168.1.101] Sending HTTP event '27.11' with data: {"characteristics":[{"aid":27,"iid":11,"value":0}]}
Oct 05 13:38:21 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:21 GMT EventedHTTPServer [192.168.1.118] Sending HTTP event '27.11' with data: {"characteristics":[{"aid":27,"iid":11,"value":0}]}
Oct 05 13:38:21 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:21 GMT EventedHTTPServer [192.168.1.106] Muting event '27.11' notification for this connection since it originated here.
Oct 05 13:38:21 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:21 GMT EventedHTTPServer [192.168.1.106] HTTP Response is finished
Oct 05 13:38:22 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:22 GMT EventedHTTPServer [192.168.1.106] HTTP request: /characteristics
Oct 05 13:38:22 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:22 GMT HAPServer [CC:xx:xx:xx:xx:xx] HAP Request: PUT /characteristics
Oct 05 13:38:22 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:22 GMT Accessory [HomeBr] Processing characteristic set: [{"aid":27,"iid":11,"value":1}]
Oct 05 13:38:22 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:22 GMT Accessory [HomeBr] Setting Characteristic "Target Heating Cooling State" to value 1
Oct 05 13:38:22 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:22 GMT ZWayServer WARN: Set of TargetHeatingCoolingState not yet implemented, resetting to HEAT!
Oct 05 13:38:22 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:22 GMT EventedHTTPServer [192.168.1.101] Sending HTTP event '27.11' with data: {"characteristics":[{"aid":27,"iid":11,"value":1}]}
Oct 05 13:38:22 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:22 GMT EventedHTTPServer [192.168.1.118] Sending HTTP event '27.11' with data: {"characteristics":[{"aid":27,"iid":11,"value":1}]}
Oct 05 13:38:22 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:22 GMT EventedHTTPServer [192.168.1.106] Muting event '27.11' notification for this connection since it originated here.
Oct 05 13:38:22 raspberrypi homebridge[709]: Sat, 05 Oct 2019 11:38:22 GMT EventedHTTPServer [192.168.1.106] HTTP Response is finished

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:17 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
codyc1515commented, Nov 17, 2019

So the spec says that we should use Temperature Display Units with Paired Read, Paired Write and Notify permissions. The plug-in was manually overriding this to just Paired Read. This must’ve worked for some time, but was technically wrong (by the spec) even though it worked. This is part of the issue that we face. I actually committed a fix for this to HAP-NodeJS recently as this was not always the case (requiring write permission).

1reaction
dgowcommented, Nov 17, 2019

@KanG00 it’s in index.js of homebridge-zway /usr/local/lib/node_modules/homebridge-zway/index.js line 964-966. Comment out them with // or delete them.

//cx.setProps({ //perms: [Characteristic.Perms.READ] //});

see this commit

https://github.com/dgow/homebridge-zway/commit/df88c779ffe722e3478f91902c020cce6159c1c2

Read more comments on GitHub >

github_iconTop Results From Across the Web

Thermostat temperature setting unavailable after iOS13 upgrade
I have a similar issue with my thermostat since I updated to IOS 13. By default I'm not able to control the target...
Read more >
How to Fix iPhone 11 Overheating Issue on iOS 13 - PanFone
Simply go to Settings, tap on Battery and check the Battery Usage. Then you can see the most power-consuming apps, just go back...
Read more >
Common iOS 13 Problems and How to Fix Them - Digital Trends
Tap Upgrade Now and if you tap Upgrade Later, the app's screen has a blue Upgrade button. Tap it at the time you...
Read more >
iOS 13 or iPadOS problems and how to fix them - AppleToolBox
Go to Settings > General > Profiles. Tap on the iOS 13 & iPadOS 13 Beta profile. Tap Remove Profile. The next time...
Read more >
Check the weather on iPhone - Apple Support
Severe weather alerts: View updates for weather events such as winter storms and flash floods (not available in all countries or regions). Tap...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found