Commit Graph

210 Commits (72ea1dc7c562171b55222cd51e0c06bcac1b5907)

Author SHA1 Message Date
Ebbe Baß 78e0ffcb0a fixed lists
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 02:56:48 +01:00
Ebbe Baß e2c07949de I am dumb. fixed content of var
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 02:55:32 +01:00
Ebbe Baß 3ac182b1ab debug
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 02:54:41 +01:00
Ebbe Baß 523de722fa debug
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 02:54:17 +01:00
Ebbe Baß 4d08075ba7 fixed dmx_address var content
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 02:53:41 +01:00
Ebbe Baß 93d935e87e added publishes
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 02:52:28 +01:00
Ebbe Baß e7ececf537 get tubes from sql
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 02:40:03 +01:00
Ebbe Baß 8e784289c4 commented publish commands and move cur to a public positiin
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 02:37:31 +01:00
Ebbe Baß ab986afb77 removed debug
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 01:32:10 +01:00
Ebbe Baß aa9f978a3a added db autocommit
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 01:22:31 +01:00
Ebbe Baß 355bb6c4a5 debug some new shit
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 01:08:41 +01:00
Ebbe Baß 0be3db39af testing something else for the if exsist
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 01:07:11 +01:00
Ebbe Baß 9aa44f1292 added fail safe if pxm isn't reacheable
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 01:02:05 +01:00
Ebbe Baß 28b8731afc fixed if request if tube exsist
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 00:59:46 +01:00
Ebbe Baß 19e37b2b88 debug some shit
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 00:58:45 +01:00
Ebbe Baß b65f5c3468 fixed lamp power problem
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 00:53:52 +01:00
Ebbe Baß 5e4479863b mac address to string
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 00:52:44 +01:00
Ebbe Baß 14a6614d6a removed lamp power
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 00:51:30 +01:00
Ebbe Baß 697774c537 removed debug
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 00:30:18 +01:00
Ebbe Baß ecb6493bbf rempved {} from topic
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 00:29:34 +01:00
Ebbe Baß 2e9a7a9e29 added debug
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 00:28:55 +01:00
Ebbe Baß b3eb6a9719 removed exception
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 00:28:22 +01:00
Ebbe Baß 47506bedf7 fixed value
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 00:27:20 +01:00
Ebbe Baß 4a9f34769e fixed typo
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 00:23:36 +01:00
Ebbe Baß e7da28b601 switched to publishing the whole universe data
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-17 00:23:19 +01:00
Ebbe Baß 0f1af9b042 changed from threading to multiprocessing
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-16 18:48:25 +01:00
Ebbe Baß 398cbc337d multithreading test
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-16 18:45:24 +01:00
Ebbe Baß 6d1a0632aa moved mqtt thread down
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-16 18:43:44 +01:00
Ebbe Baß 99312886b4 added threading to publisher
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-16 18:42:35 +01:00
Ebbe Baß 866ccccb5a updated README for client and added flask back again to app.py
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-16 18:03:43 +01:00
Ebbe Baß b9f446c679 for i in range length of artnet packet
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-16 01:40:23 +01:00
Ebbe Baß 41aa327a11 removed lseeper
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-16 00:40:49 +01:00
Ebbe Baß 2738acff07 made sleeper longer
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-16 00:40:13 +01:00
Ebbe Baß 800292d7fd added small sleeper
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-16 00:33:40 +01:00
Ebbe Baß 227b5d2b8d removed sleeper
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-16 00:32:27 +01:00
Ebbe Baß 74ac2e589f added data non check back
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-16 00:26:03 +01:00
Ebbe Baß d6b0dc6c72 removed data none check
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-16 00:25:31 +01:00
Ebbe Baß 8fd0ee3ec9 test
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-16 00:12:10 +01:00
Ebbe Baß e48a43710e test
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-16 00:11:37 +01:00
Ebbe Baß bf6d8c5a0c added sleeper and removed print
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-16 00:02:51 +01:00
Ebbe Baß f8770edc27 test
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-15 12:28:14 +01:00
Ebbe Baß aa1e1e708e test
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-15 11:44:05 +01:00
Ebbe Baß a3cc4ca81d test
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-15 11:43:11 +01:00
Ebbe Baß 626ae217c9 test
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-15 11:41:50 +01:00
Ebbe Baß 6cd598fc4f added clean exit
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-15 11:40:55 +01:00
Ebbe Baß e90e68fe77 removed universe count
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 22:33:40 +01:00
Ebbe Baß 30cd752d13 added publisher back
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 22:29:33 +01:00
Ebbe Baß d47b6b58b1 added debug for artnet
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 22:22:46 +01:00
Ebbe Baß ac60430725 removed refresh
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 22:22:18 +01:00
Ebbe Baß 03fe682a0e added debug
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 22:18:41 +01:00
Ebbe Baß 9f67bac60c added time sleeper
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 22:15:47 +01:00
Ebbe Baß 794b38755f added more debugging
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 22:15:15 +01:00
Ebbe Baß 4342abce41 removed old debug
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 22:12:24 +01:00
Ebbe Baß 79bc7c38e6 added try to for
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 22:12:06 +01:00
Ebbe Baß 4c53d9dc04 give me debug dmx data
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 22:08:16 +01:00
Ebbe Baß cc169e6e71 fixed error exception
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 22:07:19 +01:00
Ebbe Baß d58a5d53ef removed shit from config
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 22:06:29 +01:00
Ebbe Baß b1b480da08 just removed the dumbest mechanism ever. WHY CHECK IF UNIVERSE IS IN LIST IF ALL THE USED UNIVERSES ARE GETTING SENDT TO ME SO I ONLY HAVE TO UPDATE AND PUBLISH
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 22:06:14 +01:00
Ebbe Baß d08a8f5420 removed dumb mistake
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 22:01:45 +01:00
Ebbe Baß 4430840f71 other test
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 21:59:36 +01:00
Ebbe Baß 1242fa12d4 testing different methode
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 21:58:39 +01:00
Ebbe Baß d326fd6cd8 next test
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 21:46:42 +01:00
Ebbe Baß 5e82c0a976 testing something else
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 21:35:53 +01:00
Ebbe Baß d21c4563db added universe print
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 21:32:16 +01:00
Ebbe Baß 11eb9425cc maybe fixed shit
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 21:31:14 +01:00
Ebbe Baß 8e859876d3 print universe list
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 21:30:16 +01:00
Ebbe Baß 8dd4924f13 added more tries and a for loop for the universe_list
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 21:27:51 +01:00
Ebbe Baß e5cfecd8dd print universe
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 19:40:00 +01:00
Ebbe Baß ad1be3288a added mqtt publisher
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 19:33:43 +01:00
Ebbe Baß 7b264c26bd removed prints
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 19:31:34 +01:00
Ebbe Baß 382d2c94dd fixed range
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 19:30:33 +01:00
Ebbe Baß 70634f7eb5 test
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 19:28:35 +01:00
Ebbe Baß 1108b9acfc added universe print
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 19:26:25 +01:00
Ebbe Baß 236291fa2a added debugging
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 19:24:34 +01:00
Ebbe Baß 04372d1f2b added another exception
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 19:23:23 +01:00
Ebbe Baß 7ab0074933 removed debugger
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 03:00:06 +01:00
Ebbe Baß 3cd17361e6 changed publisher
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 02:52:28 +01:00
Ebbe Baß 563f755932 removed debugger
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 02:49:36 +01:00
Ebbe Baß be446688a7 debugger fixed
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 02:48:36 +01:00
Ebbe Baß b93d0d7d2e removed int
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 02:47:40 +01:00
Ebbe Baß 86352b5bd3 test
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 02:40:00 +01:00
Ebbe Baß c4f7266a77 test
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 02:39:10 +01:00
Ebbe Baß a6c648602b test
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 02:38:42 +01:00
Ebbe Baß 40f6a6fde2 test
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 02:38:09 +01:00
Ebbe Baß 3013a9afcc list to int
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 02:37:57 +01:00
Ebbe Baß df4748c03a testings something else
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 02:37:09 +01:00
Ebbe Baß 84d4a97f56 added some debugging
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 02:36:08 +01:00
Ebbe Baß ee7e4a3ea8 testing universe 1
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 02:23:44 +01:00
Ebbe Baß 5b44186386 testing something else
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 02:22:51 +01:00
Ebbe Baß 78deee4e7c added universe info
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 02:20:40 +01:00
Ebbe Baß 8bdcde8eec debug true
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 02:19:27 +01:00
Ebbe Baß 3499e48c17 changed artnetbindip
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 02:18:30 +01:00
Ebbe Baß df5fd9dc89 fixed error
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 02:17:57 +01:00
Ebbe Baß 92596c9111 fixed universe var
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-14 02:17:30 +01:00
Ebbe Baß 887843e703 test
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-13 22:54:03 +01:00
Ebbe Baß ce2b7eb962 removed unessecary requirement
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-13 22:49:33 +01:00
Ebbe Baß 2ee78d557b removed unessesary code
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-13 22:48:46 +01:00
Ebbe Baß 6c3658c609 removed mac address array
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-13 22:47:03 +01:00
Ebbe Baß 5f7b64c4b3 added fixed artnet code
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-13 22:46:26 +01:00
Ebbe Baß c7e79bc764 bind ip
Signed-off-by: Ebbe Baß <ebbe.bass>
2024-02-13 16:28:12 +01:00