Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
338acd8
Add structure using pyscaffold
karel1980 Mar 10, 2019
eb98de6
updated readme
karel1980 Mar 10, 2019
0d10966
Updated authors
karel1980 Mar 10, 2019
b988c5b
work in progress -- gotta switch laptops, forgot charger :s
karel1980 Mar 13, 2019
6eff94e
Clean up, translate methods, messages and comments to English, refactor
karel1980 Mar 13, 2019
8d442f8
Updated example + fix send_password
karel1980 Mar 14, 2019
8eff4d9
Moved example to readme
karel1980 Mar 14, 2019
de76498
Updated author to pippocla
karel1980 Mar 14, 2019
fb4192d
Implemented symple async event client
karel1980 Mar 15, 2019
bef4e6e
updated readme
karel1980 Mar 15, 2019
6c06cb7
Cleaned up examples. Implemented retry mechanism for status querying …
karel1980 Apr 6, 2019
eaa0a58
Fix logger reference
karel1980 Apr 6, 2019
3fe0db0
Allow sending arbitrary lighting commands (e.g. to enable blinking, d…
karel1980 Apr 7, 2019
391c248
Changed project name to reopenwebnet to indicate forking
karel1980 Apr 14, 2019
76f508d
Added fork notice
karel1980 Apr 14, 2019
29f6dd7
Updated description & maintainer/owner metadata
karel1980 Apr 14, 2019
9dd0c7f
always convert request arguments to string + set socket timeout to 3 …
karel1980 Apr 26, 2019
7c3d0d5
Update release steps because I will forget them
karel1980 Apr 26, 2019
1a4363b
Refactored commandclient a bit
karel1980 Apr 28, 2019
0151471
Updated readme
karel1980 Apr 28, 2019
01ee920
When not connected, return 'None' responses. Allow specifying socket …
karel1980 Apr 29, 2019
49ec15f
Fixed autoreconnect logic
karel1980 Apr 29, 2019
2797f53
Updated readme & pypi documentation + reimplement retry strategy
karel1980 Apr 30, 2019
cbeb2a4
Fix setup.py
karel1980 Apr 30, 2019
6e291f7
ADD shutter action in CommandClient class
mic-rigaud Jun 5, 2019
c313e94
Remove headers and Modify README
mic-rigaud Jun 16, 2019
9fb5565
Merge pull request #1 from mic-rigaud/master
karel1980 Jun 28, 2019
8b8aca1
convert command client to asyncio + implement 'reconnect' feature + a…
karel1980 Feb 12, 2020
14a0519
Indicate python requirement >=3.7
karel1980 Feb 12, 2020
9c78a55
Updated url
karel1980 Feb 12, 2020
ebe6e45
Got rid of some duplication + redo configuration mechanism to allow o…
karel1980 Feb 15, 2020
8a94b4f
Got rid of a bit of duplication + various improvements
karel1980 Feb 15, 2020
5aa365b
Added mqtt bridge; command session response does seem to send back an…
karel1980 Apr 5, 2021
326c507
Things got too complated. Removing a ton of crap. event_session.py ex…
Sep 19, 2021
51cda86
Cleaned up event session + added back command session example
Sep 19, 2021
10af92f
Await session start before sending commands
Sep 19, 2021
cd267e1
Created a higher level client, simplifying event_session and command_…
Sep 19, 2021
76b1891
Fixed mqtt bridge
Sep 19, 2021
e178cd5
Don't keep a command client open; It will get disconnected after 30 s…
Sep 19, 2021
67bcc9c
Updated readme and script to make things easier to get started.
Sep 19, 2021
49716d8
Touchup setup cfg
Sep 19, 2021
ff63e1c
Removed leading slash from mqtt topic name. Leading slashes aren't re…
Sep 22, 2021
144c37c
changed ip address in example scripts
Sep 22, 2021
b1f6d8f
Fixed logging (use %s, not {})
Sep 22, 2021
4ffa70b
Converted mqtt package into an executable module
Sep 25, 2021
abb027c
Changed README from rst to md
Oct 30, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# .coveragerc to control coverage.py
[run]
branch = True
source = openwebnet
# omit = bad_file.py

[paths]
source =
src/
*/site-packages/

[report]
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover

# Don't complain about missing debug-only code:
def __repr__
if self\.debug

# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise NotImplementedError

# Don't complain if non-runnable code isn't run:
if 0:
if __name__ == .__main__.:
53 changes: 53 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Avoid accidental commit of real credentials
reopenwebnet_config.yml

# Temporary and binary files
*~
*.py[cod]
*.so
*.cfg
!.isort.cfg
!setup.cfg
*.orig
*.log
*.pot
__pycache__/*
.cache/*
.*.swp
*/.ipynb_checkpoints/*

# Project files
.ropeproject
.project
.pydevproject
.settings
.idea
tags

# Package files
*.egg
*.eggs/
.installed.cfg
*.egg-info

# Unittest and coverage
htmlcov/*
.coverage
.tox
junit.xml
coverage.xml
.pytest_cache/

# Build and docs folder/files
build/*
dist/*
sdist/*
docs/api/*
docs/_rst/*
docs/_build/*
cover/*
MANIFEST

# Per-project virtualenvs
.venv*/
venv/
4 changes: 4 additions & 0 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Contributors

* Pippocla (GitHub https://github.com/pippocla)
* Karel Vervaeke <karel@vervaeke.info>
10 changes: 10 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
=========
Changelog
=========

Version 0.1
===========

- Feature A added
- FIX: nasty bug #1729 fixed
- add your changes here!
21 changes: 21 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2019 karel1980

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading