Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SkyPhil : Move Serial/MAC/MCZUrl to _config_.py + optimize some import #1

Merged
merged 1 commit into from
Feb 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.idea/
*.log*
__pycache__/
27 changes: 15 additions & 12 deletions _config_.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
#coding: utf-8
# coding: utf-8

'''
Fichier pour l'adressage des différents équipement

'''
_MQTT_ip='votreipmqtt' #Adresse IP du broker mqtt
_MQTT_port=1883 #Port du broker mqtt
_MQTT_authentication=False #Mqtt use authentication
_MQTT_user='' #Mqtt User name
_MQTT_pass='' #Mqtt password
_MQTT_TOPIC_SUB='SUBmcz' #Topic général de souscription
_MQTT_TOPIC_PUB='PUBmcz' #Topic général de publication
_MCZip='' #Adresse IP du poêle
_MCZport='81' #Port du serveur embarqué du poele
_VERSION='1.5' #Version
_AUTHOR='Anthony L.' #Auteur
_MQTT_ip = '127.0.0.1' # Adresse IP du broker mqtt
_MQTT_port = 1883 # Port du broker mqtt
_MQTT_authentication = False # Mqtt use authentication
_MQTT_user = '' # Mqtt User name
_MQTT_pass = '' # Mqtt password
_MQTT_TOPIC_SUB = 'SUBmcz' # Topic général de souscription
_MQTT_TOPIC_PUB = 'PUBmcz' # Topic général de publication
_MCZip = '' # Adresse IP du poêle
_MCZport = '81' # Port du serveur embarqué du poele
_MCZ_device_serial = "xxxxxxxxxxxxx" # n° de série du pôele
_MCZ_device_MAC = "xxxxxxxxxxxx" # MAC du pôele
_MCZ_App_URL = "http://app.mcz.it:9000" # URL du server MCZ
_VERSION = '1.5' # Version
_AUTHOR = 'Anthony L.' # Auteur
Loading