Search found 1461 matches

by TD-er
17 Sep 2019, 00:10
Forum: ESP Easy: Software
Topic: Rules: Clock#Time - possible to compare with a variable?
Replies: 16
Views: 1238

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: 3
Views: 53

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: 3
Views: 53

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: 1
Views: 50

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: 60

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: 1821

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: 16
Views: 1238

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: 345

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: 345

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: 494

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: 289

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: 199

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: 199

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: 345

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: 345

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: 289

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: 289

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: 345

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: 345

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: 345

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: 289

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: 189

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: 3102

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: 246

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: 246

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: 3102

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: 246

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.
by TD-er
10 Sep 2019, 10:12
Forum: ESP Easy: Software
Topic: PlatformIO Build/Compile Error New Install/Setup
Replies: 2
Views: 287

Re: PlatformIO Build/Compile Error New Install/Setup

If it is just about making a build of your own and not really coding yourself, you may want to look at the tools/vagrant directory. It is still a work in progress, but last night I added the option to define your own Custom.h file (copy from the included Custom-sample.h) See also this topic: https:/...
by TD-er
09 Sep 2019, 22:24
Forum: ESP Easy: General Discussion
Topic: Trying to send Sauna temp to Thingspeak
Replies: 8
Views: 404

Re: Trying to send Sauna temp to Thingspeak

Oh please do not use delay in rules and especially not delay calls over several seconds. I really should do something about this delay command, like print it on paper and burn it. Rules' Delay Statement Considered Harmful. Please use timers for this and don't use delay. The delay command does halt t...
by TD-er
09 Sep 2019, 19:07
Forum: ESP Easy: General Discussion
Topic: Trying to send Sauna temp to Thingspeak
Replies: 8
Views: 404

Re: Trying to send Sauna temp to Thingspeak

That's right, there is also an issue about it.
The send to http called from the rules is not waiting for an acknowledgement.
by TD-er
09 Sep 2019, 16:14
Forum: ESP Easy: Hardware
Topic: Multiple devices I2C bus?
Replies: 18
Views: 3102

Re: Multiple devices I2C bus?

I2C sensors can all be used on the same SDA/SCL pins, as long as all have their own unique address on the I2C bus. Most sensor boards have some pads available to set the address. You have to look into the datasheet of the sensor to see what addresses can be used and how to select them. If you set th...
by TD-er
08 Sep 2019, 22:53
Forum: ESP Easy: Hardware
Topic: Sonoff T2 I need some info.
Replies: 1
Views: 261

Re: Sonoff T2 I need some info.

Tasmota Wiki has some about the Sonoff Tx (T1/T2/T3): https://github.com/arendst/Sonoff-Tasmo ... -TX-Series
Only thing with the Sonoff Tx boards is that they use 1 MB flash, which is not really easy to upgrade using OTA.
by TD-er
08 Sep 2019, 15:17
Forum: ESP Easy: Projects / Applications
Topic: Sleeptime
Replies: 24
Views: 3034

Re: Sleeptime

Maybe we could also have a look at the ESP32 for really low power solutions. The ESP32 has (apart from the dual core) another ULP core (Ultra Low Power) and it has Bluetooth. Programming the ULP core is a lot harder, but it does allow to collect data and store it in its own RTC memory. This could th...
by TD-er
08 Sep 2019, 11:20
Forum: ESP Easy: Projects / Applications
Topic: Sleeptime
Replies: 24
Views: 3034

Re: Sleeptime

ESP-now is a protocol specific for ESP nodes. It is something I plan to add later, since it does allow for really short WiFi on times. In short, you can send data from one node to another one (only a limited set of MAC addresses can be "paired" for this) It is using the WiFi radio, but does not need...
by TD-er
08 Sep 2019, 00:25
Forum: ESP Easy: Projects / Applications
Topic: Sleeptime
Replies: 24
Views: 3034

Re: Sleeptime

... ty for the hint; I use a fixed IP due the connect goes much faster then DHCP and that also shorten the time the ESP take power. I think that all opimisations are can't be enough to stretch the time to, let us say, an half year. I think that's impossible with WLAN and a single cell... Are you si...
by TD-er
07 Sep 2019, 23:08
Forum: ESP Easy: Projects / Applications
Topic: Sleeptime
Replies: 24
Views: 3034

Re: Sleeptime

Just as a small remark on the battery consumption. If you're using static IP, you may also decrease the connection time. But since the last few builds, this gain may not be as much as before, since I did manage to cut down the DHCP time needed. Also using B/G-only may reduce the WiFi power consumpti...
by TD-er
07 Sep 2019, 00:28
Forum: ESP Easy: Software
Topic: Best plugin to start from for 2-way serial communication
Replies: 9
Views: 4765

Re: Best plugin to start from for 2-way serial communication

Yep, please let me know if you like the general idea of it or need some changes to make it really useful. It is currently only sending 1 string you can specify in the plugin and sending any line of text to the controller you specify. N.B. not all controllers support sending strings, but at least the...
by TD-er
06 Sep 2019, 15:54
Forum: ESP Easy: General Discussion
Topic: ESP WiFi Hacked
Replies: 3
Views: 526

