Search found 372 matches
- 26 Aug 2021, 13:41
- Forum: ESP Easy: Software
- Topic: Help with rules and timer.
- Replies: 5
- Views: 5216
Re: Help with rules and timer.
This could work (untestet): on BME280#Temperature do if [BME280#Temperature] > 24 if %v1% = 0 AND %v2% = 0 Notify,1 Let,1,1 // 1h timer is running Let,2,1 // temp is not lower than limit timerSet,1,3600 endif elseif %v2% = 1 Let,2,0 endif endon on Rules#Timer=1 Let,1,0 endon Edit: 'elseif' added I r...
- 20 Aug 2021, 12:51
- Forum: ESP Easy: General Discussion
- Topic: AM2320 in normal build ?
- Replies: 6
- Views: 6036
Re: AM2320 in normal build ?
Created PR to correct it: https://github.com/letscontrolit/ESPEas ... -716637849
- 17 Aug 2021, 20:29
- Forum: ESP Easy: General Discussion
- Topic: AM2320 in normal build ?
- Replies: 6
- Views: 6036
Re: AM2320 in normal build ?
Thanks for your help.
- 17 Aug 2021, 19:39
- Forum: ESP Easy: General Discussion
- Topic: AM2320 in normal build ?
- Replies: 6
- Views: 6036
Re: AM2320 in normal build ?
and the 2nd point: What's the best way to get a custom 2MB image with the P51-plugin ? There is no 2MB custom-env, so my/a custom.h will not be usable, or ?
- 17 Aug 2021, 18:26
- Forum: ESP Easy: General Discussion
- Topic: AM2320 in normal build ?
- Replies: 6
- Views: 6036
AM2320 in normal build ?
According to the RTD-documentation, the P51-plugin (AM2320) should be included in the normal build. Look here: am2320_normal.jpg But in the tested image 'ESP_Easy_mega_20210802_normal_WROOM02_2M256.bin' I can't found it. Just like in a slightly older 4M normal-image. Is it a bug in the docs or in th...
- 22 Jul 2021, 17:59
- Forum: ESP Easy: General Discussion
- Topic: Abnormalities when using an MCP23017 as out-/input
- Replies: 36
- Views: 17221
Re: Abnormalities when using an MCP23017 as out-/input
I was probably too fast... :( Now I get a state = 4 from my 3 changed MCP-switch-inputs. Edit: Aha, now I mean I've understand the value of "4" (documentation for the "Safe-Button" doesn't point to this value). The value of "4" mean, the length of the signal was too sho...
- 22 Jul 2021, 12:00
- Forum: ESP Easy: General Discussion
- Topic: Abnormalities when using an MCP23017 as out-/input
- Replies: 36
- Views: 17221
Re: Abnormalities when using an MCP23017 as out-/input
First results from the "Safe-Button" test:
I've change the first 3 MCP-Switch-Input's to Safe-Button activated, last 3 not. Within the last 16h, only the last 3 task's were change to 1
I've change the first 3 MCP-Switch-Input's to Safe-Button activated, last 3 not. Within the last 16h, only the last 3 task's were change to 1
- 22 Jul 2021, 08:42
- Forum: ESP Easy: General Discussion
- Topic: Abnormalities when using an MCP23017 as out-/input
- Replies: 36
- Views: 17221
Re: Abnormalities when using an MCP23017 as out-/input
With "out-/input at the same" I mean: Out = I set the output with the MCPGPIO-command in my rules In1 = The MCP GPA0-5 are also configured as switch-input-task, with a connection to my MQTT-broker. Here's my problem: I receive high-level for ~250ms at my broker. Always another input, and t...
- 21 Jul 2021, 18:13
- Forum: ESP Easy: General Discussion
- Topic: Abnormalities when using an MCP23017 as out-/input
- Replies: 36
- Views: 17221
Re: Abnormalities when using an MCP23017 as out-/input
This is a statement from the specification: The rise-time of SDA/SCL to be a maximum of 300 ns in "Fast-mode” You mean the level to stop the measuring the rise-time? 70% of Vcc (3,3V) = ~2,3V Rise-time with 4,7k (resulution 2µs): rT4k7.jpg Rise-time with 1,8k (resultion 1µs): rT1k8.jpg I've tri...
- 21 Jul 2021, 15:45
- Forum: ESP Easy: General Discussion
- Topic: Abnormalities when using an MCP23017 as out-/input
- Replies: 36
- Views: 17221
Re: Abnormalities when using an MCP23017 as out-/input
No long cables. The ESP and the MCP are on the same PCB. Wires (https://de.wikipedia.org/wiki/F%C3%A4deltechnik) are ~ 6-7cm. I can't explain where the high capacity comes from. Only ESP, 6-7cm wiring and the MCP. Pullup was 4,7k and the rise-time ~900ns ??? Reduce the I2C hasn't anything improved, ...
- 21 Jul 2021, 08:10
- Forum: ESP Easy: General Discussion
- Topic: Abnormalities when using an MCP23017 as out-/input
- Replies: 36
- Views: 17221
Re: Abnormalities when using an MCP23017 as out-/input
These are the things, which were unsuccessful: Check Hi-Link 3,3V power supply: Interference frequency ~ 100kHz, ~80mV. No abnormalities. Another 3,3V power supply Additional 470µF capacitor at 3,3V power supply (interference frequency ~ 100kHz, ~80mV) Reduce the SCL/SDA pullup from 4,7k to 1,8k, be...
- 08 Jul 2021, 21:51
- Forum: ESP Easy: General Discussion
- Topic: Abnormalities when using an MCP23017 as out-/input
- Replies: 36
- Views: 17221
Re: Abnormalities when using an MCP23017 as out-/input
Debounce time of 250ms (more isn't available) didn't help.
'Safe button' I'll try out... First I'll check the power supply.
'Safe button' I'll try out... First I'll check the power supply.
- 07 Jul 2021, 14:06
- Forum: ESP Easy: General Discussion
- Topic: Abnormalities when using an MCP23017 as out-/input
- Replies: 36
- Views: 17221
Re: Abnormalities when using an MCP23017 as out-/input
SDA & SCL have pullup's with 4,7k.
The power-supply is a Hi-Link PM03 with a 220µF cap at the outside, for ESP & MCP. ESP & MCP have additional a cap of 100nF near it.
Next week I look at the power-supply with a oscilloscope.
The power-supply is a Hi-Link PM03 with a 220µF cap at the outside, for ESP & MCP. ESP & MCP have additional a cap of 100nF near it.
Next week I look at the power-supply with a oscilloscope.
- 07 Jul 2021, 13:38
- Forum: ESP Easy: General Discussion
- Topic: Abnormalities when using an MCP23017 as out-/input
- Replies: 36
- Views: 17221
Re: Abnormalities when using an MCP23017 as out-/input
We can exclude the optocouplers as the cause, because I disconnected them and replaced it with a simple pull-down-resistor.
But the problem still exists
The test-setup (I mean, same handmade config, same rules,same firmware but ESP is Wroom02-1M instead of ESP12F-4M) works without errors !
But the problem still exists
The test-setup (I mean, same handmade config, same rules,same firmware but ESP is Wroom02-1M instead of ESP12F-4M) works without errors !
- 06 Jul 2021, 14:56
- Forum: ESP Easy: General Discussion
- Topic: Abnormalities when using an MCP23017 as out-/input
- Replies: 36
- Views: 17221
Re: Abnormalities when using an MCP23017 as out-/input
I hope I haven't misunderstood you now...
Yes, that's how it's connected. MCP drive the signal and the LED is connected to GND. Look at this input-circuit:
[attachment=0]RB4-4_In.jpg[/attachment
Yes, that's how it's connected. MCP drive the signal and the LED is connected to GND. Look at this input-circuit:
[attachment=0]RB4-4_In.jpg[/attachment
- 06 Jul 2021, 13:58
- Forum: ESP Easy: General Discussion
- Topic: Abnormalities when using an MCP23017 as out-/input
- Replies: 36
- Views: 17221
Re: Abnormalities when using an MCP23017 as out-/input
I'm currently create a test setup, with another ESP and MCP, but only with resistors on the ports. We'll see...
- 06 Jul 2021, 13:10
- Forum: ESP Easy: General Discussion
- Topic: Abnormalities when using an MCP23017 as out-/input
- Replies: 36
- Views: 17221
Re: Abnormalities when using an MCP23017 as out-/input
I'm back to 20181231, in steps of ~ 1/2 year.
The problem still exists in all versions!
The problem still exists in all versions!
- 05 Jul 2021, 22:09
- Forum: ESP Easy: General Discussion
- Topic: Abnormalities when using an MCP23017 as out-/input
- Replies: 36
- Views: 17221
Re: Abnormalities when using an MCP23017 as out-/input
Yes, all address-lines are connected to GND, ESP-GND and MCP-GND is the same.
- 05 Jul 2021, 15:23
- Forum: ESP Easy: General Discussion
- Topic: Abnormalities when using an MCP23017 as out-/input
- Replies: 36
- Views: 17221
Re: Abnormalities when using an MCP23017 as out-/input
It's a little bit complucated... I've update this device a few times, before I see this problem.
If I found some time while the next days, I flash some older versions. But these tests take some time, because this state-flip does not occur immediately.
If I found some time while the next days, I flash some older versions. But these tests take some time, because this state-flip does not occur immediately.
- 05 Jul 2021, 14:32
- Forum: ESP Easy: General Discussion
- Topic: Abnormalities when using an MCP23017 as out-/input
- Replies: 36
- Views: 17221
Re: Abnormalities when using an MCP23017 as out-/input
Does this state flipping happen when a valve has switched? No, possibly rather if it wasn't switched for some time. What length are the wires between the MCP23017 and your mosfet board? What other wiring is near those wires (possibly causing cross-talk spikes?) About 8-10cm. No other wiring only th...
- 05 Jul 2021, 13:47
- Forum: ESP Easy: General Discussion
- Topic: Abnormalities when using an MCP23017 as out-/input
- Replies: 36
- Views: 17221
Re: Abnormalities when using an MCP23017 as out-/input
Yes, ground is the same. I use this mosfet driver: https://www.pollin.de/p/bausatz-mosfet-treiber-rb-4-4x100w-810329 to control a 12v solenoid. The state at the MCP-pin can't change! Only the led from the optocupler is connected. GND from ESP and GND from the solenoid are not connected to each other.
- 05 Jul 2021, 11:21
- Forum: ESP Easy: General Discussion
- Topic: Abnormalities when using an MCP23017 as out-/input
- Replies: 36
- Views: 17221
Abnormalities when using an MCP23017 as out-/input
I've configured a ESP12F with a MCP23017, 6 input-/output-devices. All set (MCPGpio,x,0) to 0 at boot and non of my rules is executed. At the MCP-ports is an optucupler connected, with a 1,5k resistor, second side of the optocupler is connected to ground. But at irregular intervals the signal on the...
- 25 Jun 2021, 11:21
- Forum: ESP Easy: General Discussion
- Topic: OH-MQTT connection lost / Alive Timeout
- Replies: 9
- Views: 6746
Re: OH-MQTT connection lost / Alive Timeout
Additional info: These are the log-entrys on the broker: 1624610164: Client Bewaesserung has exceeded timeout, disconnecting. 1624610164: Socket error on client Bewaesserung, disconnecting. Based on the sourcecode it's not yet clear to me, whether the value from MQTT_KEEPALIVE is only used for the M...
- 24 Jun 2021, 19:30
- Forum: ESP Easy: General Discussion
- Topic: OH-MQTT connection lost / Alive Timeout
- Replies: 9
- Views: 6746
Re: OH-MQTT connection lost / Alive Timeout
Thanks, I'll see what I can achieve...
- 24 Jun 2021, 18:38
- Forum: ESP Easy: General Discussion
- Topic: OH-MQTT connection lost / Alive Timeout
- Replies: 9
- Views: 6746
Re: OH-MQTT connection lost / Alive Timeout
I can't see any WiFi disconnections in the ESP log's... Older Fw: 3374216815: MQTT : Connection lost, state: Disconnected 3374216852: MQTT : Connected to broker with client ID: ESPClient_24:62:AB:0F:E8:69 3374216854: Subscribed to: DIM2GZ/# 3374216914: EVENT: MQTT#Disconnected 3374217015: EVENT: MQT...
- 22 Jun 2021, 08:04
- Forum: ESP Easy: General Discussion
- Topic: OH-MQTT connection lost / Alive Timeout
- Replies: 9
- Views: 6746
- 21 Jun 2021, 16:30
- Forum: ESP Easy: General Discussion
- Topic: OH-MQTT connection lost / Alive Timeout
- Replies: 9
- Views: 6746
Re: OH-MQTT connection lost / Alive Timeout
- Switch/AP may have forgotten how to reach the ESP's MAC address -> check Send Gratuituous ARP I'll test it with the two problematic ESP's and report here... - AP may be set to "auto channel" Is set. The ESP's with the disconnect/reconnect are always different (mostly 1-2 of 30). Some ot...
- 21 Jun 2021, 15:29
- Forum: ESP Easy: General Discussion
- Topic: OH-MQTT connection lost / Alive Timeout
- Replies: 9
- Views: 6746
OH-MQTT connection lost / Alive Timeout
Hi. At some of my ESP's the OH-MQTT controller is often disconnect and reconnect immediately. It seems, that the ESP's doesn't respond to a ping at the same time for ~ 5sec (maybe some delays in my WLAN mesh). Is the default alive-timeout, which should be given with the MQTT-connect, so low !? Can I...
- 16 Jun 2021, 08:08
- Forum: ESP Easy: Projects / Applications
- Topic: Door control not working propperly
- Replies: 12
- Views: 11965
Re: Door control not working propperly
TDer works to stabilizate the WLAN connection. The last versions from this month seems better in the WLAN-connecction. Maybe you can test this version: https://github.com/letscontrolit/ESPEasy/suites/2989637480/artifacts/67516566 (you need a Github-account) from 2021-06-14 or wait for the next relea...
- 15 Jun 2021, 10:19
- Forum: ESP Easy: Projects / Applications
- Topic: Door control not working propperly
- Replies: 12
- Views: 11965
Re: Door control not working propperly
First, I would enable the "Internal PullUp", if you didn't use extenal pullup's. Otherwise the signal floats somewhere between 0 and 3.3V. In a second step, you can set the debounce time to about 100-300ms. If this not help and a little (~500ms) delay is exceptable, than you can set the &q...
- 11 Jun 2021, 16:55
- Forum: ESP Easy: Software
- Topic: How to set-up email notification for battery voltage
- Replies: 17
- Views: 12948
Re: How to set-up email notification for battery voltage
Test this: On System#Boot do //When the ESP boots, do timerSet,1,30 //Set Timer 1 for the next event in 30 seconds endon On Rules#Timer=1 do //When Timer1 expires if Adc#analog<3.1 Notify 3 "adc lov" Endif timerSet,1,30 //Resets the Timer 1 for another 30 seconds endon No 'do' after 'if' !
- 08 Jun 2021, 21:14
- Forum: ESP Easy: General Discussion
- Topic: Trigonometric Functions
- Replies: 38
- Views: 15418
Re: Trigonometric Functions
Maybe we need a info in the documentation, with commands are in the different builds or a better error-message, when a command is not available.
- 08 Jun 2021, 20:36
- Forum: ESP Easy: General Discussion
- Topic: Trigonometric Functions
- Replies: 38
- Views: 15418
Re: Trigonometric Functions
But my test were performed with a normal 1M build !?
- 08 Jun 2021, 14:13
- Forum: ESP Easy: General Discussion
- Topic: Trigonometric Functions
- Replies: 38
- Views: 15418
Re: Trigonometric Functions
Thanks for the explanation, but all trigonometric functions doesn't work, incl. 'acos'. All with same error 'Calculate: Unknown token'.
- 08 Jun 2021, 14:01
- Forum: ESP Easy: General Discussion
- Topic: Trigonometric Functions
- Replies: 38
- Views: 15418
Re: Trigonometric Functions
@rira2005: Have you tested it with a firmware 4M or greater? Maybe in my 1MB ESP the trigonometric functions are not available (limit_build_size) ?!
- 08 Jun 2021, 13:56
- Forum: ESP Easy: General Discussion
- Topic: Trigonometric Functions
- Replies: 38
- Views: 15418
Re: Trigonometric Functions
Same with INT like arcCos(1) !
- 08 Jun 2021, 13:08
- Forum: ESP Easy: General Discussion
- Topic: Trigonometric Functions
- Replies: 38
- Views: 15418
Re: Trigonometric Functions
Test this:
Edit: It doesn't work for me either...
Code: Select all
on Distance#Analog do
Let,1,arcCos(0.7071068)
TaskValueSet,4,1,[VAR#1]
endon
- 08 Jun 2021, 12:18
- Forum: ESP Easy: General Discussion
- Topic: Trigonometric Functions
- Replies: 38
- Views: 15418
Re: Trigonometric Functions
Maybe with a decimal-point (.) at the arcCos-parameter ?
- 10 May 2021, 11:32
- Forum: ESP Easy: General Discussion
- Topic: Calculate: Unknown token input: error
- Replies: 10
- Views: 7036
Re: Calculate: Unknown token input: error
Do you have an idea how/where we can correct the error in a reasonable time or should I open a Github-issue ?
I can't even find the position in the source, where the eventvalues are compared...
I can't even find the position in the source, where the eventvalues are compared...
- 07 May 2021, 08:15
- Forum: ESP Easy: General Discussion
- Topic: Calculate: Unknown token input: error
- Replies: 10
- Views: 7036
Re: Calculate: Unknown token input: error
I mentioned it in #1... The last good version was 20210223. The reason, why I use it in all of my switches is: My event 'Schalten' is called with '0' for OFF, '1' for ON and without a eventvalue for TOGGLE the state. Furthermore, it is better to check whether a eventvalue has been passed to a rule. ...
- 06 May 2021, 17:45
- Forum: ESP Easy: General Discussion
- Topic: Calculate: Unknown token input: error
- Replies: 10
- Views: 7036
Re: Calculate: Unknown token input: error
Late, but now I've checked it:
The error only occurs, when no value is passed to the event !
Can you restore the previous behavior? Have you an idea, what codechange affects the changed behavior?
The error only occurs, when no value is passed to the event !
Can you restore the previous behavior? Have you an idea, what codechange affects the changed behavior?
- 04 May 2021, 11:39
- Forum: ESP Easy: General Discussion
- Topic: Reset input-switch on MOES MS-104B
- Replies: 4
- Views: 5419
Re: Reset input-switch on MOES MS-104B
For now, I created a block-timer for 2-3s, after the first (or single) pulse. During this period, another pulse is ignored. If the block-timer is expired, the next pulse toggle the state again. If someone holds the button longer than 2-3s, the relay will switch off immediately when released. But thi...
- 03 May 2021, 11:23
- Forum: ESP Easy: General Discussion
- Topic: Reset input-switch on MOES MS-104B
- Replies: 4
- Views: 5419
Re: Reset input-switch on MOES MS-104B
I have to admit, my idea doesn't work!
Additional information:
Additional information:
- Press and hold button = First pulse low 250ms
- Release holded button = Second pulse low 250ms
- Press button short with immediate release = Single pulse low 250ms
- 02 May 2021, 22:11
- Forum: ESP Easy: General Discussion
- Topic: Reset input-switch on MOES MS-104B
- Replies: 4
- Views: 5419
Re: Reset input-switch on MOES MS-104B
Maybe I've found a solution... I'll report more, tomorrow.
- 02 May 2021, 22:10
- Forum: ESP Easy: General Discussion
- Topic: Calculate: Unknown token input: error
- Replies: 10
- Views: 7036
Re: Calculate: Unknown token input: error
If the error ocourred, no !
Tommorow I can check if the erroris also reported, when the eventvalue is set.
Tommorow I can check if the erroris also reported, when the eventvalue is set.
- 02 May 2021, 21:32
- Forum: ESP Easy: General Discussion
- Topic: Calculate: Unknown token input: error
- Replies: 10
- Views: 7036
Re: Calculate: Unknown token input: error
Sure, the else-branch works. We discuss about this, some time ago.
A way (maybe the only one) to recognise that %eventvalue% is not set (instead of the normal integer).
And with %eventvalue1%, the error is the same.
By the 'elseif', I agree with you.
A way (maybe the only one) to recognise that %eventvalue% is not set (instead of the normal integer).
And with %eventvalue1%, the error is the same.
By the 'elseif', I agree with you.
- 02 May 2021, 20:11
- Forum: ESP Easy: General Discussion
- Topic: Reset input-switch on MOES MS-104B
- Replies: 4
- Views: 5419
Reset input-switch on MOES MS-104B
Background: I'll modify a MOES MS-104B (internal a WB2S BEKEN chip) with a ESP. The two input-channels a seems to work as follows: Short press = single pulse to low Long press = double pulse to low. When I configure a Switch-Input-Device with 'Push Button Active Low' and press the button for a short...
- 02 May 2021, 18:56
- Forum: ESP Easy: General Discussion
- Topic: Calculate: Unknown token input: error
- Replies: 10
- Views: 7036
Calculate: Unknown token input: error
Is there some problems in the source from 20210429 ? 141496: SW : GPIO=4 State=1 Output value=0 141503: EVENT: Taster1#Status=0 141513: ACT : AsyncEvent,Schalten1 141597: EVENT: Schalten1 141612: Calculate: Unknown token input: %eventvalue% = 0 141623: Calculate: Unknown token input: %eventvalue% = ...
- 13 Apr 2021, 14:41
- Forum: ESP Easy: General Discussion
- Topic: commands via MQTT
- Replies: 9
- Views: 6122
Re: commands via MQTT
I mean, the first one '/ESPDingDong_1/cmd | play,1' (without the '|) should work. The difference to my setup is only: - My MQTT setup has no leading slash (should work with it too). I removed all of them, because they didn't correspond to the MQTT specifications. - Controller Publish is set to defau...
- 13 Apr 2021, 12:29
- Forum: ESP Easy: General Discussion
- Topic: Custom WebUI
- Replies: 39
- Views: 17881
Re: Custom WebUI
Here's my actual version. Use DIV's instead of a table, format works if I use space instead of tabs, entire DIV is clickable, not only the text inside: <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> .divTable{display: table;width: 100%;font-si...