feat(pico-sensor): topic_send_measurement can be configured via serial commands and is saved in flash

This commit is contained in:
SylvanArnold
2025-05-20 10:31:54 +02:00
committed by Klagarge
parent 5595d47e3f
commit 4b40a1c142
3 changed files with 7 additions and 2 deletions

View File

@@ -35,6 +35,7 @@
#define NVMC_MININI_KEY_MQTT_PASS "pass" /* string, password */
#define NVMC_MININI_KEY_MQTT_PUBLISH "publish" /* bool, if publishing */
#define NVMC_TOPIC_NAME_SENSORS_UPDATE "topic_sensor_update" /*<user>/<room>/<device>/update*/
#define NVMC_TOPIC_NAME_SEND_MEASUREMENT "topic_send_measurement" /*<user>/<room>/<device>/cmd/measure*/
#endif
#if PL_CONFIG_USE_NTP_CLIENT