Search found 3927 matches

by TD-er
24 Jan 2021, 01:16
Forum: ESP Easy: Hardware
Topic: WT32-ETH01
Replies: 39
Views: 5555

Re: WT32-ETH01

Search in the code for "DeviceMode_Olimex_ESP32_PoE" to see some examples of factory default settings (can be chosen on the reset factory default page, when not using a "testing" or "dev" build)
by TD-er
23 Jan 2021, 21:12
Forum: ESP Easy: General Discussion
Topic: esps (D1mini) auto disconnect from router !
Replies: 10
Views: 243

Re: esps (D1mini) auto disconnect from router !

It is hard to tell what may be the difference here. Some AP's have different rules regarding handling of clients when receiving N checksum errors per X second for example. The Gratuituous ARP I suggested (which is not present in the older builds) is a trick to keep the network updated on what MAC ad...
by TD-er
23 Jan 2021, 17:47
Forum: ESP Easy: General Discussion
Topic: Try send commands.
Replies: 10
Views: 63

Re: Try send commands.

Ath wrote: 23 Jan 2021, 16:58 [...] All event handlers use their own %eventvalue%, %eventvalue2% and up are not passed to the event handler, so will be 0 in all cases. [...]
Nope, if there is no %eventvalue4%, then it will not be replaced. (same for 3, 2, etc.)
by TD-er
23 Jan 2021, 17:44
Forum: ESP Easy: Software
Topic: PlatformIO issue
Replies: 7
Views: 42

Re: PlatformIO issue

It should work, but it will be too large as the current version of the Arduino core does add quite a bit to the build size.
by TD-er
23 Jan 2021, 16:38
Forum: ESP Easy: Hardware
Topic: MLX90614 with ESp8266 and EspEasy 1037.55
Replies: 9
Views: 73

Re: MLX90614 with ESp8266 and EspEasy 1037.55

Dondolo wrote: 23 Jan 2021, 16:31 [...]

Can I then no longer update the current version?
Not sure if you kept an eye on the commits for this repo? ;)
Whenever we find such a problem we try to fix it.
So for now, until it is fixed, you should use an older version for this specific setup.
by TD-er
23 Jan 2021, 16:32
Forum: ESP Easy: Projects / Applications
Topic: Surprising boot boot surprenant
Replies: 5
Views: 21

Re: Surprising boot boot surprenant

I will have a look at the Level plugin later this evening, as this writing of the settings is really disastrous for the flash and the settings may get corrupted if they are written very often. The file system we're using (SPIFFS) is not designed for a lot of writes. The file system may become fragme...
by TD-er
23 Jan 2021, 16:24
Forum: ESP Easy: Software
Topic: PlatformIO issue
Replies: 7
Views: 42

Re: PlatformIO issue

You also experimented with a compressed 2-step OTA build, so maybe we can together have a look at it to see if we can get the intermediate build smaller so we are not limited to this 600k limit we now have.
Also maybe LittleFS may be more stable on a FS smaller than 128k. SPIFFS isn't.
by TD-er
23 Jan 2021, 15:27
Forum: ESP Easy: Projects / Applications
Topic: Surprising boot boot surprenant
Replies: 5
Views: 21

Re: Surprising boot boot surprenant

Why do you use the "config" command? Hmm I notice this is the command for the level plugin. But it also does try to save the settings every time you call it. So you're wearing out your flash quite fast and crash/boot does seem likely if you write it very often. Also this saves the security...
by TD-er
23 Jan 2021, 15:26
Forum: ESP Easy: Projects / Applications
Topic: Surprising boot boot surprenant
Replies: 5
Views: 21

Re: Surprising boot boot surprenant

Can you check in some editor like Notepad++ to see if you have some characters which are not in the normal ASCII range? Also I don't know if an event with an underscore is working well (no idea why not, but never tested it) Anyway it is good practice not to use letters with accents in task names and...
by TD-er
23 Jan 2021, 15:21
Forum: ESP Easy: Software
Topic: PlatformIO issue
Replies: 7
Views: 42

Re: PlatformIO issue

