Coder Social home page Coder Social logo

ami3go / votschtechnik-climate-chamber-python Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sengerm/votschtechnik-climate-chamber-python

0.0 0.0 0.0 21 KB

Control the Vötschtechnik (Weiss Technik) climate chamber using Python

License: MIT License

Python 100.00%

votschtechnik-climate-chamber-python's Introduction

Votschtechnik (Weiss Technik) climate chamber control from Python

This Python package allows to communicate with a Votschtechnik (or Weiss Technik?) climate chamber like this one Picture of a climate chamber in an easy way using Python.

Installation

Option 1 (easy, black box, you just want to use this):

pip3 install git+https://github.com/SengerM/VotschTechnik-climate-chamber-Python

Option 2 (still easy, allows you to change the code):

Clone the repo wherever you want and then

pip3 install -e /wherever/you/wanted/to/clone/this/repo

Uninstall

To uninstall this package just run

pip3 uninstall VotschTechnikClimateChamber

Usage

Just import and start using:

from VotschTechnikClimateChamber.ClimateChamber import ClimateChamber

chamber = ClimateChamber(
	ip = '130.60.165.218', # Use the IP address shown in the display of the climate chamber.
	temperature_min = -20, # Minimum limit, will rise an error if try to set temperature lower than this.
	temperature_max = 20, # Maximum limit, will rise an error if try to set temperature higher than this.
)
print(chamber.idn) # Prints 'Climate chamber vötschtechnik, LabEvent T/110/70/3, serial N° bla_bla_bla, manufactured in 2020'
chamber.temperature_set_point = 20 # °C.
print(f'The set temperature of the chamber is {chamber.temperature_set_point} °C.')
print(f'The actual temperature in the chamber is {chamber.temperature_measured} °C.')

Reference

Check the source code, specifically in this file. If there is a specific method in the ClimateChamber class to do what you want, use it. Otherwise you will have to send the commands using the method ClimateChamber.query. The available commands are those in the COMMANDS_DICT which is defined in the same file. If your command is not in COMMANDS_DICT you will have to use the method ClimateChamber.query_command_low_level and enter the command numbers manually, as stated in the user manual, which is a pain.

votschtechnik-climate-chamber-python's People

Contributors

sengerm avatar ami3go avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.