Search found 6 matches

by binderth
23 Mar 2023, 10:28
Forum: ESP Easy: Projects / Applications
Topic: via MQTT-subscription: LED ON/OFF
Replies: 2
Views: 1510

Re: via MQTT-subscription: LED ON/OFF

Thanks! That was it!
by binderth
23 Mar 2023, 09:25
Forum: ESP Easy: Projects / Applications
Topic: via MQTT-subscription: LED ON/OFF
Replies: 2
Views: 1510

via MQTT-subscription: LED ON/OFF

First off: What's the best practise for sending to MQTT-topic 0:OFF and 1:ON for LED attached to an GPIO-port of an ESP? What I did now: 1. added an MQTT device "ampelMQTT" listening to MQTT topic(s) and writing their payload to a variables: Ampel1, Ampel2 2. I send for each "traffic ...
by binderth
16 Apr 2022, 11:18
Forum: ESP Easy: Software
Topic: ESP Easy MEGA: sending RAW pulses plus calculation to controller
Replies: 6
Views: 4835

Re: ESP Easy MEGA: sending RAW pulses plus calculation to controller

Ath wrote: 15 Apr 2022, 17:08 Using LoopTimerSet has the additional advantage that it is fired quite exactly every 30 seconds, instead of adding the execution (and possible delays) of the Publish commands. That might be of significance when adding more publish commands there.
Thanks! works like a charm! :D
by binderth
15 Apr 2022, 16:21
Forum: ESP Easy: Software
Topic: ESP Easy MEGA: sending RAW pulses plus calculation to controller
Replies: 6
Views: 4835

Re: ESP Easy MEGA: sending RAW pulses plus calculation to controller

Thanks! that helped a lot! so, my solution right now for energy (it's for a Whirlpool) is On System#Boot do //When the ESP boots, do let,1,[Whirlpool#Count]*3600/2/30 let,2,[Whirlpool#Total]/2000 Publish openHAB/%sysname%/Whirlpool/W,[VAR#1] Publish openHAB/%sysname%/Whirlpool/kWh,[VAR#2] Publish op...
by binderth
15 Apr 2022, 11:50
Forum: ESP Easy: Software
Topic: ESP Easy MEGA: sending RAW pulses plus calculation to controller
Replies: 6
Views: 4835

Re: ESP Easy MEGA: sending RAW pulses plus calculation to controller

You can leave the values as raw values in the task and then periodicaly read those values from the rules and process them there. That sounds great! you mean with that: https://www.letscontrolit.com/wiki/index.php?title=Tutorial_Rules So, to understand: After booting, the timer 1 is set for 30secs t...
by binderth
15 Apr 2022, 10:23
Forum: ESP Easy: Software
Topic: ESP Easy MEGA: sending RAW pulses plus calculation to controller
Replies: 6
Views: 4835

ESP Easy MEGA: sending RAW pulses plus calculation to controller

I'm using ESP Easy MEGA (mega-20220328 - ESP_Easy_mega_20220328_energy_ESP8266_4M1M Mar 28 2022) with my D1 Wemos. What I'm trying to do is to fetch the impulses from a energy meter (Eltako WSZ15D-65A) and my gas meter (elster IN-Z62). They send their pulses to GPIO-12 (D6) => gas (200 impulses / m3...