Commit Graph

7 Commits

Author SHA1 Message Date
xlemmingx
143520822c downlink changes 2025-11-05 16:37:08 +01:00
xlemmingx
a1b9324ecc sensor reading extended; persistent lorawan frame counter 2025-11-05 12:32:11 +01:00
xlemmingx
71c0386229 various implementations to increase measurement precision and lorawan performance 2025-11-03 13:38:12 +01:00
xlemmingx
64f9d49448 Add dual temperature threshold control with MLX sensor fallback
- Add separate thresholds for room temp (21°C) and floor temp (22°C)
- Use t1/t2 downlink commands for setting thresholds
- Automatically disable floor temp monitoring if MLX sensor fails
- Relay turns off if either temperature threshold is exceeded
- Robust operation with or without floor temperature sensor
2025-10-07 19:25:15 +02:00
xlemmingx
7a6f7c46d0 Fix float output formatting in sensor readings
- Replace printf with printk using integer formatting for floats
- Add stdio.h include for proper printf support
- Fix SHT4X sensor value display issues
- Temperature and humidity values now display correctly
2025-10-07 18:53:38 +02:00
xlemmingx
b683a8a880 add gpio handling; add downlink handling 2025-05-28 11:22:54 +02:00
xlemmingx
607a089510 code splitting and cleaning 2025-05-23 10:48:05 +02:00