Commit Graph

26 Commits

Author SHA1 Message Date
xlemmingx
f1108e678a fix heating control logic: relais now turns off when any threshold reached
Previously relais would stay on if only one threshold was exceeded.
Now relais turns off correctly when room temp OR floor temp reaches threshold.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-11 17:31:00 +01:00
d727a5225e LoRaWAN_Payload_Description.md aktualisiert 2025-11-06 11:33:33 +01:00
6e77d3d3ad LoRaWAN_Payload_Description.md aktualisiert 2025-11-06 11:24:53 +01:00
xlemmingx
dc452ca494 variable rename and bugfix 2025-11-05 17:09:20 +01:00
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
7be7ef0081 Add payload description 2025-10-15 11:11:49 +02: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
de28645511 Fix Windows batch script - remove PowerShell dependency
- Replace PowerShell Set-Content with native batch commands
- Use type, findstr, echo and move for file processing
- Should work on all Windows systems without PowerShell restrictions
2025-10-07 18:55:13 +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
4850d5b257 Fix Windows package.json error in setup scripts
- Add automatic PlatformIO package cleanup and reinstall
- Handle corrupted framework downloads on Windows
- Improve error handling and user guidance
2025-10-07 17:55:25 +02:00
xlemmingx
acc1334daf Add Windows setup scripts for framework configuration
- Add setup_framework.bat for classic Windows batch support
- Add setup_framework.ps1 for PowerShell with better error handling
- Both scripts handle STM32WL LoRaMAC-Node framework conflicts
2025-10-07 17:47:41 +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
8222ce611e Fix STM32WL SubGHz radio device tree configuration
Add missing compatible string and required properties for STM32WL integrated
SubGHz radio to enable native Zephyr LoRa driver support.
2025-09-30 12:07:34 +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