Commit Graph

5 Commits

Author SHA1 Message Date
Jochen Gojowsky
0287921b38 add energy tracking: 15-byte payload, power consumption accumulation
- Firmware: energy.c/h tracks relay ON-time and uptime via k_uptime_get,
  load_watts (default 400W) persistent via Zephyr Settings API
- Payload extended from 7 to 15 bytes (backwards compatible):
  relay ON-time (uint24), uptime (uint24), load in watts (uint16)
- New 'w' downlink for load configuration
- Fix downlink handler: 'i'/'w' commands now checked before combined packet
- Server: g2h_rs_energy_tracking table for lifetime power_consumption_wh,
  reboot detection via uptime vs real elapsed time
- Decoder/encoder and docs updated
2026-02-19 17:17:30 +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
143520822c downlink changes 2025-11-05 16:37:08 +01:00
xlemmingx
7be7ef0081 Add payload description 2025-10-15 11:11:49 +02:00