Search found 9 matches

by gibbon_
14 Aug 2016, 21:28
Forum: ESP Easy: Software
Topic: How to use %sysname% in Publish command?
Replies: 12
Views: 9291

Re: How to use %sysname% in Publish command?

Thank you for the clarification. I will test some more and in case of any results get back to you here and file a bug report.
by gibbon_
14 Aug 2016, 18:31
Forum: ESP Easy: Software
Topic: How to use %sysname% in Publish command?
Replies: 12
Views: 9291

Re: How to use %sysname% in Publish command?

On that particular ESP I am on a R118 built from git. I can update to a current git snapshot no problem though and try my tests again.

Maybe it is better to rephrase my question: Using the Publish command in Rules - is %sysname% supposed to work in the topic? (it works in the payload)
by gibbon_
14 Aug 2016, 00:43
Forum: ESP Easy: Software
Topic: How to use %sysname% in Publish command?
Replies: 12
Views: 9291

Re: How to use %sysname% in Publish command?

Regarding the Webinterface: I did that. This is where the whole question regarding %sysname% was coming from. I saw it used in the MQTT template in the advanced settings and wondered if I could do something similar from the rules. I will try looking at the source tomorrow. Maybe that will yield an a...
by gibbon_
10 Aug 2016, 10:27
Forum: ESP Easy: Software
Topic: How to use %sysname% in Publish command?
Replies: 12
Views: 9291

Re: How to use %sysname% in Publish command?

Thanks, but publishing itself works just fine.

I want to template the system name into the topic. The template string seems to work fine in the payload but does not seem to work when used in the topic.
by gibbon_
09 Aug 2016, 16:33
Forum: ESP Easy: Software
Topic: Sliding average dummy device
Replies: 6
Views: 6771

Re: Sliding average dummy device

Agreed.

In this case it would be to do thresholding and filtering of unreliable input. As you said: We have the cycles, why not put them to good use. :)
by gibbon_
09 Aug 2016, 15:56
Forum: ESP Easy: Software
Topic: Sliding average dummy device
Replies: 6
Views: 6771

Sliding average dummy device

Hi, for measuring values over a certain time and averaging them, I would find it useful to have a dummy device that takes the last X values one sends to it and represents the average over these values. Best case: X is configurable (i am thinking about 2-16 values) Only set values are taken into acco...
by gibbon_
09 Aug 2016, 15:43
Forum: Introduce yourself
Topic: Hello from Germany
Replies: 1
Views: 2468

Hello from Germany

Hi, my name is Joel, call be gibbon_. I am a newcomer to both - the world of home automation systems as well as the general Topic of the IoT. I was looking for a nice platform for network connected sensors and found ESP8266 as well as ESPEasy. I am amazed by the flexibility and the quality of the th...
by gibbon_
08 Aug 2016, 12:02
Forum: ESP Easy: Software
Topic: Introducing the Dummy Device on ESP Easy (Github R118!)
Replies: 29
Views: 48168

Re: Introducing the Dummy Device on ESP Easy

Using this to keep track of the values of a state machine. Can I set the values using the names in any way? I keep forgetting which numbers to type into TaskValueSet :)
by gibbon_
08 Aug 2016, 11:53
Forum: ESP Easy: Software
Topic: How to use %sysname% in Publish command?
Replies: 12
Views: 9291

How to use %sysname% in Publish command?

Hi, I was wondering how to use the %sysname% or other template variables in the Publish command in rules. It would be useful to reuse rules on several devices without having to replace stuff. I tried the follwing in the Tools->Command section: use in template: "Publish /%sysname%/test 1" -...