Yep, some defines need to be defined at "command line" for the compiler, which is quite hard to do in Arduino IDE.

With 574k you have stripped out a lot.
by TD-er
23 Jan 2021, 11:07
Forum: ESP Easy: Hardware
Topic: MLX90614 with ESp8266 and EspEasy 1037.55
Replies: 9
Views: 73

Re: MLX90614 with ESp8266 and EspEasy 1037.55

Maybe also check with a build of roughly a year ago. A while ago (not sure about the timeline...) the code for I2C was changed in the esp8266/Arduino core. This lead to a number of sensors showing issues. Most of those issues were resolved by lowering the I2C clock for them, but that's something you...
by TD-er
23 Jan 2021, 11:02
Forum: ESP Easy: General Discussion
Topic: Try send commands.
Replies: 10
Views: 63

Re: Try send commands.

And what controller are you using?
The OpenHAB/HomeAssistant controller is the most generic one.

@Ath: We should add a documentation section on how to send commands over MQTT (OpenHAB/HomeAssistant) as it keeps raising questions
by TD-er
23 Jan 2021, 11:00
Forum: ESP Easy: Software
Topic: PlatformIO issue
Replies: 7
Views: 42

Re: PlatformIO issue

I have made a tutorial (sorry about the bad editing, I used Windows' own editor which didn't allow a preview and was quite unstable) on how to install PIO + VS code. https://www.youtube.com/watch?v=ArqwMcYSMsU&ab_channel=GijsNoorlander Maybe you missed a step somewhere? Are you using Python 3.7 ...
by TD-er
23 Jan 2021, 01:55
Forum: ESP Easy: General Discussion
Topic: error
Replies: 4
Views: 35

Re: error

I can't see the first screenshot, maybe because it has the same filename "Naamloos" ? In the logs I don't see any error. Just to make sure as it is not part of the screenshot. You do have the controller enabled? And it is also selected in the tasks you want to send to HA? You mention Domot...
by TD-er
23 Jan 2021, 00:22
Forum: ESP Easy: Projects / Applications
Topic: diy high temp ir fibre optic?
Replies: 4
Views: 41

Re: diy high temp ir fibre optic?

"Line of sight" or "blocking wave length" ?
Remember most glass is blocking IR light we call "heat".
It is also a very good mirror for IR light (every shiny surface is), so you're probably looking at somewhere else regarding IR light.
by TD-er
23 Jan 2021, 00:07
Forum: ESP Easy: Hardware
Topic: WT32-ETH01
Replies: 39
Views: 5555

Re: WT32-ETH01

If your board doesn't have an embedded USB to UART converter chip, you may need to trigger the boot-into-flash-mode yourself. To do this you need to perform these steps in this order: - Connect GPIO-0 via some resistor (470 Ohm, or direct connect) to GND - Reset the node, while keeping GPIO-0 connec...
by TD-er
22 Jan 2021, 22:35
Forum: ESP Easy: Hardware
Topic: MLX90614 with ESp8266 and EspEasy 1037.55
Replies: 9
Views: 73

Re: MLX90614 with ESp8266 and EspEasy 1037.55

I'm not sure if it is defective. More likely the connection is flaky. Which pins do you use for the I2C? Just the standard ones? (4 & 5) 20 cm long wire should not be a problem. And if you're using some kind of pull-up resistors (when they are not already present on the sensor boards) between 3k...
by TD-er
22 Jan 2021, 21:52
Forum: ESP Easy: Projects / Applications
Topic: diy high temp ir fibre optic?
Replies: 4
Views: 41

Re: diy high temp ir fibre optic?

What is your goal with this monitoring? Is it to make sure no gas will be left open if the flame is no longer burning? (or burning inefficient producing CO) When playing with those IR thermometers, you may have noticed it is quite hard to get a good reading for temperature. This is caused by reflect...
by TD-er
22 Jan 2021, 21:43
Forum: ESP Easy: General Discussion
Topic: RFC: How to custom-format display Task data in the Devices page
Replies: 2
Views: 35

Re: RFC: How to custom-format display Task data in the Devices page

