Phantomski Posted October 20 Share Posted October 20 (edited) Hi, I'm new to Shelly devices and community as well. I own a few 1PM, 2PM and PM Gen3 devices, but only started configuring the first one and learning the capabilities. Shelly indeed is one of the most versatile platforms. I have tried to search here, official docs and API docs, but I couldn't find a definitive answer for the following: I am using Shelly 1PM Mini (fw 20241011-114450/1.4.4-g6d2a586) connected to Home Assistant via official integration. The device was correctly discovered, added and works properly. Without any additional configuration, I am assuming Home Assistant opens an Inbound WebSocket and then listens to RPC Notification Frames at regular intervals. Monitoring the sensor in Home Assistant, I have noticed the value only changes about once a minute. Looking at the debug log in the Shelly GUI, I can indeed see shelly_notification:162 Status change of switch:0: about once a minute. So I did setup MQTT on the Shelly device to compare and indeed the MQTT publish message is also sent only about once a minute. If I try to poll the device with http curl POST method on its /rpc API endpoint, the values are correctly updated on every request. Since 1 minute intervals are very much too long for practical purpose in my scenarios, I would like to know - is the 1 minute notification interval hardcoded in the firmware and cannot be changed anywhere? Is there a workaround (ie a script to modify GUI inaccessible parameters, API Method, etc) to modify this interval to something like 5s or 10s? Or the only way to get the data more frequently is the API polling? If that is the case, would developers consider adding the interval setting in the firmware? I have seen a few mentions of interval limiting due to a network overload in the Changelog and elsewhere, but nothing was as specific as my question above. I have Cloud disabled (which could be other limiting factor). Thank you. EDIT: Looking at the Home Assistant DEBUG log, it seems only aenergy.by_minute and ret_aenergy.by_minute are notified, all the rest of the parameters are actually polled by the Home Assistant integration, not pushed by Shelly. Is that a normal behaviour? Is it configurable? Edited October 20 by Phantomski Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.