Search found 1484 matches

by TD-er
20 Sep 2019, 18:42
Forum: ESP Easy: Software
Topic: mini dashboard reload
Replies: 6
Views: 135

Re: mini dashboard reload

Please do not query the json url too often. It will cause a queue in the ESP which will eventually crash. Continuous F5 in the browser is a good way to crash the ESP. So I would say, don't go below 1x per sec. There is also a suggested time to retry in the JSON as used on the device tab to refresh t...
by TD-er
20 Sep 2019, 18:38
Forum: ESP Easy: Hardware
Topic: WIFI : Disconnected! Reason: '(200) Beacon timeout'
Replies: 7
Views: 173

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

It can't be related to the antenna TX/RX power as device works up to 15 meters in AP mode with Tasmota fw, and it can't work even within a few cm distance to WiFi AP or device connected to it. I also checked raw WiFi bandwidth with AirPcap NX and I see no big difference in traffic between Tasmota a...
by TD-er
20 Sep 2019, 11:11
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 157
Views: 13595

Re: Hardware Watchdog Reboots

Pulse counter may have other issues, since it is using interrupts on a GPIO pin.
So the WDT reboots here may have a different cause than WiFi.
by TD-er
20 Sep 2019, 11:08
Forum: ESP Easy: Hardware
Topic: Sonoff 4ch pro R2 random switching
Replies: 15
Views: 179

Re: Sonoff 4ch pro R2 random switching

After erasing all coco devices, i had no more unintended switchings. Apparently the sonoff was paired off factory. The sonoff has a 433 MHz receiver on board, but i do not yet use it. Do you think this function can still work with the espeasy firmware? I have no idea how it is connected to the ESP ...
by TD-er
20 Sep 2019, 09:55
Forum: ESP Easy: Projects / Applications
Topic: Espeasy & Domoticz
Replies: 9
Views: 192

Re: Espeasy & Domoticz

See the documentation: https://espeasy.readthedocs.io/en/lates ... Rules.html
Look for "publish"
by TD-er
20 Sep 2019, 09:54
Forum: ESP Easy: Hardware
Topic: Sonoff 4ch pro R2 random switching
Replies: 15
Views: 179

Re: Sonoff 4ch pro R2 random switching

CoCo/KaKu devices may not be located too close to each other or else they may cause interference.
Maybe that's also happening here?
I don't know how/if the 433 MHz module is also directly connected to the relais or maybe it is sending commands somehow to the buttons, like if they were pressed?
by TD-er
20 Sep 2019, 09:47
Forum: ESP Easy: Projects / Applications
Topic: electrical power outage detection
Replies: 9
Views: 303

Re: electrical power outage detection

Don't forget the resistor in series with the LEDs. Also take into account the voltage drop of a LED, which differs for different colors. I assume the LED used in the optocoupler is a "red" one, so then the voltage drop is about 1.8V If you add a LED with a different color, its voltage drop may be hi...
by TD-er
20 Sep 2019, 09:41
Forum: ESP Easy: Hardware
Topic: WIFI : Disconnected! Reason: '(200) Beacon timeout'
Replies: 7
Views: 173

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

I think it may be the missing cap is causing undefined behavior on the module when the antenna is broadcasting.
Maybe Tasmota is lowering the TX power of the WiFi module?
by TD-er
20 Sep 2019, 09:37
Forum: ESP Easy: Projects / Applications
Topic: electrical power outage detection
Replies: 9
Views: 303

Re: electrical power outage detection

https://i.stack.imgur.com/5A9pw.gif See here for more explanation on the difference between NPN and PNP transistors and which one to use to "invert" the signal. The transistor part of an optocoupler is just a normal transistor. So they are available in PNP and NPN configuration. In Dutch we have th...
by TD-er
19 Sep 2019, 17:00
Forum: ESP Easy: Hardware
Topic: Sonoff 4ch pro R2 random switching
Replies: 15
Views: 179

Re: Sonoff 4ch pro R2 random switching

GPIO 4 and 5 are default associated to I2C.
Just check if these are still assigned to I2C in ESPeasy.

