sgbaird commited on
Commit
ecc9a34
1 Parent(s): b43d802

chore: Update HiveMQ host, username, and password inputs in app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -4
app.py CHANGED
@@ -9,15 +9,21 @@ import streamlit as st
9
  st.title("RGB Command and Sensor Data Panel")
10
 
11
  # MQTT Configuration
12
- HIVEMQ_HOST = st.text_input("Enter your HiveMQ host:", "", type="password")
13
- HIVEMQ_USERNAME = st.text_input("Enter your HiveMQ username:", "")
14
- HIVEMQ_PASSWORD = st.text_input("Enter your HiveMQ password:", "", type="password")
 
 
 
 
 
 
15
  PORT = st.number_input(
16
  "Enter the port number:", min_value=1, max_value=65535, value=8883
17
  )
18
 
19
  # User input for the Pico ID
20
- pico_id = st.text_input("Enter your Pico ID:", "", type="password")
21
 
22
  # Sliders for RGB values
23
  R = st.slider("Select the Red value:", min_value=0, max_value=255, value=0)
 
9
  st.title("RGB Command and Sensor Data Panel")
10
 
11
  # MQTT Configuration
12
+ HIVEMQ_HOST = st.text_input(
13
+ "Enter your HiveMQ host:",
14
+ "248cc294c37642359297f75b7b023374.s2.eu.hivemq.cloud",
15
+ type="password",
16
+ )
17
+ HIVEMQ_USERNAME = st.text_input("Enter your HiveMQ username:", "sgbaird")
18
+ HIVEMQ_PASSWORD = st.text_input(
19
+ "Enter your HiveMQ password:", "D.Pq5gYtejYbU#L", type="password"
20
+ )
21
  PORT = st.number_input(
22
  "Enter the port number:", min_value=1, max_value=65535, value=8883
23
  )
24
 
25
  # User input for the Pico ID
26
+ pico_id = st.text_input("Enter your Pico ID:", "test", type="password")
27
 
28
  # Sliders for RGB values
29
  R = st.slider("Select the Red value:", min_value=0, max_value=255, value=0)