Very first version of this skill.
This skill is inspired from madgeni skill madgeni alexa domo skill and also get some code skeleton from Home Assistant Alexa code
Only devices in plan will be declared to Alexa, you can set a friendly Alexa name using Alexa_name = ... in the device description field.
You must have or create an Amazon Developer Account and an Amazon Web Service account to host the Alexa lambda
Create a Smart Home skill in Amazon Devleoper Account with an associated Lambda in your Amazon Web Service account
git clone [email protected]:rimram31/dz_smarthome.git
cd dz_smartome
Fill your configdz.json
file, domoticz endpoint, credentials. Debug mode enable debug log level (see lambda logs)
cp configdz-template.json configdz.json
nano configdz.json
Build the lambda zip file
./build_lambda
This will create the zip code file to be uploaded for the lambda (require a Python 3.6 engine, handler name is lambda.event_handler
)
To help to make some tests, it would be good to put the device in a 'well recognized' (voice) group.
Thanks to Damsee to provide a very good documentation, the one provided here
I've add proxy_local.py
source code I'm using to develop this skill which is only for development purpose. It run a local (flask) python server handling Smart Home Alexa API calls and running Alexicz code. Used with Alexa Smart Home Proxy, you get the same behaviour except that all teh Smart Home API work is done locally (and can be debug easily).