Search found 5 matches

by ember
11 Feb 2019, 21:32
Forum: ESP Easy: Software
Topic: Developing a plugin - force to publish by controller
Replies: 8
Views: 3935

Re: Developing a plugin - force to publish by controller

Well, I'm developing plugin that controls covers - two relays and two buttons.
I want it to publish state every 30 seconds when it's idle, and every second when it's operating (cover going either up or down).
UserVar is updated ten times per second.
by ember
04 Feb 2019, 09:06
Forum: ESP Easy: Software
Topic: Developing a plugin - force to publish by controller
Replies: 8
Views: 3935

Re: Developing a plugin - force to publish by controller

Well, by flooding I ment hindering analysis of what's going on with the system, not performance issues :) That would be one workaround, but then I would have to hardcode topic in this rule, which would be hard to maintenance, considering that i have dozen or so of those units. Anyway - if there real...
by ember
04 Feb 2019, 06:55
Forum: ESP Easy: Software
Topic: Developing a plugin - force to publish by controller
Replies: 8
Views: 3935

Re: Developing a plugin - force to publish by controller

Yes, I know, but I need to notify Home Assistant as soon as the work is done.
I could for example set the update interval to 1s, but the work is being done few times a day, and I don't want to flood mqtt with unnecessary high frequency messages.
by ember
03 Feb 2019, 23:20
Forum: ESP Easy: Software
Topic: Developing a plugin - force to publish by controller
Replies: 8
Views: 3935

Developing a plugin - force to publish by controller

Hello. I'm developing custom plugin, and I'm just stuck with this - is there a way to force plugin to publish it's state via MQTT (or to force controller to publish state of this plugin from inside the plugin itself) ? Or something like rules command Publish <topic>, <value> I tried calling somethin...