Search found 2100 matches

by TD-er
19 Feb 2020, 10:36
Forum: ESP Easy: Software
Topic: "Git Build" field is empty:where to fill it ?
Replies: 1
Views: 45

Re: "Git Build" field is empty:where to fill it ?

Just define some string in your Custom.h as BUILD_GIT

For example:

Code: Select all

#define BUILD_GIT  "My Special Build v0.0.1"
by TD-er
18 Feb 2020, 16:17
Forum: ESP Easy: Software
Topic: Could not select "None" as GPIO in switch device
Replies: 4
Views: 92

Re: Could not select "None" as GPIO in switch device

It is a confirmed bug and it may have affected all settings where plugin pins were updated and set to "no pin".
It will be fixed in the next build.
by TD-er
18 Feb 2020, 15:46
Forum: ESP Easy: General Discussion
Topic: Very Slow to no response
Replies: 13
Views: 2564

Re: Very Slow to no response

Check also to see if there may be other devices on the network using the same IP-address. I have had one issue here where the ESP was somehow unable to receive DHCP updates and in the mean time the DHCP server was no longer considering it as an used IP in its DHCP pool. You can try enabling to send ...
by TD-er
18 Feb 2020, 15:42
Forum: ESP Easy: Software
Topic: ABB Aurora Solar Inverter
Replies: 1
Views: 59

Re: ABB Aurora Solar Inverter

It does seem to use Modbus RTU, so that should be not too hard to adapt the code of _P085_AcuDC243.ino to use the registers of that inverter.
by TD-er
18 Feb 2020, 15:37
Forum: ESP Easy: Software
Topic: Could not select "None" as GPIO in switch device
Replies: 4
Views: 92

Re: Could not select "None" as GPIO in switch device

Even if deleting the device may solve the issue, it is clearly a bug that needs to be addressed.

"Reset and try again" is not really compatible with "Easy" we try to express here :)
by TD-er
17 Feb 2020, 23:02
Forum: ESP Easy: General Discussion
Topic: What are the timings to collect dat aand send MQTT update ?
Replies: 2
Views: 116

Re: What are the timings to collect dat aand send MQTT update ?

In short, when the internal function PLUGIN_READ is called for a task, it will output a new value and that one also calls the functions to send out data. There are 2 ways to trigger this function call: - via the interval timer - via rules calling the "taskrun" command. The first one (interval timer)...
by TD-er
17 Feb 2020, 22:53
Forum: ESP Easy: Software
Topic: mega-20200204 seems more stable
Replies: 1
Views: 125

Re: mega-20200204 seems more stable

Good to hear we're finally running stable builds again.
The last one also has the newer core 2.6.3 included, so maybe that's also adding to the stability.
by TD-er
16 Feb 2020, 11:31
Forum: ESP Easy: Hardware
Topic: Shelly 1 +Temperature Shield
Replies: 8
Views: 861

Re: Shelly 1 +Temperature Shield

The Shelly1 also has 2M flash, so if possible I would go for that build as it will make upgrading the firmware a lot easier.
by TD-er
14 Feb 2020, 23:48
Forum: ESP Easy: Hardware
Topic: can not get BMP280 to work
Replies: 7
Views: 258

Re: can not get BMP280 to work

Make sure the set pins for using I2C are the ones you try to use. See the "Hardware" tab in the web interface. It is best to use these: - GPIO-4 (D2) for SDA - GPIO-5 (D1) for SCL Most BMP280/BME280 boards have no need to set them to I2C mode. Make sure the board you're using is for 3v3. On AliExpre...
by TD-er
14 Feb 2020, 23:43
Forum: ESP Easy: General Discussion
Topic: 150 days online
Replies: 21
Views: 1106

Re: 150 days online

2. I set connection failure threshold to 25 thinking this would allow the node to be more tolerant. I had no idea that setting it to zero would be better for WiFi. So I'll try it. You know what this does???? If the ESP -for whatever reason- has exceeded this set threshold of failed connect attempts...
by TD-er
14 Feb 2020, 11:41
Forum: ESP Easy: General Discussion
Topic: 150 days online
Replies: 21
Views: 1106

