OBone-git / Cozytouch-domoticz

Python script for read/write data between the cozytouch server and domoticz on rpi
MIT License
19 stars 15 forks source link

Move credentials in an external config file #57

Closed LudovicRousseau closed 1 year ago

LudovicRousseau commented 1 year ago

Do not store the login & password in the main file. No need to risk putting secrets in the git repository.

Create a file named "ma_config.py" that contains: login="xxxxx" password="xxxxx"

Tatroxitum commented 1 year ago

In my opinion I think you should also add domoticz ip and port in this file, and name it cozytouch_config.py or something like that

LudovicRousseau commented 1 year ago

Good idea @Tatroxitum. I added a new commit.