Search found 8770 matches

by TD-er
23 Oct 2020, 20:02
Forum: uPyEasy: Hardware
Topic: The MH-Z19 in high co2 and humidity
Replies: 29
Views: 36165

Re: The MH-Z19 in high co2 and humidity

Lots of plants in the room?
Plants take in CO2 during the day, but exhale CO2 during the night.
by TD-er
23 Oct 2020, 18:42
Forum: uPyEasy: Hardware
Topic: The MH-Z19 in high co2 and humidity
Replies: 29
Views: 36165

Re: The MH-Z19 in high co2 and humidity

The MH-Z19 should be calibrated from the factory, so the initial readings should be spot-on. The so called "burn in", if any, could be that it might need to have the ABC active more often when it is new. But since it has factory calibration, I would expect it is showing accurate values whe...
by TD-er
23 Oct 2020, 18:38
Forum: ESP Easy: General Discussion
Topic: Wemos D1 Mini and Latest Releases
Replies: 23
Views: 14704

Re: Wemos D1 Mini and Latest Releases

Hmm that's sad as 100 units is quite a lot.
Let's hope you can arrange something with the seller.
by TD-er
23 Oct 2020, 15:48
Forum: ESP Easy: General Discussion
Topic: Wemos D1 Mini and Latest Releases
Replies: 23
Views: 14704

Re: Wemos D1 Mini and Latest Releases

As he mentioned: 9.) These D1 Minis have no external antenna connector

As far as I know, only the 16M versions (so called "pro") have an IPEX connector
by TD-er
23 Oct 2020, 15:42
Forum: ESP Easy: General Discussion
Topic: Wemos D1 Mini and Latest Releases
Replies: 23
Views: 14704

Re: Wemos D1 Mini and Latest Releases

Hmm this is a strange error: 69685 : Error : WIFI : Could not prepare WiFi! That should not occur if you have a proper SSID/key provided. This stable power supply you tried, is that 5V, or 3.3V? The reason I ask is because there are quite a few boards out there which have a 3v3 voltage regulator tha...
by TD-er
23 Oct 2020, 13:00
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project - 2
Replies: 52
Views: 50081

Re: USB KVM Switch modify project - 2

Question for electricians here : If you power the lolin through the KVM, can you drive those lines to GND directly or it'll damage the Lolin ? [...] Well it depends a bit on how you wire it, but I would expect you only pull a line to GND which is pulled up via a pull-up resistor. That's how almost ...
by TD-er
23 Oct 2020, 12:55
Forum: ESP Easy: Software
Topic: forwarding Rx/TX of UART via MQTT
Replies: 8
Views: 8566

Re: forwarding Rx/TX of UART via MQTT

Well I've tested the Serial Proxy plugin for a while forwarding strings upto 500+ bytes per message. (at a rate of around 1 per second) However this data still needs to be sent to the controller and as it has a queue mechanism per controller (see controller settings) it might be the memory fills up ...
by TD-er
23 Oct 2020, 12:45
Forum: ESP Easy: General Discussion
Topic: Wemos D1 Mini and Latest Releases
Replies: 23
Views: 14704

Re: Wemos D1 Mini and Latest Releases

Most were already mentioned, but good to have them in a list together: - Try with placing an extra capacitor over the 3v3 line and GND (100 - 470 uF) - Try powering it via another power source, other than USB. - Try older builds - Try build with "beta" or "alt-wifi" in the name -...
by TD-er
23 Oct 2020, 00:16
Forum: ESP Easy: General Discussion
Topic: Wemos D1 Mini and Latest Releases
Replies: 23
Views: 14704

Re: Wemos D1 Mini and Latest Releases

Hmm yep, that's a good point.
If the older build was working, then you may also want to try to power the ESP directly on the 3v3 line using a proper voltage regulator.
Maybe also add an extra capacitor between the 3v3 line and GND?
by TD-er
22 Oct 2020, 19:01
Forum: ESP Easy: General Discussion
Topic: Wemos D1 Mini and Latest Releases
Replies: 23
Views: 14704

Re: Wemos D1 Mini and Latest Releases

