Compare commits
4 Commits
2f4c3103b8
...
cd3688b0b3
Author | SHA1 | Date | |
---|---|---|---|
cd3688b0b3 | |||
774d2a1e83 | |||
58366036a2 | |||
47c498dddb |
@ -10,6 +10,10 @@ Maybe it's straightforward or obvious, but just for completeness: the name comes
|
|||||||
1. The direct bond to tasmota (written for its "API" if one can call the HTTP endpoints an API)
|
1. The direct bond to tasmota (written for its "API" if one can call the HTTP endpoints an API)
|
||||||
2. The ability to turn on and off tasmota devices ("on" and "off" pronounced directly one after the other sounds (a bit) like "onov")
|
2. The ability to turn on and off tasmota devices ("on" and "off" pronounced directly one after the other sounds (a bit) like "onov")
|
||||||
|
|
||||||
|
## Screenshots
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
## CLI Usage
|
## CLI Usage
|
||||||
|
|
||||||
|
BIN
assets/gui_tab1.png
Normal file
BIN
assets/gui_tab1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 180 KiB |
BIN
assets/gui_tab2.png
Normal file
BIN
assets/gui_tab2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 142 KiB |
@ -1,5 +1,23 @@
|
|||||||
#!/usr/bin/python3
|
#!/usr/bin/python3
|
||||||
|
|
||||||
|
"""
|
||||||
|
Tasmotonov GUI - A simple Qt wrapper around the tasmotonov.py script
|
||||||
|
Copyright (C) 2025 Benjamin Burkhardt
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
"""
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import tasmotonov
|
import tasmotonov
|
||||||
import configparser
|
import configparser
|
||||||
@ -124,7 +142,7 @@ def select_toggle():
|
|||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
app = QApplication(sys.argv)
|
app = QApplication(sys.argv)
|
||||||
|
|
||||||
ui_file_name = "tasmotonov.ui"
|
ui_file_name = "tasmotonov_gui.ui"
|
||||||
ui_file = QFile(ui_file_name)
|
ui_file = QFile(ui_file_name)
|
||||||
if not ui_file.open(QIODevice.ReadOnly):
|
if not ui_file.open(QIODevice.ReadOnly):
|
||||||
print(f"Cannot open {ui_file_name}: {ui_file.errorString()}")
|
print(f"Cannot open {ui_file_name}: {ui_file.errorString()}")
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="tab1_from_file">
|
<widget class="QWidget" name="tab1_from_file">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
<string>Bulk From File</string>
|
<string>From File</string>
|
||||||
</attribute>
|
</attribute>
|
||||||
<layout class="QGridLayout" name="gridLayout_2">
|
<layout class="QGridLayout" name="gridLayout_2">
|
||||||
<item row="8" column="0">
|
<item row="8" column="0">
|
||||||
@ -129,7 +129,7 @@
|
|||||||
</widget>
|
</widget>
|
||||||
<widget class="QWidget" name="tab2_from_inline">
|
<widget class="QWidget" name="tab2_from_inline">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
<string>Bulk From Inline</string>
|
<string>From Inline</string>
|
||||||
</attribute>
|
</attribute>
|
||||||
<layout class="QGridLayout" name="gridLayout">
|
<layout class="QGridLayout" name="gridLayout">
|
||||||
<item row="1" column="1">
|
<item row="1" column="1">
|
Loading…
x
Reference in New Issue
Block a user