59 Commits

Author SHA1 Message Date
Michael Ehrenreich 91d6511fe6 Increase OTA task stack size to fix crash when supplying a HTTPS URL 0.5.1 2026-06-09 01:06:07 +02:00
Michael Ehrenreich 88bec28a5a Add led override color feature ("Flugsicherungslampenmodus") 0.5.0 2026-06-09 00:33:59 +02:00
Michael Ehrenreich ba3b0c9a35 Make system LED blinking dependent on events in addition to timers to detect wedged event system 2026-06-09 00:32:21 +02:00
Hajo Noerenberg 126e5fe472 Add ESP32-C5-DevKitC-1 N4 board support with SPI EPPP link (#19)
Co-authored-by: Michael Ehrenreich <michideep@gmail.com>
2026-06-08 23:28:26 +02:00
Hajo Noerenberg 6c5c28698a Add ESP_LOGI() after console_init() to ensure TAG is referenced unconditionally — otherwise it becomes unused (and errors out under -Werror) when CONFIG_SNIFFER_STORE_HISTORY is disabled, since the ESP_LOGE inside initialize_filesystem() was the only prior use. (#15)
Co-authored-by: Michael Ehrenreich <michideep@gmail.com>
2026-06-08 20:44:02 +02:00
Hajo Noerenberg e46d78ba89 Add partition table for 4M ESP32-C5 chips (#17)
Co-authored-by: Michael Ehrenreich <michideep@gmail.com>
2026-06-08 20:38:55 +02:00
Michael Ehrenreich 6d0d24f12d Fix compile error with CONFIG_ENABLE_TEMPERATURE=n 0.4.0 2026-05-26 21:12:04 +02:00
Michael Ehrenreich ea1b8335f7 Perform initial temperature read during init so that the first MQTT stats message already includes the temperature 2026-05-26 17:06:23 +02:00
Michael Ehrenreich 47eac54fa9 Factor getting ethernet MAC address out into function 2026-05-26 05:09:28 +02:00
Michael Ehrenreich 5dd93414ae Minor mqtt.cpp improvements 2026-05-26 05:09:28 +02:00
Michael Ehrenreich db88e0fd03 Use ArduinoJson for MQTT stats and info topics to make JSON handling less painful; add time since last reboot in stats 2026-05-26 05:09:28 +02:00
Michael Ehrenreich e4bfacf0c5 Add APP_BOOT_FINISHED event; make LEDs react to changes in ledbrightness config immediately; keep LED rainbow until boot finished 2026-05-26 05:09:28 +02:00
Michael Ehrenreich 5c209e5897 Add config events; add missing config_{get,set}_blob functions; remove -R parameters from config_{get,set} commands to simplify handling 2026-05-26 05:09:28 +02:00
Michael Ehrenreich ad493c3b55 Disable LED gamma correction 2026-05-26 05:09:28 +02:00
Hajo Noerenberg 76dd7bb6a3 Add topic to MQTT log (#16) 2026-05-15 00:30:31 +02:00
Hajo Noerenberg 29a843c31d Guard initialize_filesystem() body (#14)
Reviewed-on: https://codeberg.org/opentrafficmap/its-g5-receiver-firmware/pulls/14
2026-05-15 00:13:49 +02:00
Hajo Noerenberg a37ac57247 fix spi.c TAG reference
Add #else branch to initialize_spi() that logs "SPI bus not initialized" so that TAG is referenced in all config combinations — previously, builds with both CONFIG_SNIFFER_SD_SPI_MODE and CONFIG_ETHERNET_SPI_SUPPORT disabled would fail under -Werror due to unused TAG.
2026-05-12 23:16:14 +02:00
Michael Ehrenreich 5ba2a0303b Update readme 2026-04-29 17:57:11 +02:00
Michael Ehrenreich 243966c6bb Update led_indicator component to fix compilation 0.3.1 2026-04-21 15:21:07 +02:00
Michael Ehrenreich dbd47398fd Add readme 2026-04-11 03:11:03 +02:00
Michael Ehrenreich 5cd878a9a8 Add defaults for mqtturi and autostartchan 0.3.0 2026-04-10 22:10:02 +02:00
Michael Ehrenreich a2e0e5fb05 Only capture broadcast per default 2026-04-10 05:27:44 +02:00
Michael Ehrenreich c93eea3981 Report hw variant over mqtt 2026-04-10 05:26:59 +02:00
Michael Ehrenreich 124ea1c70f Update hw variant to use dashes 2026-04-10 04:22:02 +02:00
Michael Ehrenreich f5a9d273d7 Add sdkconfig for proto-PCB versions 2026-04-10 04:00:17 +02:00
Michael Ehrenreich 5ccfe8240e Add config option for HW variant 2026-04-10 03:47:32 +02:00
Michael Ehrenreich 5f5c916ae1 Add config option for I2C temperature sensor 2026-04-10 03:41:52 +02:00
Michael Ehrenreich 6791d44a6d Use Ethernet mac as default nodeid 2026-04-07 23:18:12 +02:00
Michael Ehrenreich b99694b2e4 Add auto-reboot in case the new firmware cannot connect to MQTT 0.2.0 2026-04-02 06:12:36 +02:00
Michael Ehrenreich f03c16905c Publish version on MQTT 0.1.0 2026-04-02 04:48:02 +02:00
Michael Ehrenreich 36584ba807 Periodically publish stats 2026-04-02 04:48:02 +02:00
Michael Ehrenreich 2d91b5130b Fix temperature reading 2026-04-02 04:48:02 +02:00
Michael Ehrenreich be5cca8899 Publish info on connect; more correct string handling in MQTT command; return if make_topic_prefix failed (unlikely) 2026-04-02 04:48:02 +02:00
Michael Ehrenreich b2da1c35b0 Set DHCP hostname by nodeid 2026-04-01 17:36:15 +02:00
Michael Ehrenreich d659e43a58 Increase temperature reading interval to 10s 2026-04-01 16:29:33 +02:00
Michael Ehrenreich fcb4ce1e00 Implement reading temperature sensor 2026-03-31 05:38:33 +02:00
Michael Ehrenreich e20197b0fa Allow configuring LED brightness 2026-03-31 04:41:18 +02:00
Michael Ehrenreich fda66efe76 Configure MTU to 1420; Minor ethernet.c changes 2026-03-31 03:39:31 +02:00
Michael Ehrenreich ad492dd90a Better LEDs 2026-03-30 20:01:31 +02:00
Michael Ehrenreich 7b8c02ee57 Actually fix LED? 2026-03-28 00:27:53 +01:00
Michael Ehrenreich 7ca8e41041 Fix LED on boot 2026-03-28 00:17:18 +01:00
Michael Ehrenreich 37c27f650a Support its-g5-receiver PCB 2026-03-28 00:11:23 +01:00
Michael Ehrenreich 6c4bbc0da9 Make LED less blinky 2026-03-26 01:41:09 +01:00
Michael Ehrenreich 04d47ce504 Ethernet static IP support 2026-03-22 03:54:29 +01:00
Michael Ehrenreich d4d2afdce0 Sniffer autostart 2026-03-22 03:54:13 +01:00
Michael Ehrenreich bc8386509c More LED indication 2026-03-22 03:52:52 +01:00
Michael Ehrenreich fb46f54cf5 Fix ota; add ota partition info command; don't try to send mqtt message when not connected 2026-03-22 00:13:51 +01:00
Michael Ehrenreich 8f9d852bc6 Reassign ethernet CS for EVB 2026-03-21 18:33:11 +01:00
Michael Ehrenreich 3db43a5809 MQTTS support; Accept commands over MQTT 2026-03-21 18:32:23 +01:00
Michael Ehrenreich 46159a9e3c LED status indicator 2026-03-21 18:31:33 +01:00