rolandbreedveld / nest-api

Nest API script to get Google/Nest accounts working on Domoticz
10 stars 5 forks source link

No values when getting current value of domoticz device #14

Closed bhaezlr closed 7 months ago

bhaezlr commented 7 months ago

In the script get_nest.sh the current value of a device in domoticz (version 2024.4) can not be retrieved. Same behaviour for getting status of 'alarm', 'Current Setpoint', 'Reset Setpoint', 'On value' and 'Off value'

For example to retrieve the value of SetPoint: curl -4 -X GET "http://127.0.0.1:8081/json.htm?type=command&param=getdevices&rid=716" gives only the following output: { "ActTime" : 1711621219, "AstrTwilightEnd" : "21:04", "AstrTwilightStart" : "04:32", "CivTwilightEnd" : "19:42", "CivTwilightStart" : "05:53", "DayLength" : "12:43", "NautTwilightEnd" : "20:22", "NautTwilightStart" : "05:14", "ServerTime" : "2024-03-28 11:20:19", "SunAtSouth" : "12:48", "Sunrise" : "06:26", "Sunset" : "19:09", "app_version" : "2024.4", "status" : "OK", "title" : "Devices" }

bhaezlr commented 7 months ago

Mea Culpa, this issue can be closed. Resolution : json-user did not have acces to the newly created nest-devices