rvt-monitor 0.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- rvt_monitor-0.2.2/.gitignore +27 -0
- rvt_monitor-0.2.2/PKG-INFO +31 -0
- rvt_monitor-0.2.2/README.md +17 -0
- rvt_monitor-0.2.2/pyproject.toml +35 -0
- rvt_monitor-0.2.2/rvt_monitor/__init__.py +3 -0
- rvt_monitor-0.2.2/rvt_monitor/ble/__init__.py +1 -0
- rvt_monitor-0.2.2/rvt_monitor/ble/manager.py +760 -0
- rvt_monitor-0.2.2/rvt_monitor/ble/protocol.py +291 -0
- rvt_monitor-0.2.2/rvt_monitor/ble/scanner.py +99 -0
- rvt_monitor-0.2.2/rvt_monitor/core/__init__.py +1 -0
- rvt_monitor-0.2.2/rvt_monitor/core/logger.py +156 -0
- rvt_monitor-0.2.2/rvt_monitor/isv2_config/__init__.py +3 -0
- rvt_monitor-0.2.2/rvt_monitor/isv2_config/cli.py +333 -0
- rvt_monitor-0.2.2/rvt_monitor/isv2_config/protocol.py +540 -0
- rvt_monitor-0.2.2/rvt_monitor/isv2_config/serial_port.py +86 -0
- rvt_monitor-0.2.2/rvt_monitor/isv2_config/server.py +382 -0
- rvt_monitor-0.2.2/rvt_monitor/isv2_config/static/index.html +509 -0
- rvt_monitor-0.2.2/rvt_monitor/main.py +50 -0
- rvt_monitor-0.2.2/rvt_monitor/server/__init__.py +1 -0
- rvt_monitor-0.2.2/rvt_monitor/server/app.py +82 -0
- rvt_monitor-0.2.2/rvt_monitor/server/routes/__init__.py +1 -0
- rvt_monitor-0.2.2/rvt_monitor/server/routes/config.py +77 -0
- rvt_monitor-0.2.2/rvt_monitor/server/routes/control.py +63 -0
- rvt_monitor-0.2.2/rvt_monitor/server/routes/device.py +74 -0
- rvt_monitor-0.2.2/rvt_monitor/server/routes/logs.py +40 -0
- rvt_monitor-0.2.2/rvt_monitor/server/state.py +176 -0
- rvt_monitor-0.2.2/rvt_monitor/server/websocket.py +372 -0
- rvt_monitor-0.2.2/rvt_monitor/static/css/style.css +501 -0
- rvt_monitor-0.2.2/rvt_monitor/static/index.html +265 -0
- rvt_monitor-0.2.2/rvt_monitor/static/js/app.js +582 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
*.so
|
|
6
|
+
.Python
|
|
7
|
+
venv/
|
|
8
|
+
.venv/
|
|
9
|
+
ENV/
|
|
10
|
+
|
|
11
|
+
# PyInstaller
|
|
12
|
+
build/
|
|
13
|
+
dist/
|
|
14
|
+
*.spec.bak
|
|
15
|
+
|
|
16
|
+
# Logs
|
|
17
|
+
logs/
|
|
18
|
+
|
|
19
|
+
# IDE
|
|
20
|
+
.idea/
|
|
21
|
+
.vscode/
|
|
22
|
+
*.swp
|
|
23
|
+
*.swo
|
|
24
|
+
|
|
25
|
+
# OS
|
|
26
|
+
.DS_Store
|
|
27
|
+
Thumbs.db
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: rvt-monitor
|
|
3
|
+
Version: 0.2.2
|
|
4
|
+
Summary: BLE Device Monitor for Ceily/Wally
|
|
5
|
+
Author-email: Rovothome <chandler.kim@rovothome.com>
|
|
6
|
+
License: MIT
|
|
7
|
+
Requires-Python: >=3.10
|
|
8
|
+
Requires-Dist: bleak>=0.21.0
|
|
9
|
+
Requires-Dist: fastapi>=0.109.0
|
|
10
|
+
Requires-Dist: platformdirs>=4.0.0
|
|
11
|
+
Requires-Dist: pyserial>=3.5
|
|
12
|
+
Requires-Dist: uvicorn[standard]>=0.27.0
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
|
|
15
|
+
# RVT-Monitor
|
|
16
|
+
|
|
17
|
+
BLE Device Monitor for Ceily/Wally
|
|
18
|
+
|
|
19
|
+
## Install
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
pip install rvt-monitor
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Run
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
rvt-monitor
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Opens browser at http://127.0.0.1:8000
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "rvt-monitor"
|
|
7
|
+
version = "0.2.2"
|
|
8
|
+
description = "BLE Device Monitor for Ceily/Wally"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.10"
|
|
11
|
+
license = {text = "MIT"}
|
|
12
|
+
authors = [
|
|
13
|
+
{ name = "Rovothome", email = "chandler.kim@rovothome.com" }
|
|
14
|
+
]
|
|
15
|
+
dependencies = [
|
|
16
|
+
"fastapi>=0.109.0",
|
|
17
|
+
"uvicorn[standard]>=0.27.0",
|
|
18
|
+
"bleak>=0.21.0",
|
|
19
|
+
"platformdirs>=4.0.0",
|
|
20
|
+
"pyserial>=3.5",
|
|
21
|
+
]
|
|
22
|
+
|
|
23
|
+
[project.scripts]
|
|
24
|
+
rvt-monitor = "rvt_monitor.main:main"
|
|
25
|
+
isv2-config = "rvt_monitor.isv2_config.cli:main"
|
|
26
|
+
|
|
27
|
+
[tool.hatch.build.targets.wheel]
|
|
28
|
+
packages = ["rvt_monitor"]
|
|
29
|
+
|
|
30
|
+
[tool.hatch.build.targets.sdist]
|
|
31
|
+
include = [
|
|
32
|
+
"rvt_monitor/**/*.py",
|
|
33
|
+
"rvt_monitor/static/**/*",
|
|
34
|
+
"rvt_monitor/isv2_config/static/**/*",
|
|
35
|
+
]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# BLE module
|