Which relay do trigger unintended?
by TD-er
19 Sep 2019, 15:32
Forum: ESP Easy: Hardware
Topic: Sonoff 4ch pro R2 random switching
Replies: 15
Views: 179

Re: Sonoff 4ch pro R2 random switching

So no crashes or other unintended reboots?
Maybe also check what GPIO pins are used for the relais and if there is something else addressing these pins.
For example status LED, I2C etc.
by TD-er
19 Sep 2019, 15:27
Forum: ESP Easy: Hardware
Topic: Sonoff 4ch pro R2 random switching
Replies: 15
Views: 179

Re: Sonoff 4ch pro R2 random switching

This toggling, does that happen when the ESP reboots?
by TD-er
19 Sep 2019, 15:26
Forum: ESP Easy: General Discussion
Topic: Trying to send Sauna temp to Thingspeak
Replies: 12
Views: 630

Re: Trying to send Sauna temp to Thingspeak

SendToHTTP and thingspeak are not working, that's a known issue.

For Thingspeak you need to wait for the response from the server and SendToHTTP does not wait for a response.
For that you really need to use the Thingspeak controller.
by TD-er
19 Sep 2019, 15:24
Forum: ESP Easy: Hardware
Topic: WIFI : Disconnected! Reason: '(200) Beacon timeout'
Replies: 7
Views: 173

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

Have you also tested the "Force WiFi No Sleep:" option? If STA+AP mode does seem to work, then it looks like there is some issue with respect to the ESP WiFi going into sleep mode. By the way, "ESP_Easy_mega-20190910-6-PR_2617_test_ESP8266_4M_VCC" is based on core 2.5.2. There should also be a core ...
by TD-er
19 Sep 2019, 15:21
Forum: ESP Easy: Projects / Applications
Topic: Espeasy & Domoticz
Replies: 9
Views: 192

Re: Espeasy & Domoticz

Well if you are running Mosquitto, Domoticz and ESPeasy in the same local network, then the firewall of your router should not have any effect on it. I am not entirely sure anymore if Domoticz needs some check in the settings somewhere to also accept data via HTTP. I know I have it running here to a...
by TD-er
18 Sep 2019, 23:12
Forum: ESP Easy: Hardware
Topic: WIFI : Disconnected! Reason: '(200) Beacon timeout'
Replies: 7
Views: 173

Re: WIFI : Disconnected! Reason: '(200) Beacon timeout'

Can you try to set it to B/G mode (given you have enough time for that)?
Also can you try to run one of the last builds running core 2.6.0 SDK 222?
Or maybe even from this test build: https://www.dropbox.com/s/68u55dhvayhok ... 7.zip?dl=0
by TD-er
18 Sep 2019, 23:08
Forum: ESP Easy: Projects / Applications
Topic: Espeasy & Domoticz
Replies: 9
Views: 192

Re: Espeasy & Domoticz

You can connect with any MQTT client tool to the broker and see all the messages you subscribe to. The thing with Domoticz is that it is really picky in what type of virtual device you created. The most flexible is the "custom sensor", but then it doesn't show up in the right tab in Domoticz. If you...
by TD-er
18 Sep 2019, 14:54
Forum: ESP Easy: Software
Topic: mega 0805 is ok after that version change > no p2p anymore ?
Replies: 3
Views: 126

Re: mega 0805 is ok after that version change > no p2p anymore ?

One of the things that were changed with that update/bugfix is that it now is keeping track of the sender.
Can you remove the plugin on the receiving end and add it again?
by TD-er
18 Sep 2019, 14:52
Forum: ESP Easy: Software
Topic: How to set the countdown taskvalue
Replies: 8
Views: 275

Re: How to set the countdown taskvalue

What do you expect the function should do? What it does here, is that it does set the timer every time the measured value is above some threshold. What you probably should do is add some check to see if the timer has already been set. Also what do you think will happen when the temperature fluctuate...
by TD-er
18 Sep 2019, 09:51
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 157
Views: 13595

Re: Hardware Watchdog Reboots

And a fairly recent build I assume?
by TD-er
18 Sep 2019, 09:48
Forum: ESP Easy: Software
Topic: How to set the countdown taskvalue
Replies: 8
Views: 275

Re: How to set the countdown taskvalue