Re: 150 days online

The orientation of the node may also have an impact. For example, most antennas for WiFi have a vertical polarization. Meaning that it will cover an area in the horizontal plane around the antenna. If the node does have its radiation pattern not in the same plane, you will loose a lot in your signal...
by TD-er
12 Feb 2020, 23:59
Forum: ESP Easy: General Discussion
Topic: How to reset the RDIF Wiegand code
Replies: 15
Views: 1607

Re: How to reset the RDIF Wiegand code

Just be aware that when you store long integer numbers in a float, you will loose precision.
So there will not be an exact match on RFID strings any more after storing it in a float of a dummy task value.

It doesn't seem like you do it now, but you may end up there on future experiments.
by TD-er
12 Feb 2020, 13:33
Forum: ESP Easy: General Discussion
Topic: How to reset the RDIF Wiegand code
Replies: 15
Views: 1607

Re: How to reset the RDIF Wiegand code

taskrun should work on any plugin (or more exact a task) It only expects 1 parameter, which is the task number. Just to get the used words right: Implementation of support for a device (e.g. a sensor or display) is called a plugin. You may have several instances of a plugin active on the node, so a ...
by TD-er
12 Feb 2020, 12:34
Forum: ESP Easy: General Discussion
Topic: How to reset the RDIF Wiegand code
Replies: 15
Views: 1607

Re: How to reset the RDIF Wiegand code

Not sure if taskvalueset can be used on more than the dummy device. Also you must call taskrun, or the combined command for set and run. Also some plugins are written slightly different from how the call to "PLUGIN_READ" was intended. The general idea is that PLUGIN_READ can be called when the "inte...
by TD-er
11 Feb 2020, 21:54
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 206
Views: 28088

Re: RPIEasy

The same post has been posted on some other fora: https://www.google.com/search?rlz=1C1GCEA_enNL850NL850&sxsrf=ACYBGNS2PLCLyXpzNVxyEv33-SCA7IiPIg%3A1581454067366&ei=8xJDXpr_FYjzkwXvk6yoCA&q=%22Prepare+an+esp-f+module+of+Shenzhen+Doit+Technology+Co.%2C+Ltd.%2C+or+a+nodemcu+of+Doit+Technology+Co.%2C+L...
by TD-er
11 Feb 2020, 14:02
Forum: ESP Easy: Software
Topic: New plugin for DDS238-1
Replies: 3
Views: 291

Re: New plugin for DDS238-1

For the playground it doesn't really matter a lot, as people always make their own builds based on that code. But for the main repository, I will just assign a new number, based on the existing used numbers + the open pull requests. For the playground we usually use > 127, as that was probably once ...
by TD-er
10 Feb 2020, 22:19
Forum: ESP Easy: Hardware
Topic: Shelly 2
Replies: 4
Views: 951

Re: Shelly 2

For ESPEasy not yet. In the past I had some contacts at Shelly. In the beginning they were very quick to respond to questions, but all of a sudden not any reply any more. Apparently ESPEasy is not interesting to them, maybe also because they have their own platform? To be honest I have been too busy...
by TD-er
10 Feb 2020, 19:06
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 1406

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

Test with MQTT fx: Config settings: broker address: local host (same machine ad OH) broker port : 1883 (same as ...) [...] Are you absolutely sure it is localhost for MQTT fx? Even when it is localhost, please try using the same IP-address as you are using in ESPEasy, just to be sure. On what compu...
by TD-er
10 Feb 2020, 11:40
Forum: ESP Easy: Hardware
Topic: Wemos D1 Mini Pin CH_PD / EN unclear
Replies: 2
Views: 308

Re: Wemos D1 Mini Pin CH_PD / EN unclear

It is normally tied to 3v3 via a resistor and a capacitor. This allows to introduce a 'delayed boot' of the ESP when you apply power. So the Wemos has this pin already setup for you or else the ESP would not boot at all. In your schematic, it was probably meant to really power down the ESP when not ...
by TD-er
10 Feb 2020, 11:35
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 1406

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

