-
I use several power monitoring devices (like Sonoff Pow R2 and Athom Plug) but the value is reported every second on a washer when using powerdelta due to the big changes in power usage. I could also use teleperiod 5 for example but that would report every 5 seconds, also when there is no change. My idea is to implement sensorperiod which sets the minimum time between 2 mqtt sensor messages. Is this a good idea or is there another way to prevent those many mqtt power messages? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 21 replies
-
Powerdelta can already be set to trigger on either an absolute delta or a percentage delta What is your exact objective with getting messages on changes but not too often? |
Beta Was this translation helpful? Give feedback.
-
Now I have a shelly 3em which I would like to report every 5 seconds. It now reports every second because of a low |
Beta Was this translation helpful? Give feedback.
-
I tried rules but that also gives me 2 mqtt messages, one for the result of status 10 and 1 for setting the ruletimer again. Powerdelta just doesn't match my needs and teleperiod 10 gives 2 messages and is not often enough for me. Ideally I would get powerchanges of 50 or 100 watt directly and a regular update every 5 seconds. I could make that with a rule but a command like sensorperiod would generate only 1 messages instead of 2 and I only have to parse the sensor topic instead of 2 topic. |
Beta Was this translation helpful? Give feedback.
-
Sensorperiod would be nice to have but this is good enough for me. Thank you for support.
|
Beta Was this translation helpful? Give feedback.
Sensorperiod would be nice to have but this is good enough for me. Thank you for support.