-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
80 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ venv | |
paramsets_db.json | ||
start* | ||
.idea | ||
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
[build-system] | ||
requires = ["setuptools==75.6.0"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "pydevccu" | ||
version = "0.1.9" | ||
license = {text = "MIT License"} | ||
description = "Virtual HomeMatic CCU XML-RPC backend." | ||
readme = "README.md" | ||
authors = [ | ||
{name = "Daniel Perna", email = "[email protected]"}, | ||
{name = "SukramJ", email = "[email protected]"}, | ||
] | ||
keywords = ["homematic", "ccu", "xml-rpc"] | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3.13", | ||
"Topic :: Home Automation", | ||
] | ||
requires-python = ">=3.12.0" | ||
|
||
[project.urls] | ||
"Source Code" = "https://github.com/sukramj/pydevccu" | ||
"Bug Reports" = "https://github.com/sukramj/pydevccu/issues" | ||
|
||
[tool.setuptools] | ||
include-package-data = true | ||
|
||
[tool.setuptools.packages.find] | ||
include = ["pydevccu*"] | ||
exclude = ["tests", "tests.*", "dist", "build"] | ||
|
||
[tool.setuptools.package-data] | ||
pydevccu = ["py.typed", "*/*.json"] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[metadata] | ||
url = https://github.com/sukramj/pydevccu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import pydevccu | ||
# Create server that listens on 127.0.0.1:2001 | ||
# To listen on another address initialize with ("1.2.3.4", 1234) as first argument | ||
# Add optional list of device names to only load these devices | ||
# Enable paramset persistance (will be saved to paramset_db.json) | ||
# Enable automated device logic (only if module for device is available), firing events at intervals of 30 seconds | ||
#s = pydevccu.Server(devices=['HM-Sec-WDS'], persistance=True, logic={"startupdelay": 5, "interval": 30}) | ||
|
||
s = pydevccu.Server(persistance=True, logic={"startupdelay": 5, "interval": 30}) | ||
# devices=['HmIP-DLD'] | ||
# Start server | ||
s.start() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import pydevccu | ||
# Create server that listens on 127.0.0.1:2001 | ||
# To listen on another address initialize with ("1.2.3.4", 1234) as first argument | ||
# Add optional list of device names to only load these devices | ||
# Enable paramset persistance (will be saved to paramset_db.json) | ||
# Enable automated device logic (only if module for device is available), firing events at intervals of 30 seconds | ||
#s = pydevccu.Server(devices=['HM-Sec-WDS'], persistance=True, logic={"startupdelay": 5, "interval": 30}) | ||
|
||
s = pydevccu.Server(devices=['HmIP-RGBW', 'HM-TC-IT-WM-W-EU', 'HBW-LC-RGBWW-IN6-DR'], persistance=True, logic={"startupdelay": 5, "interval": 30}) | ||
# devices=['HmIP-DLD'] | ||
# Start server | ||
s.start() | ||
|