I don't know OpenHAB myself, so there I cannot help you. But just to give some general info on how MQTT does work. MQTT uses "topics" which are structured just like folders in a file system. You may post in topics and subscribe to topic to see what is posted there. The nice part is that you can use ...
by TD-er
10 Feb 2020, 11:27
Forum: ESP Easy: Software
Topic: Please help with 1MB module
Replies: 10
Views: 487

Re: Please help with 1MB module

You can also have a look at the webserver code.
We have a lot of defines to strip out pages, which may save quite a bit in code size.
by TD-er
09 Feb 2020, 21:27
Forum: ESP Easy: Software
Topic: Device, Enabled - deactivates itself
Replies: 5
Views: 533

Re: Device, Enabled - deactivates itself

A debounce time of 1000 msec may limit the max. number of pulses to 1 per second (or even less).
by TD-er
09 Feb 2020, 21:25
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 1406

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

OpenHAB's own MQTT broker should also work.
So if that is running on the same computer as OpenHAB, then yes it should be the same IP address.

For ESPEasy there should be not much different between Mosquitto and OpenHAB's MQTT broker.
by TD-er
09 Feb 2020, 19:30
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 1406

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

Look at the Mosquitto settings, mainly at the port number. What you need at first is to know the IP-address of the server Mosquitto is running on and also the port number. The default port number is 1883 if I'm correct. So for example your computer running Mosquitto has IP 192.168.1.10 and the ESP m...
by TD-er
09 Feb 2020, 18:48
Forum: ESP Easy: Software
Topic: Please help with 1MB module
Replies: 10
Views: 487

Re: Please help with 1MB module

Run "meminfodetail" as command on the ESP and when you then open the sysinfo page, you can see the layout of the settings file graphically represented. Changing the number of tasks will render the settings incompatible with other nodes. Saving settings on a small SPIFFS will later lead to issues as ...
by TD-er
09 Feb 2020, 17:52
Forum: ESP Easy: Software
Topic: Please help with 1MB module
Replies: 10
Views: 487

Re: Please help with 1MB module

I tried the same once, with 64k SPIFFS, but that was causing lots of issues.
by TD-er
08 Feb 2020, 22:32
Forum: ESP Easy: Projects / Applications
Topic: NodeMCU + Pulse Counter ( Eltako DSZ12E-3x80A )
Replies: 1
Views: 331

Re: NodeMCU + Pulse Counter ( Eltako DSZ12E-3x80A )

Do you need any debounce on these signals? You can also halve the frequency and increase the pulse width to a duty cycle of 50% using a simple flipflop. This will make sure the ESP doesn't have to handle very short pulse widths and also does have to handle half of the pulses. It will also make the p...
by TD-er
08 Feb 2020, 22:28
Forum: ESP Easy: General Discussion
Topic: 150 days online
Replies: 21
Views: 1106

Re: 150 days online

HomeJCL wrote:
08 Feb 2020, 20:40
Winter time is not the best to beat records

Lots of time on hand so it testing for me

Last time had 97 days, could have been longer but the 20200204 update itched too much to let it go untested 😀👍
So I should have waited for 3 more days to merge it? :)
by TD-er
08 Feb 2020, 22:24
Forum: ESP Easy: Software
Topic: Please help with 1MB module
Replies: 10
Views: 487

Re: Please help with 1MB module

You can download the nightly build and see if there is an 1M OTA version included based on the more recent core library.
If it isn't then the builds we make ourselves are also too big for the 1M 2-step OTA and thus it isn't that easy to get it small enough :)
by TD-er
08 Feb 2020, 22:21
Forum: ESP Easy: Software
Topic: Control ESPEasy-thermostat -> Rules problem
Replies: 8
Views: 712

Re: Control ESPEasy-thermostat -> Rules problem

Please also check to see if you have a diode over the relay to protect the switching electronics.
The coil of the relay may cause a voltage spike when it is deactivated, which may destroy the transistor switching it.
by TD-er
08 Feb 2020, 11:16
Forum: ESP Easy: General Discussion
Topic: 150 days online
Replies: 21
Views: 1106

