Commit Graph

17 Commits

Author SHA1 Message Date
xlemmingx
143520822c downlink changes 2025-11-05 16:37:08 +01:00
xlemmingx
2969221ab2 disable retries 2025-11-05 12:39:21 +01:00
xlemmingx
a1b9324ecc sensor reading extended; persistent lorawan frame counter 2025-11-05 12:32:11 +01:00
xlemmingx
88b017c299 remove lorawan tuning 2025-11-03 17:05:48 +01:00
xlemmingx
e4f6382fce remove confirmation retry increase 2025-11-03 16:35:53 +01:00
xlemmingx
71c0386229 various implementations to increase measurement precision and lorawan performance 2025-11-03 13:38:12 +01:00
xlemmingx
6baa774b59 removed fixed device address used for debugging 2025-10-13 09:23:43 +02:00
xlemmingx
72c83fea4c Add comprehensive setup guide and remove temperature validation
- Complete step-by-step setup guide for new devices
- ChirpStack configuration instructions with exact parameters
- Code modification guide with format conversion examples
- Remove temperature range validation (accept 0-255°C)
- Change send interval to 5 minutes
- Add troubleshooting section
2025-10-07 19:34:56 +02: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
c46a47e125 Add configurable temperature threshold and improved relay control
- Add temperature threshold downlink command (t + temperature)
- Update relay control: r1 0=force OFF, r1 1=enable auto control
- Temperature threshold range validation (10-35°C)
- Enhanced logging for better debugging
2025-10-07 18:32:17 +02:00
xlemmingx
1ca573e8cc Switch to ABP activation and add temperature-based relay control
- Switch from OTAA to ABP for reliable network joining
- Use SHT4X temperature sensor instead of MLX90614 internal temp
- Add automatic relay control based on 21°C threshold
- Add manual override capability via downlink commands
- Update device tree for Rev 2.1 board compatibility
- Improve logging configuration to prevent message drops
2025-10-07 17:40:57 +02:00
xlemmingx
55fbfaf1d5 set dev eui from MCU-ID (UID) of STM32WL 2025-06-05 09:30:42 +02:00
xlemmingx
bee5012e04 fix compiler warning 2025-05-28 11:23:42 +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
xlemmingx
bbedb8d0fd initial commit 2025-05-22 12:46:26 +02:00