Skip to main content

client implementation of "DMS JSON Data Exchange v1.4"

Project description

visitoolkit_connector

client-side implementation of 'DMS JSON Data Exchange'

(most parts of specification v1.4 is already implemented,
but my code currently contains many rough edges...)

Installation via pip
https://pypi.org/project/visitoolkit-connector
(runs on Python 3)

description

An INOFFICIAL OpenSource client library written in Python to
ProMoS NT (c) AKA Saia Visi.Plus (c) version 1.7 or higher

  • search for datapoints
  • manipulations on datapoints (get, set, delete)
  • retrieving of trend data
  • retrieving of alarms and protocols
  • event-based monitoring of datapoints

visitoolkit_connector communicates over websockets to DMS and implements the official 'DMS JSON Data Exchange' protocol.
All JSON objects (requests and responses) are mapped to instances of Python classes.
All JSON values are mapped to attributes.
Events from datapoint subscriptions are handled by visitoolkit_eventsystem for executing your Python callbacks in a background thread.

documentation for this protocol is without any warranty temporary available under https://github.com/stefanbraun-private/stefanbraun-private.github.io/tree/master/ProMoS_dev_docs
All rights reserved by the respective owner 'MST Systemtechnik AG'

usage

from visitoolkit_connector import connector

TODO: add examples...

=>at the moment you find minimal usage examples at the end of the main Python script:
https://github.com/stefanbraun-private/visitoolkit_connector/blob/master/visitoolkit_connector/connector.py

Increasing logging level for bughunting:

import logging
logging.getLogger('visitoolkit_connector').setLevel(logging.DEBUG)

background information

visitoolkit_connector is a core part of visitoolkit.

visitoolkit is written for the proprietary Building and Process Management System 'ProMoS NT' (c) MST Systemtechnik AG'
(also known as 'Saia Visi.Plus' (c) Saia-Burgess Controls AG)

Intention:
Support creator of visualisation projects...
Add efficiency...
Reduce manual error-prone processes...
Add missing features...

Disclaimer:
'visitoolkit' is an open source homegrown hobby project
without any warranty and liability.
=>Use 'visitoolkit' at your own risk!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

visitoolkit-connector-0.1.2.tar.gz (37.2 kB view details)

Uploaded Source

Built Distribution

visitoolkit_connector-0.1.2-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file visitoolkit-connector-0.1.2.tar.gz.

File metadata

  • Download URL: visitoolkit-connector-0.1.2.tar.gz
  • Upload date:
  • Size: 37.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for visitoolkit-connector-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0cceba88d70484449fda9037c31f3cd88636b21f4ebf394b5d05601c716259c2
MD5 8e8e7288353559f379bfb1a45bfaf759
BLAKE2b-256 86f2bff4a2520d3169fdd33ecb6c53f5fe0613da3051e9933fb760f0b3bd9dd5

See more details on using hashes here.

File details

Details for the file visitoolkit_connector-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: visitoolkit_connector-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 20.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for visitoolkit_connector-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b00382040008f5f87273472e1ea0a58de33016e2eb2c75d3e83127d69fa6018c
MD5 6730d0ce74e039ae7cdec2bdb2fa4d7e
BLAKE2b-256 67a598b97fb229ccc20e641e45088604647e3ba4c1633f9dbc31fa9a9759d5c9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page