Re: 150 days online

And also thanks for keep trying to help fix these issues.
by TD-er
06 Feb 2020, 21:22
Forum: ESP Easy: General Discussion
Topic: 150 days online
Replies: 21
Views: 1106

Re: 150 days online

[...] It seems to me that the long Uptimes are on ESPEasy Mega devices that don't use the OpenHAB MQTT plugin. I suspect that the OH plugin (or perhaps MQTT in general) is inviting some reboots. A couple days ago I installed ESP_Easy_mega-20200204_test_ESP8266_4M1M_VCC.bin on a NodeMCU device. This...
by TD-er
06 Feb 2020, 14:35
Forum: ESP Easy: General Discussion
Topic: 150 days online
Replies: 21
Views: 1106

Re: 150 days online

grovkillen wrote:
06 Feb 2020, 09:38
dynamicdave wrote:
06 Feb 2020, 07:50
Wooo - that must be a world record.
We have some reports well over 200 days ;)
Not yet for those "September builds" ;)
by TD-er
06 Feb 2020, 14:34
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 180
Views: 74371

Re: Support for PZEM 004T Energy monitor

[...] And about wires color, neutral shall be blue. Line can be any color except blue, green/yellow (common colors are red, brown, black). This is the norm in France. Here in the Netherlands we used to have "red" and "green" as wire colours until the '70s I guess. Those were rather bad chosen color...
by TD-er
06 Feb 2020, 14:26
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 1406

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

I don't have any experience with OpenHAB myself, but I do know a bit about MQTT. First thing you have to check is if you have a MQTT broker running. Not sure if OpenHAB includes one (probably not?), so you have to install one yourself. The most frequently used one is Mosquitto. So you need to instal...
by TD-er
05 Feb 2020, 12:47
Forum: ESP Easy: Software
Topic: Control ESPEasy-thermostat -> Rules problem
Replies: 8
Views: 712

Re: Control ESPEasy-thermostat -> Rules problem

Have you added a logitem command in there to see if it does try to set the value?

And if I'm not mistaken, you should also enable gpio monitoring (at boot).
Maybe you can also add a task "switch" which you then run?
by TD-er
05 Feb 2020, 09:35
Forum: ESP Easy: Software
Topic: Device, Enabled - deactivates itself
Replies: 5
Views: 533

Re: Device, Enabled - deactivates itself

Is it possible this Hall-effect sensor is sometimes in a position where it is triggered continuously? For example when the position of the magnetic dial is exactly between 'triggered' and 'not triggered' ? Then the pulse counter may have to process lots and lots of interrupts and crash. Maybe even c...
by TD-er
04 Feb 2020, 22:37
Forum: ESP Easy: Software
Topic: Device, Enabled - deactivates itself
Replies: 5
Views: 533

Re: Device, Enabled - deactivates itself

What GPIO pin do you use? What position in the task list do you use for this plugin? About disabling tasks/controllers. If a module reboots > 10 times before it could complete a boot, it will start disabling tasks and controllers until it is successful in booting. So if the task is disabled, it mean...
by TD-er
04 Feb 2020, 17:41
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 180
Views: 74371

Re: Support for PZEM 004T Energy monitor

If you swap live and neutral, I can imagine it will give a 180 degree phase difference between measured current and voltage, so if supported by the sensor, you could get a negative reading on the current. The current is measured via a coil right? So I expect there will be some issues with regards to...
by TD-er
03 Feb 2020, 22:04
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 219
Views: 35354

Re: Hardware Watchdog Reboots

Well the software refuses to start an upload if it is too big to fit any known 2-step flasher anyway.
So even if we would be able to make an intermediate version that's smaller, then that particular unit could not be flashed anyway via OTA update.
by TD-er
03 Feb 2020, 19:58
Forum: ESP Easy: Software
Topic: Pulse counter - Is this correct settings for the signal?
Replies: 4
Views: 657

Re: Pulse counter - Is this correct settings for the signal?

