openhab / openhab-addons

Add-ons for openHAB
https://www.openhab.org/
Eclipse Public License 2.0
1.88k stars 3.59k forks source link

[tesla] Sunroof mode not working #7959

Closed phuongpham closed 2 years ago

phuongpham commented 4 years ago

Not possible to change the state for sunroof.

Possible Solution

Seems like the API have changed. Has been discuss on different forums: https://forums.homeseer.com/forum/robotics-plug-ins/robotics-discussion/tesla-vehicles-shill/1363397-close-sunroof-not-working

Steps to Reproduce (for Bugs)

When slide(dimmer) the sunroof item nothing happening. The value for the item show correct. Ex. change the sunroof to vent (Tesla app). The item get correct value (4%). When i close the sunroof (Tesla app) it show 0%

Logs

22:05:37.221 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'Tesla_Sunroof' received command 0 22:05:37.261 [INFO ] [arthome.event.ItemStatePredictedEvent] - Tesla_Sunroof predicted to become 0 22:05:37.295 [INFO ] [smarthome.event.ItemStateChangedEvent] - Tesla_Sunroof changed from 4 to 0 22:05:38.199 [WARN ] [.internal.handler.TeslaAccountHandler] - Reached the maximum number of errors (2) for the current interval (15 seconds) 22:05:38.211 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'tesla:account:XXXXX' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR) 22:05:38.216 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'tesla:models:XXXXX:XXXXX' changed from ONLINE to OFFLINE (BRIDGE_OFFLINE) 22:05:38.522 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'tesla:models:XXXXX:XXXXX' changed from OFFLINE (BRIDGE_OFFLINE) to ONLINE 22:05:38.559 [INFO ] [smarthome.event.ItemStateChangedEvent] - Tesla_Sunroof changed from 0 to 4 22:05:38.567 [INFO ] [smarthome.event.ItemStateChangedEvent] - Tesla_EventTimestamp changed from 2020-06-20T22:05:30.086+0200 to 2020-06-20T22:05:38.228+0200

Your Environment

openhabian 2.5.5 on Raspberry Pi 4

phuongpham commented 4 years ago

Sorry for bumping. But still no progress? I see they have managed to solve it for homeseer (Same thread as linked above)