Please have a look at those plugins where "PLUGIN_WEBFORM_SHOW_VALUES" is implemented. I think that does cover all the issues you're seeing? On top of that I guess we may need to have a look at the "UserVar" data as it is now used. Every piece of code can access it, which may lea...
by TD-er
22 Jan 2021, 16:49
Forum: ESP Easy: Software
Topic: Notify on temperature lower than 3°C
Replies: 3
Views: 36

Re: Notify on temperature lower than 3°C

You can do several things here. The most obvious one is to only set a flag once and inspect it when you receive a temp update event. But I can imagine it would be useful to set a loop timer (and reset it when the temperature is above some threshold) in which you play a sound or send a notify. N.B. I...
by TD-er
22 Jan 2021, 16:17
Forum: ESP Easy: Hardware
Topic: WT32-ETH01
Replies: 39
Views: 5555

Re: WT32-ETH01

What specific board is it? (link)
Do you know if there is some demo code available to verify the settings?
by TD-er
22 Jan 2021, 15:48
Forum: ESP Easy: Hardware
Topic: WT32-ETH01
Replies: 39
Views: 5555

Re: WT32-ETH01

I don't think the settings can damage the PCB. But I do know (from experience, sadly) that the LAN8710A chip can quite easily get damaged by ESD (electro static discharge) I have some boards (made by myself) and one of them was working just fine until it was taken out of its enclosure. After removin...
by TD-er
22 Jan 2021, 15:16
Forum: ESP Easy: General Discussion
Topic: can i do this in rules
Replies: 2
Views: 26

Re: can i do this in rules

