Skip to main content

Simple IOT device simulator

Project description

Simple IOT Device

IOT device simulator.

The simulated device takes a number of measurements at some fixed point of time.

The measurements data returned as Python dictionary.

IOT Device Measurements

  • temperature, in °C;
  • pressure, in kPa;
  • relative humidity, in %;

Basic Usage

    from simple_iot_device import SimpleIOTDevice
    
    # create Simple IOT Device
    device = SimpleIOTDevice(name="SDM-120230")
    
    # make measurement
    measurement = device.make_measurement()
    
    # print measurement result
    print(measurement)

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

simple-iot-device-1.0.1.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

simple_iot_device-1.0.1-py3-none-any.whl (5.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