TinkerWorks / HomeSensorHub

GNU General Public License v3.0
3 stars 2 forks source link

Asynchronous send of data by sensors. #26

Closed BabyCakes13 closed 4 years ago

BabyCakes13 commented 4 years ago

Right now the sensor sink class requests data at x seconds from all the registered sensors. Instead of this and based on implementing different poll rates for sensors (which is also found in #7 ), the sensors should behave in an asynchronous way and based on a set poll rate, they should push their data to the sensor sink. The poll rate is valid for sensors configured as such; in case of the motion sensor, it should send its state when moved.

BabyCakes13 commented 4 years ago

The motion async is done in #27.