Search found 8 matches
- 05 May 2018, 21:43
- Forum: ESP Easy: Software
- Topic: Generic - Pulse counter Issue
- Replies: 17
- Views: 17703
Re: Generic - Pulse counter Issue
If I'm not mistaken, your input from switch goes to GPIO2, not GPIO15 as declared on pulse device. Change to GPIO2 and check results. Don't forget to turn off Serial as GPIO2 is a TX pin! Best regards Robert The pitture is just an exemple, in real i use a GPIO15. :) Please disconnect rain gauge (re...
- 04 May 2018, 08:27
- Forum: ESP Easy: Software
- Topic: Generic - Pulse counter Issue
- Replies: 17
- Views: 17703
Re: Generic - Pulse counter Issue
If I'm not mistaken, your input from switch goes to GPIO2, not GPIO15 as declared on pulse device. Change to GPIO2 and check results.
Don't forget to turn off Serial as GPIO2 is a TX pin!
Best regards
Robert
Don't forget to turn off Serial as GPIO2 is a TX pin!
Best regards
Robert
- 03 May 2018, 21:00
- Forum: ESP Easy: General Discussion
- Topic: Cycle and operation-hour counter
- Replies: 1
- Views: 2250
Re: Cycle and operation-hour counter
Hi Chris, As I understand, when motion is detected, light is switched on along with esp.Then after some delay, when there is no motion, light and esp is switched off. So I would start experimenting with below setup: 1. Create dummy device to store data - dummy#count for counting motion - dummy#uptim...
- 25 Mar 2018, 00:44
- Forum: ESP Easy: Software
- Topic: No esp_0 after flashing Sonoff Basic to ESPEasy
- Replies: 3
- Views: 3604
Re: No esp_0 after flashing Sonoff Basic to ESPEasy
Try to erase flash using esptool and flash again. I had similar problems with Sonoff Basic and erasing solved issue.
Good luck!
Good luck!
- 12 Mar 2018, 16:06
- Forum: ESP Easy: Software
- Topic: PWM value in rules
- Replies: 2
- Views: 3147
Re: PWM value in rules
Here is rule for updating uptime and last on/off for switch: on Clock#Time do if [status#relay]=1 TaskValueSet 5,1,([Var#uptime24]+1) TaskValueSet 5,2,([Var#uptimeall]+1) endif endon on status#relay=1 do TaskValueSet 5,3,%syshour%*3600+%sysmin%*60+%syssec% endon on status#relay=0 do TaskValueSet 5,4...
- 11 Mar 2018, 22:57
- Forum: ESP Easy: Software
- Topic: PWM value in rules
- Replies: 2
- Views: 3147
PWM value in rules
Hi, I'm trying to get PWM value of known GPIO into rules, without success so far. Mega-dev, 20180310. Use case: check, if PWM13 >0 (LED is on) or calculate (roughly) power consumption based on PWM value. Just to name few examples. I saw on other thread that someone was trying use Pulse device, but i...
- 02 Mar 2018, 23:13
- Forum: ESP Easy: General Discussion
- Topic: Unit number in MQTT topic template
- Replies: 2
- Views: 2261
- 25 Feb 2018, 23:49
- Forum: ESP Easy: General Discussion
- Topic: Unit number in MQTT topic template
- Replies: 2
- Views: 2261
Unit number in MQTT topic template
Hi,
I tried to use %unit% on MQTT topic (OpenHab controller, publish topic easy/%unit%/%tskname%/%valname%), but %unit% was not replaced by a number. Is it possible to add "Unit number" for MQTT topic template variables?
Tests were done on release mega-20180224.
Regards,
Robert
I tried to use %unit% on MQTT topic (OpenHab controller, publish topic easy/%unit%/%tskname%/%valname%), but %unit% was not replaced by a number. Is it possible to add "Unit number" for MQTT topic template variables?
Tests were done on release mega-20180224.
Regards,
Robert