Commit Graph

537 Commits (826641b0cea973fda2875eb60ee3ca06be386cfc)

Author SHA1 Message Date
Ebbe Baß 826641b0ce added some debugging
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-18 00:45:16 +01:00
Ebbe Baß 6cc0a003be added while loop and a 5 sec sleeper
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-18 00:44:26 +01:00
Ebbe Baß b2b958018e fixed typo
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-18 00:42:17 +01:00
Ebbe Baß b2c8dc5d83 added queue system for mem share between publisher and ti updater
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-18 00:41:47 +01:00
Ebbe Baß 3a5ad1e6af revert changed
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-18 00:08:39 +01:00
Ebbe Baß 3e1f60fa22 fixed mqtt
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-18 00:07:04 +01:00
Ebbe Baß 3c8c048c45 mqtt_publisher as normal function
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 23:43:51 +01:00
Ebbe Baß 50b358f6fc fixed update
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 23:37:21 +01:00
Ebbe Baß 6c69200a44 removed debug
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 23:31:12 +01:00
Ebbe Baß 02ced5fef2 added list conversion
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 23:15:40 +01:00
Ebbe Baß 74fa0640ff added while loop to tube index updater
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 23:15:02 +01:00
Ebbe Baß bedbf76b5f updated each second
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 23:08:31 +01:00
Ebbe Baß 83004d35fa added decode for publish
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 23:07:26 +01:00
Ebbe Baß 77ad069eec adfded multiprocessisng back again and also made a mqtt share for the tube index
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 23:03:40 +01:00
Ebbe Baß 775a6caf77 removed debug prints
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 17:35:37 +01:00
Ebbe Baß 935bdeb38b FUCK IT. Gonna fix that db spam later
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 17:34:59 +01:00
Ebbe Baß ac14cce7b5 fixed run forefer
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 17:33:39 +01:00
Ebbe Baß 04a5dbc19d index_updater run forever
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 17:32:07 +01:00
Ebbe Baß 7a60df2668 debug
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 17:31:05 +01:00
Ebbe Baß a484a63149 declare as globa
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 17:30:09 +01:00
Ebbe Baß 348ee5e4ad made tube index async functipn
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 17:28:02 +01:00
Ebbe Baß 3081f2ae66 thread manager update
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 17:21:20 +01:00
Ebbe Baß f0f13debae thread manager
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 17:19:53 +01:00
Ebbe Baß 070ae2fa41 testing
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 17:15:18 +01:00
Ebbe Baß d6e06901d3 tube index globalisation
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 17:12:12 +01:00
Ebbe Baß dfdac3897b tube index test
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 17:11:41 +01:00
Ebbe Baß 062c718dd9 remove del
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 17:11:22 +01:00
Ebbe Baß 923f0e4685 testing some weird siht
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 17:10:56 +01:00
Ebbe Baß 8ece5779ae debug tedt
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 17:08:25 +01:00
Ebbe Baß 3f5e0de208 print index row
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 17:07:13 +01:00
Ebbe Baß a4e004a1b3 moved dmx var
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 17:05:40 +01:00
Ebbe Baß ba23bae0d5 removed debug
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 17:03:19 +01:00
Ebbe Baß 3068288bcd debug
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 17:02:34 +01:00
Ebbe Baß ff183d7901 removed debug
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 17:01:33 +01:00
Ebbe Baß 6ddb8ff1a6 debug
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 17:00:49 +01:00
Ebbe Baß 761c3baaf1 added mac address back again
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 16:59:54 +01:00
Ebbe Baß 6f75b5eb01 print tube_index
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 16:58:17 +01:00
Ebbe Baß 762f7fc015 moved del
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 16:57:52 +01:00
Ebbe Baß 9b464fb5de delete tube index
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 16:56:47 +01:00
Ebbe Baß 283f4c8f01 removed globalisation
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 16:43:32 +01:00
Ebbe Baß bcfba3738c print TUBE_INDEX
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 16:42:14 +01:00
Ebbe Baß 28d8a50dbe removed universe from db request
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 16:40:39 +01:00
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