Button Logs for later use #16917
Replies: 1 comment 3 replies
-
If you want to check appliance on/off, do not look at button status, but instead power status. By default Tasmota will publish power status changes via MQTT, and then you can have a client capture data, and to what you want. You could also capture the log messages via serial, syslog, MQTT log (which is an additional feature) or shorter term just the web console. You can set logging level for more details, like when log level 3 does include button actions, if you really want that too. Data manipulation like converting to hh:mm is ideally not done on Tasmota, but of course it is possible to do the calculations in a somewhat laborious way, in rules or scripting. My preference would be to avoid this being a "need". With local processing needs, my recommendation would be ESP32 and Berry. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am running Tasmota 12.2 on ESP8266 and it is running fine. I want to know
a) Is it possible to save Button on/off logs to text file or some other way to save logs so that i can check appliance was on / off duration and timings.
b) How can i convert %Time% (minutes since midnight) to Hours and minutes and store in variable
any help is appreciated
Beta Was this translation helpful? Give feedback.
All reactions