Commit graph

120 commits

Author SHA1 Message Date
Denis-Cosmin Nutiu
943aafdf40 NucuCar.Domain: Modify ITelemeter interface to add new method: IsTelemetryEnabled. 2020-01-26 12:52:09 +02:00
Denis-Cosmin Nutiu
bc245cb5f6 Update appsettings.json 2020-01-24 16:21:43 +02:00
Denis-Cosmin Nutiu
3b7f67fcfe NucuCar.Sensors: Fix log issue in CpuTempSensor.cs 2020-01-24 15:37:45 +02:00
Denis-Cosmin Nutiu
388e9da13d Add check for null sensor in SensorWorker.cs 2020-01-24 15:34:13 +02:00
Denis-Cosmin Nutiu
d2134b20b6 Fix logger not passed in CpuTempSensor.cs 2020-01-24 15:31:00 +02:00
Denis-Cosmin Nutiu
805a132183 Fix bug in TelemetryPublisherDisk not flushing & add file extension in connection string 2020-01-24 15:13:41 +02:00
Denis-Cosmin Nutiu
9f8370c651 Add more logs for tracing 2020-01-24 14:28:48 +02:00
Denis-Cosmin Nutiu
2166695fa0 Update NucuCar Sensors app settings to use Disk publisher 2020-01-11 16:46:27 +02:00
65044de633 Fix CpuTempSensor initialization 2019-12-29 15:56:38 +02:00
e4c692187e Add configuration for CPU Temp sensor 2019-12-29 14:10:58 +02:00
9da5bbb243 Implement CPU temperature sensor worker 2019-12-29 14:08:18 +02:00
bcc0588cc5 Implement CPU temperature sensor 2019-12-29 13:58:32 +02:00
80db516f2c Refactor EnvironmentSensor namespace to Environment 2019-12-29 13:29:27 +02:00
2d4d0b494a Implement TelemetryPublisherFactory 2019-12-28 17:09:17 +02:00
53cc15ed5d Refactor NucuCar.Domain GenericSensor.GetMeasurements to return a generic response 2019-12-19 22:59:17 +02:00
1695fdc833 Remove unused imports 2019-12-18 23:03:20 +02:00
8bcdd0ea1f NucuCar.Sensors: Change SensorWorker to increase the initialization time 2019-12-18 21:37:58 +02:00
b96db4ef18 NucuCar.Sensors: Make sensor workers generic 2019-12-17 21:54:38 +02:00
2f34f16a09 Refactor GenericSensor: rename IntializeSensor to Initialize 2019-12-17 21:44:15 +02:00
e7e4997020 Introduce GenericSensor class 2019-12-17 21:40:20 +02:00
Denis-Cosmin Nutiu
caf67bec4c NucuCar.Sensors: Move sensor configuration from worker in sensor 2019-12-14 16:31:32 +02:00
d6204b06fe Fix Bme680MeasurementData namespace 2019-12-07 00:54:32 +02:00
9bb98b222f Refactor NucuCar.Sensors to return generic sensor response 2019-12-07 00:31:28 +02:00
Denis-Cosmin Nutiu
88e62fa486 Update readme & add fritzing diagram 2019-12-05 18:55:05 +02:00
Denis-Cosmin Nutiu
6de612d55d Add sensor state in Bme680 sensor telemetry 2019-12-01 18:20:43 +02:00
Denis-Cosmin Nutiu
5be270210a Remove EnvironmentSensorMeasurement type from Bme680Sensor 2019-12-01 18:04:46 +02:00
Denis-Cosmin Nutiu
a5600e40cd Add worker tests for NucuCar.Sensors.EnvironmentSensor 2019-12-01 16:38:14 +02:00
Denis-Cosmin Nutiu
0a5319d723 Remove Sensor.cs 2019-11-30 18:58:27 +02:00
Denis-Cosmin Nutiu
beeb6d22a2 Fix interface and restore gRPC tests 2019-11-30 18:55:55 +02:00
Denis-Cosmin Nutiu
f13a918af3 Add ISensor interface 2019-11-30 17:44:54 +02:00
Denis-Cosmin Nutiu
a208492e0c Add tests for NucuCar.Sensor environment sensor's grpc services 2019-11-30 17:19:56 +02:00
Denis-Cosmin Nutiu
c4c55f798e Refactor transient config services to use IOptions 2019-11-26 20:24:27 +02:00
Denis-Cosmin Nutiu
651c1d6a56 Refactor SensorTelemetry to use builder method 2019-11-25 11:40:17 +02:00
Denis-Cosmin Nutiu
4db467f221 Refactor NucuCar.Sensors configuration handling 2019-11-24 18:40:42 +02:00
Denis-Cosmin Nutiu
52ac34761c Remove is service enabled from Bme680Worker 2019-11-24 18:06:52 +02:00
Denis-Cosmin Nutiu
118dbd0086 Refactor NucuCar.Sensors Bme680Sensor singleton class to use dependency injection 2019-11-24 18:03:46 +02:00
Denis-Cosmin Nutiu
fa6ca8d226 TelemetryWorker: handle case when publisher is null 2019-11-24 17:49:46 +02:00
Denis-Cosmin Nutiu
fab4127ace Refactor NucuCar.Sensors to use DI Singleton instead of handmade one 2019-11-24 17:47:17 +02:00
Denis-Cosmin Nutiu
ec90c361ad Update NucuCar.Sensors readme 2019-11-24 15:29:56 +02:00
Denis-Cosmin Nutiu
3db03e4478 Update NucuCar.Sensors readme file: add instllation instructions 2019-11-24 15:26:24 +02:00
Denis-Cosmin Nutiu
eee870a360 Add source code docummentation 2019-11-24 15:12:12 +02:00
Denis-Cosmin Nutiu
094a5d4adf Rename AzureHubConnectionString to ConnectionString 2019-11-24 14:29:52 +02:00
Denis-Cosmin Nutiu
8b9ed04305 Remove option PublishSingleFile from NucuCar.Sensors csproj 2019-11-24 14:29:28 +02:00
Denis-Cosmin Nutiu
d703b53a6b Fix: NucuCar.Sensors creating a telemetry singleton when telemetry is disabled 2019-11-24 14:16:35 +02:00
Denis-Cosmin Nutiu
8434d4f519 Add setting to publish the NucuCat.Sensors project in a single file 2019-11-24 14:15:51 +02:00
0f4a9089b8 Refactor NucuCar.Sensors.EnvironmentSensor classes 2019-11-23 23:06:01 +02:00
70f00ca39d Refactor ITelemetryPublisher to remove Start(), StartAsync(), Publish() 2019-11-23 20:53:04 +02:00
2d4d3c347d Remove Configure() from ITelemetryPublisher 2019-11-23 19:05:18 +02:00
38f5edbe2b Remove SetLogger() from ITelemetryPublisher 2019-11-23 19:02:53 +02:00
5a22b2f851 Implement NucuCar.TestClient telemetry read & telemetry publish 2019-11-23 16:09:44 +02:00
Denis-Cosmin Nutiu
42553e160b Refactor Telemetry module, move into NucuCar.Domain 2019-11-17 18:27:58 +02:00
Denis-Cosmin Nutiu
451c3ee664 Turn NucuCar.TestClient into a command line client 2019-11-17 16:33:24 +02:00
Denis-Cosmin Nutiu
6f1f69bd8f Remove the certificates folder 2019-11-17 15:59:31 +02:00
Denis-Cosmin Nutiu
3100a56d94 Updating readme on telemetry 2019-11-17 15:45:44 +02:00
Denis-Cosmin Nutiu
b2ff223ad6 Add support for Telemetry via Azure-IoT Hub 2019-11-17 15:29:33 +02:00
Denis-Cosmin Nutiu
70c1dc290c Add NullObject & FileNotFound exception handling for publishing telemetry data 2019-11-15 17:53:20 +02:00
Denis-Cosmin Nutiu
572c12d43f Attempt to add Google Cloud Platform as a MQTT server 2019-11-14 19:23:16 +02:00
Denis-Cosmin Nutiu
fb4034773c Scaffold for telemetry service 2019-11-14 16:45:32 +02:00
Denis-Cosmin Nutiu
8a6094b8a3 Add EnvironmentSensor settings 2019-11-11 17:58:46 +02:00
Denis-Cosmin Nutiu
9bc5a462f6 Remove redundant package from NucuCar.Sensors 2019-11-11 13:34:28 +02:00
Denis-Cosmin Nutiu
f0407a290f Add Domain project for domain-related data. 2019-11-11 13:28:52 +02:00
Denis-Cosmin Nutiu
a32e59f80c Generate SensorMeasurement and State using gRPC proto 2019-11-11 12:59:07 +02:00
Denis-Cosmin Nutiu
46e78daa63 Add arm support for gRPC 2019-11-10 17:06:45 +02:00
Denis-Cosmin Nutiu
80b9d142d8 Update readme 2019-11-10 16:04:11 +02:00
Denis-Cosmin Nutiu
fbbb5fcc12 Implement gRPC service for EnvironmentSensor 2019-11-10 16:02:50 +02:00
Denis-Cosmin Nutiu
82e0ffd4d5 Update NucuCar.Sensors settings to listen to all interfaces 2019-11-10 15:13:57 +02:00
Denis-Cosmin Nutiu
a557d44c98 Add gRPC support for NucuCar.Sensors project 2019-11-10 14:38:40 +02:00
Denis-Cosmin Nutiu
6e6f1c6fcd EnvironmentalSensor add delay before attempting to re-initialize 2019-11-09 19:38:49 +02:00
Denis-Cosmin Nutiu
e245ddc961 Change EnviromentalSensor reading logic 2019-11-09 19:37:28 +02:00
Denis-Cosmin Nutiu
3ea3c9309b Rename project Nucucar.BME680Sensor to NucuCar.Sensors 2019-11-09 19:23:07 +02:00