Please note that the debouncer should not be needed if the pulse comes from something that does not give bounces like a digital output of some chip.
It should have strong enough pull-up or -down resistors to make sure the signal will not pick up noise from some other source.
by TD-er
03 Feb 2020, 19:52
Forum: ESP Easy: Software
Topic: Different power consumption in sleep-modes !?
Replies: 11
Views: 965

Re: Different power consumption in sleep-modes !?

I have noticed 2 differences in deep sleep behavior between normal deep sleep and when called from a command: - Deep sleep from a command directly calls void deepSleepStart(int dsdelay) - Deep sleep via the regular interval does only call deep sleep at the end of loop() and it also does a check whet...
by TD-er
03 Feb 2020, 18:07
Forum: ESP Easy: Software
Topic: Different power consumption in sleep-modes !?
Replies: 11
Views: 965

Re: Different power consumption in sleep-modes !?

Can you measure what happens on GPIO16 after the sleep time is over? I will have a look at the code to see what is the difference between going to sleep using the command and when it goes into deep sleep as interval. What version are you running? I thought I had changed something like this a few mon...
by TD-er
03 Feb 2020, 15:25
Forum: ESP Easy: General Discussion
Topic: rules calculate time difference in milliseconds
Replies: 10
Views: 1088

Re: rules calculate time difference in milliseconds

Ah OK, that's nice indeed and very useful. (as in we should add it to the documentation as an example :) )
by TD-er
03 Feb 2020, 15:23
Forum: ESP Easy: Software
Topic: Pulse counter - Is this correct settings for the signal?
Replies: 4
Views: 657

Re: Pulse counter - Is this correct settings for the signal?

I am not entirely sure what you try to measure here. Are you trying to count events and failing because some pulses are too short? Or you you want to measure the pulse width? If it is about counting pulses with a relative long interval and short pulse width, then you could add a flipflop in front of...
by TD-er
03 Feb 2020, 15:18
Forum: ESP Easy: General Discussion
Topic: Arduino ESP8266 Compile OK, but lose ESP afer reboot!
Replies: 9
Views: 894

Re: Arduino ESP8266 Compile OK, but lose ESP afer reboot!

ohaldi wrote:
02 Feb 2020, 12:42
Many thanks for your information.
If anyone has an idea how to introduce a fixed IP in the source code I'm interested!
I am working on it, but sadly other (personal) issues have been taking way too much time lately so it has been delayed longer than I would have hoped it would.
by TD-er
03 Feb 2020, 15:16
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy deep sleep and MQTT
Replies: 1
Views: 679

Re: ESPEasy deep sleep and MQTT

Well you will always have some fluctuation in how long it takes to get a WiFi connection. Maybe you should try with a longer "awake time" and then put the ESP back to sleep from the rules. Also please have a look at the controller settings. Especially at the queue length + minimal send interval. A w...
by TD-er
03 Feb 2020, 15:08
Forum: Introduce yourself
Topic: greeting from Italy
Replies: 1
Views: 193

Re: greeting from Italy

Welcome in the world of IoT :)
Hope that ESPEasy can help you get your ideas realized.
by TD-er
03 Feb 2020, 15:06
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 219
Views: 35354

Re: Hardware Watchdog Reboots

The more stable builds are with core 2.6.1 But I noticed some issues here in my own network when the controller (MQTT controller) is unreachable. Also if for some reason DHCP requests (or UDP traffic) is taking too long to get answered, the unit will reboot. So that's one thing I'm working on right ...
by TD-er
03 Feb 2020, 15:00
Forum: ESP Easy: General Discussion
Topic: Dallas DS18b20 strage behaviour
Replies: 11
Views: 1120

Re: Dallas DS18b20 strage behaviour

Please try another GPIO pin as GPIO-16 is a bit different compared to the other pins. See: https://espeasy.readthedocs.io/en/latest/Reference/GPIO.html#best-pins-to-use-on-esp8266 Also there are a lot of counterfeit Dallas sensors on the market. Some report that counterfeit Dallas sensors may work f...