Alexicz - FREE Domoticz to Alexa Integration
Moderator: leecollings
-
- Posts: 58
- Joined: Thursday 20 April 2017 1:17
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10717
- Location: France
- Contact:
Re: Alexicz - FREE Domoticz to Alexa Integration
Both requests (friendlyname and dimmer options) are merged in the GIT : https://github.com/rimram31/dz_smarthome
I didn't notice any issue but feel free to comment and give your feedbacks of you're using those features
I didn't notice any issue but feel free to comment and give your feedbacks of you're using those features
RPI3 Raspbian Buster + Domoticz v2020.1 stable + RFXtrx433E + Z-Stick Gen5 + Amazon Echo (alexicz)
x5 THGN810 / x5 ZMNHJD1 / x2 Flood sensor FGFS101 / x1 Smoke sensor FGSD002
x1 ZMNHAD1 / x2 FGS213 / x3 Wallplug FGWPE/F / NodOn Soft remote CRC-3-6-0
x5 THGN810 / x5 ZMNHJD1 / x2 Flood sensor FGFS101 / x1 Smoke sensor FGSD002
x1 ZMNHAD1 / x2 FGS213 / x3 Wallplug FGWPE/F / NodOn Soft remote CRC-3-6-0
-
- Posts: 41
- Joined: Monday 19 October 2015 12:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.9700
- Location: Spain
- Contact:
Re: Alexicz - FREE Domoticz to Alexa Integration
Hi!
One question.
In order to update to the last version can i overwrite in AWS the 2 *.py (AlexaSmartHome.py and DomoticzHandler.py) files?
Or i need to redo all the process?
Thank you in advance and happy new year!
One question.
In order to update to the last version can i overwrite in AWS the 2 *.py (AlexaSmartHome.py and DomoticzHandler.py) files?
Or i need to redo all the process?
Thank you in advance and happy new year!
- philchillbill
- Posts: 396
- Joined: Monday 12 September 2016 13:47
- Target OS: Linux
- Domoticz version: beta
- Location: Eindhoven. NL
- Contact:
Re: Alexicz - FREE Domoticz to Alexa Integration
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
Sent from my iPhone using Tapatalk
Alexa skills author: EvoControl, Statereport, MediaServer, LMS-lite
-
- Posts: 41
- Joined: Monday 19 October 2015 12:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.9700
- Location: Spain
- Contact:
Re: Alexicz - FREE Domoticz to Alexa Integration
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
Thank you, updated.
Greetings from spain and happy new year!
-
- Posts: 58
- Joined: Thursday 20 April 2017 1:17
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10717
- Location: France
- Contact:
Re: Alexicz - FREE Domoticz to Alexa Integration
You can also edit the 2 py files with copy/paste the content of each file instead the zip file upload process.
RPI3 Raspbian Buster + Domoticz v2020.1 stable + RFXtrx433E + Z-Stick Gen5 + Amazon Echo (alexicz)
x5 THGN810 / x5 ZMNHJD1 / x2 Flood sensor FGFS101 / x1 Smoke sensor FGSD002
x1 ZMNHAD1 / x2 FGS213 / x3 Wallplug FGWPE/F / NodOn Soft remote CRC-3-6-0
x5 THGN810 / x5 ZMNHJD1 / x2 Flood sensor FGFS101 / x1 Smoke sensor FGSD002
x1 ZMNHAD1 / x2 FGS213 / x3 Wallplug FGWPE/F / NodOn Soft remote CRC-3-6-0
-
- Posts: 41
- Joined: Monday 19 October 2015 12:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.9700
- Location: Spain
- Contact:
Re: Alexicz - FREE Domoticz to Alexa Integration
Hello again!
Yesterday suddenly my Alexa stops saying the temperatures. It says "its not compatible with that".
Someone has this problem too or is my installation.
Thanks for your help.
Greetings from Spain.
Yesterday suddenly my Alexa stops saying the temperatures. It says "its not compatible with that".
Someone has this problem too or is my installation.
Thanks for your help.
Greetings from Spain.
-
- Posts: 443
- Joined: Thursday 12 November 2015 10:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: Alexicz - FREE Domoticz to Alexa Integration
I think I have the same! I says "doesn't support that"... Used to work very well. Did Amazon make a change in the framework again?
Raspberry Pi 4 - RFXtrx433 - CC2531 Zigbee - Opentherm Gateway - P1 smart meter - Netatmo - Philips Hue - ELV Max! - ESP8266 DIY water meter - 6 x Sonos - 4 x IP cameras - Wall mounted tablet + Dashticz - Google Home integration - MANY switches/sensors
-
- Posts: 26
- Joined: Sunday 04 October 2015 11:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: France
- Contact:
Re: Alexicz - FREE Domoticz to Alexa Integration
Bad news, I'm not at home but I will check this week-end.
-
- Posts: 58
- Joined: Thursday 20 April 2017 1:17
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10717
- Location: France
- Contact:
Re: Alexicz - FREE Domoticz to Alexa Integration
Viewed your messages this morning and had a quick test => same result "doesn't support that..."
@Rimrim : i checked the code from AWS
> Sensor is returning the following :
According Amazon documentation which seems to NO CHANGE for 1 year, we should have the following :
We should try to add the following in the lambda function :
"timeOfSample": "2017-02-03T16:20:50.52Z",
"uncertaintyInMilliseconds": 1000
I won't be home this WE too for further checks...
@Rimrim : i checked the code from AWS
> Sensor is returning the following :
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": {}
}
}
"timeOfSample": "2017-02-03T16:20:50.52Z",
"uncertaintyInMilliseconds": 1000
I won't be home this WE too for further checks...
RPI3 Raspbian Buster + Domoticz v2020.1 stable + RFXtrx433E + Z-Stick Gen5 + Amazon Echo (alexicz)
x5 THGN810 / x5 ZMNHJD1 / x2 Flood sensor FGFS101 / x1 Smoke sensor FGSD002
x1 ZMNHAD1 / x2 FGS213 / x3 Wallplug FGWPE/F / NodOn Soft remote CRC-3-6-0
x5 THGN810 / x5 ZMNHJD1 / x2 Flood sensor FGFS101 / x1 Smoke sensor FGSD002
x1 ZMNHAD1 / x2 FGS213 / x3 Wallplug FGWPE/F / NodOn Soft remote CRC-3-6-0
-
- Posts: 41
- Joined: Monday 19 October 2015 12:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.9700
- Location: Spain
- Contact:
Re: Alexicz - FREE Domoticz to Alexa Integration
Hi!
Thank you people for your answers.
Maybe I'll go back as it's gone.
Regards
Thank you people for your answers.
Maybe I'll go back as it's gone.
Regards
-
- Posts: 87
- Joined: Wednesday 21 December 2016 19:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Israel
- Contact:
Re: Alexicz - FREE Domoticz to Alexa Integration
i have created te skill following up the well written document.
however when i try to discover - testing through the lambda i get timeout error.
the json requires User/Pass which was set int he config, however it doesnt seems to be used with the get request.. (?)
any ideas?
however when i try to discover - testing through the lambda i get timeout error.
the json requires User/Pass which was set int he config, however it doesnt seems to be used with the get request.. (?)
any ideas?
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
-
- Posts: 41
- Joined: Monday 19 October 2015 12:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.9700
- Location: Spain
- Contact:
Re: Alexicz - FREE Domoticz to Alexa Integration
Hi!
I think it must to be a https:// connection not http://. Check your domoticz config.
Check your router port forwarding to domoticz from a web browser.
Regards
I think it must to be a https:// connection not http://. Check your domoticz config.
Check your router port forwarding to domoticz from a web browser.
Regards
-
- Posts: 26
- Joined: Sunday 04 October 2015 11:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: France
- Contact:
Re: Alexicz - FREE Domoticz to Alexa Integration
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" ...
Alexa Smart Home API is not always clear on what is or not mandatory. I've also installed a skill based on Home Assistant Smart Home implementation (the one I've vamped => https://github.com/rimram31/alexa_smarthome) I hope I will be able to compare.
-
- Posts: 58
- Joined: Thursday 20 April 2017 1:17
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10717
- Location: France
- Contact:
Re: Alexicz - FREE Domoticz to Alexa Integration
Quick note about temperature sensors :
> Vocal commands with Echo still don't work
> Temperatures are available through the Alexa APP from the smartphone
The skill is still working but something goes wrong with vocal commands...
> Vocal commands with Echo still don't work
> Temperatures are available through the Alexa APP from the smartphone
The skill is still working but something goes wrong with vocal commands...
RPI3 Raspbian Buster + Domoticz v2020.1 stable + RFXtrx433E + Z-Stick Gen5 + Amazon Echo (alexicz)
x5 THGN810 / x5 ZMNHJD1 / x2 Flood sensor FGFS101 / x1 Smoke sensor FGSD002
x1 ZMNHAD1 / x2 FGS213 / x3 Wallplug FGWPE/F / NodOn Soft remote CRC-3-6-0
x5 THGN810 / x5 ZMNHJD1 / x2 Flood sensor FGFS101 / x1 Smoke sensor FGSD002
x1 ZMNHAD1 / x2 FGS213 / x3 Wallplug FGWPE/F / NodOn Soft remote CRC-3-6-0
-
- Posts: 443
- Joined: Thursday 12 November 2015 10:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: Alexicz - FREE Domoticz to Alexa Integration
Exactly the same here
Raspberry Pi 4 - RFXtrx433 - CC2531 Zigbee - Opentherm Gateway - P1 smart meter - Netatmo - Philips Hue - ELV Max! - ESP8266 DIY water meter - 6 x Sonos - 4 x IP cameras - Wall mounted tablet + Dashticz - Google Home integration - MANY switches/sensors
-
- Posts: 26
- Joined: Sunday 04 October 2015 11:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: France
- Contact:
Re: Alexicz - FREE Domoticz to Alexa Integration
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.
-
- Posts: 41
- Joined: Monday 19 October 2015 12:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.9700
- Location: Spain
- Contact:
Re: Alexicz - FREE Domoticz to Alexa Integration
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.
It works great! Thanks and good job.
Regards
-
- Posts: 26
- Joined: Sunday 04 October 2015 11:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: France
- Contact:
Re: Alexicz - FREE Domoticz to Alexa Integration
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.
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.
-
- Posts: 41
- Joined: Monday 19 October 2015 12:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.9700
- Location: Spain
- Contact:
Re: Alexicz - FREE Domoticz to Alexa Integration
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.
Voice command to Alexa in Spanish and here is my log.
2019-01-12 13:09:56.676 Status: setkelvinlevel: t: 30.000000, color: '{m: 2, RGB: 000000, CWWW: b24d, CT: 77}'
I think it works fine.
Regards
-
- Posts: 443
- Joined: Thursday 12 November 2015 10:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: Alexicz - FREE Domoticz to Alexa Integration
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.
Raspberry Pi 4 - RFXtrx433 - CC2531 Zigbee - Opentherm Gateway - P1 smart meter - Netatmo - Philips Hue - ELV Max! - ESP8266 DIY water meter - 6 x Sonos - 4 x IP cameras - Wall mounted tablet + Dashticz - Google Home integration - MANY switches/sensors
Who is online
Users browsing this forum: No registered users and 0 guests