Python 3 AsyncIO-based home automation and interfacing framework
APACHE-2.0 License
Bot releases are hidden (Show)
Published by mhthies about 1 month ago
aiomqtt
and aiogram
3.x)DelayedVariable
shc.web.log_widgets.ChartWidget
:
plot_style
line_interpolation
stack_group
Full Changelog: https://github.com/mhthies/smarthomeconnect/compare/v0.8.0...v0.9.0
Published by mhthies about 1 month ago
Full Changelog: https://github.com/mhthies/smarthomeconnect/compare/v0.8.0...v0.8.1
get_status()
method with monitoring_connector()
, returning a Readable (and optionally Subscribable) connector object, providing the interface health state as InterfaceStatus
value
get_status()
implementation need to be adapted, e.g. by inheriting from ReadableStatusInterface
or SubscribableStatusInterface
or creating a custom monitoring connectorInterfaceStatus.metrics
has been removed
get_status()
/ monitoring connector implementations need to respect the removed field of the named tupleEventLoopMonitor
interface interface)criticality
of interfaces has been removed
WebServer.configure_monitoring
(see "Monitoring via HTTP" in docs for more details)shc.log.generic
moved to shc.data_logging
PersistenceVariable
has been renamed to DataLogVariable
and completely reworked in its internal interface and behaviour.
shc.log.in_memory
moved to shc.interfaces.in_memory_data_logging
and InMemoryPersistenceVariable
has been renamed to InMemoryDataLogVariable
shc.log.mysql
moved to shc.interfaces.mysql
and MySQLPersistence
has been renamed to MySQLConnector
MySQLConnector
for retrieving non-logging persistence connector objects has been reworked, with new method persistence_variable()
EventLoopMonitor
interface, for checking the asyncio event loop health via the monitoring interfaceSimpleInputConnector
and SimpleOutputConnector
helper classes. They can for example be used to build function-block-like classes for SHC with multiple input and output connectors and internal logics.energy_x()
connectors are deprecated and will be removed in a future releasescale_factor
and unit_symbol
for ChartWidgetsPublished by mhthies almost 2 years ago
left_button
and right_button
.
shc.Variable
, allowing to connect multiple connectable objects through a single point and to split up tuple values by subscribing to individual fields.None
@shc.handler
and @shc.blocking_handler
decorators now support decorating functions with less than two parameters: origin and value of the value update are only passed to the handler function if the parameters is present.Published by mhthies over 2 years ago
(see also Changes from version 0.6.0)
Published by mhthies over 2 years ago
(see also Changes from version 0.6.0)
Published by mhthies over 2 years ago
WebServer.serve_static_file()
returns full URL of static file (including WebServer.root_url
)WebServer.add_js_file()
and WebServer.add_css_file()
have been replaced with WebServer.add_static_directory()
shc.interfaces.pulse
can be imported without needing libpulse
installed to use the PulseAudio datatypes.trigger()
s for mitigating state inconsistencies in Subscribable._publish()
*PeakConnector
Published by mhthies almost 3 years ago
Variable.field()
method for accessing VariableFields of NamedTuple-typed variables (see Docs)
.field()
methodFadeStep
for processing dimming/fading actionsFadeStepAdapter
and FadeStepRamp
for connecting FadeStep-typed objects to Range-typed VariablesKNXControlDimming
, compatible with FadeStepPublished by mhthies about 3 years ago
Published by mhthies over 3 years ago
shc.handler()
decorator does not mistake Expressions in the origin for recursive execution of the handler anymorePublished by mhthies over 3 years ago
_publish
is no coroutine anymore, origin clearing for state consistency)wait()
method droppedpersistence
module renamed to log
and completely refactoredHysteresis
, TimerSwitch
, BreakableSubscription
)… and many, many minor changes and fixes