This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Some assistance needed to improve HTTP call efficiency
#2
Have you considered using MQTT (https://tasmota.github.io/docs/MQTT/) for this? It looks like you can configure status updates to be published to MQTT automatically so polling is not needed.

You can also check event.sender value in event scripts. It will tell you who triggered the event.
Code:
-- do nothing if triggered by a resident script
if event.sender == 'sr' then
  return
end
See this post for a list of possible senders: https://forum.logicmachine.net/showthrea...3#pid19193
Reply


Messages In This Thread
RE: Some assistance needed to improve HTTP call efficiency - by admin - 22.02.2021, 07:36

Forum Jump: