Ebbe Baß
|
31eb06a2ab
|
added TUBE_INDEX to mqtt publisher and removed it at script start
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 16:38:46 +01:00 |
Ebbe Baß
|
7affda9c98
|
moved the updater out of a seperate function the worked as a multiprocess because the global var wasnt shared between the processes
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 16:36:43 +01:00 |
Ebbe Baß
|
3ba023229d
|
db request at script beginning
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 16:30:25 +01:00 |
Ebbe Baß
|
febd453aa7
|
print globals
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 16:28:40 +01:00 |
Ebbe Baß
|
92305a7712
|
removed db request at script start
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 16:26:38 +01:00 |
Ebbe Baß
|
395f3880a2
|
moved updater odwn
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 16:25:47 +01:00 |
Ebbe Baß
|
72ea1dc7c5
|
update index each second
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 16:24:43 +01:00 |
Ebbe Baß
|
0f78218ab7
|
global declaration at script start
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 16:24:04 +01:00 |
Ebbe Baß
|
204c1e89d6
|
start publisher before index updater
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 16:22:02 +01:00 |
Ebbe Baß
|
0b5645a151
|
fixed debugfger
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 16:20:51 +01:00 |
Ebbe Baß
|
eaa5574462
|
added debug
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 16:20:06 +01:00 |
Ebbe Baß
|
e07fdcffb0
|
added global in index updater
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 16:17:35 +01:00 |
Ebbe Baß
|
9f7a333e40
|
added db request at script start
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 16:16:16 +01:00 |
Ebbe Baß
|
3d9bdb95cc
|
changed var name again to fully global var
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 16:14:09 +01:00 |
Ebbe Baß
|
3734f4ee4e
|
removed tube index var
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 16:12:29 +01:00 |
Ebbe Baß
|
c7667d357e
|
changed var name
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 16:11:58 +01:00 |
Ebbe Baß
|
ef147dd956
|
test
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 16:10:35 +01:00 |
Ebbe Baß
|
1c515de7cc
|
removed arg thingy thing
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 16:09:18 +01:00 |
Ebbe Baß
|
9437010202
|
removed timer
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 16:05:28 +01:00 |
Ebbe Baß
|
bc1390ceca
|
set global var
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 16:05:22 +01:00 |
Ebbe Baß
|
cef018cdbf
|
updated function name
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 16:04:01 +01:00 |
Ebbe Baß
|
0350fb8b2c
|
added global result to publisher function
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 16:03:31 +01:00 |
Ebbe Baß
|
1e2bd1c20b
|
added longer times
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 16:02:45 +01:00 |
Ebbe Baß
|
8b10597d4e
|
removed unused arg
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 16:01:51 +01:00 |
Ebbe Baß
|
4f6f06d92d
|
removed some shitty code
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 16:01:18 +01:00 |
Ebbe Baß
|
dae2602838
|
globalize result
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 15:58:59 +01:00 |
Ebbe Baß
|
75b7a5bf23
|
added sleeper
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 15:58:24 +01:00 |
Ebbe Baß
|
b956951178
|
added reult as args
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 15:58:07 +01:00 |
Ebbe Baß
|
f0e4bde57a
|
fixed debug
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 15:55:05 +01:00 |
Ebbe Baß
|
29483c894f
|
debug
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 15:54:15 +01:00 |
Ebbe Baß
|
dbb527400f
|
fixed weird encoding for color vars
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 14:51:26 +01:00 |
Ebbe Baß
|
3cfd19f7aa
|
fixed list
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 13:23:54 +01:00 |
Ebbe Baß
|
03425f6fd8
|
list to string
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 13:22:49 +01:00 |
Ebbe Baß
|
a15b7f9fbb
|
simplified mqtt publish topic
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 13:19:36 +01:00 |
Ebbe Baß
|
1a7a6a2ddc
|
some optimization
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 04:30:56 +01:00 |
Ebbe Baß
|
393412e7f6
|
fixed results
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 04:20:36 +01:00 |
Ebbe Baß
|
b49736c421
|
fixed result globalisation
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 04:17:25 +01:00 |
Ebbe Baß
|
093a05c7bd
|
added result none
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 04:14:53 +01:00 |
Ebbe Baß
|
90b6bbc741
|
if result not nun check
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 04:14:41 +01:00 |
Ebbe Baß
|
08d72f4493
|
tube index update time at 10 sec and start first. also removed sql request from publisher
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 04:12:22 +01:00 |
Ebbe Baß
|
03b2c6321f
|
removed debug
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 04:09:32 +01:00 |
Ebbe Baß
|
ac0497438d
|
fixed cur
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 03:57:48 +01:00 |
Ebbe Baß
|
85aa05a4cb
|
debug
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 03:52:30 +01:00 |
Ebbe Baß
|
b6b2720b95
|
cleaned up some shit
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 03:52:00 +01:00 |
Ebbe Baß
|
9dc593bfdf
|
added db cursor at update tube index
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 03:44:18 +01:00 |
Ebbe Baß
|
5bb1f9865f
|
added cur close
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 03:43:09 +01:00 |
Ebbe Baß
|
b90817b892
|
added while
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 03:09:46 +01:00 |
Ebbe Baß
|
38baa6e87d
|
added sleeper
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 03:09:30 +01:00 |
Ebbe Baß
|
13d35d6664
|
added tube index updater
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 03:09:16 +01:00 |
Ebbe Baß
|
9acd2e9d78
|
added try
Signed-off-by: Ebbe Baß <ebbe.bass>
|
2024-02-17 03:06:26 +01:00 |