Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

CounterFit Shims - Grove

Grove Shim PyPI

Shims for the Seeed Grove SI114X sunlight sensor to use with the CounterFit virtual IoT device app.

See the Seeed Python SI114X Docs for the API documentation.

Getting started

To use these shims, you will need to install CounterFit and have it running, with the appropriate hardware created.

  • Install this package from pip:

    pip install telegen-shims-seeed-python-si114x
    
  • Import the Grove modules as normal, but using the counterfit_shims_seeed_python_si114x package instead of the seeed-python-si114x package, as well as importing the TeleGenConnection from the counterfit_shims_grove.counterfit_connection module:

    from counterfit_connection import TeleGenConnection
    from counterfit_shims_seeed_python_si114x import si114x
    
  • Configure the connection to the CounterFit app. Change the hostname and port to where you are running it:

    TeleGenConnection.init('127.0.0.1', 5000)
    
  • Write your Grove code as usual. The default assumes you have a light sensor on pin 0, IR on pin 1 and UV on pin 2. You can change these passing additional arguments to the init

    sensor =.si114x()
    light = sensor.ReadVisible()
    ir = sensor.ReadIR()
    uv = sensor.ReadUV()
    

Metadata

Release files for telegen-shims-seeed-python-si114x 0.1.0.dev2

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

Source distribution (sdist)

Source distribution for telegen-shims-seeed-python-si114x 0.1.0.dev2
File Size Uploaded
telegen_shims_seeed_python_si114x-0.1.0.dev2.tar.gz 3.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for telegen-shims-seeed-python-si114x 0.1.0.dev2
File Interpreter ABI Platform
telegen_shims_seeed_python_si114x-0.1.0.dev2-py3-none-any.whl Python 3 none any Details

Total release size: 6.8 kB

Release files / telegen_shims_seeed_python_si114x-0.1.0.dev2.tar.gz

Download URL telegen_shims_seeed_python_si114x-0.1.0.dev2.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6db0a52cd4f51419b1e76d15d105351a24afacdc8a9215c26cfeb9c8e15f9dbb
BLAKE2b-256 checksum
How to use checksums
5b0e6decd09bb72be338b5c7dbe80f350535b26d44176b186c767a56137ced97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / telegen_shims_seeed_python_si114x-0.1.0.dev2-py3-none-any.whl

Download URL telegen_shims_seeed_python_si114x-0.1.0.dev2-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e1447f5f2894220da2c5ea5572e88c99cc6cb75f32ea0d182f40bbfefa3f482
BLAKE2b-256 checksum
How to use checksums
77a11360b6bcf80dfe2e1e48849c027000630f9cd53c0b21089b0ece8d8adada
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

0.1.0.dev2 This release

2 release files

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