-
I intend to write a Berry script for multiple controllers. Thank you very much for the support. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
That depends on what you even mean by "controller". If what you mean is a Tasmota device correctly configured for energy monitoring, the data will be available with other sensor data. |
Beta Was this translation helpful? Give feedback.
-
The Berry script is intended to detect whether energy monitoring is configured and available for the current Tasmota-Controller. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the hint.
|
Beta Was this translation helpful? Give feedback.
Well, as I mentioned, energy monitoring numbers will be available as part of the sensor data. In Berry, you could use
tasmota.read_sensors
and check if the JSON (parsed into amap
) contains theENERGY
object.