Compare commits

..

No commits in common. "master" and "master" have entirely different histories.

3 changed files with 1 additions and 43 deletions

View File

@ -1,3 +0,0 @@
{
"group": "smart_household",
}

View File

@ -1,37 +0,0 @@
# Veles Python package
This is a package for reading [Veles Smart Household](#veles-smart-household) sensors and for logging and visualizing data.
## Installation
```
pip install veles
```
Further documentation is a work in progress :)
## Veles Smart Household
This package is part of Veles Smart Household. Goal of this project is to create open hardware and software platform for measuring various quantities, not only related to indoor air quality:
* temperature
* humidity
* atmospheric pressure
* carbon dioxide (CO2)
* carbon monoxide (CO)
* volatile organic compounds (VOC)
* particulate matter (PM - dust particles)
* light intensity
* soil moisture
... and some more!
Sensors are connected either via RS-485 Modbus or wirelessly to central unit. Wireless sensors are currently in development. Central unit may be any anything that can read from the bus: any computer with RS-485 to USB converter (e.g. Raspberry Pi) or an actual PLC. Readout of the sensor is possible via Modbus: either using your own favourite application or using your Python package.
**We want this to be community effort! Come help us make something great!**
### Other Smart Household repositories
* [RHT wired sensor](https://gitea.veleslabs.org/veles_labs/rht_sensor_wired)
* [IAQ wired sensor](https://gitea.veleslabs.org/veles_labs/iaq_sensor_wired)

View File

@ -3,10 +3,8 @@ from dataclasses import dataclass
from typing import Dict, Any
from abc import ABC, abstractmethod
import sys
py310 = sys.version_info.minor >= 10 or sys.version_info.major > 3
@dataclass(**({"slots": True} if py310 else {}))
@dataclass(slots=True)
class ReadoutErrorCounter:
"""Class used to track readout errors"""