mirror of
https://gitlab.sectorq.eu/jaydee/mqtt_srv.git
synced 2025-12-14 10:34:53 +01:00
modify xrandr
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
(['/home/jd/projects/mqtt_srv/mqtt_srv.pyw'],
|
(['/home/jd/projects/mqtt_srv/mqtt_srv.pyw'],
|
||||||
['/home/jd/projects/mqtt_srv'],
|
['/home/jd/projects/mqtt_srv'],
|
||||||
['codecs'],
|
['codecs'],
|
||||||
['/home/jd/.local/lib/python3.10/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks',
|
['/usr/local/lib/python3.10/dist-packages/numpy/_pyinstaller',
|
||||||
|
'/home/jd/.local/lib/python3.10/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks',
|
||||||
'/home/jd/.local/lib/python3.10/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks/__pycache__',
|
'/home/jd/.local/lib/python3.10/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks/__pycache__',
|
||||||
'/home/jd/.local/lib/python3.10/site-packages/_pyinstaller_hooks_contrib/hooks/rthooks',
|
'/home/jd/.local/lib/python3.10/site-packages/_pyinstaller_hooks_contrib/hooks/rthooks',
|
||||||
'/home/jd/.local/lib/python3.10/site-packages/_pyinstaller_hooks_contrib/hooks/rthooks/__pycache__',
|
'/home/jd/.local/lib/python3.10/site-packages/_pyinstaller_hooks_contrib/hooks/rthooks/__pycache__',
|
||||||
@@ -15,7 +16,7 @@
|
|||||||
{},
|
{},
|
||||||
[],
|
[],
|
||||||
[],
|
[],
|
||||||
'3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]',
|
'3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]',
|
||||||
[('pyi_rth_inspect',
|
[('pyi_rth_inspect',
|
||||||
'/home/jd/.local/lib/python3.10/site-packages/PyInstaller/hooks/rthooks/pyi_rth_inspect.py',
|
'/home/jd/.local/lib/python3.10/site-packages/PyInstaller/hooks/rthooks/pyi_rth_inspect.py',
|
||||||
'PYSOURCE'),
|
'PYSOURCE'),
|
||||||
@@ -228,9 +229,6 @@
|
|||||||
'PYMODULE'),
|
'PYMODULE'),
|
||||||
('threading', '/usr/lib/python3.10/threading.py', 'PYMODULE'),
|
('threading', '/usr/lib/python3.10/threading.py', 'PYMODULE'),
|
||||||
('_threading_local', '/usr/lib/python3.10/_threading_local.py', 'PYMODULE'),
|
('_threading_local', '/usr/lib/python3.10/_threading_local.py', 'PYMODULE'),
|
||||||
('tracemalloc', '/usr/lib/python3.10/tracemalloc.py', 'PYMODULE'),
|
|
||||||
('stringprep', '/usr/lib/python3.10/stringprep.py', 'PYMODULE'),
|
|
||||||
('_py_abc', '/usr/lib/python3.10/_py_abc.py', 'PYMODULE'),
|
|
||||||
('getpass', '/usr/lib/python3.10/getpass.py', 'PYMODULE'),
|
('getpass', '/usr/lib/python3.10/getpass.py', 'PYMODULE'),
|
||||||
('nturl2path', '/usr/lib/python3.10/nturl2path.py', 'PYMODULE'),
|
('nturl2path', '/usr/lib/python3.10/nturl2path.py', 'PYMODULE'),
|
||||||
('ftplib', '/usr/lib/python3.10/ftplib.py', 'PYMODULE'),
|
('ftplib', '/usr/lib/python3.10/ftplib.py', 'PYMODULE'),
|
||||||
@@ -238,6 +236,9 @@
|
|||||||
('shlex', '/usr/lib/python3.10/shlex.py', 'PYMODULE'),
|
('shlex', '/usr/lib/python3.10/shlex.py', 'PYMODULE'),
|
||||||
('mimetypes', '/usr/lib/python3.10/mimetypes.py', 'PYMODULE'),
|
('mimetypes', '/usr/lib/python3.10/mimetypes.py', 'PYMODULE'),
|
||||||
('http.cookiejar', '/usr/lib/python3.10/http/cookiejar.py', 'PYMODULE'),
|
('http.cookiejar', '/usr/lib/python3.10/http/cookiejar.py', 'PYMODULE'),
|
||||||
|
('tracemalloc', '/usr/lib/python3.10/tracemalloc.py', 'PYMODULE'),
|
||||||
|
('_py_abc', '/usr/lib/python3.10/_py_abc.py', 'PYMODULE'),
|
||||||
|
('stringprep', '/usr/lib/python3.10/stringprep.py', 'PYMODULE'),
|
||||||
('autorandr',
|
('autorandr',
|
||||||
'/home/jd/.local/lib/python3.10/site-packages/autorandr.py',
|
'/home/jd/.local/lib/python3.10/site-packages/autorandr.py',
|
||||||
'PYMODULE'),
|
'PYMODULE'),
|
||||||
@@ -416,15 +417,15 @@
|
|||||||
'/usr/lib/python3/dist-packages/urllib3/packages/ssl_match_hostname/_implementation.py',
|
'/usr/lib/python3/dist-packages/urllib3/packages/ssl_match_hostname/_implementation.py',
|
||||||
'PYMODULE'),
|
'PYMODULE'),
|
||||||
('ipaddress', '/usr/lib/python3.10/ipaddress.py', 'PYMODULE'),
|
('ipaddress', '/usr/lib/python3.10/ipaddress.py', 'PYMODULE'),
|
||||||
|
('urllib3._collections',
|
||||||
|
'/usr/lib/python3/dist-packages/urllib3/_collections.py',
|
||||||
|
'PYMODULE'),
|
||||||
('urllib3.connection',
|
('urllib3.connection',
|
||||||
'/usr/lib/python3/dist-packages/urllib3/connection.py',
|
'/usr/lib/python3/dist-packages/urllib3/connection.py',
|
||||||
'PYMODULE'),
|
'PYMODULE'),
|
||||||
('urllib3._version',
|
('urllib3._version',
|
||||||
'/usr/lib/python3/dist-packages/urllib3/_version.py',
|
'/usr/lib/python3/dist-packages/urllib3/_version.py',
|
||||||
'PYMODULE'),
|
'PYMODULE'),
|
||||||
('urllib3._collections',
|
|
||||||
'/usr/lib/python3/dist-packages/urllib3/_collections.py',
|
|
||||||
'PYMODULE'),
|
|
||||||
('urllib3.util.retry',
|
('urllib3.util.retry',
|
||||||
'/usr/lib/python3/dist-packages/urllib3/util/retry.py',
|
'/usr/lib/python3/dist-packages/urllib3/util/retry.py',
|
||||||
'PYMODULE'),
|
'PYMODULE'),
|
||||||
@@ -1262,8 +1263,8 @@
|
|||||||
('asyncio.constants',
|
('asyncio.constants',
|
||||||
'/usr/lib/python3.10/asyncio/constants.py',
|
'/usr/lib/python3.10/asyncio/constants.py',
|
||||||
'PYMODULE')],
|
'PYMODULE')],
|
||||||
[('libexpat.so.1', '/lib/x86_64-linux-gnu/libexpat.so.1', 'BINARY'),
|
[('libz.so.1', '/lib/x86_64-linux-gnu/libz.so.1', 'BINARY'),
|
||||||
('libz.so.1', '/lib/x86_64-linux-gnu/libz.so.1', 'BINARY'),
|
('libexpat.so.1', '/lib/x86_64-linux-gnu/libexpat.so.1', 'BINARY'),
|
||||||
('lib-dynload/resource.cpython-310-x86_64-linux-gnu.so',
|
('lib-dynload/resource.cpython-310-x86_64-linux-gnu.so',
|
||||||
'/usr/lib/python3.10/lib-dynload/resource.cpython-310-x86_64-linux-gnu.so',
|
'/usr/lib/python3.10/lib-dynload/resource.cpython-310-x86_64-linux-gnu.so',
|
||||||
'EXTENSION'),
|
'EXTENSION'),
|
||||||
@@ -1300,6 +1301,9 @@
|
|||||||
('lib-dynload/_queue.cpython-310-x86_64-linux-gnu.so',
|
('lib-dynload/_queue.cpython-310-x86_64-linux-gnu.so',
|
||||||
'/usr/lib/python3.10/lib-dynload/_queue.cpython-310-x86_64-linux-gnu.so',
|
'/usr/lib/python3.10/lib-dynload/_queue.cpython-310-x86_64-linux-gnu.so',
|
||||||
'EXTENSION'),
|
'EXTENSION'),
|
||||||
|
('lib-dynload/termios.cpython-310-x86_64-linux-gnu.so',
|
||||||
|
'/usr/lib/python3.10/lib-dynload/termios.cpython-310-x86_64-linux-gnu.so',
|
||||||
|
'EXTENSION'),
|
||||||
('lib-dynload/_multibytecodec.cpython-310-x86_64-linux-gnu.so',
|
('lib-dynload/_multibytecodec.cpython-310-x86_64-linux-gnu.so',
|
||||||
'/usr/lib/python3.10/lib-dynload/_multibytecodec.cpython-310-x86_64-linux-gnu.so',
|
'/usr/lib/python3.10/lib-dynload/_multibytecodec.cpython-310-x86_64-linux-gnu.so',
|
||||||
'EXTENSION'),
|
'EXTENSION'),
|
||||||
@@ -1321,9 +1325,6 @@
|
|||||||
('lib-dynload/_codecs_hk.cpython-310-x86_64-linux-gnu.so',
|
('lib-dynload/_codecs_hk.cpython-310-x86_64-linux-gnu.so',
|
||||||
'/usr/lib/python3.10/lib-dynload/_codecs_hk.cpython-310-x86_64-linux-gnu.so',
|
'/usr/lib/python3.10/lib-dynload/_codecs_hk.cpython-310-x86_64-linux-gnu.so',
|
||||||
'EXTENSION'),
|
'EXTENSION'),
|
||||||
('lib-dynload/termios.cpython-310-x86_64-linux-gnu.so',
|
|
||||||
'/usr/lib/python3.10/lib-dynload/termios.cpython-310-x86_64-linux-gnu.so',
|
|
||||||
'EXTENSION'),
|
|
||||||
('psutil/_psutil_posix.cpython-310-x86_64-linux-gnu.so',
|
('psutil/_psutil_posix.cpython-310-x86_64-linux-gnu.so',
|
||||||
'/usr/lib/python3/dist-packages/psutil/_psutil_posix.cpython-310-x86_64-linux-gnu.so',
|
'/usr/lib/python3/dist-packages/psutil/_psutil_posix.cpython-310-x86_64-linux-gnu.so',
|
||||||
'EXTENSION'),
|
'EXTENSION'),
|
||||||
@@ -1356,11 +1357,11 @@
|
|||||||
'EXTENSION'),
|
'EXTENSION'),
|
||||||
('liblzma.so.5', '/lib/x86_64-linux-gnu/liblzma.so.5', 'BINARY'),
|
('liblzma.so.5', '/lib/x86_64-linux-gnu/liblzma.so.5', 'BINARY'),
|
||||||
('libbz2.so.1.0', '/lib/x86_64-linux-gnu/libbz2.so.1.0', 'BINARY'),
|
('libbz2.so.1.0', '/lib/x86_64-linux-gnu/libbz2.so.1.0', 'BINARY'),
|
||||||
('libcrypto.so.3', '/lib/x86_64-linux-gnu/libcrypto.so.3', 'BINARY'),
|
|
||||||
('libssl.so.3', '/lib/x86_64-linux-gnu/libssl.so.3', 'BINARY'),
|
('libssl.so.3', '/lib/x86_64-linux-gnu/libssl.so.3', 'BINARY'),
|
||||||
|
('libcrypto.so.3', '/lib/x86_64-linux-gnu/libcrypto.so.3', 'BINARY'),
|
||||||
('libmpdec.so.3', '/lib/x86_64-linux-gnu/libmpdec.so.3', 'BINARY'),
|
('libmpdec.so.3', '/lib/x86_64-linux-gnu/libmpdec.so.3', 'BINARY'),
|
||||||
('libncursesw.so.6', '/lib/x86_64-linux-gnu/libncursesw.so.6', 'BINARY'),
|
|
||||||
('libtinfo.so.6', '/lib/x86_64-linux-gnu/libtinfo.so.6', 'BINARY'),
|
('libtinfo.so.6', '/lib/x86_64-linux-gnu/libtinfo.so.6', 'BINARY'),
|
||||||
|
('libncursesw.so.6', '/lib/x86_64-linux-gnu/libncursesw.so.6', 'BINARY'),
|
||||||
('libffi.so.8', '/lib/x86_64-linux-gnu/libffi.so.8', 'BINARY'),
|
('libffi.so.8', '/lib/x86_64-linux-gnu/libffi.so.8', 'BINARY'),
|
||||||
('libuuid.so.1', '/lib/x86_64-linux-gnu/libuuid.so.1', 'BINARY'),
|
('libuuid.so.1', '/lib/x86_64-linux-gnu/libuuid.so.1', 'BINARY'),
|
||||||
('libpython3.10.so.1.0',
|
('libpython3.10.so.1.0',
|
||||||
@@ -1371,22 +1372,22 @@
|
|||||||
[('base_library.zip',
|
[('base_library.zip',
|
||||||
'/home/jd/projects/mqtt_srv/build/mqtt_srv/base_library.zip',
|
'/home/jd/projects/mqtt_srv/build/mqtt_srv/base_library.zip',
|
||||||
'DATA'),
|
'DATA'),
|
||||||
|
('cryptography-3.4.8.egg-info/not-zip-safe',
|
||||||
|
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/not-zip-safe',
|
||||||
|
'DATA'),
|
||||||
('certifi/cacert.pem',
|
('certifi/cacert.pem',
|
||||||
'/usr/lib/python3/dist-packages/certifi/cacert.pem',
|
'/usr/lib/python3/dist-packages/certifi/cacert.pem',
|
||||||
'DATA'),
|
'DATA'),
|
||||||
('cryptography-3.4.8.egg-info/requires.txt',
|
|
||||||
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/requires.txt',
|
|
||||||
'DATA'),
|
|
||||||
('cryptography-3.4.8.egg-info/dependency_links.txt',
|
('cryptography-3.4.8.egg-info/dependency_links.txt',
|
||||||
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/dependency_links.txt',
|
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/dependency_links.txt',
|
||||||
'DATA'),
|
'DATA'),
|
||||||
('cryptography-3.4.8.egg-info/not-zip-safe',
|
('cryptography-3.4.8.egg-info/requires.txt',
|
||||||
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/not-zip-safe',
|
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/requires.txt',
|
||||||
'DATA'),
|
|
||||||
('cryptography-3.4.8.egg-info/PKG-INFO',
|
|
||||||
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/PKG-INFO',
|
|
||||||
'DATA'),
|
'DATA'),
|
||||||
('cryptography-3.4.8.egg-info/top_level.txt',
|
('cryptography-3.4.8.egg-info/top_level.txt',
|
||||||
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/top_level.txt',
|
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/top_level.txt',
|
||||||
|
'DATA'),
|
||||||
|
('cryptography-3.4.8.egg-info/PKG-INFO',
|
||||||
|
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/PKG-INFO',
|
||||||
'DATA')],
|
'DATA')],
|
||||||
[])
|
[])
|
||||||
|
|||||||
@@ -40,8 +40,8 @@
|
|||||||
'/home/jd/.local/lib/python3.10/site-packages/PyInstaller/hooks/rthooks/pyi_rth_multiprocessing.py',
|
'/home/jd/.local/lib/python3.10/site-packages/PyInstaller/hooks/rthooks/pyi_rth_multiprocessing.py',
|
||||||
'PYSOURCE'),
|
'PYSOURCE'),
|
||||||
('mqtt_srv', '/home/jd/projects/mqtt_srv/mqtt_srv.pyw', 'PYSOURCE'),
|
('mqtt_srv', '/home/jd/projects/mqtt_srv/mqtt_srv.pyw', 'PYSOURCE'),
|
||||||
('libexpat.so.1', '/lib/x86_64-linux-gnu/libexpat.so.1', 'BINARY'),
|
|
||||||
('libz.so.1', '/lib/x86_64-linux-gnu/libz.so.1', 'BINARY'),
|
('libz.so.1', '/lib/x86_64-linux-gnu/libz.so.1', 'BINARY'),
|
||||||
|
('libexpat.so.1', '/lib/x86_64-linux-gnu/libexpat.so.1', 'BINARY'),
|
||||||
('lib-dynload/resource.cpython-310-x86_64-linux-gnu.so',
|
('lib-dynload/resource.cpython-310-x86_64-linux-gnu.so',
|
||||||
'/usr/lib/python3.10/lib-dynload/resource.cpython-310-x86_64-linux-gnu.so',
|
'/usr/lib/python3.10/lib-dynload/resource.cpython-310-x86_64-linux-gnu.so',
|
||||||
'EXTENSION'),
|
'EXTENSION'),
|
||||||
@@ -78,6 +78,9 @@
|
|||||||
('lib-dynload/_queue.cpython-310-x86_64-linux-gnu.so',
|
('lib-dynload/_queue.cpython-310-x86_64-linux-gnu.so',
|
||||||
'/usr/lib/python3.10/lib-dynload/_queue.cpython-310-x86_64-linux-gnu.so',
|
'/usr/lib/python3.10/lib-dynload/_queue.cpython-310-x86_64-linux-gnu.so',
|
||||||
'EXTENSION'),
|
'EXTENSION'),
|
||||||
|
('lib-dynload/termios.cpython-310-x86_64-linux-gnu.so',
|
||||||
|
'/usr/lib/python3.10/lib-dynload/termios.cpython-310-x86_64-linux-gnu.so',
|
||||||
|
'EXTENSION'),
|
||||||
('lib-dynload/_multibytecodec.cpython-310-x86_64-linux-gnu.so',
|
('lib-dynload/_multibytecodec.cpython-310-x86_64-linux-gnu.so',
|
||||||
'/usr/lib/python3.10/lib-dynload/_multibytecodec.cpython-310-x86_64-linux-gnu.so',
|
'/usr/lib/python3.10/lib-dynload/_multibytecodec.cpython-310-x86_64-linux-gnu.so',
|
||||||
'EXTENSION'),
|
'EXTENSION'),
|
||||||
@@ -99,9 +102,6 @@
|
|||||||
('lib-dynload/_codecs_hk.cpython-310-x86_64-linux-gnu.so',
|
('lib-dynload/_codecs_hk.cpython-310-x86_64-linux-gnu.so',
|
||||||
'/usr/lib/python3.10/lib-dynload/_codecs_hk.cpython-310-x86_64-linux-gnu.so',
|
'/usr/lib/python3.10/lib-dynload/_codecs_hk.cpython-310-x86_64-linux-gnu.so',
|
||||||
'EXTENSION'),
|
'EXTENSION'),
|
||||||
('lib-dynload/termios.cpython-310-x86_64-linux-gnu.so',
|
|
||||||
'/usr/lib/python3.10/lib-dynload/termios.cpython-310-x86_64-linux-gnu.so',
|
|
||||||
'EXTENSION'),
|
|
||||||
('psutil/_psutil_posix.cpython-310-x86_64-linux-gnu.so',
|
('psutil/_psutil_posix.cpython-310-x86_64-linux-gnu.so',
|
||||||
'/usr/lib/python3/dist-packages/psutil/_psutil_posix.cpython-310-x86_64-linux-gnu.so',
|
'/usr/lib/python3/dist-packages/psutil/_psutil_posix.cpython-310-x86_64-linux-gnu.so',
|
||||||
'EXTENSION'),
|
'EXTENSION'),
|
||||||
@@ -134,11 +134,11 @@
|
|||||||
'EXTENSION'),
|
'EXTENSION'),
|
||||||
('liblzma.so.5', '/lib/x86_64-linux-gnu/liblzma.so.5', 'BINARY'),
|
('liblzma.so.5', '/lib/x86_64-linux-gnu/liblzma.so.5', 'BINARY'),
|
||||||
('libbz2.so.1.0', '/lib/x86_64-linux-gnu/libbz2.so.1.0', 'BINARY'),
|
('libbz2.so.1.0', '/lib/x86_64-linux-gnu/libbz2.so.1.0', 'BINARY'),
|
||||||
('libcrypto.so.3', '/lib/x86_64-linux-gnu/libcrypto.so.3', 'BINARY'),
|
|
||||||
('libssl.so.3', '/lib/x86_64-linux-gnu/libssl.so.3', 'BINARY'),
|
('libssl.so.3', '/lib/x86_64-linux-gnu/libssl.so.3', 'BINARY'),
|
||||||
|
('libcrypto.so.3', '/lib/x86_64-linux-gnu/libcrypto.so.3', 'BINARY'),
|
||||||
('libmpdec.so.3', '/lib/x86_64-linux-gnu/libmpdec.so.3', 'BINARY'),
|
('libmpdec.so.3', '/lib/x86_64-linux-gnu/libmpdec.so.3', 'BINARY'),
|
||||||
('libncursesw.so.6', '/lib/x86_64-linux-gnu/libncursesw.so.6', 'BINARY'),
|
|
||||||
('libtinfo.so.6', '/lib/x86_64-linux-gnu/libtinfo.so.6', 'BINARY'),
|
('libtinfo.so.6', '/lib/x86_64-linux-gnu/libtinfo.so.6', 'BINARY'),
|
||||||
|
('libncursesw.so.6', '/lib/x86_64-linux-gnu/libncursesw.so.6', 'BINARY'),
|
||||||
('libffi.so.8', '/lib/x86_64-linux-gnu/libffi.so.8', 'BINARY'),
|
('libffi.so.8', '/lib/x86_64-linux-gnu/libffi.so.8', 'BINARY'),
|
||||||
('libuuid.so.1', '/lib/x86_64-linux-gnu/libuuid.so.1', 'BINARY'),
|
('libuuid.so.1', '/lib/x86_64-linux-gnu/libuuid.so.1', 'BINARY'),
|
||||||
('libpython3.10.so.1.0',
|
('libpython3.10.so.1.0',
|
||||||
@@ -147,28 +147,28 @@
|
|||||||
('base_library.zip',
|
('base_library.zip',
|
||||||
'/home/jd/projects/mqtt_srv/build/mqtt_srv/base_library.zip',
|
'/home/jd/projects/mqtt_srv/build/mqtt_srv/base_library.zip',
|
||||||
'DATA'),
|
'DATA'),
|
||||||
|
('cryptography-3.4.8.egg-info/not-zip-safe',
|
||||||
|
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/not-zip-safe',
|
||||||
|
'DATA'),
|
||||||
('certifi/cacert.pem',
|
('certifi/cacert.pem',
|
||||||
'/usr/lib/python3/dist-packages/certifi/cacert.pem',
|
'/usr/lib/python3/dist-packages/certifi/cacert.pem',
|
||||||
'DATA'),
|
'DATA'),
|
||||||
('cryptography-3.4.8.egg-info/requires.txt',
|
|
||||||
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/requires.txt',
|
|
||||||
'DATA'),
|
|
||||||
('cryptography-3.4.8.egg-info/dependency_links.txt',
|
('cryptography-3.4.8.egg-info/dependency_links.txt',
|
||||||
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/dependency_links.txt',
|
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/dependency_links.txt',
|
||||||
'DATA'),
|
'DATA'),
|
||||||
('cryptography-3.4.8.egg-info/not-zip-safe',
|
('cryptography-3.4.8.egg-info/requires.txt',
|
||||||
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/not-zip-safe',
|
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/requires.txt',
|
||||||
'DATA'),
|
|
||||||
('cryptography-3.4.8.egg-info/PKG-INFO',
|
|
||||||
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/PKG-INFO',
|
|
||||||
'DATA'),
|
'DATA'),
|
||||||
('cryptography-3.4.8.egg-info/top_level.txt',
|
('cryptography-3.4.8.egg-info/top_level.txt',
|
||||||
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/top_level.txt',
|
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/top_level.txt',
|
||||||
|
'DATA'),
|
||||||
|
('cryptography-3.4.8.egg-info/PKG-INFO',
|
||||||
|
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/PKG-INFO',
|
||||||
'DATA')],
|
'DATA')],
|
||||||
[],
|
[],
|
||||||
False,
|
False,
|
||||||
False,
|
False,
|
||||||
1695482515,
|
1702645014,
|
||||||
[('run',
|
[('run',
|
||||||
'/home/jd/.local/lib/python3.10/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run',
|
'/home/jd/.local/lib/python3.10/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run',
|
||||||
'EXECUTABLE')])
|
'EXECUTABLE')])
|
||||||
|
|||||||
@@ -33,8 +33,8 @@
|
|||||||
'/home/jd/.local/lib/python3.10/site-packages/PyInstaller/hooks/rthooks/pyi_rth_multiprocessing.py',
|
'/home/jd/.local/lib/python3.10/site-packages/PyInstaller/hooks/rthooks/pyi_rth_multiprocessing.py',
|
||||||
'PYSOURCE'),
|
'PYSOURCE'),
|
||||||
('mqtt_srv', '/home/jd/projects/mqtt_srv/mqtt_srv.pyw', 'PYSOURCE'),
|
('mqtt_srv', '/home/jd/projects/mqtt_srv/mqtt_srv.pyw', 'PYSOURCE'),
|
||||||
('libexpat.so.1', '/lib/x86_64-linux-gnu/libexpat.so.1', 'BINARY'),
|
|
||||||
('libz.so.1', '/lib/x86_64-linux-gnu/libz.so.1', 'BINARY'),
|
('libz.so.1', '/lib/x86_64-linux-gnu/libz.so.1', 'BINARY'),
|
||||||
|
('libexpat.so.1', '/lib/x86_64-linux-gnu/libexpat.so.1', 'BINARY'),
|
||||||
('lib-dynload/resource.cpython-310-x86_64-linux-gnu.so',
|
('lib-dynload/resource.cpython-310-x86_64-linux-gnu.so',
|
||||||
'/usr/lib/python3.10/lib-dynload/resource.cpython-310-x86_64-linux-gnu.so',
|
'/usr/lib/python3.10/lib-dynload/resource.cpython-310-x86_64-linux-gnu.so',
|
||||||
'EXTENSION'),
|
'EXTENSION'),
|
||||||
@@ -71,6 +71,9 @@
|
|||||||
('lib-dynload/_queue.cpython-310-x86_64-linux-gnu.so',
|
('lib-dynload/_queue.cpython-310-x86_64-linux-gnu.so',
|
||||||
'/usr/lib/python3.10/lib-dynload/_queue.cpython-310-x86_64-linux-gnu.so',
|
'/usr/lib/python3.10/lib-dynload/_queue.cpython-310-x86_64-linux-gnu.so',
|
||||||
'EXTENSION'),
|
'EXTENSION'),
|
||||||
|
('lib-dynload/termios.cpython-310-x86_64-linux-gnu.so',
|
||||||
|
'/usr/lib/python3.10/lib-dynload/termios.cpython-310-x86_64-linux-gnu.so',
|
||||||
|
'EXTENSION'),
|
||||||
('lib-dynload/_multibytecodec.cpython-310-x86_64-linux-gnu.so',
|
('lib-dynload/_multibytecodec.cpython-310-x86_64-linux-gnu.so',
|
||||||
'/usr/lib/python3.10/lib-dynload/_multibytecodec.cpython-310-x86_64-linux-gnu.so',
|
'/usr/lib/python3.10/lib-dynload/_multibytecodec.cpython-310-x86_64-linux-gnu.so',
|
||||||
'EXTENSION'),
|
'EXTENSION'),
|
||||||
@@ -92,9 +95,6 @@
|
|||||||
('lib-dynload/_codecs_hk.cpython-310-x86_64-linux-gnu.so',
|
('lib-dynload/_codecs_hk.cpython-310-x86_64-linux-gnu.so',
|
||||||
'/usr/lib/python3.10/lib-dynload/_codecs_hk.cpython-310-x86_64-linux-gnu.so',
|
'/usr/lib/python3.10/lib-dynload/_codecs_hk.cpython-310-x86_64-linux-gnu.so',
|
||||||
'EXTENSION'),
|
'EXTENSION'),
|
||||||
('lib-dynload/termios.cpython-310-x86_64-linux-gnu.so',
|
|
||||||
'/usr/lib/python3.10/lib-dynload/termios.cpython-310-x86_64-linux-gnu.so',
|
|
||||||
'EXTENSION'),
|
|
||||||
('psutil/_psutil_posix.cpython-310-x86_64-linux-gnu.so',
|
('psutil/_psutil_posix.cpython-310-x86_64-linux-gnu.so',
|
||||||
'/usr/lib/python3/dist-packages/psutil/_psutil_posix.cpython-310-x86_64-linux-gnu.so',
|
'/usr/lib/python3/dist-packages/psutil/_psutil_posix.cpython-310-x86_64-linux-gnu.so',
|
||||||
'EXTENSION'),
|
'EXTENSION'),
|
||||||
@@ -127,11 +127,11 @@
|
|||||||
'EXTENSION'),
|
'EXTENSION'),
|
||||||
('liblzma.so.5', '/lib/x86_64-linux-gnu/liblzma.so.5', 'BINARY'),
|
('liblzma.so.5', '/lib/x86_64-linux-gnu/liblzma.so.5', 'BINARY'),
|
||||||
('libbz2.so.1.0', '/lib/x86_64-linux-gnu/libbz2.so.1.0', 'BINARY'),
|
('libbz2.so.1.0', '/lib/x86_64-linux-gnu/libbz2.so.1.0', 'BINARY'),
|
||||||
('libcrypto.so.3', '/lib/x86_64-linux-gnu/libcrypto.so.3', 'BINARY'),
|
|
||||||
('libssl.so.3', '/lib/x86_64-linux-gnu/libssl.so.3', 'BINARY'),
|
('libssl.so.3', '/lib/x86_64-linux-gnu/libssl.so.3', 'BINARY'),
|
||||||
|
('libcrypto.so.3', '/lib/x86_64-linux-gnu/libcrypto.so.3', 'BINARY'),
|
||||||
('libmpdec.so.3', '/lib/x86_64-linux-gnu/libmpdec.so.3', 'BINARY'),
|
('libmpdec.so.3', '/lib/x86_64-linux-gnu/libmpdec.so.3', 'BINARY'),
|
||||||
('libncursesw.so.6', '/lib/x86_64-linux-gnu/libncursesw.so.6', 'BINARY'),
|
|
||||||
('libtinfo.so.6', '/lib/x86_64-linux-gnu/libtinfo.so.6', 'BINARY'),
|
('libtinfo.so.6', '/lib/x86_64-linux-gnu/libtinfo.so.6', 'BINARY'),
|
||||||
|
('libncursesw.so.6', '/lib/x86_64-linux-gnu/libncursesw.so.6', 'BINARY'),
|
||||||
('libffi.so.8', '/lib/x86_64-linux-gnu/libffi.so.8', 'BINARY'),
|
('libffi.so.8', '/lib/x86_64-linux-gnu/libffi.so.8', 'BINARY'),
|
||||||
('libuuid.so.1', '/lib/x86_64-linux-gnu/libuuid.so.1', 'BINARY'),
|
('libuuid.so.1', '/lib/x86_64-linux-gnu/libuuid.so.1', 'BINARY'),
|
||||||
('libpython3.10.so.1.0',
|
('libpython3.10.so.1.0',
|
||||||
@@ -140,23 +140,23 @@
|
|||||||
('base_library.zip',
|
('base_library.zip',
|
||||||
'/home/jd/projects/mqtt_srv/build/mqtt_srv/base_library.zip',
|
'/home/jd/projects/mqtt_srv/build/mqtt_srv/base_library.zip',
|
||||||
'DATA'),
|
'DATA'),
|
||||||
|
('cryptography-3.4.8.egg-info/not-zip-safe',
|
||||||
|
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/not-zip-safe',
|
||||||
|
'DATA'),
|
||||||
('certifi/cacert.pem',
|
('certifi/cacert.pem',
|
||||||
'/usr/lib/python3/dist-packages/certifi/cacert.pem',
|
'/usr/lib/python3/dist-packages/certifi/cacert.pem',
|
||||||
'DATA'),
|
'DATA'),
|
||||||
('cryptography-3.4.8.egg-info/requires.txt',
|
|
||||||
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/requires.txt',
|
|
||||||
'DATA'),
|
|
||||||
('cryptography-3.4.8.egg-info/dependency_links.txt',
|
('cryptography-3.4.8.egg-info/dependency_links.txt',
|
||||||
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/dependency_links.txt',
|
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/dependency_links.txt',
|
||||||
'DATA'),
|
'DATA'),
|
||||||
('cryptography-3.4.8.egg-info/not-zip-safe',
|
('cryptography-3.4.8.egg-info/requires.txt',
|
||||||
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/not-zip-safe',
|
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/requires.txt',
|
||||||
'DATA'),
|
|
||||||
('cryptography-3.4.8.egg-info/PKG-INFO',
|
|
||||||
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/PKG-INFO',
|
|
||||||
'DATA'),
|
'DATA'),
|
||||||
('cryptography-3.4.8.egg-info/top_level.txt',
|
('cryptography-3.4.8.egg-info/top_level.txt',
|
||||||
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/top_level.txt',
|
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/top_level.txt',
|
||||||
|
'DATA'),
|
||||||
|
('cryptography-3.4.8.egg-info/PKG-INFO',
|
||||||
|
'/usr/lib/python3/dist-packages/cryptography-3.4.8.egg-info/PKG-INFO',
|
||||||
'DATA')],
|
'DATA')],
|
||||||
False,
|
False,
|
||||||
False,
|
False,
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -18,9 +18,9 @@ missing module named _frozen_importlib_external - imported by importlib._bootstr
|
|||||||
excluded module named _frozen_importlib - imported by importlib (optional), importlib.abc (optional), zipimport (top-level)
|
excluded module named _frozen_importlib - imported by importlib (optional), importlib.abc (optional), zipimport (top-level)
|
||||||
missing module named pep517 - imported by importlib.metadata (delayed)
|
missing module named pep517 - imported by importlib.metadata (delayed)
|
||||||
missing module named nt - imported by os (delayed, conditional, optional), ntpath (optional), shutil (conditional), importlib._bootstrap_external (conditional), ctypes (delayed, conditional)
|
missing module named nt - imported by os (delayed, conditional, optional), ntpath (optional), shutil (conditional), importlib._bootstrap_external (conditional), ctypes (delayed, conditional)
|
||||||
missing module named org - imported by copy (optional)
|
missing module named 'org.python' - imported by copy (optional), xml.sax (delayed, conditional)
|
||||||
missing module named 'org.python' - imported by pickle (optional), xml.sax (delayed, conditional)
|
|
||||||
missing module named 'java.lang' - imported by platform (delayed, optional), getmac.getmac (conditional, optional), xml.sax._exceptions (conditional)
|
missing module named 'java.lang' - imported by platform (delayed, optional), getmac.getmac (conditional, optional), xml.sax._exceptions (conditional)
|
||||||
|
missing module named org - imported by pickle (optional)
|
||||||
missing module named _winapi - imported by encodings (delayed, conditional, optional), ntpath (optional), subprocess (optional), mimetypes (optional), multiprocessing.connection (optional), multiprocessing.spawn (delayed, conditional), multiprocessing.reduction (conditional), multiprocessing.shared_memory (conditional), multiprocessing.heap (conditional), multiprocessing.popen_spawn_win32 (top-level), asyncio.windows_events (top-level), asyncio.windows_utils (top-level)
|
missing module named _winapi - imported by encodings (delayed, conditional, optional), ntpath (optional), subprocess (optional), mimetypes (optional), multiprocessing.connection (optional), multiprocessing.spawn (delayed, conditional), multiprocessing.reduction (conditional), multiprocessing.shared_memory (conditional), multiprocessing.heap (conditional), multiprocessing.popen_spawn_win32 (top-level), asyncio.windows_events (top-level), asyncio.windows_utils (top-level)
|
||||||
missing module named multiprocessing.BufferTooShort - imported by multiprocessing (top-level), multiprocessing.connection (top-level)
|
missing module named multiprocessing.BufferTooShort - imported by multiprocessing (top-level), multiprocessing.connection (top-level)
|
||||||
missing module named multiprocessing.AuthenticationError - imported by multiprocessing (top-level), multiprocessing.connection (top-level)
|
missing module named multiprocessing.AuthenticationError - imported by multiprocessing (top-level), multiprocessing.connection (top-level)
|
||||||
|
|||||||
@@ -319,7 +319,7 @@ imported by:
|
|||||||
<a target="code" href="" type="text/plain"><tt>'org.python'</tt></a>
|
<a target="code" href="" type="text/plain"><tt>'org.python'</tt></a>
|
||||||
<span class="moduletype">MissingModule</span> <div class="import">
|
<span class="moduletype">MissingModule</span> <div class="import">
|
||||||
imported by:
|
imported by:
|
||||||
<a href="#pickle">pickle</a>
|
<a href="#copy">copy</a>
|
||||||
• <a href="#xml.sax">xml.sax</a>
|
• <a href="#xml.sax">xml.sax</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -4051,8 +4051,8 @@ imported by:
|
|||||||
<a target="code" href="/usr/lib/python3.10/copy.py" type="text/plain"><tt>copy</tt></a>
|
<a target="code" href="/usr/lib/python3.10/copy.py" type="text/plain"><tt>copy</tt></a>
|
||||||
<span class="moduletype">SourceModule</span> <div class="import">
|
<span class="moduletype">SourceModule</span> <div class="import">
|
||||||
imports:
|
imports:
|
||||||
<a href="#copyreg">copyreg</a>
|
<a href="#'org.python'">'org.python'</a>
|
||||||
• <a href="#org">org</a>
|
• <a href="#copyreg">copyreg</a>
|
||||||
• <a href="#types">types</a>
|
• <a href="#types">types</a>
|
||||||
• <a href="#weakref">weakref</a>
|
• <a href="#weakref">weakref</a>
|
||||||
|
|
||||||
@@ -14949,7 +14949,7 @@ imported by:
|
|||||||
<a target="code" href="" type="text/plain"><tt>org</tt></a>
|
<a target="code" href="" type="text/plain"><tt>org</tt></a>
|
||||||
<span class="moduletype">MissingModule</span> <div class="import">
|
<span class="moduletype">MissingModule</span> <div class="import">
|
||||||
imported by:
|
imported by:
|
||||||
<a href="#copy">copy</a>
|
<a href="#pickle">pickle</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -15305,14 +15305,14 @@ imported by:
|
|||||||
<a target="code" href="/usr/lib/python3.10/pickle.py" type="text/plain"><tt>pickle</tt></a>
|
<a target="code" href="/usr/lib/python3.10/pickle.py" type="text/plain"><tt>pickle</tt></a>
|
||||||
<span class="moduletype">SourceModule</span> <div class="import">
|
<span class="moduletype">SourceModule</span> <div class="import">
|
||||||
imports:
|
imports:
|
||||||
<a href="#'org.python'">'org.python'</a>
|
<a href="#_compat_pickle">_compat_pickle</a>
|
||||||
• <a href="#_compat_pickle">_compat_pickle</a>
|
|
||||||
• <a href="#_pickle">_pickle</a>
|
• <a href="#_pickle">_pickle</a>
|
||||||
• <a href="#codecs">codecs</a>
|
• <a href="#codecs">codecs</a>
|
||||||
• <a href="#copyreg">copyreg</a>
|
• <a href="#copyreg">copyreg</a>
|
||||||
• <a href="#functools">functools</a>
|
• <a href="#functools">functools</a>
|
||||||
• <a href="#io">io</a>
|
• <a href="#io">io</a>
|
||||||
• <a href="#itertools">itertools</a>
|
• <a href="#itertools">itertools</a>
|
||||||
|
• <a href="#org">org</a>
|
||||||
• <a href="#pprint">pprint</a>
|
• <a href="#pprint">pprint</a>
|
||||||
• <a href="#re">re</a>
|
• <a href="#re">re</a>
|
||||||
• <a href="#struct">struct</a>
|
• <a href="#struct">struct</a>
|
||||||
@@ -18981,6 +18981,7 @@ imports:
|
|||||||
<div class="import">
|
<div class="import">
|
||||||
imported by:
|
imported by:
|
||||||
<a href="#urllib3.connection">urllib3.connection</a>
|
<a href="#urllib3.connection">urllib3.connection</a>
|
||||||
|
• <a href="#urllib3.connectionpool">urllib3.connectionpool</a>
|
||||||
• <a href="#urllib3.poolmanager">urllib3.poolmanager</a>
|
• <a href="#urllib3.poolmanager">urllib3.poolmanager</a>
|
||||||
• <a href="#urllib3.response">urllib3.response</a>
|
• <a href="#urllib3.response">urllib3.response</a>
|
||||||
|
|
||||||
@@ -19056,6 +19057,7 @@ imports:
|
|||||||
• <a href="#socket">socket</a>
|
• <a href="#socket">socket</a>
|
||||||
• <a href="#sys">sys</a>
|
• <a href="#sys">sys</a>
|
||||||
• <a href="#urllib3">urllib3</a>
|
• <a href="#urllib3">urllib3</a>
|
||||||
|
• <a href="#urllib3._collections">urllib3._collections</a>
|
||||||
• <a href="#urllib3.connection">urllib3.connection</a>
|
• <a href="#urllib3.connection">urllib3.connection</a>
|
||||||
• <a href="#urllib3.exceptions">urllib3.exceptions</a>
|
• <a href="#urllib3.exceptions">urllib3.exceptions</a>
|
||||||
• <a href="#urllib3.packages.ssl_match_hostname">urllib3.packages.ssl_match_hostname</a>
|
• <a href="#urllib3.packages.ssl_match_hostname">urllib3.packages.ssl_match_hostname</a>
|
||||||
|
|||||||
BIN
dist/mqtt_srv
vendored
BIN
dist/mqtt_srv
vendored
Binary file not shown.
21
mqtt_srv.py
21
mqtt_srv.py
@@ -19,7 +19,7 @@ import random
|
|||||||
import requests
|
import requests
|
||||||
#import psutil
|
#import psutil
|
||||||
stats = {}
|
stats = {}
|
||||||
VERSION = "1.0.25"
|
VERSION = "1.0.26"
|
||||||
curos = platform.system()
|
curos = platform.system()
|
||||||
host = platform.node().lower()
|
host = platform.node().lower()
|
||||||
print(host)
|
print(host)
|
||||||
@@ -789,11 +789,13 @@ def on_message(client, userdata, msg):
|
|||||||
mon3 = "DVI-I-2-1"
|
mon3 = "DVI-I-2-1"
|
||||||
mon4 = "eDP-1-1"
|
mon4 = "eDP-1-1"
|
||||||
'''
|
'''
|
||||||
left = ["HDMI-A-0", "1920x1080"]
|
right = ["HDMI-A-0", "1920x1080"]
|
||||||
mid = ["DisplayPort-0", "2560x1440"]
|
tleft = ["HDMI-A-0", "1920x1080"]
|
||||||
right = ["DisplayPort-1", "3440x1440"]
|
tright = ["DVI-I-1-1", "1920x1080"]
|
||||||
|
left = ["DisplayPort-0", "2560x1440"]
|
||||||
|
mid = ["DisplayPort-1", "3440x1440"]
|
||||||
|
|
||||||
|
#xrandr --output DisplayPort-1 --primary --auto --mode 3440x1440 --output HDMI-A-0 --auto --left-of DVI-I-1-1 --mode 1920x1080 --output DisplayPort-0 --auto --left-of DisplayPort-1 --mode 2560x1440 --output DVI-I-1-1 --above DisplayPort-1 --mode 1920x1080
|
||||||
if myObj["target"] == "mid":
|
if myObj["target"] == "mid":
|
||||||
myCmd = f"xrandr --output {mid[0]} --primary --auto --mode {mid[1]} --output {right[0]} --off --output {left[0]} --off"
|
myCmd = f"xrandr --output {mid[0]} --primary --auto --mode {mid[1]} --output {right[0]} --off --output {left[0]} --off"
|
||||||
elif myObj["target"] == "left":
|
elif myObj["target"] == "left":
|
||||||
@@ -805,8 +807,9 @@ def on_message(client, userdata, msg):
|
|||||||
elif myObj["target"] == "right":
|
elif myObj["target"] == "right":
|
||||||
myCmd = f"xrandr --output {right[0]} --primary --auto --mode {right[1]} --output {mid[0]} --off --output {left[0]} --off"
|
myCmd = f"xrandr --output {right[0]} --primary --auto --mode {right[1]} --output {mid[0]} --off --output {left[0]} --off"
|
||||||
|
|
||||||
elif myObj["target"] == "all":
|
elif myObj["target"] == "all":
|
||||||
myCmd = f"xrandr --output {mid[0]} --primary --auto --mode {mid[1]} --output {right[0]} --auto --right-of {mid[0]} --mode {right[1]} --output {left[0]} --auto --left-of {mid[0]} --mode {left[1]}"
|
myCmd = f"xrandr --output {mid[0]} --primary --auto --mode {mid[1]} --output {tleft[0]}--auto --left-of {tright[0]} --mode {tright[1]} --output {left[0]} --auto --left-of {mid[0]} --mode {left[1]} --output {tright[0]} --above {mid[0]} --mode {tright[1]}"
|
||||||
|
#myCmd = f"xrandr --output {mid[0]} --primary --auto --mode {mid[1]} --output {right[0]} --auto --right-of {mid[0]} --mode {right[1]} --output {left[0]} --auto --left-of {mid[0]} --mode {left[1]}"
|
||||||
elif myObj["target"] == "midleft":
|
elif myObj["target"] == "midleft":
|
||||||
myCmd = f"xrandr --output {mid[0]} --primary --auto --mode {mid[1]} --output {right[0]} --off --output {left[0]} --auto --left-of {mid[0]} --mode {left[1]}"
|
myCmd = f"xrandr --output {mid[0]} --primary --auto --mode {mid[1]} --output {right[0]} --off --output {left[0]} --auto --left-of {mid[0]} --mode {left[1]}"
|
||||||
elif myObj["target"] == "midtop":
|
elif myObj["target"] == "midtop":
|
||||||
@@ -819,6 +822,8 @@ def on_message(client, userdata, msg):
|
|||||||
myCmd = f"xrandr --output {mid[0]} --primary --auto --mode {mid[1]} --output {right[0]} --auto --right-of {mid[0]} --mode {right[1]} --output {left[0]} --auto --left-of {mid[0]} --mode {left[1]}"
|
myCmd = f"xrandr --output {mid[0]} --primary --auto --mode {mid[1]} --output {right[0]} --auto --right-of {mid[0]} --mode {right[1]} --output {left[0]} --auto --left-of {mid[0]} --mode {left[1]}"
|
||||||
elif myObj["target"] == "build":
|
elif myObj["target"] == "build":
|
||||||
myCmd = f"xrandr --output {mid[0]} --off --output {right[0]} --off --output {left[0]} --off"
|
myCmd = f"xrandr --output {mid[0]} --off --output {right[0]} --off --output {left[0]} --off"
|
||||||
|
elif myObj["target"] == "leftright":
|
||||||
|
myCmd = f"xrandr --output {left[0]} --primary --auto --mode {left[1]} --output {mid[0]} --off --output {right[0]} --auto --right-of {left[0]} --mode {right[1]}"
|
||||||
else:
|
else:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@@ -1108,7 +1113,7 @@ else:
|
|||||||
#print(str(jn1["coretemp-isa-0000"]["Package id 0"]["temp1_input"]))
|
#print(str(jn1["coretemp-isa-0000"]["Package id 0"]["temp1_input"]))
|
||||||
#print(str(jn1["asus-isa-0000"]["cpu_fan"]["fan1_input"]))
|
#print(str(jn1["asus-isa-0000"]["cpu_fan"]["fan1_input"]))
|
||||||
#client.publish("sectorq/monitor/" + host.lower(), payload="{\"mb_temp\":0,\"mem_usage\":0,\"cpu_temp\":0,\"cpu_usage\":0,\"gpu_temp\":0,\"gpu_usage\":0}", qos=0, retain=False)
|
#client.publish("sectorq/monitor/" + host.lower(), payload="{\"mb_temp\":0,\"mem_usage\":0,\"cpu_temp\":0,\"cpu_usage\":0,\"gpu_temp\":0,\"gpu_usage\":0}", qos=0, retain=False)
|
||||||
client.publish("home-assistant/" + host + "/hwstats", payload='{"status":"on", "version":"' + VERSION + '","MB_TEMP":' + str(mb_data.current) + ', "MEM_UTIL":' + str(mem_data.percent) + ', "CPU_TEMP":' + str(cpu_data.current) + ', "GPU_TEMP":0, "GPU_UTIL":0, "FAN_CPU":"' + str(fan_data) + '", "VMEM_UTIL":' + str(swap_data.percent) + ', "CPU_UTIL":' + str(cpu_usage) + '}', qos=0, retain=False)
|
client.publish("home-assistant/" + host + "/hwstats", payload='{"status":"on", "version":"' + VERSION + '","TCPU":"NA", "MB_TEMP":' + str(mb_data.current) + ', "MEM_UTIL":' + str(mem_data.percent) + ', "CPU_TEMP":' + str(cpu_data.current) + ', "GPU_TEMP":0, "GPU_UTIL":0, "FAN_CPU":"' + str(fan_data) + '", "VMEM_UTIL":' + str(swap_data.percent) + ', "CPU_UTIL":' + str(cpu_usage) + '}', qos=0, retain=False)
|
||||||
client.publish("sectorq/systems/" + host.lower() + "/stat", payload="on", qos=0, retain=True)
|
client.publish("sectorq/systems/" + host.lower() + "/stat", payload="on", qos=0, retain=True)
|
||||||
elif host.lower() == "openmediavault" or host.lower() == "omv":
|
elif host.lower() == "openmediavault" or host.lower() == "omv":
|
||||||
#print(psutil.sensors_temperatures())
|
#print(psutil.sensors_temperatures())
|
||||||
|
|||||||
12
mqtt_srv.pyw
12
mqtt_srv.pyw
@@ -19,7 +19,7 @@ import random
|
|||||||
import requests
|
import requests
|
||||||
#import psutil
|
#import psutil
|
||||||
stats = {}
|
stats = {}
|
||||||
VERSION = "1.0.25"
|
VERSION = "1.0.26"
|
||||||
curos = platform.system()
|
curos = platform.system()
|
||||||
host = platform.node().lower()
|
host = platform.node().lower()
|
||||||
print(host)
|
print(host)
|
||||||
@@ -789,9 +789,9 @@ def on_message(client, userdata, msg):
|
|||||||
mon3 = "DVI-I-2-1"
|
mon3 = "DVI-I-2-1"
|
||||||
mon4 = "eDP-1-1"
|
mon4 = "eDP-1-1"
|
||||||
'''
|
'''
|
||||||
left = ["HDMI-A-0", "1920x1080"]
|
right = ["HDMI-A-0", "1920x1080"]
|
||||||
mid = ["DisplayPort-0", "2560x1440"]
|
left = ["DisplayPort-0", "2560x1440"]
|
||||||
right = ["DisplayPort-1", "3440x1440"]
|
mid = ["DisplayPort-1", "3440x1440"]
|
||||||
|
|
||||||
|
|
||||||
if myObj["target"] == "mid":
|
if myObj["target"] == "mid":
|
||||||
@@ -819,6 +819,8 @@ def on_message(client, userdata, msg):
|
|||||||
myCmd = f"xrandr --output {mid[0]} --primary --auto --mode {mid[1]} --output {right[0]} --auto --right-of {mid[0]} --mode {right[1]} --output {left[0]} --auto --left-of {mid[0]} --mode {left[1]}"
|
myCmd = f"xrandr --output {mid[0]} --primary --auto --mode {mid[1]} --output {right[0]} --auto --right-of {mid[0]} --mode {right[1]} --output {left[0]} --auto --left-of {mid[0]} --mode {left[1]}"
|
||||||
elif myObj["target"] == "build":
|
elif myObj["target"] == "build":
|
||||||
myCmd = f"xrandr --output {mid[0]} --off --output {right[0]} --off --output {left[0]} --off"
|
myCmd = f"xrandr --output {mid[0]} --off --output {right[0]} --off --output {left[0]} --off"
|
||||||
|
elif myObj["target"] == "leftright":
|
||||||
|
myCmd = f"xrandr --output {left[0]} --primary --auto --mode {left[1]} --output {mid[0]} --off --output {right[0]} --auto --right-of {left[0]} --mode {right[1]}"
|
||||||
else:
|
else:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@@ -1108,7 +1110,7 @@ else:
|
|||||||
#print(str(jn1["coretemp-isa-0000"]["Package id 0"]["temp1_input"]))
|
#print(str(jn1["coretemp-isa-0000"]["Package id 0"]["temp1_input"]))
|
||||||
#print(str(jn1["asus-isa-0000"]["cpu_fan"]["fan1_input"]))
|
#print(str(jn1["asus-isa-0000"]["cpu_fan"]["fan1_input"]))
|
||||||
#client.publish("sectorq/monitor/" + host.lower(), payload="{\"mb_temp\":0,\"mem_usage\":0,\"cpu_temp\":0,\"cpu_usage\":0,\"gpu_temp\":0,\"gpu_usage\":0}", qos=0, retain=False)
|
#client.publish("sectorq/monitor/" + host.lower(), payload="{\"mb_temp\":0,\"mem_usage\":0,\"cpu_temp\":0,\"cpu_usage\":0,\"gpu_temp\":0,\"gpu_usage\":0}", qos=0, retain=False)
|
||||||
client.publish("home-assistant/" + host + "/hwstats", payload='{"status":"on", "version":"' + VERSION + '","MB_TEMP":' + str(mb_data.current) + ', "MEM_UTIL":' + str(mem_data.percent) + ', "CPU_TEMP":' + str(cpu_data.current) + ', "GPU_TEMP":0, "GPU_UTIL":0, "FAN_CPU":"' + str(fan_data) + '", "VMEM_UTIL":' + str(swap_data.percent) + ', "CPU_UTIL":' + str(cpu_usage) + '}', qos=0, retain=False)
|
client.publish("home-assistant/" + host + "/hwstats", payload='{"status":"on", "version":"' + VERSION + '","TCPU":"NA", "MB_TEMP":' + str(mb_data.current) + ', "MEM_UTIL":' + str(mem_data.percent) + ', "CPU_TEMP":' + str(cpu_data.current) + ', "GPU_TEMP":0, "GPU_UTIL":0, "FAN_CPU":"' + str(fan_data) + '", "VMEM_UTIL":' + str(swap_data.percent) + ', "CPU_UTIL":' + str(cpu_usage) + '}', qos=0, retain=False)
|
||||||
client.publish("sectorq/systems/" + host.lower() + "/stat", payload="on", qos=0, retain=True)
|
client.publish("sectorq/systems/" + host.lower() + "/stat", payload="on", qos=0, retain=True)
|
||||||
elif host.lower() == "openmediavault" or host.lower() == "omv":
|
elif host.lower() == "openmediavault" or host.lower() == "omv":
|
||||||
#print(psutil.sensors_temperatures())
|
#print(psutil.sensors_temperatures())
|
||||||
|
|||||||
Reference in New Issue
Block a user