Search found 22 matches

by uhrheber
13 Jan 2017, 20:41
Forum: ESP Easy: Software
Topic: Repetition or loop in rules
Replies: 0
Views: 1876

Repetition or loop in rules

Hi. I'm using a time triggered rule to switch on an ir controlled LED ceiling lamp. That works great so far. But instead of switching the lamp just on, I'd rather like to dim it up slowly. To do that I'd have to send the "increase brightness" ir command several times (80 times, precisely)....
by uhrheber
17 Nov 2016, 12:17
Forum: ESP Easy: Hardware
Topic: AC Dimmer for ESPeasy
Replies: 22
Views: 29801

Re: AC Dimmer for ESPeasy

DeNB3rt, I doubt that it's doable with the current structure of ESPEasy. You'd be better off using an Arduino Nano (or bare AVR) as an I/O expander. You can use the expansion interface and the example code to send an analog value to the Arduino, and let it do the phase cut dimming. There's a lot of ...
by uhrheber
17 Nov 2016, 09:57
Forum: ESP Easy: Hardware
Topic: Support for ESP32 - the story so far
Replies: 29
Views: 37649

Re: Support for ESP32 - the story so far

Jack Tan, the maker of the Noduino Quantum board (http://wiki.jackslab.org/Noduino_Quantum) has some interesting examples of how to use internal ESP32 hardware, that isn't yet documented and/or supported in the official SDK, like ADC, hall sensor, temperature sensor, etc. Link to his githup fork: ht...
by uhrheber
13 Nov 2016, 14:40
Forum: ESP Easy: Hardware
Topic: Support for ESP32 - the story so far
Replies: 29
Views: 37649

Re: Support for ESP32 - the story so far

Yesterday, I received a Sparkfun ESP32 Thing. Did some tests with the SDK, and had fun with the easter egg BASIC. I was at least able to control an ESPEasy node by calling its event triggering URLs from the ESP32.. But there are still lots of things missing, that will hopefully be added in the comin...
by uhrheber
26 Oct 2016, 21:15
Forum: ESP Easy: Projects / Applications
Topic: Wifi Candle - illuminate with ESPEasy (WS2812)
Replies: 94
Views: 155926

Re: Wifi Candle - illuminate with ESPEasy (WS2812)

I uploaded my basic test plugin for neopixel in the playground: I'm just testing it. Great! Exactly what I was searching for, because I'm just modifying a Chinese LED light bulb by adding an ESP and some WS2812, and I want to use it as a universal status indicator for my home automation. Like, puls...
by uhrheber
14 Oct 2016, 14:51
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 326
Views: 655045

Re: New ESP gadget

For what? I find it much more convenient to use shortcuts instead of webpages. I created a shortcut in my notebooks quick access menu that just calls "curl http://<ip-of-sonoff>/control?cmd=event,toggle_lamp" On my smartphone (Android) I use the "HTTP Request Widget" https://play...
by uhrheber
13 Oct 2016, 15:51
Forum: ESP Easy: Software
Topic: Toggle Relay with Rules?
Replies: 16
Views: 35138

Re: Toggle Relay with Rules?

I experienced the same thing once, but then I optimized the delay settings in ESPEasy, and I took care of the settings in the Arduino IDE, like flash mode QUI, 80MHz flash speed, etc. I can't even tell exactly what setting was the most effective, but afterwards the lag was gone. If this still doesn'...
by uhrheber
10 Oct 2016, 15:29
Forum: ESP Easy: General Discussion
Topic: OLED Scrolling Display
Replies: 122
Views: 168119

Re: OLED Scrolling Display

namirda, I can confirm that it works. Wemos D1 Mini, Wemos D1 Oled shield, BME280. Display cycles through temperature, humidity, air pressure and time. The only issue is, that the Wemos Oled display is smaller than the normal ones, it has only 64 x 48 pixels. The standard Oled plugin has now an opti...
by uhrheber
10 Oct 2016, 10:18
Forum: ESP Easy: General Discussion
Topic: Reliability, Wifi & Mesh Network ...
Replies: 8
Views: 19583

Re: Reliability, Wifi & Mesh Network ...

Well, you could use MySensors nodes, as they're able to route, and use one ESP8266 as gateway. See here: Overview: https://www.mysensors.org/ List of supported sensors: https://www.mysensors.org/build ESP8266 Wifi gateway: https://www.mysensors.org/build/esp8266_gateway Description of network struct...
by uhrheber
29 Sep 2016, 21:12
Forum: ESP Easy: Software
Topic: Rules GPIO state and toggle
Replies: 43
Views: 75661

Re: Rules GPIO state and toggle

So I tried to add another remote switch, using the udp sync method, as calling urls from rules isn't yet implemented. I defined a toggle switch on the new board, and added the following rule: on Lightswitch2#value do sendTo 1,event,toggle endon This works, but isn't stable. After a while, the remote...
by uhrheber
29 Sep 2016, 12:54
Forum: ESP Easy: Software
Topic: Rules GPIO state and toggle
Replies: 43
Views: 75661

Re: Rules GPIO state and toggle

Glad I could help. Next thing to try would be coupling two or more ESP8266 directly (without AP), and using one as relay driver and switch input, the other ones only as remote switches. Maybe by just letting the remote ones call the event URL, or using the new EasyGlobalSync function. BTW: The Wiki ...
by uhrheber
29 Sep 2016, 11:35
Forum: ESP Easy: Software
Topic: SPIFFS - Rich Webgui is possible
Replies: 4
Views: 4085

Re: SPIFFS - Rich Webgui is possible

Very interesting project, thanks for the link.

As for SPIFFS in general: I think that would mean forking ESPEasy into a completely different version for modules with >= 4MB Flash.
Maybe something that's better left to the ESP32.
by uhrheber
29 Sep 2016, 10:52
Forum: ESP Easy: Software
Topic: More than one generic HTTP server IP possible?
Replies: 6
Views: 5076

Re: More than one generic HTTP server IP possible?

You could either use FHEM2FHEM to connect the two FHEM servers, or send the data to an MQTT broker first.
From there, an unlimited number of clients can get the data.
by uhrheber
29 Sep 2016, 09:35
Forum: ESP Easy: Software
Topic: Rules, syntax in if ...
Replies: 3
Views: 8038

Re: Rules, syntax in if ...

Or you could just define the switch input as a "Push Button Active Low" and omit the second rule, because the switch will toggle automatically.
by uhrheber
28 Sep 2016, 21:19
Forum: ESP Easy: Software
Topic: Rules GPIO state and toggle
Replies: 43
Views: 75661

Re: Rules GPIO state and toggle

Ok, found it. Define device one as Switch Input, Push Button Active Low, pullup on, GPIO 13. Name it Lightswitch. Name the value1 as value. Define device two as Switch Input, Normal Switch, pullup off, GPIO 12. Name it GPIO12. Name the value1 as value. Connect a push button from GPIO 13 to ground, a...
by uhrheber
28 Sep 2016, 15:13
Forum: ESP Easy: Software
Topic: Digital debounce on switch input
Replies: 1
Views: 3761

Re: Digital debounce on switch input

The switch is already debounced, otherwise it would trigger multiple events with a normal switch. So there must be a debounce time defined in the source, that you could alter. Otherwise, you could use a timer in the rules for that. Trigger the timer when the switch closes, and when the timer has exp...
by uhrheber
28 Sep 2016, 10:14
Forum: ESP Easy: Software
Topic: Rules GPIO state and toggle
Replies: 43
Views: 75661

Re: Rules GPIO state and toggle

Just try it, it'll work with a push button. The button will be debounced and the button value only changes when a high to low edge is detected (active low switch), or when a low to high edge is detected (active high switch). Meaning, every time you push the button, the value Button#Value toggles. It...
by uhrheber
27 Sep 2016, 21:14
Forum: ESP Easy: Software
Topic: Rules GPIO state and toggle
Replies: 43
Views: 75661

Re: Rules GPIO state and toggle

Define your switch as "Switch Button Type: Push Button Active Low".

The write the rule:

on Button#Value do
if [Button#Value] = 1
EXTGPIO,16,1
else
EXTGPIO,16,0
endif
endon

Just tried it, works as a toggle button.
by uhrheber
27 Sep 2016, 09:22
Forum: ESP Easy: Software
Topic: Rules GPIO state and toggle
Replies: 43
Views: 75661

Re: Rules GPIO state and toggle

The example from the wiki works, it toggles the output.
So they just define also the output as a switch, and read it's state.
by uhrheber
26 Sep 2016, 15:07
Forum: ESP Easy: Software
Topic: Rules GPIO state and toggle
Replies: 43
Views: 75661

Re: Rules GPIO state and toggle

What about using the switch type "push button" like shown in the wiki: http://www.esp8266.nu/index.php/Switch Instead of a conventional state or latching push button, you could also use a momentary push button switch. In this case the ESP Easy will toggle between on/off. Also, this pic sho...
by uhrheber
26 Sep 2016, 15:03
Forum: ESP Easy: Software
Topic: Measuring slow pulses
Replies: 0
Views: 2014

Measuring slow pulses

Hi. I want to measure the rpm of the wood pellets spindle in my oven. The spindle turns very slowly, about 1 rpm. As I want to be aware of congestion problems that lead to a (too) slow turning spindle, I want to be able to not only count the pulses, but also measure the time between two pulse, to ge...
by uhrheber
26 Sep 2016, 14:10
Forum: ESP Easy: Software
Topic: Monitoring network quality
Replies: 0
Views: 1860

Monitoring network quality

Hi. I want to use an ESP8266 to monitor the quality of my internet connection by pinging an external server periodically, and monitor the reaction time. Is this even possible with ESPEasy? If measuring the reaction time isn't possible, is it at least possible to ping at all (or do a http request ins...