Well 100 doorstops is something you may want to fix. What kind of D1 mini's do you have? The ones with an IPEX connector for an external antenna? If so, please have a look at the 0 Ohm resistor near this IPEX header. Is it connecting the PCB antenna or the IPEX header? If it is pointing to the wrong...
by TD-er
22 Oct 2020, 16:31
Forum: ESP Easy: General Discussion
Topic: Wemos D1 Mini and Latest Releases
Replies: 23
Views: 14704

Re: Wemos D1 Mini and Latest Releases

And when it shows the logs " WIFI : Set WiFi to AP+STA" can you then see the mentioned access point "ESP-Easy" ?
Can you connect to it using your phone (pass: configesp) and navigate to IP 192.168.4.1 ?
by TD-er
22 Oct 2020, 16:28
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 309
Views: 10895480

Re: Support for PZEM 004T Energy monitor

What do you mean? This sensor is using the (Hardware) serial port, so you must uncheck "Enable Serial port:" on the Tools->Advanced page. This does make sure no logs are sent to the serial port and also any incomming data is not interpreted as commands and thus allows exclusive access to t...
by TD-er
22 Oct 2020, 14:40
Forum: ESP Easy: General Discussion
Topic: Wemos D1 Mini and Latest Releases
Replies: 23
Views: 14704

Re: Wemos D1 Mini and Latest Releases

Does setting the SSID + wifikey + save work to get the device to boot and also connect to wifi?

I got the feeling saving to the settings file may fail here, which may be related to the used flash chip.
by TD-er
22 Oct 2020, 14:38
Forum: ESP Easy: Software
Topic: forwarding Rx/TX of UART via MQTT
Replies: 8
Views: 8566

Re: forwarding Rx/TX of UART via MQTT

Please have a look at the SerialProxy plugin and also the discussion here: viewtopic.php?f=6&t=7960&p=47301&hilit= ... oxy#p47301
by TD-er
22 Oct 2020, 10:41
Forum: ESP Easy: General Discussion
Topic: Wemos D1 Mini and Latest Releases
Replies: 23
Views: 14704

Re: Wemos D1 Mini and Latest Releases

Yep that's the sort of info needed. So it does boot, indicating the flash was successful. And it doesn't find any WiFi settings, which is understandable given you erased all flash. So you can try to find it via WiFi on your mobile (or laptop) or while still connected to the serial port you can also ...
by TD-er
22 Oct 2020, 10:18
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project - 2
Replies: 52
Views: 50081

Re: USB KVM Switch modify project - 2

Well I think it isn't a bad idea here to use optocouplers to replace or override the switches.
After all you don't know if the switches are connected to GND or Vcc and changing impedance may affect the operation of the KVM switch.
by TD-er
21 Oct 2020, 18:41
Forum: ESP Easy: General Discussion
Topic: Wemos D1 Mini and Latest Releases
Replies: 23
Views: 14704

Re: Wemos D1 Mini and Latest Releases

