Skip to main content

fake_therm_w1_slave

Project description

Fake W1 thermometer

README

This package wil generate a fake DS18B20 temperature sensor like on a raspberry Pi so developement on other devices is possible without the actual connecting of a temperature sensor. It mimics the behaviour of this sensor. The sensor takes a min and max temperature and oscillates between this given range by 0.1 degrees celcius.

Version: 0.1

Usage: Import an instantaniate the class, the class takes an minimum and maximum temperature, an output dir and sensor number. This sensornumber makes it possible to instantaniate a number of sensors. On initialize the class will generate a random temperature between the min and max temperature so you get different readings per sensor. I've added a example.py to give you an idea on how to run this package.

Author This package is created by me, Ted van Roon, if you have any questions don't hesitate to contact me via DM.

Licence This package is licensed under GNU GPLv3.

Language This package is written in Python 3.9, not doing anything fancy, so I think this wil work for Python 3.x.

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

fake_therm_w1_slave_tvanroon-0.3.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

fake_therm_w1_slave_tvanroon-0.3-py3-none-any.whl (15.4 kB view hashes)

Uploaded Python 3

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