Re: ESP WiFi Hacked

Well a true VPN layer on at least the ESP8266 is out of the question. We simply don't have enough memory for that. I do think we should have some form of encryption, but most SSL-layers demand too much memory. On the ESPEasy p2p layer we can do anything we want, so there I plan to use AES, but that ...
by TD-er
06 Sep 2019, 11:50
Forum: ESP Easy: Software
Topic: Best plugin to start from for 2-way serial communication
Replies: 9
Views: 4765

Re: Best plugin to start from for 2-way serial communication

The SerialProxy plugin is merged into mega branch and should be included in the "custom" build (if that one is included in the nightly's)
by TD-er
06 Sep 2019, 11:02
Forum: ESP Easy: Software
Topic: Plugin timing/architecture questions [TE AmbiMate MS4 multisensor)
Replies: 4
Views: 460

Re: Plugin timing/architecture questions [TE AmbiMate MS4 multisensor)

I think you're making it a bit more complex than needed. You have 2 entry points in the plugin: - PLUGIN_TEN_PER_SECOND - PLUGIN_READ You can re-schedule the PLUGIN_READ as you may have seen in the BME280 plugin. So all handling of the state machine should be done from the PLUGIN_TEN_PER_SECOND call...
by TD-er
06 Sep 2019, 10:36
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 152
Views: 12730

Re: Hardware Watchdog Reboots

See also the (15 days old) issue here: https://github.com/esp8266/Arduino/issues/6436
Core 2.6.0 should be safe. No sure if our latest build already has the fix for it though.

Core 2.5.2 is still vulnerable.
by TD-er
06 Sep 2019, 10:32
Forum: ESP Easy: Hardware
Topic: Solar Power Supply
Replies: 58
Views: 2721

Re: Solar Power Supply

@Wiki ;-) Same lesson meanwhile learned: solar panel inside the transparant box becomes so hot that the cover at the panel's backside glued over the panel wiring drops from the panel. Must split the panel (to fit on a plate allowing ambient cooling) and the electronics (in a box for weather protect...
by TD-er
05 Sep 2019, 23:34
Forum: ESP Easy: Hardware
Topic: No wakeup after complete discharge of the batteries
Replies: 18
Views: 613

Re: No wakeup after complete discharge of the batteries

Maybe also place some small capacitor parallel to R4 and one over V1. I can imagine the DC/DC converter and the charging circuit may not give the most clean signal. So by adding a small capacitor over them, you will eliminate most of the spikes introduced by those converters. In order to simulate, y...
by TD-er
05 Sep 2019, 19:52
Forum: ESP Easy: Hardware
Topic: No wakeup after complete discharge of the batteries
Replies: 18
Views: 613

Re: No wakeup after complete discharge of the batteries

Maybe you also want to add some hysteresis, or else it would not be able to charge the batteries again and keeps rebooting if the current needed for booting is pulling the voltage just below your set threshold.
by TD-er
05 Sep 2019, 19:50
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 480
Views: 110689

Re: Nextion display plugin

[...] Most important update would be the migration to the non-test status. Well as easy as that sounds (removing a word "testing" and moving a define + updating documentation), it may be more difficult than you would think. As you may have noticed, the last number of builds were quite a bit larger ...
by TD-er
05 Sep 2019, 19:45
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 152
Views: 12730

Re: Hardware Watchdog Reboots

I just read the same post on HAD.
The session hijack is one that sounds dangerous, but as far as I know we don't even support that specific protocol yet.
The others are active attacks to just crash a node.
Currently you don't need a neighbor with a grudge against your toys for that :(
by TD-er
04 Sep 2019, 22:05
Forum: ESP Easy: General Discussion
Topic: Feedback required: New sets of plugins/controllers
Replies: 12
Views: 769

Re: Feedback required: New sets of plugins/controllers

The whole idea of using Vagrant is to have a single command to run and it will be built. Later I wanted to add a webserver inside the Vagrant to help define the build setup. It does not need anything other than the script file and the Vagrant file (and Vagrant) So all the setup of Platformio etc. is...
by TD-er
04 Sep 2019, 18:39
Forum: ESP Easy: Hardware
Topic: esp lost connection
Replies: 3
Views: 420

Re: esp lost connection

See here for an explanation of the options: https://espeasy.readthedocs.io/en/latest/Tools/Tools.html?highlight=arp#advanced Gratuitous ARP is one you may want to check if you sometimes experience the node does not react anymore, or only after 10 - 60 seconds retrying. Force WiFi B/G if you currentl...
by TD-er
04 Sep 2019, 18:31
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 152
Views: 12730

Re: Hardware Watchdog Reboots

I will update again when anything relevant happens :) Maybe you should add the 100-day mark to your calendar, that sounds relevant ;) On a more serious note, it does seem some UDP packets are not dealt with properly when the WiFi is (temporary) not initialized. So right at the short interval during...