Can you see what flash chip is present? The esptool.py flasher also shows this when trying to flash it via USB to serial. Just to be clear, the ESP_Easy_mega_20201016_normal_ESP8266_4M1M should be a good choice for the Wemos D1 mini. Can you also get some logs of the ESP when it boots? (via serial w...
by TD-er
21 Oct 2020, 18:39
Forum: ESP Easy: Software
Topic: P1 meter working but nothing seen in espeasy
Replies: 2
Views: 5474

Re: P1 meter working but nothing seen in espeasy

Plugins that use the serial port, should use that port exclusively. So this means you need to uncheck (!!) the checkbox for "Enable Serial port:" If you uncheck this, the log level setting for serial log is also ignored. Just make sure the presence of an USB to serial chip is not affecting...
by TD-er
21 Oct 2020, 18:35
Forum: ESP Easy: Software
Topic: [P092] issues on UVR61-3 with DL bus
Replies: 1
Views: 5004

Re: [P092] issues on UVR61-3 with DL bus

Just to give you some more insights in the plugin flow to help you debug. PLUGIN_WEBFORM_SAVE is indeed called when you press the submit button on the web page for the task config. N.B. this indirectly also calls PLUGIN_EXIT and PLUGIN_INIT (if task is enabled) PLUGIN_INIT is called when task is ena...
by TD-er
20 Oct 2020, 20:14
Forum: uPyEasy: Hardware
Topic: The MH-Z19 in high co2 and humidity
Replies: 29
Views: 36165

Re: The MH-Z19 in high co2 and humidity

The mounting instructions provided by SenseAir suggest to have a gap of at least 1 mm between the diffusion window and a flat surface.
So I guess it will be similar for the MH-Z19 sensor.

Do not try to use the calibration command, as you will not have a known concentration.
by TD-er
20 Oct 2020, 01:12
Forum: uPyEasy: Hardware
Topic: The MH-Z19 in high co2 and humidity
Replies: 29
Views: 36165

Re: The MH-Z19 in high co2 and humidity

Since those sensors do not switch back to "400 ppm" in 1 step, I guess you may need to run it for at least 2 times the ABC interval + some. Another thing you can do is to think of a way to easily swap a unit, so you can let it run "outside" the container for a while on a 2nd node...
by TD-er
19 Oct 2020, 23:42
Forum: ESP Easy: Hardware
Topic: Copper filling for PCB or not ?
Replies: 8
Views: 12411

Re: Copper filling for PCB or not ?

Woops, yes that one I missed. I'm using the ESP07S myself on my boards, so those don't have the PCB antenna but have an IPEX connector for an external antenna. You could still go for the Wemos boards that also have such an antenna connector. Just be aware if you need to move a 0 Ohm resistor to swit...
by TD-er
19 Oct 2020, 23:40
Forum: uPyEasy: Hardware
Topic: The MH-Z19 in high co2 and humidity
Replies: 29
Views: 36165

Re: The MH-Z19 in high co2 and humidity

You need to understand the CO2 sensor will "degrade" over time. Like I said before, the amount of IR absorption is measured, but for that you need to know how much IR was put in. The light source can (and will) degrade over time. Also the detector may become dirty and thus measure less IR ...
by TD-er
19 Oct 2020, 21:19
Forum: uPyEasy: Hardware
Topic: The MH-Z19 in high co2 and humidity
Replies: 29
Views: 36165

Re: The MH-Z19 in high co2 and humidity

For > 24h on the MH-Z19, make sure to turn off ABC.
The default ABC period of SenseAir sensors is 7 days.
In the ABC period the CO2 concentration should be as low as possible for at least a few measurement intervals or else the 400 ppm level will be off.
by TD-er
19 Oct 2020, 20:58
Forum: uPyEasy: Hardware
Topic: The MH-Z19 in high co2 and humidity
Replies: 29
Views: 36165

Re: The MH-Z19 in high co2 and humidity

The area for detecting the IR absorption is not available from the outside. So I don't think it is matching your idea of how to implement it. You can however just place the sensor in a large bottle which is mounted outside the tank. As long as it remains dry it should work. Also make sure to have th...
by TD-er
19 Oct 2020, 18:45
Forum: ESP Easy: General Discussion
Topic: Load in Sytem Info
Replies: 3
Views: 6194

Re: Load in Sytem Info

See the System Variables page on the Tools page.
There you can find the %sysload% variable which can be used just about anywhere.
You can also select the "System Info" plugin as a task and then it can be selected just like any other sensor value.
by TD-er
19 Oct 2020, 18:42
Forum: uPyEasy: Hardware
Topic: The MH-Z19 in high co2 and humidity
Replies: 29
Views: 36165

Re: The MH-Z19 in high co2 and humidity

An NDIR sensor is optical, but it cannot be used to measure through glass. For example the SenseAir sensors use mirrors to increase the path of the light to make a more reliable measurement. The working principle is to compare the absorption of a specific wavelength. So you need to know the length o...
by TD-er
19 Oct 2020, 15:37
Forum: ESP Easy: Hardware
Topic: Copper filling for PCB or not ?
Replies: 8
Views: 12411

Re: Copper filling for PCB or not ?

Well lots of things are also above my level, but once you've heard about things it still keeps wondering around in your mind and some day it may be useful :) I know a colleague of mine told me this about the path of return currents years ago and I was like sure that's nice to know when working with ...
by TD-er
19 Oct 2020, 15:31
Forum: ESP Easy: General Discussion
Topic: syslog logging
Replies: 1
Views: 5683

Re: syslog logging

The log level is not set in the Info/Kernel/None part of the syslog setting. That's a flag for the syslog server to which log files the logs should be sent. (Syslog calls it a "facility") Some syslog implementations also allow to take action on logs sent to specific log targets. The log le...
by TD-er
19 Oct 2020, 15:24
Forum: ESP Easy: General Discussion
Topic: Stack overflow at chained events in irrigation-control-rules
Replies: 31
Views: 20213

Re: Stack overflow at chained events in irrigation-control-rules

Well I do think it is undesired behavior for the unit to crash. So that crashing part is a bug.
But on the other hand, performing recursion via events in the rules processing is something you should try to avoid as we simply don't have a lot of resources on the ESP.
by TD-er
19 Oct 2020, 15:22
Forum: uPyEasy: Hardware
Topic: The MH-Z19 in high co2 and humidity
Replies: 29
Views: 36165

Re: The MH-Z19 in high co2 and humidity

Well like I said, I only know the SenseAir sensors and the MH-Z19 Both don't do well on high humidity environments. Can't you use some construction with a tube to blow air through the water and collect the bubbles coming out of it in some column above the water? After measurement you could then rele...
by TD-er
19 Oct 2020, 00:36
Forum: ESP Easy: General Discussion
Topic: Wake on Lan?
Replies: 34
Views: 26261

Re: Wake on Lan?

Plugin writing 101 :)
by TD-er
19 Oct 2020, 00:35
Forum: ESP Easy: General Discussion
Topic: Best choice for 6 GPIO connection
Replies: 11
Views: 9500

