Commit Graph

158 Commits (master)

Author SHA1 Message Date
Ebbe Baß 5ba4ca8d8e changed mothode to get colors for mode 2 with new topic
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-07-01 23:22:50 +02:00
Ebbe Baß a43c5a36fc shush
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-07-01 23:19:42 +02:00
Ebbe Baß 71e5662e4f removed unnecessary publish
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-07-01 22:59:12 +02:00
Ebbe Baß f31f971e63 added global vars to mqtt_on_message
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-07-01 22:55:57 +02:00
Ebbe Baß cf5224c8a3 moved mqtt_on_message
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-07-01 22:49:15 +02:00
Ebbe Baß 33b9d87bc6 changed loop methode
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-07-01 22:46:56 +02:00
Ebbe Baß e0a8552f26 added flask baxk and removed client loop thread and put client-loop in while loop
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-07-01 22:44:22 +02:00
Ebbe Baß d493b6a9ec temp killed flask server
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-07-01 22:42:51 +02:00
Ebbe Baß b3a0e08cdb removed topic decode
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-07-01 22:42:07 +02:00
Ebbe Baß 225f80587b changed msg.topic/msg.payload into var's
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-07-01 22:39:56 +02:00
Ebbe Baß 4fd8d0b037 moved on_message def
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-07-01 22:32:30 +02:00
Ebbe Baß 481b3c7194 removed publishes in unescafrejhkjogitrj
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-07-01 22:28:36 +02:00
Ebbe Baß aa27df6f57 added mqtt on message if requests for each topic
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-07-01 22:26:11 +02:00
Ebbe Baß c66498d48f added status and set option for mqtt topics
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-07-01 21:52:00 +02:00
Ebbe Baß bc1c162ae9 added user/passwd and debug for mqtt connection
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-06-29 22:06:39 +02:00
Ebbe Baß 22ad4a47d4 added basic mqtt mechanic
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-06-29 21:59:06 +02:00
Ebbe Baß 0d9e360468 remived gui
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-06-28 18:07:59 +02:00
Ebbe Baß c46ff17401 removed debug
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-05-16 21:45:15 +02:00
Ebbe Baß 2c1b030209 removed shit
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-05-16 21:44:15 +02:00
Ebbe Baß 6e31b858d3 added tut
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-05-16 21:43:31 +02:00
Ebbe Baß eeba48e52e added power check to rainbow cycle
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-05-16 21:41:37 +02:00
Ebbe Baß e65c9b02b5 fixxed typo
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-05-16 21:40:03 +02:00
Ebbe Baß 22545984bf maybe fixxed power
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-05-16 21:39:21 +02:00
Ebbe Baß 660fb1dd1c added str
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-05-16 21:38:15 +02:00
Ebbe Baß 7bdbc9a737 maybe fixxed power
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-05-16 21:36:58 +02:00
Ebbe Baß 520b374ace fixxed power
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-05-16 21:33:29 +02:00
Ebbe Baß 8ef46266f3 added threading
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-05-16 21:31:43 +02:00
Ebbe Baß ec0d632b39 added debug
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-05-16 21:24:11 +02:00
Ebbe Baß 493e8f1f35 test background run
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-05-16 21:23:10 +02:00
Ebbe Baß 7783c634ea fixxed flask module
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-05-16 21:13:14 +02:00
Ebbe Baß c39617856b added args
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-05-16 21:12:07 +02:00
Ebbe Baß 039ea170da added argsparse module
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-05-16 21:10:53 +02:00
Ebbe Baß efe28e1793 fixxed shit
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-05-16 21:09:43 +02:00
Ebbe Baß a58565324c fixxed typo
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-05-16 21:08:45 +02:00
Ebbe Baß 186eed295b added r g b
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-05-16 21:06:13 +02:00
Ebbe Baß a1320aa210 removed shit temp
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-05-16 21:03:24 +02:00
Ebbe Baß 7c6701db29 added app runner
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-05-16 20:57:58 +02:00
Ebbe Baß 39e4552a36 added api
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-05-16 20:56:11 +02:00
Ebbe Baß da667c9ae2 remvoed internet check
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-04-28 16:48:23 +02:00
Ebbe Baß 93be9c7910 removed internet chec
Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
2022-04-28 16:46:41 +02:00
Ebbe Baß 4f439dc340 removed socket tmp 2022-03-27 16:48:53 +02:00
Ebbe Baß e2024579a6 changed something 2022-03-27 13:08:25 +02:00
Ebbe Baß 4d7370d46a changed ip 2022-03-27 13:07:01 +02:00
Ebbe Baß 4fdd837110 changed something 2022-03-27 13:06:05 +02:00
Ebbe Baß 167ef97546 Added socket threading 2022-03-27 13:04:57 +02:00
Ebbe Baß 36ddcad9c5 removed socket_data temp 2022-03-26 20:42:35 +01:00
Ebbe Baß acff311f15 added threading 2022-03-26 20:39:25 +01:00
Ebbe Baß 376edc47be trying to run socket in background 2022-03-26 20:34:20 +01:00
Ebbe Baß f27539746e removed socket temp 2022-03-26 20:32:24 +01:00
Ebbe Baß 4a151cb432 added socket server 2022-03-26 20:14:20 +01:00
Ebbe Baß f0092b3962 removed saving system 2022-03-11 11:43:40 +01:00
Ebbe Baß ee2c0af90e added try check 2022-03-11 11:42:22 +01:00
Ebbe Baß fc31141394 Added idle mode saver 2022-03-11 11:38:02 +01:00
Ebbe Baß 1f00092f11 Added new version from remake repo to the original repo casue the remake repo is bs 2022-03-11 11:18:23 +01:00
Ebbe Baß f81cae3581 removed webapi 2022-01-04 11:30:22 +01:00
Ebbe Baß 38904bf5ac next test 2022-01-04 11:07:14 +01:00
Ebbe Baß 7b119249e9 next try 2022-01-04 11:05:11 +01:00
Ebbe Baß f9ad7f54ea Made LED code also a thread 2022-01-04 10:51:16 +01:00
Ebbe Baß fda9df2e3d removed bracket from function caller 2022-01-04 02:47:25 +01:00
Ebbe Baß b6165fadfc Added print for debug 2022-01-04 02:46:23 +01:00
Ebbe Baß 3eaaae52e6 fixxed code block oder of the api 2022-01-04 02:42:12 +01:00
Ebbe Baß ee5d2fd3be Fixxed function caller in the API 2022-01-04 02:40:03 +01:00
Ebbe Baß 0e058b3b1c Added Flask Web API 2022-01-04 02:33:29 +01:00
Ebbe Baß 8148458496 Updated everything 2021-11-09 23:16:38 +01:00
Ebbe Baß f2b8ea7efa Update main.py 2021-11-09 19:57:38 +01:00
Ebbe Baß f0f4782055 Update main.py 2021-11-09 19:46:01 +01:00
Ebbe Baß 4d0f40136a Update main.py 2021-11-09 19:45:24 +01:00
Ebbe Baß 8b80aab046 Update main.py 2021-11-09 19:41:24 +01:00
Ebbe Baß eed9fdb132 Update main.py 2021-11-09 19:40:52 +01:00
Ebbe Baß 8ba810b225 Update main.py 2021-11-09 19:39:48 +01:00
Ebbe Baß 84334e14fd Update main.py 2021-11-09 19:38:49 +01:00
Ebbe Baß 2a15a35814 Update main.py 2021-11-09 19:21:14 +01:00
Ebbe Baß fcd91632aa Update main.py 2021-11-09 19:20:04 +01:00
Ebbe Baß 917e8ef5e3 Update main.py 2021-11-09 19:09:54 +01:00
Ebbe Baß d2b45bbef9 Update main.py 2021-11-09 19:09:03 +01:00
Ebbe Baß 5aa3e171d1 Update main.py 2021-11-09 19:07:14 +01:00
Ebbe Baß 93ce452ad7 Update main.py 2021-11-09 19:05:02 +01:00
Ebbe Baß 30e9b4ac8e Update main.py 2021-11-09 19:02:52 +01:00
Ebbe Baß daa21eaee8 Update main.py 2021-11-09 19:01:18 +01:00
Ebbe Baß 7f64d6e218 Update main.py 2021-11-09 18:58:49 +01:00
Ebbe Baß 29b87768b0 Update main.py 2021-11-09 18:57:14 +01:00
Ebbe Baß 1efa050369 Update main.py 2021-11-09 18:54:45 +01:00
Ebbe Baß d14230535c Update main.py 2021-11-09 18:52:20 +01:00
Ebbe Baß 983eccedde Update main.py 2021-11-09 18:41:13 +01:00
Ebbe Baß 80def56b11 Update main.py 2021-11-09 18:37:56 +01:00
Ebbe Baß 43496a0936 Update main.py 2021-11-09 18:36:48 +01:00
Ebbe Baß f48cc2cc60 Update main.py 2021-11-09 18:34:15 +01:00
Ebbe Baß c743b86ea5 Update main.py 2021-11-09 18:33:31 +01:00
Ebbe Baß c6b094ba49 Update main.py 2021-11-09 18:30:31 +01:00
Ebbe Baß 395584ef70 Update main.py 2021-11-09 18:29:50 +01:00
Ebbe Baß ae2598895e Update main.py 2021-11-09 18:28:28 +01:00
Ebbe Baß 41343a6f5a Update main.py 2021-11-09 18:27:26 +01:00
Ebbe Baß 8a853c3b21 Update main.py 2021-11-09 18:26:35 +01:00
Ebbe Baß 7fd658ffa8 Update main.py 2021-11-09 18:23:29 +01:00
Ebbe Baß 7c3e0b3db1 Update main.py 2021-11-09 18:22:17 +01:00
Ebbe Baß 36a1f39928 Update main.py 2021-11-09 18:19:02 +01:00
Ebbe Baß 8755406d8d Update main.py 2021-11-09 18:11:22 +01:00
Ebbe Baß bc20d65602 Update main.py 2021-11-09 18:10:00 +01:00
Ebbe Baß 069561b657 Update main.py 2021-11-09 17:53:37 +01:00
Ebbe Baß 924685d2e4 Update main.py 2021-11-09 17:27:46 +01:00