Search found 13 matches

by traolo
Monday 09 December 2019 12:38
Forum: Speech & Voice Systems
Topic: Alexicz - FREE Domoticz to Alexa Integration
Replies: 337
Views: 83087

Re: Alexicz - FREE Domoticz to Alexa Integration

philchillbill wrote: Thursday 05 December 2019 23:11 You’re welcome. So your contact sensors are now successfully triggering routines? Did you have to change locale to en-US or is Italian working too?


Sent from my iPhone using Tapatalk
Yes, the contact sensors are working successfully and I'm currently using the it-IT locale! 8-)
by traolo
Monday 02 December 2019 11:09
Forum: Speech & Voice Systems
Topic: Alexicz - FREE Domoticz to Alexa Integration
Replies: 337
Views: 83087

Re: Alexicz - FREE Domoticz to Alexa Integration


To make sure you are reporting EndpointHealth, the following changes need to be made to the Lambda files:

In AlexaSmartHome.py. add:


@INTERFACES.register('Alexa.EndpointHealth')
class AlexaEndpointHealth(AlexaInterface):
def name(self):
return 'Alexa.EndpointHealth'

def propertiesSupported ...
by traolo
Monday 25 November 2019 13:59
Forum: Speech & Voice Systems
Topic: Alexicz - FREE Domoticz to Alexa Integration
Replies: 337
Views: 83087

Re: Alexicz - FREE Domoticz to Alexa Integration

philchillbill wrote: Monday 25 November 2019 13:48 You mean to request Amazon to implement it? They already know people want it - we are not the first requesting this.
No I'm referring to the body request created by the api_reportState. To understand why it is failing
by traolo
Monday 25 November 2019 13:03
Forum: Speech & Voice Systems
Topic: Alexicz - FREE Domoticz to Alexa Integration
Replies: 337
Views: 83087

Re: Alexicz - FREE Domoticz to Alexa Integration

philchillbill wrote: Monday 25 November 2019 12:22 Contact sensors and Motion sensors only work in US English, not even British. So Italian is really a no-no, I'm afraid.
Ok, let's work to anticipate amazon when the feature will be available in Europe then! :-D
Do you have an example of the right request?
by traolo
Monday 25 November 2019 11:11
Forum: Speech & Voice Systems
Topic: Alexicz - FREE Domoticz to Alexa Integration
Replies: 337
Views: 83087

Re: Alexicz - FREE Domoticz to Alexa Integration


Remember that, as per https://developer.amazon.com/docs/device-apis/list-of-interfaces.html, only the en-US and en-CA locales support contact and motion sensors. What locale are you using for Alexicz?


On https://developer.amazon.com/alexa/console/ for smart home I'm using it-IT locale. Do I ...
by traolo
Sunday 24 November 2019 23:00
Forum: Speech & Voice Systems
Topic: Alexicz - FREE Domoticz to Alexa Integration
Replies: 337
Views: 83087

Re: Alexicz - FREE Domoticz to Alexa Integration


I'll take a proper look at this tomorrow. Maybe the easiest thing to do it to just create a single file for reportstate.py that has all the stuff it needs from the imports locally so it does not depend on external files. Sorry for this. I extended my Alexicz to do way more than just Domoticz from ...
by traolo
Sunday 24 November 2019 12:19
Forum: Speech & Voice Systems
Topic: Alexicz - FREE Domoticz to Alexa Integration
Replies: 337
Views: 83087

Re: Alexicz - FREE Domoticz to Alexa Integration


It’s called api_reportState in the original.


Sent from my iPhone using Tapatalk


Hello, thanks for your support. I did the test yesterday but getting this error:
1)
File "./reportstate.py", line 113, in main
data = AlexaSmartHome.api_reportState(endpoint, token)
File "/home/pi/domoticz ...
by traolo
Saturday 23 November 2019 23:32
Forum: Speech & Voice Systems
Topic: Alexicz - FREE Domoticz to Alexa Integration
Replies: 337
Views: 83087

Re: Alexicz - FREE Domoticz to Alexa Integration


Oh boy. One of those days. Sorry. Does it work now?

Edit: I see the dev branch in the original post. Not sure why you think I linked the master.


Ops. I cloned the master branch.
I updated the scripts but receiving another error:
File "./reportstate.py", line 113, in main
data ...
by traolo
Saturday 23 November 2019 17:59
Forum: Speech & Voice Systems
Topic: Alexicz - FREE Domoticz to Alexa Integration
Replies: 337
Views: 83087

Re: Alexicz - FREE Domoticz to Alexa Integration

Got it,
you linked the master branch instead of the dev one. I will test and let you know. Thank you :-)
by traolo
Saturday 23 November 2019 17:25
Forum: Speech & Voice Systems
Topic: Alexicz - FREE Domoticz to Alexa Integration
Replies: 337
Views: 83087

Re: Alexicz - FREE Domoticz to Alexa Integration

Yes I was looking and found the right class name, but I think you developed a method for getEndpointDevice. I see only the getEndpoints method
by traolo
Saturday 23 November 2019 17:04
Forum: Speech & Voice Systems
Topic: Alexicz - FREE Domoticz to Alexa Integration
Replies: 337
Views: 83087

Re: Alexicz - FREE Domoticz to Alexa Integration

Thank you phil,
I did almost all, but facing an issue when testing the reportstate.py script.
I got the error:
File "./reportstate.py", line 108, in main
portal = DomoticzHandler.DeviceCloud(LOCAL_DOMOTICZ_IP)
AttributeError: module 'DomoticzHandler' has no attribute 'DeviceCloud'

Looking at the ...
by traolo
Saturday 23 November 2019 9:31
Forum: Speech & Voice Systems
Topic: Alexicz - FREE Domoticz to Alexa Integration
Replies: 337
Views: 83087

Re: Alexicz - FREE Domoticz to Alexa Integration


To trigger the routine you need external software that sends an async State change report to the Alexa gateway. I’ll see if I can document what I did myself and post it.


Sent from my iPhone using Tapatalk


Hello, thanks for your answer. It is more clear now.
So did you find a way to get the ...
by traolo
Friday 22 November 2019 20:43
Forum: Speech & Voice Systems
Topic: Alexicz - FREE Domoticz to Alexa Integration
Replies: 337
Views: 83087

Re: Alexicz - FREE Domoticz to Alexa Integration

Hello,
thanks for this great work!
I was wondering if it is possible to create a routine in the Amazon app based on the status of a contact sensor and make it work. I can import the sensor in the Alexa app, and create the routine. The status of the sensor is reflected in the Alexa app but the ...