Re: Best choice for 6 GPIO connection

Why not use a GPIO expander chip to control the relais?
Those do not have to be switched very frequently so an expander is very well suitable for those.
by TD-er
19 Oct 2020, 00:34
Forum: ESP Easy: General Discussion
Topic: Stack overflow at chained events in irrigation-control-rules
Replies: 31
Views: 20213

Re: Rule-help with irrigation control

Maybe I can use AsyncEvent in the rules AS workaround. I'll look... But how can one device and 12 lines (9 lines with the 3 events) create a stack overflow? Is it possible, that the events are started too quickly after each other? Well we only have 4k stack in total on the ESP. And the rules parsin...
by TD-er
19 Oct 2020, 00:31
Forum: uPyEasy: Hardware
Topic: The MH-Z19 in high co2 and humidity
Replies: 29
Views: 36165

Re: The MH-Z19 in high co2 and humidity

Are you sure it isn't the CCS811? That one isn't a true CO2 sensor, but a VOC sensor. So it does measure some (completely different) other gasses concentrations and then tries to derive a value that could be used as an CO2 like concentration in specific circumstances. The CCS811 does also need a 2nd...
by TD-er
19 Oct 2020, 00:24
Forum: ESP Easy: General Discussion
Topic: HTTP get command for sensor value
Replies: 32
Views: 42470

Re: HTTP get command for sensor value

Yes, all SENSOR_TYPE_xxx should be prefixed by Sensor_VType::
by TD-er
18 Oct 2020, 21:47
Forum: ESP Easy: General Discussion
Topic: HTTP get command for sensor value
Replies: 32
Views: 42470

Re: HTTP get command for sensor value

I think that's also a more recent change in the ESPEasy core source code.


Add: #include src/DataStructs/DeviceStruct.h

And append Sensor_VType:: in front of the SENSOR_TYPE_...

Like this: Sensor_VType::SENSOR_TYPE_SWITCH:
by TD-er
18 Oct 2020, 21:08
Forum: ESP Easy: General Discussion
Topic: Wake on Lan?
Replies: 34
Views: 26261

Re: Wake on Lan?

Thomas, you can use Plugin ID 101.
Looks like a nice number for network related plugin :)
by TD-er
18 Oct 2020, 21:04
Forum: uPyEasy: Hardware
Topic: The MH-Z19 in high co2 and humidity
Replies: 29
Views: 36165