The calculations are not (yet) working everywhere, so it is best to store them in a variable first as the "Let" command (to store some value in a variable) is for sure calling all calculation functions. Then you can compare based on this variable: if [var#1] = 1 ..... or using the "in...
by TD-er
22 Jan 2021, 15:11
Forum: ESP Easy: Hardware
Topic: WT32-ETH01
Replies: 39
Views: 5555

Re: WT32-ETH01

ethphytype needs an integer value. If it doesn't see an integer value, it will return the current value ("0") enum class EthPhyType_t : uint8_t { LAN8710 = 0, TLK110 = 1 }; Meaning the LAN8710 is type 0, so you have the type already set to this. Like I wrote in a reply earlier, I do expect...
by TD-er
22 Jan 2021, 14:33
Forum: ESP Easy: Projects / Applications
Topic: Stuck in "easy" project: PCF8591 and Moisture sensors
Replies: 12
Views: 579

Re: Stuck in "easy" project: PCF8591 and Moisture sensors

The "Analog Internal" one is as its name suggests, the analog to digital converter inside the ESP. The other "Analog" plugins are meant for other chips with an analog to digital converter which can be connected to the ESP. Most of those allow for higher resolution and/or more inp...
by TD-er
22 Jan 2021, 14:00
Forum: ESP Easy: Software
Topic: Unexpected progsize increase from release 20200410 to 2021014
Replies: 3
Views: 34

Re: Unexpected progsize increase from release 20200410 to 2021014

You should also define this:

Code: Select all

#define PLUGIN_BUILD_MINIMAL_OTA
This will define a number of other defines like:
- BUILD_MINIMAL_OTA
- LIMIT_BUILD_SIZE
- BUILD_NO_DEBUG

Of just define those yourself to reduce the build size even more.
by TD-er
22 Jan 2021, 13:56
Forum: ESP Easy: Projects / Applications
Topic: Stuck in "easy" project: PCF8591 and Moisture sensors
Replies: 12
Views: 579

Re: Stuck in "easy" project: PCF8591 and Moisture sensors

That build should be able to measure voltage on the A0 pin. For that you need to use the "Analog input - internal" plugin. The ESP8266 ADC pin input voltage range is 0 to 1V if you’re using the bare chip. However, most ESP8266 development boards come with an internal voltage divider, so th...
by TD-er
22 Jan 2021, 12:28
Forum: ESP Easy: General Discussion
Topic: Rfid pn532
Replies: 24
Views: 189

Re: Rfid pn532

marktn wrote: 22 Jan 2021, 12:24
This is no problem?
62180: WD : Uptime 1 ConnectFailures 0 FreeMem 20448 WiFiStatus WL_CONNECTED ESPeasy internal wifi status: Conn. IP Init
[/code]
That's a log entry appearing every minute, and looking good. (unless it was an unintentional reboot, given the uptime of 1 minute)
by TD-er
22 Jan 2021, 12:26
Forum: ESP Easy: General Discussion
Topic: Rfid pn532
Replies: 24
Views: 189

Re: Rfid pn532

It will also send an event which you can use in the rules to act on it.
by TD-er
22 Jan 2021, 12:19
Forum: ESP Easy: Hardware
Topic: WT32-ETH01
Replies: 39
Views: 5555

Re: WT32-ETH01

Via the web interface in the "hardware" tab. Or via commands. Taken from the source code: #ifdef HAS_ETHERNET COMMAND_CASE_R( "ethphyadr", Command_ETH_Phy_Addr, 1); // Network Command COMMAND_CASE_R( "ethpinmdc", Command_ETH_Pin_mdc, 1); // Network Command COMMAND_CASE_...
by TD-er
22 Jan 2021, 12:14
Forum: ESP Easy: General Discussion
Topic: Rfid pn532
Replies: 24
Views: 189

Re: Rfid pn532

System variable should be usable anywhere. For example in display plugins, controller publish path etc. Or do you mean a new output type? If you're thinking about those, please take a quick step back and have a look at the Domoticz controllers to realize what a potential mess it may become when addi...
by TD-er
22 Jan 2021, 12:12
Forum: ESP Easy: Projects / Applications
Topic: Stuck in "easy" project: PCF8591 and Moisture sensors
Replies: 12
Views: 579

Re: Stuck in "easy" project: PCF8591 and Moisture sensors

You have to use a bit which has NO "Vcc" in the bin name.
Otherwise you will measure the 3v3 supplied to the ESP.

Thus:
- Measure something on pin A0 => NO VCC!
- Measure supplied 3v3 voltage on the ESP => Use "VCC" build.
by TD-er
22 Jan 2021, 10:46
Forum: ESP Easy: Projects / Applications
Topic: Stuck in "easy" project: PCF8591 and Moisture sensors
Replies: 12
Views: 579

Re: Stuck in "easy" project: PCF8591 and Moisture sensors

A0 is a pin on the ESP board itself. N.B. if you want to use that pin, you need to use a build which does NOT have "VCC" in the file name. (those are meant to measure the voltage appllied to the ESP) How do you have this sensor connected? What voltage (relative to GND) is present on the pi...
by TD-er
22 Jan 2021, 10:39
Forum: ESP Easy: General Discussion
Topic: Rfid pn532
Replies: 24
Views: 189

Re: Rfid pn532

Ath wrote: 22 Jan 2021, 08:51 [...] like # seconds of today (%syssec_d% and friends) converted into HH:MM:SS display.
We already have those.
by TD-er
22 Jan 2021, 10:37
Forum: ESP Easy: General Discussion
Topic: esps (D1mini) auto disconnect from router !
Replies: 10
Views: 243

Re: esps (D1mini) auto disconnect from router !

Have you enabled to send out Gratuituous ARP packets (tools->Advanced bottom of the page) ?
If not, please do enable it.
by TD-er
21 Jan 2021, 22:28
Forum: ESP Easy: General Discussion
Topic: Rfid pn532
Replies: 24
Views: 189

Re: Rfid pn532

How do you send it to Domoticz? Via a connected controller, or via rules?
by TD-er
21 Jan 2021, 22:16
Forum: ESP Easy: Hardware
Topic: MLX90614 with ESp8266 and EspEasy 1037.55
Replies: 9
Views: 73

Re: MLX90614 with ESp8266 and EspEasy 1037.55

Hmm that plugin is not changed for a while and also not a lot of issues about it. So either the issue you're seeing is perhaps more hardware related, or it isn't used a lot. What value of pull-up resistors do you use? How long is the cable? Does the sensor show up at that address when you perform an...
by TD-er
21 Jan 2021, 21:59
Forum: ESP Easy: General Discussion
Topic: Rfid pn532
Replies: 24
Views: 189

Re: Rfid pn532

Does it show if you refresh the devices page?
by TD-er
21 Jan 2021, 16:50
Forum: ESP Easy: Hardware
Topic: WT32-ETH01
Replies: 39
Views: 5555

Re: WT32-ETH01

Why not use the "eth" ones from the last nightly build?
https://github.com/letscontrolit/ESPEas ... 210114.zip
by TD-er
21 Jan 2021, 10:39
Forum: ESP Easy: Hardware
Topic: WT32-ETH01
Replies: 39
Views: 5555

Re: WT32-ETH01

Olimex has several boards with LAN, with different pin configurations. Not all of them use a pin to power/reset the LAN chip. The Olimex boards (as far as I know) do use the LAN8710A, not the LAN8720A. But as far as I know the main difference between both is (apart from the pin count) the LAN8710A d...
by TD-er
20 Jan 2021, 23:51
Forum: ESP Easy: Hardware
Topic: WT32-ETH01
Replies: 39
Views: 5555

Re: WT32-ETH01

How did you build it? I did a test yesterday with the current master branch of ESP32 Arduino and even though the build looks to work, I could not get ethernet to work (LAN8710A chip) Reverting to the revision referred to by PlatformIO's espressif32@2.1.0 and with the same code and settings all worke...
by TD-er
20 Jan 2021, 22:21
Forum: ESP Easy: General Discussion
Topic: Push button event every reboot or power on. Bug?
Replies: 1
Views: 48

Re: Push button event every reboot or power on. Bug?

Have you also looked here: https://espeasy.readthedocs.io/en/lates ... /P029.html
??
It does mainly help on Domoticz MQTT, but it does make things a lot simpler for interacting with GPIOs and Domoticz
by TD-er
20 Jan 2021, 19:58
Forum: ESP Easy: Software
Topic: use of sendto , sendtoudp or sendtohttp
Replies: 4
Views: 118

Re: use of sendto , sendtoudp or sendtohttp

Please use the %eventvalue% in the rules instead of looking at the task values [taskname#varname] syntax.
See: https://espeasy.readthedocs.io/en/lates ... eventvalue
by TD-er
20 Jan 2021, 19:53
Forum: ESP Easy: Hardware
Topic: 8 evnironment sensors SHT31 via I2C Multiplexer, cablelength
Replies: 7
Views: 240

Re: 8 evnironment sensors SHT31 via I2C Multiplexer, cablelength

Just to be sure... You don't have low voltage cables along with the mains power lines in the same PVC tube, right? The Dutch NEN1010 regulations do not allow to have low voltage and mains lines in the same tube. I can imagine other countries have similar regulations and I also would like to keep our...
by TD-er
20 Jan 2021, 18:09
Forum: ESP Easy: Software
Topic: SCD30 - CO2 sensor
Replies: 11
Views: 11484

Re: SCD30 - CO2 sensor

Change

Code: Select all

SendStatus(event->Source, log);
into

Code: Select all

SendStatus(event, log);
by TD-er
20 Jan 2021, 14:53
Forum: ESP Easy: Software
Topic: Plug-in for MAX31865 RTD or MAX31856 Thermocouple IC?
Replies: 7
Views: 3650

Re: Plug-in for MAX31865 RTD or MAX31856 Thermocouple IC?

I have a set of them in my drawer of "things to implement in ESPEasy", but sadly that's all I got done so far :(
by TD-er
20 Jan 2021, 12:15
Forum: ESP Easy: Software
Topic: use of sendto , sendtoudp or sendtohttp
Replies: 4
Views: 118

Re: use of sendto , sendtoudp or sendtohttp

What Ton means is you have to try to call the "command" URL of the other ESP. To get the full url, try to run the event command first on the ESP via the command field on the Tools page. This will cause a reload of the page with the full command encoded in the URL. You can use this URL in t...
by TD-er
19 Jan 2021, 21:19
Forum: ESP Easy: Software
Topic: version help
Replies: 2
Views: 86

Re: version help

Sounds like normal_ESP8266_4M1M
See also the readme file in the ZIP :)