Compare commits

..

No commits in common. "cd3688b0b3e0fbd471c3a6cebb2bb43e39da4bd4" and "2f4c3103b8588f756e4b08cc837e0d645177ab3a" have entirely different histories.

5 changed files with 3 additions and 25 deletions

View File

@ -10,10 +10,6 @@ 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)
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
![Tab 1 of the GUI](assets/gui_tab1.png)
![Tab 2 of the GUI](assets/gui_tab1.png)
## CLI Usage

Binary file not shown.

Before

Width:  |  Height:  |  Size: 180 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 KiB

View File

@ -1,23 +1,5 @@
#!/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 tasmotonov
import configparser
@ -142,7 +124,7 @@ def select_toggle():
if __name__ == "__main__":
app = QApplication(sys.argv)
ui_file_name = "tasmotonov_gui.ui"
ui_file_name = "tasmotonov.ui"
ui_file = QFile(ui_file_name)
if not ui_file.open(QIODevice.ReadOnly):
print(f"Cannot open {ui_file_name}: {ui_file.errorString()}")

View File

@ -40,7 +40,7 @@
</property>
<widget class="QWidget" name="tab1_from_file">
<attribute name="title">
<string>From File</string>
<string>Bulk From File</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_2">
<item row="8" column="0">
@ -129,7 +129,7 @@
</widget>
<widget class="QWidget" name="tab2_from_inline">
<attribute name="title">
<string>From Inline</string>
<string>Bulk From Inline</string>
</attribute>
<layout class="QGridLayout" name="gridLayout">
<item row="1" column="1">