DewGew/Domoticz-Google-Assistant

Wrong blind status report

ayasystems opened this issue · 2 comments

Describe the bug:
I've a problem with blind device. It is closed, domoticz shows it as closed and DZGA shows it as closed. But Google reports it as open over voice and from google home APP

I think that the problem is that 100% is open into google home

Logs:

2023-09-26 16:06:54 - INFO - Google Assistant requests an action.devices.QUERY
2023-09-26 16:06:54 - DEBUG - Starting new HTTP connection (1): 192.168.3.241:80
2023-09-26 16:06:54 - DEBUG - http://192.168.3.241:80 "GET /json.htm?type=command&param=getdevices&rid=223 HTTP/1.1" 200 716
2023-09-26 16:06:54 - DEBUG - {
  "Persiana dormitorio": {
    "idx": 223,
    "type": "Blind",
    "state": "Closed",
    "lastupdate": "2023-09-26 15:54:24",
    "willReportState": true
  }
}
2023-09-26 16:06:54 - INFO - {
  "devices": {
    "Blind223": {
      "online": true,
      "openPercent": 100,
      "status": "SUCCESS"
    }
  }
}

Desktop (please complete the following information):

  • Domoticz version 2023.2 (build 15555)
  • Dzga version 1.23.10
  • Python Version DZGA on docker | domoticz python version 3.7.3

Smartphone (please complete the following information):

  • Device: Android Xiaomi poco NFC

Additional context, screenshot:

image

image

image

image

DewGew commented

Domoticz report the device 100% means its closed. Google thinks that is 100% open. Try check the reverse position button.

Hi

image

With both checks flaged all seems works fine! thanks @DewGew . I didn't play yestarday with all options.