Skip to main content

scsgate Build Status Docs

This python module allows to interact with a SCSGate device.

The module has been written to manage a SCSGate device with home-assistant.

Installation

The scsgate module can be installed using pip:

sudo pip install scsgate

Monitoring the SCS bus

The scsgate pip package provides a script named scs-monitor that has two purposes:

  • interactively create a configuration file for home-assistant

  • sniff all the messages going over the SCS bus

Creation of a home-assistant configuration file

scs-monitor can be used to create a home-assistant configuration file defining all the available devices.

This can be done by using the --homeassistant-config flag.

Once started scs-monitor will start sniffing all the events going over the SCS bus. For each captured message it will extract the ID of the relevant device and will ask the user to enter an ID for home-assistant and the name of the device.

By pressing CTRL-C the program will exit and generate the home-assistant configuration file.

Sniffing messages

By defaul scs-monitor will print all the messages going over the SCS buffer.

It’s possible to filter the messages related with a list of known devices. This can be done using the -f flag followed by the name of the file containing the devices to ignore. The file is a yaml document like the one created in the previous step.

It’s also possible to redirect all the output to a text file by using the -o flag.

License

This code is licensed under the MIT license.

Metadata

Release files for scsgate 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scsgate 0.1.0
File Size Uploaded Provenance Actions
scsgate-0.1.0.tar.gz 8.4 kB Without provenance Details for scsgate-0.1.0.tar.gz

Release files / scsgate-0.1.0.tar.gz

Download URL scsgate-0.1.0.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
70cbd27d74bae3135efa0d3a27f6ede3a45e83359f67577c4a144c220de69f26
BLAKE2b-256 checksum
How to use checksums
55c905c8eaae6ca0145bf0462e2716ca63834702c0390660bc42b38c0a4fdc17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for scsgate 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page