Releases: fphammerle/wireless-sensor
Releases · fphammerle/wireless-sensor
async
Added
- added attribute type hints to
Measurementclass - declare compatibility with
python3.11
Changed
- method
FT017TH.receive- now async
- quits after
timeout_secondswithout valid packet gpiod_line_request_rising_edge_events(withincc1101library) blocks thread for up totimeout_seconds- no longer yields
None
- command
wireless-sensor-receive: timeout after one hour without valid packet
Removed
- compatibility with
python3.5,python3.6,python3.7&python3.8
timeout
Changed
FT017TH.receive: use edge detection on CC1101'sGDO0pin to detect arrival of packages
(instead of polling)- command
wireless-sensor-receive: added parameter--gdo0-gpio-line-name(default:GPIO24) FT017TH.receive: yieldNoneon error or timeout to allow caller to perform periodic tasks
(instead of blocking thread until valid packet arrives)
flock
Changed
- acquire
flockon SPI device file - attribute
FT017TH.transceiveris now private
Added
- added option
FT017TH(unlock_spi_device=True)/--unlock-spi-device
to release theflockfrom the SPI device file after configuring the transceiver
Fixed
- reconfigure receiver after receiving a packet with unexpected length
(receiver possibly accessed by other process)
measurement type
Added
Measurementtype is now public
python3.5 compatibility
Fixed
ValueError: astimezone() cannot be applied to a naive datetimeon python3.5
first release
Added
- method
wireless_sensor.FT017TH.receivecontinuously yielding
temperature & humidity measurements received from FT017TH sensor - script
wireless-sensor-receive