This module include ELock object that permit to initiate a secure communication between the python script and the ELock card. So basic function has been added to get the temperature value, or set the relay state.
You can find more details about E-Lock card at the follwing address : http://www.elektor-labs.com/project/elektor-chip-e-lock-reference-project-130499130280.13916.html
python setup.py install
Before using you need to have the appropriate certificate and key. In the following code we make assumption that you
have the following files :
* ISLclient-cert.pem : TLS Client certificate
* ISLclient-key.pem : Client KEY
* cacert.pem : CA Certificate
Please see the following documentation (Config Elock - Detailed steps.pdf) for more information on How to
generate and setup these certificates.
Then you can try to run the demo script ELockDemo.py
Enjoy it !