I didn't notice any issue but feel free to comment and give your feedbacks of you're using those features

Moderator: leecollings
Hi!philchillbill wrote: ↑Friday 04 January 2019 14:29 Just update the py files into a zip and in the console upload the new zip and you’re good to go !
Sent from my iPhone using Tapatalk
Code: Select all
{
"event": {
"header": {
"namespace": "Alexa",
"name": "StateReport",
"messageId": "466ca121-f501-4e52-a401-5a111ed05db8",
"payloadVersion": "3",
"correlationToken": "abcdef-123456"
},
"payload": {},
"endpoint": {
"endpointId": "TemperatureSensor-6",
"cookie": {},
"scope": {
"type": "BearerToken",
"token": "access-token-from-skill"
}
}
},
"context": {
"properties": [
{
"name": "temperature",
"namespace": "Alexa.TemperatureSensor",
"value": {
"value": 20.6,
"scale": "CELSIUS"
}
}
]
}
}
Code: Select all
{
"context": {
"properties": [ {
"namespace": "Alexa.TemperatureSensor",
"name": "temperature",
"value": {
"value": 24.0,
"scale": "CELSIUS"
},
"timeOfSample": "2017-02-03T16:20:50.52Z",
"uncertaintyInMilliseconds": 1000
} ]
},
"event": {
"header": {
"namespace": "Alexa",
"name": "StateReport",
"payloadVersion": "3",
"messageId": "5f8a426e-01e4-4cc9-8b79-65f8bd0fd8a4",
"correlationToken": "dFMb0z+PgpgdDmluhJ1LddFvSqZ/jCc8ptlAKulUj90jSqg=="
},
"endpoint": {
"endpointId": "appliance-001"
},
"payload": {}
}
}
Code: Select all
START RequestId: ebb09fcd-79f6-44ac-bcbc-a8a6ac8b7536 Version: $LATEST
Domoticz API call %s http://levynger************.com:8080/json.htm?type=devices&used=true
END RequestId: ebb09fcd-79f6-44ac-bcbc-a8a6ac8b7536
REPORT RequestId: ebb09fcd-79f6-44ac-bcbc-a8a6ac8b7536 Duration: 3004.27 ms Billed Duration: 3000 ms Memory Size: 128 MB Max Memory Used: 23 MB
2019-01-11T10:34:46.645Z ebb09fcd-79f6-44ac-bcbc-a8a6ac8b7536 Task timed out after 3.00 seconds
Thanks for the analysis, but I'm afraid that a "doesn't support that..." is a discovery issue/missing rather than a state report one. I've already encounter such answer developing the skill, usually a state report error, Alexa answer "i don't understand"' " or "hum ... a problem occured" ...
Exactly the same here
Good news, it seems you were right Damsee, I've add timeOfSample and uncertaintyInMilliseconds and it works!
Hirimram31 wrote: ↑Friday 11 January 2019 18:58Good news, it seems you were right Damsee, I've add timeOfSample and uncertaintyInMilliseconds and it works!
This is updated on github, please update and give your feedback if this is ok for you (for those who make some changes, there is only two lines changed near line 139 of AlexaSmartHome.py source, check last commit git history)
I've first test with home assistant and it's no more working too, thanks Damsee.
Hirimram31 wrote: ↑Saturday 12 January 2019 9:05 Fine.
I've also accept a pull request on github which keep the brigthness of a light and convert Kelvin to RGB to control a light. I'm not controlling lights with domoticz at home, I'm unable to make some tests. If this break something, please give me your feedback here.
Works perfect again, thanks!!!rimram31 wrote:Good news, it seems you were right Damsee, I've add timeOfSample and uncertaintyInMilliseconds and it works!
This is updated on github, please update and give your feedback if this is ok for you (for those who make some changes, there is only two lines changed near line 139 of AlexaSmartHome.py source, check last commit git history)
I've first test with home assistant and it's no more working too, thanks Damsee.
Users browsing this forum: No registered users and 0 guests