Skip to content

Commit e10e29a

Browse files
committed
add message filter
1 parent 1ff9f51 commit e10e29a

File tree

2 files changed

+23
-20
lines changed

2 files changed

+23
-20
lines changed

configfile.ini

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,54 @@
11
[broker.hivemq.com]
22
broker = broker.hivemq.com
33
port = 1883
4-
username =
5-
password =
4+
username =
5+
password =
66

77
[publicmqttbroker.iiotmq.com]
88
broker = publicmqttbroker.iiotmq.com
99
port = 1883
1010
username = publicmqttbroker
1111
password = publicmqttbroker
1212

13-
[iothook.com]
14-
broker = iothook.com
15-
port = 1883
16-
username = iothookpublic
17-
password = iothookpublic
18-
1913
[broker.emqx.io]
2014
broker = broker.emqx.io
2115
port = 1883
22-
username =
23-
password =
16+
username =
17+
password =
2418

2519
[mqtt.eclipse.org]
2620
broker = mqtt.eclipse.org
2721
port = 1883
28-
username =
29-
password =
22+
username =
23+
password =
3024

3125
[test.mosquitto.org]
3226
broker = test.mosquitto.org
3327
port = 1883
34-
username =
35-
password =
28+
username =
29+
password =
3630

3731
[mqtt.flespi.io]
3832
broker = mqtt.flespi.io
3933
port = 1883
40-
username =
41-
password =
34+
username =
35+
password =
4236

4337
[mqtt.dioty.co]
4438
broker = mqtt.dioty.co
4539
port = 1883
46-
username =
47-
password =
40+
username =
41+
password =
4842

4943
[mqtt.fluux.io]
5044
broker = mqtt.fluux.io
5145
port = 1883
52-
username =
53-
password =
46+
username =
47+
password =
48+
49+
[iothook.com]
50+
broker = iothook.com
51+
port = 1883
52+
username = iothookpublic
53+
password = iothookpublic
5454

main_window_frame_ui.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
import tkinter as tk
1515

16+
from config_file import ConfigFile
17+
1618

1719
class MainWindowFrameUI(tk.Frame):
1820
def __init__(self, main_window_frame, main_window_self, font_size, *args,
@@ -30,6 +32,7 @@ def __init__(self, main_window_frame, main_window_self, font_size, *args,
3032
self.label_broker = tk.Label(self, text="Broker", font=font_size)
3133
self.label_broker.grid(row=row, column=column, sticky=tk.W)
3234
column += 1
35+
3336
self.entry_broker_text = tk.StringVar(self)
3437
self.entry_broker = tk.Entry(self, textvariable=self.entry_broker_text,
3538
font=font_size)

0 commit comments

Comments
 (0)