DewGew/Domoticz-Google-Assistant

Temperature not returned

wimmme opened this issue · 1 comments

Since my previous issues (265 & 269) got closed automatically, and removing stale labels isn't possible anymore, I recreate the issue here now.

When asking via Google Assistant for the temperature of a device or room it returns 'Unknown error occured' (Dutch: er is een onbekende fout opgetreden.) It's a temperature sensor, not a thermostat device. Thermostat devices do work and return current temperature and desired termperature)

DZGA knows the temperature, if you look at the devices page it shows clearly the termperature.

``

2021-08-11 12:17:51 - INFO - Request {
"inputs": [
{
"intent": "action.devices.SYNC"
}
],
"requestId": "4249351196791798897"
}

2021-08-11 12:19:53 - INFO - Request {
"inputs": [
{
"intent": "action.devices.QUERY",
"payload": {
"devices": [
{
"id": "Temperature1754"
}
]
}
}
],
"requestId": "15932884409881919702"
}
2021-08-11 12:19:53 - INFO - Response {
"devices": {
"Temperature1754": {
"descriptiveCapacityRemaining": "FULL",
"online": true,
"thermostatMode": "heat",
"thermostatTemperatureAmbient": 22.5,
"thermostatTemperatureSetpoint": 22.5
}
}
}
2021-08-11 12:19:53 - ERROR - Extra data: line 1 column 3 (char 2)
2021-08-11 12:19:53 - ERROR - Error handling message {'inputs': [{'intent': 'action.devices.QUERY', 'payload': {'devices': [{'id': 'Temperature1754'}]}}], 'requestId': '15932884409881919702'}: {'errorCode': 'unknownError'}

`

Domoticz version beta, 2021.1 build 13207 (latest stable too)
Dzga version 1.10.9 (and 1.8.13 too)
Python Version 3.7.3
Smartphone (please complete the following information):

Device: Oneplus8t android 11

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days