Jump to content

Recommended Posts

Posted

I am a shelly-newby.

I am testing two "Shelly PM mini" and have added them to HomeAssistant. Seems everything works well.

 

But the equipment I want to monitor (for power consumption) is a PID temperature controller. It changes its output power continuously.

So the Shelly gives HomeAssistant a new Power value every second. This is not what I need, in fact it is not what I want.

Is it possible to limit the messages to once a minute or once every 30 seconds. (if possible the average power during those periods)

 

I have not been able to find anything about it in the docs.

Posted (edited)

Thanks for your reply.

I think you mean its possible to implement the averaging of collected data in HomeAssistant.

I am unfamiliar with the implementation of Shelly and the protocol, but it seems to be "local push". Meaning the Shelly is in control of when new values are sent.

Once per second seems to be the (max) update frequency when values keep changing.

I can see how that is useful for some situations. But it needlesly overwhelms my Home Assistant.

(TPLink recently reduced the frequency of updates from their power strips, with the option to poll more frequently for only the data that I want. (through an automation)

 

These are my first Shellies, I am testing them before I buy some more.

I would really like the Shelly to be more modest. I wouldnt want 10 devices to report every second 🙂 

Edited by Dozo_G
Posted

Good morning,

 

Oh, my, 70 Shelly devices. I am talking to a real Shelly fan. 🙂

Is that based on comparitive research?  Do you also have other brands? I specifically found those Shellies attractive because of size and full featured software (MQTT, cloud, web-interface, bluetooth, HA-integration)

I plan to built these PM mini's into fans that only have a on-off toggle (rather then separate on and off) and only up and down (rather than absolute fan speed) (all over IR remote). These Shellies would give me a feedback about their on-off and fanspeed. 

 

I may have overstated the "overwhelming" part. I recenly had some issues with a new router (ESP8266 devices would frequently not get the reserved IP-address) So I contacted TP-Link and they did a remote connect to my network to see if they could find the root cause of the issue.

But they had some trouble isolating the traffic to and from the devices that caused the problem because (at that time) my TP-Link HS300 powerstrips were doing just about what the Shelly (that I am just now testing) does. They updated their power, current, switch- states every second. And I have 3 of those, each with 6 outlets.

 

Of course you are right that video streaming (from NAS, from online) will by far create more traffic than those every second updates from Shelly. So its probably more of a "me" problem than a network problem. Its possibly just me who doesnt want the power to fluctuate between 400Watt and 20 Watt every second. In that case, I appreciate your suggestion. Just don't show the value from the shelly device, show the aggregate done by HA instead.

 

btw 1, The TP-Link integration in HA has changed since (I think) a year. It now normally only updates every 30 seconds or so (its local polling, so the integration is in control)

btw 2, TP-Link brought out a beta version to me within two weeks. And it worked very well. Now the fix is in the regular version for my router.

 

Very many thanks for your suggestion.

(But I would still love to have a feature of user setting the push frequency 😉  )

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...