Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate SEN66 driver from SEN66 model version 1.3.0 #1

Merged
merged 1 commit into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.0.0] - 2024-11-25

### Added

- Add all public interfaces
### Changed

- Return type of CO2 value in read_measured_values changed from float to uint16
## [0.1.0] - 2024-10-31

### Added
Expand All @@ -13,5 +21,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add interfaces to start, stop and read measurements.
- Add interfaces to read product name, serial number and version

[Unreleased]: https://github.com/Sensirion/python-i2c-sen66/compare/0.1.0...HEAD
[Unreleased]: https://github.com/Sensirion/python-i2c-sen66/compare/1.0.0...HEAD
[1.0.0]: https://github.com/Sensirion/python-i2c-sen66/compare/0.1.0...1.0.0
[0.1.0]: https://github.com/Sensirion/python-i2c-sen66/releases/tag/0.1.0
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ This repository contains the Python driver to communicate with a Sensirion SEN66
Click [here](https://sensirion.com/sen6x-air-quality-sensor-platform) to learn more about the Sensirion SEN66 sensor.


unknown


The default I²C address of [SEN66](https://www.sensirion.com/products/catalog/SEN6x) is **0x6B**.
The default I²C address of [SEN66](https://www.sensirion.com/products/catalog/SEN66) is **0x6B**.



Expand Down
4 changes: 2 additions & 2 deletions examples/example_usage_linux_sen66.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# Generator: sensirion-driver-generator 1.0.1
# Product: sen66
# Model-Version: 1.2.0
# Model-Version: 1.3.0
#

import argparse
Expand All @@ -31,7 +31,7 @@
print(f"serial_number: {serial_number}; "
)
sensor.start_continuous_measurement()
for i in range(50):
for i in range(100):
try:
time.sleep(1.0)
(mass_concentration_pm1p0, mass_concentration_pm2p5, mass_concentration_pm4p0, mass_concentration_pm10p0, humidity,
Expand Down
4 changes: 2 additions & 2 deletions examples/example_usage_sensorbridge_sen66.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# Generator: sensirion-driver-generator 1.0.1
# Product: sen66
# Model-Version: 1.2.0
# Model-Version: 1.3.0
#

import argparse
Expand Down Expand Up @@ -40,7 +40,7 @@
print(f"serial_number: {serial_number}; "
)
sensor.start_continuous_measurement()
for i in range(50):
for i in range(100):
try:
time.sleep(1.0)
(mass_concentration_pm1p0, mass_concentration_pm2p5, mass_concentration_pm4p0, mass_concentration_pm10p0, humidity,
Expand Down
Binary file modified images/sen6x-pinout.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions metadata.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# driver generation metadata
generator_version: 1.0.1
model_version: 1.2.0
model_version: 1.3.0
dg_status: released
is_manually_modified: false
first_generated: '2024-10-30 08:14'
last_generated: '2024-10-30 08:14'
last_generated: '2024-11-27 07:57'
Loading
Loading