Re: The MH-Z19 in high co2 and humidity

What order of magnitude CO2 concentration do you expect to have? The MH-Z19 is available in various versions. (and some also change the range via commands, but I would not advice it as it has no calibration data for the extended range) The most common version has a range of 400 ... 2000 ppm, but the...
by TD-er
18 Oct 2020, 20:56
Forum: ESP Easy: Projects / Applications
Topic: Smart Gas Meter - Battery Powered - DeepSleep
Replies: 2
Views: 11852

Re: Smart Gas Meter - Battery Powered - DeepSleep

You can also use the internal pull-up resistors of the GPIO pins and set them from the pin bootstates tab as that's being loaded even before the ESP enters the loop. So then the pin to block the reset (using a logic port I assume?) can be set high. N.B. not all pins are usable for this, as some may ...
by TD-er
18 Oct 2020, 20:51
Forum: ESP Easy: General Discussion
Topic: Stack overflow at chained events in irrigation-control-rules
Replies: 31
Views: 20213

Re: Rule-help with irrigation control

[...] Event Test2 & Test3 works and event Test1 creates the exception. That's causing a chain of events, so I guess you're creating a stack overflow there. Is it really needed to have the events handled immediately? If not, please call asyncevent instead of event, so the event will be queued. T...
by TD-er
18 Oct 2020, 20:44
Forum: ESP Easy: Hardware
Topic: Copper filling for PCB or not ?
Replies: 8
Views: 12411

Re: Copper filling for PCB or not ?

If you would like to see more about the effects of the "return current", you can see this very interesting video about it: https://www.youtube.com/watch?v=4nEd1jT ... ertFeranec
by TD-er
17 Oct 2020, 21:02
Forum: ESP Easy: Hardware
Topic: Copper filling for PCB or not ?
Replies: 8
Views: 12411

Re: Copper filling for PCB or not ?

I always try to use one side for the GND and one for the power line that's most used. So the copper pour then also acts as a (much) wider track, but more importantly you have a higher chance the return current has room to follow its preferred path. Just some info on the return current. With frequenc...
by TD-er
17 Oct 2020, 14:25
Forum: ESP Easy: Software
Topic: MLX90614 temperature 1037
Replies: 10
Views: 9483

Re: MLX90614 temperature 1037

Hmm can you attach another sensor on the I2C bus so maybe that one has internal pull-up resistors? Or maybe you can set the boot state of the I2C pins to be using the ESP's internal pull-up resistors? (since the Arduino sketch does seem to work) I notice there is no I2C address setting in this plugi...
by TD-er
17 Oct 2020, 14:22
Forum: ESP Easy: General Discussion
Topic: ESP Easy Mega: Stromcount, more values?
Replies: 6
Views: 6884

Re: ESP Easy Mega: Stromcount, more values?

Yes it is possible to send the values and also to apply the formula in the task itself.

But I guess it is better to have them computed in the rules.
Right now I don't have time to help writing those rules, but maybe someone else can already help you until I have time for it.
by TD-er
17 Oct 2020, 14:19
Forum: ESP Easy: General Discussion
Topic: timer
Replies: 20
Views: 11226

Re: timer

And to complement Ton's answer.
I don't think the "new rules" as they are implemented right now, will probably not be continued.
Maybe I should relabel them as "experimental" instead of "new"
by TD-er
17 Oct 2020, 09:35
Forum: ESP Easy: General Discussion
Topic: automatic switching of the GPIO
Replies: 11
Views: 16025

Re: automatic switching of the GPIO

Good to hear.
Thanks for the update
by TD-er
17 Oct 2020, 09:34
Forum: ESP Easy: General Discussion
Topic: ESP Easy Mega: Stromcount, more values?
Replies: 6
Views: 6884

Re: ESP Easy Mega: Stromcount, more values?

Ah OK. Well you could create a dummy task in which you can store data (via rules) The idea is that task values (incl. dummy tasks) are kept during a crash/reboot as long as the unit remains powered. See the command taskvalueset: https://espeasy.readthedocs.io/en/latest/Rules/Rules.html?highlight=tas...