print credentials to runtime cmd line..
Browse files
app.py
CHANGED
|
@@ -23,6 +23,12 @@ RPI_PORT = int(os.environ.get("RPI_PORT", 1883))
|
|
| 23 |
RPI_USERNAME = os.environ.get("RPI_USERNAME", "default_user")
|
| 24 |
RPI_PASSWORD = os.environ.get("RPI_PASSWORD", "default_pass")
|
| 25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
latest_data = {}
|
| 27 |
|
| 28 |
|
|
|
|
| 23 |
RPI_USERNAME = os.environ.get("RPI_USERNAME", "default_user")
|
| 24 |
RPI_PASSWORD = os.environ.get("RPI_PASSWORD", "default_pass")
|
| 25 |
|
| 26 |
+
print(BAMBU_HOST)
|
| 27 |
+
print(BAMBU_PORT)
|
| 28 |
+
print(BAMBU_USERNAME)
|
| 29 |
+
print(BAMBU_PASSWORD)
|
| 30 |
+
print(DEFAULT_SERIAL)
|
| 31 |
+
|
| 32 |
latest_data = {}
|
| 33 |
|
| 34 |
|