It's not what he wants to do. Unfortunately, it doesn't work: On 10P#temperatura>26 do timerSet,1,5 endon On Rules#Timer=1 do TaskValueSet,11,3,1 endon That's indeed what I meant. This doesn't work? The timer should then be set for an hour (3600), but I can imagine it will be a bit tedious to test ...
by TD-er
17 Sep 2019, 21:36
Forum: ESP Easy: Software
Topic: How to set the countdown taskvalue
Replies: 8
Views: 275

Re: How to set the countdown taskvalue

Just use a timer ?
by TD-er
17 Sep 2019, 15:36
Forum: ESP Easy: General Discussion
Topic: mqtt cant receive gpio command
Replies: 16
Views: 2940

Re: mqtt cant receive gpio command

Is that something that has to be changed in the software or in the documentation? (I'm not the author of the Homie controller)
by TD-er
17 Sep 2019, 00:10
Forum: ESP Easy: Software
Topic: Rules: Clock#Time - possible to compare with a variable?
Replies: 17
Views: 1481

Re: Rules: Clock#Time - possible to compare with a variable?

grovkillen wrote:
16 Sep 2019, 21:12
Yes I will add that.
Have you looked at the PR I am preparing?
Will save you some time I guess ;)
by TD-er
17 Sep 2019, 00:09
Forum: ESP Easy: Hardware
Topic: ESP-WROOM-02U pin definition
Replies: 4
Views: 205

Re: ESP-WROOM-02U pin definition

Please do and if you find something definitive, please let me know.
I think I do have one of these somewhere in the drawer, mounted on a TTGO board I think.
So not entirely sure the pin mapping is entirely clear on that one, but we'll see then.
by TD-er
16 Sep 2019, 17:12
Forum: ESP Easy: Hardware
Topic: ESP-WROOM-02U pin definition
Replies: 4
Views: 205

Re: ESP-WROOM-02U pin definition

Indeed, the datasheet mentions IO14 (SCL), IO2 (SDA) I must say, it does make sense to use IO2 for SDA, since I2C communication is often done with pull-up resistors and GPIO2 has to be pulled up at boot. I have no idea why it should be so different compared to other ESP8266 boards. As far as I know,...
by TD-er
16 Sep 2019, 16:04
Forum: ESP Easy: Projects / Applications
Topic: electrical power outage detection
Replies: 9
Views: 303

Re: electrical power outage detection

You could let an LED run on some 5V power adapter and have the LED of an optocoupler in series with that LED.
The transistor side of the optocoupler could then be used to trigger something on the ESP (or even boot it, if it is put to deep sleep)
by TD-er
16 Sep 2019, 14:09
Forum: ESP Easy: Software
Topic: Adding one TEST .ino to custom build
Replies: 1
Views: 193

Re: Adding one TEST .ino to custom build

You should move it from the "PLUGIN_SET_TESTING" section to the "PLUGIN_SET_STABLE" section. Then it will be included in your "Normal" build The "custom" build is using the file pre_extra_script.py to define what's included. If you want to use that one, you should add the desired plugin(s) to that P...
by TD-er
15 Sep 2019, 16:55
Forum: ESP Easy: Projects / Applications
Topic: "SmartNodeRules" concept idea
Replies: 31
Views: 1940

Re: "SmartNodeRules" concept idea

tim wrote:
15 Sep 2019, 15:19
[...]
When will it be part of official build?
That's hard to say right now.
At the moment we're running into all kinds of build issues regarding build size, so adding more plugins is not going to help much then.
by TD-er
15 Sep 2019, 14:40
Forum: ESP Easy: Software
Topic: Rules: Clock#Time - possible to compare with a variable?
Replies: 17
Views: 1481

Re: Rules: Clock#Time - possible to compare with a variable?

Yesterday I was going through the rules parser functions and came across the "transformation" options we have. I knew we had them, but since they were never documented, I also documented them (in a PR not yet merged) I think it should also solve the original issue here with a bit more elegance by ad...
by TD-er
15 Sep 2019, 00:55
Forum: ESP Easy: Software
Topic: Limit of task in file.esp ?
Replies: 13
Views: 520

