graphit/controlpi.git
4 years agoState answers to 'set state' also if unchanged
Benjamin Braatz [Sun, 7 Mar 2021 00:26:33 +0000 (01:26 +0100)]
State answers to 'set state' also if unchanged

4 years agoReplace 'state' by 'new state' in 'set state'
Benjamin Braatz [Fri, 5 Mar 2021 22:34:56 +0000 (23:34 +0100)]
Replace 'state' by 'new state' in 'set state'

4 years agoSwitch README.md and description to English
Benjamin Braatz [Fri, 5 Mar 2021 14:20:44 +0000 (15:20 +0100)]
Switch README.md and description to English

4 years agoInstall wheel package in documentation
Benjamin Braatz [Fri, 5 Mar 2021 10:59:49 +0000 (11:59 +0100)]
Install wheel package in documentation

pip warns if wheels cannot be build.

4 years agoHarmonise state message conventions
Benjamin Braatz [Fri, 5 Mar 2021 10:55:35 +0000 (11:55 +0100)]
Harmonise state message conventions

Change from 'changed' Boolean to 'event': 'changed',
document 'event': 'changed', 'get state' and 'set state'.

4 years agoasyncio.sleep(0.01) to asyncio.sleep(0) in tests
Benjamin Braatz [Fri, 5 Mar 2021 10:05:14 +0000 (11:05 +0100)]
asyncio.sleep(0.01) to asyncio.sleep(0) in tests

A sleep time of 0 is enough to give control back to the event loop.

4 years agoSend iface at register, 'bus event' to 'event'
Benjamin Braatz [Fri, 5 Mar 2021 09:34:50 +0000 (10:34 +0100)]
Send iface at register, 'bus event' to 'event'

4 years agoMove controlpi.plugins to controlpi-plugins
Benjamin Braatz [Fri, 5 Mar 2021 00:32:39 +0000 (01:32 +0100)]
Move controlpi.plugins to controlpi-plugins

Namespace packages should not be inside regular packages:
https://stackoverflow.com/a/62992832

4 years agoRename "State" to "Example State" in conf.json
Benjamin Braatz [Thu, 4 Mar 2021 23:07:30 +0000 (00:07 +0100)]
Rename "State" to "Example State" in conf.json

4 years agoMake package PEP 561 compatible
Benjamin Braatz [Thu, 4 Mar 2021 21:14:44 +0000 (22:14 +0100)]
Make package PEP 561 compatible

https://mypy.readthedocs.io/en/latest/installed_packages.html#creating-pep-561-compatible-packages

4 years agoImprove documentation
Benjamin Braatz [Wed, 3 Mar 2021 15:07:24 +0000 (16:07 +0100)]
Improve documentation

4 years agoAdd documentation
Benjamin Braatz [Tue, 2 Mar 2021 21:29:52 +0000 (22:29 +0100)]
Add documentation

4 years agoAdd forgotten super() calls in util.py
Benjamin Braatz [Tue, 2 Mar 2021 21:29:18 +0000 (22:29 +0100)]
Add forgotten super() calls in util.py

4 years agoInclude development dependencies in setup.py
Benjamin Braatz [Tue, 2 Mar 2021 20:09:13 +0000 (21:09 +0100)]
Include development dependencies in setup.py

4 years agoFix doctests for pluginregistry.py
Benjamin Braatz [Tue, 2 Mar 2021 19:59:12 +0000 (20:59 +0100)]
Fix doctests for pluginregistry.py

4 years agoReorder conf.json documentation-friendly
Benjamin Braatz [Tue, 2 Mar 2021 16:58:11 +0000 (17:58 +0100)]
Reorder conf.json documentation-friendly

4 years agoAdd State plugin with example in conf.json
Benjamin Braatz [Tue, 2 Mar 2021 16:48:13 +0000 (17:48 +0100)]
Add State plugin with example in conf.json

4 years agoAdd Alias plugin with example in conf.json
Benjamin Braatz [Tue, 2 Mar 2021 16:16:04 +0000 (17:16 +0100)]
Add Alias plugin with example in conf.json

4 years agoAdd example controlpi.service systemd unit
Benjamin Braatz [Tue, 2 Mar 2021 16:09:32 +0000 (17:09 +0100)]
Add example controlpi.service systemd unit

4 years agoFix packages in setup.py
Benjamin Braatz [Tue, 2 Mar 2021 16:09:04 +0000 (17:09 +0100)]
Fix packages in setup.py

4 years agoRepair type annotations in util.py
Benjamin Braatz [Tue, 2 Mar 2021 08:49:24 +0000 (09:49 +0100)]
Repair type annotations in util.py

4 years agoAdded __main__.py and made ready to execute
Benjamin Braatz [Tue, 2 Mar 2021 08:40:08 +0000 (09:40 +0100)]
Added __main__.py and made ready to execute

4 years agoMessage bus including command to get client interfaces
Benjamin Braatz [Mon, 1 Mar 2021 22:53:25 +0000 (23:53 +0100)]
Message bus including command to get client interfaces

4 years agoCurrent state
Benjamin Braatz [Mon, 1 Mar 2021 08:05:12 +0000 (09:05 +0100)]
Current state

4 years agoPlugin classes instead of modules
Benjamin Braatz [Wed, 24 Feb 2021 14:08:10 +0000 (15:08 +0100)]
Plugin classes instead of modules

4 years agoUnregister, aliases and some other improvements
Benjamin Braatz [Wed, 24 Feb 2021 09:04:23 +0000 (10:04 +0100)]
Unregister, aliases and some other improvements

4 years agoInitial commit
Benjamin Braatz [Wed, 24 Feb 2021 05:16:00 +0000 (06:16 +0100)]
Initial commit