DewGew / Domoticz-Google-Assistant

Google Assistant for Domoticz
https://github.com/DewGew/Domoticz-Google-Assistant/wiki
Apache License 2.0
79 stars 41 forks source link

Wrong blind status report #344

Closed ayasystems closed 1 year ago

ayasystems commented 1 year ago

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):

Smartphone (please complete the following information):

Additional context, screenshot:

image

image

image

image

DewGew commented 1 year ago

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

ayasystems commented 1 year ago

Hi

image

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