Re: Limit of task in file.esp ?

Well, it is a pull-request, meant to be merged eventually (likely tomorrow) I've spent almost all free time of today on it to make the routine as memory efficient as possible, since it was quite a resource user with all the memory allocations done inside. So let's hope it will also make ESPeasy more...
by TD-er
14 Sep 2019, 22:47
Forum: ESP Easy: Software
Topic: Limit of task in file.esp ?
Replies: 13
Views: 520

Re: Limit of task in file.esp ?

20 would be enough. Or maybe you want to compile such a bulid especially for me? Just to let you know, I've been taking a thorough look at the code and made some major changes. See pull request https://github.com/letscontrolit/ESPEasy/pull/2617 I will build a test build for it, so you can test if i...
by TD-er
14 Sep 2019, 16:29
Forum: ESP Easy: Hardware
Topic: Sonoff Basic R2 and DHT22
Replies: 2
Views: 544

Re: Sonoff Basic R2 and DHT22

One word of warning when using Sonoff's.
Not all Sonoff boards have proper isolation from mains power.
So always disconnect from mains when flashing and also use proper isolation for the sensor if you mount it somewhere where it can be touched.
by TD-er
14 Sep 2019, 11:35
Forum: ESP Easy: Software
Topic: Wemos D1 Pro with Senseair S8 boot loops
Replies: 13
Views: 481

Re: Wemos D1 Pro with Senseair S8 boot loops

grovkillen wrote:
14 Sep 2019, 09:29
Please observe that the S8 is not built for deepsleep. You would want to have the LP8 for that.
Not sure if that one is already implemented in the plugin code.
by TD-er
13 Sep 2019, 19:50
Forum: ESP Easy: Software
Topic: 4x20 LCD display, change names of day of week
Replies: 11
Views: 371

Re: 4x20 LCD display, change names of day of week

Well, let's summon the Rules master @Grovkillen then :)
by TD-er
13 Sep 2019, 19:37
Forum: ESP Easy: Software
Topic: 4x20 LCD display, change names of day of week
Replies: 11
Views: 371

Re: 4x20 LCD display, change names of day of week

That's a lot of endif statements.
Have you tried with just one layer?
So many endif statements looks like it may be quite a number of levels deep, but the else statement tells it should be all in the same level.
by TD-er
13 Sep 2019, 19:34
Forum: ESP Easy: Software
Topic: Limit of task in file.esp ?
Replies: 13
Views: 520

Re: Limit of task in file.esp ?

If you can change it in the next version it would be great. I'll try to compile it myself... To what value? Like I said, I have no idea why this limit is being used in the first place, and also why it has such a strange notation (10 - 1). So I will not change it until I know what this limit is used...
by TD-er
13 Sep 2019, 18:13
Forum: ESP Easy: Software
Topic: Limit of task in file.esp ?
Replies: 13
Views: 520

Re: Limit of task in file.esp ?

a_k wrote:
13 Sep 2019, 17:02
How to change? Do I have to compile espeasy again?
Yep it is part of the source code.
I can also have a look at it, but that may take a while (lots and lots of other issues at hand)
by TD-er
13 Sep 2019, 14:31
Forum: ESP Easy: Software
Topic: Wemos D1 Pro with Senseair S8 boot loops
Replies: 13
Views: 481

Re: Wemos D1 Pro with Senseair S8 boot loops

Just a quick update. processCommand() (Modbus_RTU.ino) does call delay() while waiting for data, and it does take some timeout into account. But it does not return something to indicate there was a timeout, nor if nothing was received. So I can imagine this will cause some issues as it will hit time...
by TD-er
13 Sep 2019, 12:59
Forum: ESP Easy: Software
Topic: Wemos D1 Pro with Senseair S8 boot loops
Replies: 13
Views: 481

Re: Wemos D1 Pro with Senseair S8 boot loops

As I see it isn't important, which PIN's was used for this issue With the pins you mention now, it is indeed not really important. But if pin 0, 2 or 15 would have been used, then it is important. These must have a very specific state at boot or else the node will not boot in the correct mode. And,...
by TD-er
13 Sep 2019, 12:38
Forum: ESP Easy: Software
Topic: Limit of task in file.esp ?
Replies: 13
Views: 520

