117 Commits

Author SHA1 Message Date
5a93b5137c make a copy of cmd, ArudinoJson alters original one
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-24 20:59:07 +02:00
dd058edb50 write json directly into Serial 2022-10-24 20:58:46 +02:00
fb6db16e16 refactor into smaller functions 2022-10-24 20:54:45 +02:00
071b2cf408 echo every command in array 2022-10-24 20:54:38 +02:00
efb09cf53e Merge branch 'oil_sensor'
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-17 15:13:21 +02:00
074d3a7865 Merge branch 'gateway' 2022-10-17 15:09:21 +02:00
810e494d06 Merge branch 'temp_sensor' 2022-10-17 15:08:46 +02:00
69e7e39b15 update measure interval to 1h 2022-10-17 14:14:23 +02:00
f1a437fb33 move voltage under diagnostic
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-15 13:00:42 +02:00
63cdef2ecf switch back to NaN as string 2022-10-15 13:00:38 +02:00
Nicu Hodos
4c704585db Merge pull request 'gateway: adapt it to publish sensors on MQTT' (#1) from gateway into master
Reviewed-on: #1
2022-10-13 20:28:46 +02:00
c084a8c5be use builtin NaN for 0 voltage
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2022-10-13 20:21:41 +02:00
0143191cb5 convert values of sensors to float 2022-10-13 20:03:17 +02:00
11dc1ad9e3 don't send 0 voltage 2022-10-13 20:03:17 +02:00
80a8142e3e stop ser2net to avoid conflicts when uploading 2022-10-13 20:01:07 +02:00
8e7c9d336d move id outside sensor block
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2022-10-12 10:54:29 +02:00
38d45bf866 run pipeline for gateway branch 2022-10-12 10:52:22 +02:00
7bb1f231ca extract Dht in separate file and disable it
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2022-10-08 16:08:12 +02:00
0bfef8c916 update workspace after split 2022-10-08 16:08:01 +02:00
62a280d9cf decrease send frequency 2022-10-07 19:52:34 +02:00
82f894046b turn on/off sonar sensor 2022-10-07 13:45:25 +02:00
c71fd6c5b8 optimize sending logic 2022-10-07 13:45:25 +02:00
8b869597a6 add sonar sensor 2022-10-07 13:45:25 +02:00
83ca273f71 use official rc-switch library 2022-10-07 13:43:42 +02:00
8a0dd94d32 update workspace after split 2022-10-07 13:43:36 +02:00
61067aadce signal failed reset 2022-10-06 21:17:49 +02:00
7e1d29bb83 add generic sensor 2022-10-06 09:09:39 +02:00
252f1c12fa use sensor based on precompile directive 2022-01-01 21:13:46 +01:00
13fa62a9c3 Merge branch 'dht22' into temp_sensor 2022-01-01 16:52:23 +01:00
11f410442a move turn on/off logic inside sensor 2022-01-01 16:45:57 +01:00
4bb1afb838 move send logic outside loop 2022-01-01 16:42:36 +01:00
47cf9b57f0 move temperature sensor code inside its own class 2022-01-01 16:28:02 +01:00
a9a2f1b6f4 move temperature sensor code inside its own class 2022-01-01 16:07:45 +01:00
f871a7fd43 remove DEBUG code 2021-12-31 16:04:48 +01:00
c9c0b801e9 change data sending format 2021-12-31 16:00:09 +01:00
8dd23aeb07 split TinySensor into TinySwitch 2021-12-31 15:56:35 +01:00
ca2b003f5d gateway: update platformio board after upgrade 2021-12-31 15:53:31 +01:00
75c02a22e2 add support for humidity 2021-12-31 15:53:26 +01:00
16626ec38f retry once if temp reading fails 2021-12-30 21:19:12 +01:00
5c5c744854 optimise data sending 2021-12-30 21:19:12 +01:00
f5b7b24cea split TinySensor into TinySwitch 2021-12-30 21:19:12 +01:00
a9f8598a63 gateway: update platformio board after upgrade 2021-12-30 21:19:12 +01:00
632c6cc63f switch to DHT22 2021-12-30 21:19:12 +01:00
fc17463272 add support for humidity 2021-12-30 21:19:12 +01:00
24d7e5c005 add documentation 2021-12-28 22:09:18 +01:00
b5c360683d update temp_sensor and adapt gateway to it 2021-12-24 15:09:37 +01:00
8a8a31c3c0 use power save 2021-12-24 15:09:37 +01:00
2d0890e9e0 migrate temp_sensor project to platformio 2021-12-24 15:09:37 +01:00
Nicolae Hodos
a5a62214bc add BMP280 and display temperature 2021-12-08 09:57:27 +01:00
Nicolae Hodos
7b34d805e4 add functionality to display text commands 2021-12-08 09:49:46 +01:00