Skip to content

Commit

Permalink
Merge pull request #1 from Sensirion/sen66_1.3.0_20241127_0757
Browse files Browse the repository at this point in the history
Generate SEN66 driver from SEN66 model version 1.3.0
  • Loading branch information
LeonieFierz authored Nov 27, 2024
2 parents 5b32770 + 5ed1eac commit 4fd3fdb
Show file tree
Hide file tree
Showing 11 changed files with 1,147 additions and 112 deletions.
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

0 comments on commit 4fd3fdb

Please sign in to comment.