Re: Limit of task in file.esp ?

So there's nothing I can do about it? :| I still have an idea. Create a temp2.esp and in temp1.esp create a button to quickly move between pages... Like I said, I have no idea why this limit was introduced in the first place, but you can try and remove (or increase) the limit to see if it does fix ...
by TD-er
12 Sep 2019, 22:24
Forum: ESP Easy: Software
Topic: Limit of task in file.esp ?
Replies: 13
Views: 520

Re: Limit of task in file.esp ?

Ah, opened a new beer and now it has become clear. Just had to hit the right Balmer peak I guess :) /********************************************************************************************\ Parse string template \**********************************************************************************...
by TD-er
12 Sep 2019, 22:08
Forum: ESP Easy: Software
Topic: Limit of task in file.esp ?
Replies: 13
Views: 520

Re: Limit of task in file.esp ?

A quick look at the code in WebServer_CustomPage.ino tells me that this .esp file is considered as a single command line (like in the rules)
So I think you're hitting the max. length of a command line.

If you're using shorter names, will it then stop working after 10th or later item?
by TD-er
12 Sep 2019, 21:54
Forum: ESP Easy: Software
Topic: Wemos D1 Pro with Senseair S8 boot loops
Replies: 13
Views: 481

Re: Wemos D1 Pro with Senseair S8 boot loops

Is the reported value of 2700+ ppm realistic? Apart from that, can you please summarize it a bit? Also please give the following info: - RX pin - TX pin - How is the sensor powered? (is the voltage dropping when the S8 starts a measurement and the ESP boots + starts the WiFi connection?) - Was it wo...
by TD-er
12 Sep 2019, 21:46
Forum: ESP Easy: Hardware
Topic: battery vcc measure problem
Replies: 3
Views: 331

Re: battery vcc measure problem

The VCC build allows the "system info" plugin to report the VCC.
The analog input (ADC) plugin cannot be used with the VCC build.

This one has bitten me too last week :)
And yes this should be changed :)
by TD-er
12 Sep 2019, 00:38
Forum: ESP Easy: Hardware
Topic: Multiple devices I2C bus?
Replies: 18
Views: 3185

Re: Multiple devices I2C bus?

Well the value of 32.7 just triggered the association with 32767 with me, which is a typical max.value for a signed 16-bit value. A quick glance at the datasheet does show the max. value is either 4000 (x 4 mV) or 8000 (x 4mV) So then any value over 32.0 should not occur. Maybe it is a fault state? ...
by TD-er
12 Sep 2019, 00:21
Forum: ESP Easy: Software
Topic: Need version with SHT30 driver
Replies: 5
Views: 391

Re: Need version with SHT30 driver

I don't see any reason why they would have changed, or you must be comparing them to very old versions maybe? Just test if they work for your use case. Just make sure you're also using a MQTT controller (or at least have the credentials configured in an enabled controller). That plugin is using the ...
by TD-er
11 Sep 2019, 15:39
Forum: ESP Easy: Software
Topic: Need version with SHT30 driver
Replies: 5
Views: 391

Re: Need version with SHT30 driver

mattlward wrote:
11 Sep 2019, 14:47
Thanks for the reply. BTW, I use 2 MQTT inputs does that still work?
You have to try, since I'm not really sure what you mean by that.
by TD-er
11 Sep 2019, 15:36
Forum: ESP Easy: Hardware
Topic: Multiple devices I2C bus?
Replies: 18
Views: 3185

Re: Multiple devices I2C bus?

boatie wrote:
11 Sep 2019, 13:18
Thanks for suggesting the pull down resistors.
[...]
No they should be pull-UP

32.7 Volt sounds like an overflow value. (32768)

So make sure you have the proper resistors in place to lower the range.
For this you should refer to the datasheet of the chip.
by TD-er
11 Sep 2019, 09:28
Forum: ESP Easy: Software
Topic: Need version with SHT30 driver
Replies: 5
Views: 391

Re: Need version with SHT30 driver

The last nightly build did not include the "test" builds, due to size issues.
I am working on the issue to get the size down, or redefine the different sets of included plugins in the builds.