Search found 92 matches

by chemmex
06 Feb 2024, 06:26
Forum: ESP Easy: Projects / Applications
Topic: Air Quality unit - which devices are best?
Replies: 54
Views: 2704

Re: Air Quality unit - which devices are best?

There is also a somewhat newer Sensirion SEN55 (shop link) combined sensor, that has many of the sensors you want to use, but has some overlap with the SenseAir S8, but the SEN55 doesn't yet have support in ESPEasy... :oops: (sorry for the teaser ;)) Actually, there's no overlap between SEN55 and S...
by chemmex
06 Feb 2024, 06:19
Forum: ESP Easy: Projects / Applications
Topic: Air Quality unit - which devices are best?
Replies: 54
Views: 2704

Re: Air Quality unit - which devices are best?

From the sensor side, I would recommend SCD40/41 for CO2, temperature and humidity, they are almost as precise as SensAir while cheaper, more compact, and less power hungry. SEN54/55 can be added for PM and VOC measurement, or it can be PMS7003 and SGP40/41 combo. I had to flash Tasmota to test SEN5...
by chemmex
17 Dec 2023, 11:42
Forum: ESP Easy: General Discussion
Topic: Seeking Advice on Integrating LoRa Project into ESP Easy
Replies: 17
Views: 7349

Re: Seeking Advice on Integrating LoRa Project into ESP Easy

If I understood correctly from the docs, there is no formal protocol but rather a set of ASCII commands for module configuration, which is making it proprietary as opposed to more or less standardized AT command set. Why I am raising this question is that I think it would be great to have a controll...
by chemmex
16 Dec 2023, 15:07
Forum: ESP Easy: General Discussion
Topic: Seeking Advice on Integrating LoRa Project into ESP Easy
Replies: 17
Views: 7349

Re: Seeking Advice on Integrating LoRa Project into ESP Easy

TD-er wrote: I only have implemented support for RN2483 as that module already has a fully certified LoRaWAN stack on board.
Does it use AT commands or some kind of proprietary serial protocol?
by chemmex
03 Aug 2023, 08:49
Forum: ESP Easy: Hardware
Topic: ESP won't go into Deep sleep just when GPIO16 is pulled low?
Replies: 7
Views: 1596

Re: ESP won't go into Deep sleep just when GPIO16 is pulled low?

I think something may be wrong with your module. ESP easily falls into deep sleep with GPIO16 floating or pulled down. Proven on a bare ESP-12F module. Second, GPIO16 in ESPEasy is an output. This means that you can connect two outputs (GPIO16 and, for instance, PIR) only if they are normally in hig...
by chemmex
28 Jul 2023, 17:43
Forum: ESP Easy: Hardware
Topic: ESP won't go into Deep sleep just when GPIO16 is pulled low?
Replies: 7
Views: 1596

Re: ESP won't go into Deep sleep just when GPIO16 is pulled low?

I believe GPIO16 is an output internally connected to the RTC timer and affects only wakeup behaviour when connected to Reset input. ESP should go to sleep by a command regardless of what's going on with the GPIO16. Then, while sleeping, an on-off pulse to Reset pin will wake it up. So, if you use t...
by chemmex
13 Mar 2023, 13:05
Forum: ESP Easy: General Discussion
Topic: Cache Reader Plugin
Replies: 14
Views: 2137

Re: Cache Reader Plugin

Suddenly, I got it working after full reset of the node, so I am receiving CSV data in the upload topic
by chemmex
13 Mar 2023, 12:41
Forum: ESP Easy: General Discussion
Topic: Cache Reader Plugin
Replies: 14
Views: 2137

Re: Cache Reader Plugin

Can you add something like this to the rules: CODE: SELECT ALL In fact, I am publishing some basic system info upon MQTT#Connected, so this part works without problems. Except for this line: // Also send the taskinfo used by the cache reader task. cachereader,sendtaskinfo This doesn't send anything...
by chemmex
13 Mar 2023, 11:40
Forum: ESP Easy: General Discussion
Topic: Cache Reader Plugin
Replies: 14
Views: 2137

Re: Cache Reader Plugin

Nothing changed so far after power cycle. My current config is following: - two controllers (C005/MQTT and C016/Cache) - SHT30 sensor task sending data each 20 seconds to Cache Controller - Cache reader plugin configured as few posts above - a rule publishing some telemetry data to the broker config...
by chemmex
12 Mar 2023, 23:50
Forum: ESP Easy: General Discussion
Topic: Cache Reader Plugin
Replies: 14
Views: 2137

Re: Cache Reader Plugin

I will try with a clean config tomorrow.

Thanks and good night!
by chemmex
12 Mar 2023, 23:15
Forum: ESP Easy: General Discussion
Topic: Cache Reader Plugin
Replies: 14
Views: 2137

Re: Cache Reader Plugin

Yes to all three questions. The node regularly publishes data from the rules. The broker has no restrictions.
As to the FilePos of 1824, it is also the size of cacheFile, it contains the sensor data collected so far (77 lines in dumped CSV file):

fb.png
fb.png (6.9 KiB) Viewed 2116 times
by chemmex
12 Mar 2023, 22:59
Forum: ESP Easy: General Discussion
Topic: Cache Reader Plugin
Replies: 14
Views: 2137

Re: Cache Reader Plugin

No luck with both commands. Below is plugin setup:
146.png
146.png (143.39 KiB) Viewed 2123 times
and task info:
8.png
8.png (11.44 KiB) Viewed 2123 times
Log only shows the command itself

Code: Select all

1483080: HTTP: cachereader,setreadpos,0,0
1483086: CacheReader : SetReadPos,0,0
but nothing is sent and the cachefile size remains the same
by chemmex
12 Mar 2023, 22:34
Forum: ESP Easy: General Discussion
Topic: Cache Reader Plugin
Replies: 14
Views: 2137

Re: Cache Reader Plugin

Thanks a lot.

I am able to save sensor data to the cache files; the question is rather how can I control sending the cached readings to the MQTT. Are there separate commands or it is scheduled by the plugin? So far I am not seeing anything in the logs or at the broker.
by chemmex
12 Mar 2023, 21:38
Forum: ESP Easy: General Discussion
Topic: Cache Reader Plugin
Replies: 14
Views: 2137

Cache Reader Plugin

Inspired by the 20230304 release notes, I have built a custom image with P146 included, but so far a lot of questions remain. I'm particularly interested in bulk sending of stored data. TD-er , I realize that writing docs takes even more effort than writing code itself, but can you give an idea of h...
by chemmex
12 Mar 2023, 00:25
Forum: ESP Easy: Hardware
Topic: BMP280 Accuracy – Four sensors, four values – How to calibrate?
Replies: 7
Views: 2270

Re: BMP280 Accuracy – Four sensors, four values – How to calibrate?

This is very common with all BMx sensors regardless of where they were purchased. Basically, they all exhibit positive offset of up to 3 degrees.
You may calibrate them by two points, the large the distance the better. The resulting coefficients could then be put into the formula field of the task
by chemmex
09 Jan 2023, 19:30
Forum: ESP Easy: General Discussion
Topic: Very long time connecting to WiFi
Replies: 62
Views: 22607

Re: Very long time connecting to WiFi

TD-er wrote: 09 Jan 2023, 00:22 That's on purpose, to make sure those units with poor power supplies and flaky board designs (<kuch> Sonoff Basic </>) to be able to connect to WiFi.
Maybe make it a build-time option? To preserve some power for sleep mode devices?
by chemmex
27 Dec 2022, 17:10
Forum: ESP Easy: Hardware
Topic: Sensair S8
Replies: 118
Views: 89320

Re: Sensair S8

I use S8 with ESP-12F, connection is via HWSerial0, that is GPIO1 and GPIO3. As far as I know, there are no external pull ups or downs at these pins on ESP-01, so you are free to connect S8 to them.
by chemmex
07 Dec 2022, 16:47
Forum: ESP Easy: General Discussion
Topic: Backup/restore filesystem on ESP8266
Replies: 1
Views: 1099

Backup/restore filesystem on ESP8266

What's the best way to backup a filesystem image in order to flash it back via OTP? ESP8266 is 4M1M
Basically, I want to preserve current config
by chemmex
26 Nov 2022, 00:18
Forum: ESP Easy: Hardware
Topic: ZE16B CO SENSOR
Replies: 4
Views: 1423

Re: ZE16B CO SENSOR

From my experience with Winsen devices, there is not much consistency in serial protocols of their numerous sensors, but for this particular unit it looks quite simple.

And since the protocol is binary, I would use RealTerm instead of Putty
by chemmex
26 Nov 2022, 00:02
Forum: ESP Easy: Hardware
Topic: Sensirion SCD4X family modules
Replies: 44
Views: 13913

Re: Sensirion SCD4X family modules

I have a pair of SCD40 and SCD41 on the bench working for over a month. Both were initially reset to defaults and had the same settings - periodic measurements with autocalibration enabled. During 3 weeks SCD40 was showing 200 ppm less than SCD41 until one day both were taken to the fresh air. After...
by chemmex
19 Nov 2022, 23:34
Forum: ESP Easy: General Discussion
Topic: Very long time connecting to WiFi
Replies: 62
Views: 22607

Re: Very long time connecting to WiFi

When testing external RTC around 10 November, I noticed that ESP8266 made 3 attempts to connect to the same AP of which only third was successful. It even started AP mode in between attempts. INIT : Booting version: ESP_Easy_mega_20221108_custom_ESP8266_4M1M, (Self built) 20221108TZ_noDebug (ESP82xx...
by chemmex
11 Nov 2022, 03:07
Forum: ESP Easy: General Discussion
Topic: Wemos D1 Deep Sleep Problem
Replies: 4
Views: 1475

Re: Wemos D1 Deep Sleep Problem

Do you have a chance to connect a serial console to the Wemos to see what's going on?
by chemmex
10 Nov 2022, 16:46
Forum: ESP Easy: General Discussion
Topic: Wemos D1 Deep Sleep Problem
Replies: 4
Views: 1475

Re: Wemos D1 Deep Sleep Problem

First thing to check is whether Deep Sleep Alternative is enabled in the Advanced settings. This is a new standard for a deep sleep, default works very randomly
by chemmex
10 Nov 2022, 16:31
Forum: ESP Easy: Projects / Applications
Topic: New WX project launched
Replies: 12
Views: 3891

Re: New WX project launched

I will use CN3791 designed for LiIon charging CN3791 is a good choice, but to make MPPT work, it requires that panel's capability should match the charging current. From my experience, when your charging current is set for example to 2A, but your panel can provide only 0.3A @17V, then the circuit w...
by chemmex
10 Nov 2022, 11:35
Forum: ESP Easy: Software
Topic: External Time Source -DS3231 need help
Replies: 67
Views: 14248

Re: External Time Source -DS3231 need help

Compiled current sources and getting strange results: When both NTP and Ext RTC enabled, I see that NTP is called in only 1 out of 10 consequent startups. In other 9 the unit keeps wrong time read from the DS3231. If Ext time source is set to None, the NTP is called immediately next to WiFi#Connecte...
by chemmex
08 Nov 2022, 22:37
Forum: ESP Easy: Projects / Applications
Topic: New WX project launched
Replies: 12
Views: 3891

Re: New WX project launched

4x cell parallel. Is a SOLAR - INA219 (for info about solar current)- DC/DC - BATERRY + MCU, all devices is on 3,3V, just FAN is direct from baterry So you are using the buck converter as a charger? I am not sure it's a good idea, LiPo batteries require Constant current/Constant voltage charging mo...
by chemmex
08 Nov 2022, 21:40
Forum: ESP Easy: Software
Topic: External Time Source -DS3231 need help
Replies: 67
Views: 14248

Re: External Time Source -DS3231 need help

Super, ready to test before the new build is released
by chemmex
08 Nov 2022, 20:42
Forum: ESP Easy: Software
Topic: External Time Source -DS3231 need help
Replies: 67
Views: 14248

Re: External Time Source -DS3231 need help

Found an NTP transaction in the log, 10 min after the previous message: 3564139: EVENT: Clock#Time=Sat,4:29 3582556: WD : Uptime 60 ConnectFailures 0 FreeMem 20984 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init 3612556: WD : Uptime 60 ConnectFailures 0 FreeMem 20960 WiFiStatus...
by chemmex
08 Nov 2022, 13:44
Forum: ESP Easy: Software
Topic: External Time Source -DS3231 need help
Replies: 67
Views: 14248

Re: External Time Source -DS3231 need help

TD-er wrote: 08 Nov 2022, 12:12 Can you keep an eye on it to see if it may still call NTP in like 2 minutes or 30 or 60?
You should see the used time source both on the root page, or the sysinfo page.
No, nothging so far
by chemmex
08 Nov 2022, 13:06
Forum: ESP Easy: Software
Topic: External Time Source -DS3231 need help
Replies: 67
Views: 14248

Re: External Time Source -DS3231 need help

Ath wrote: 08 Nov 2022, 12:21 NTP is probably unchecked in Tools/Advanced settings, so it shouldn't be called, I expect (read: hope ;))
Not this time, I played too much with that :)
I intentionally set wrong time
by chemmex
08 Nov 2022, 12:15
Forum: ESP Easy: Software
Topic: External Time Source -DS3231 need help
Replies: 67
Views: 14248

Re: External Time Source -DS3231 need help

Yes, I will check that
by chemmex
08 Nov 2022, 12:02
Forum: ESP Easy: Software
Topic: External Time Source -DS3231 need help
Replies: 67
Views: 14248

Re: External Time Source -DS3231 need help

Nope, NTP is done as always. To be honest, this doesn't seem to happen: INIT : Booting version: ESP_Easy_mega_20221108_custom_ESP8266_4M1M, (Self built) 20221108TZ_noDebug (ESP82xx Core 2843a5ac, NONOS SDK 2.2.2-dev(c0eb301), LWIP: 2.1.2 PUYA support) 5267 : Info : INIT : Free RAM:25688 5268 : Info...
by chemmex
08 Nov 2022, 11:27
Forum: ESP Easy: Software
Topic: External Time Source -DS3231 need help
Replies: 67
Views: 14248

Re: External Time Source -DS3231 need help

So, initial NTP request is only sent if no external RTC or GPS is configured? Then next question: does a successful NTP update also update RTC?
by chemmex
08 Nov 2022, 11:03
Forum: ESP Easy: Software
Topic: External Time Source -DS3231 need help
Replies: 67
Views: 14248

Re: External Time Source -DS3231 need help

A question to TD-er: are you planning to resolve the NTP/RTC priority if both time sources are enabled and available?
by chemmex
08 Nov 2022, 10:47
Forum: ESP Easy: Software
Topic: External Time Source -DS3231 need help
Replies: 67
Views: 14248

Re: External Time Source -DS3231 need help

I just tried this build with DS3231 on ESP8266 (bare ESP-12F module).

The time is read correctly from DS3231 after a cold restart.
by chemmex
08 Nov 2022, 10:24
Forum: ESP Easy: Projects / Applications
Topic: New WX project launched
Replies: 12
Views: 3891

Re: New WX project launched

4P? As I cannot see a charger circuit, how do you charge them? And this DC/DC is for 3.3 or 5V?
by chemmex
08 Nov 2022, 08:05
Forum: ESP Easy: Projects / Applications
Topic: New WX project launched
Replies: 12
Views: 3891

Re: New WX project launched

Looks very solid. What battery configuration are you using?
by chemmex
03 Oct 2022, 22:30
Forum: ESP Easy: Hardware
Topic: Sensirion SCD4X family modules
Replies: 44
Views: 13913

Re: Sensirion SCD4X family modules

Ath wrote: The sensor is 3.3V only
Datasheet says it's 2.4~5.5V
by chemmex
25 Aug 2022, 01:19
Forum: ESP Easy: Hardware
Topic: Sensirion SCD4X family modules
Replies: 44
Views: 13913

Re: Sensirion SCD4X family modules

Yes, I think it's time to go to the main repo.

I will do some more tests when SCD41 arrives.

Now, just for curiosity, current consumption graph of SCD40's single measurement
IMG_20220825_020229.jpg
IMG_20220825_020229.jpg (81 KiB) Viewed 12508 times
by chemmex
18 Aug 2022, 23:41
Forum: ESP Easy: Hardware
Topic: Sensirion SCD4X family modules
Replies: 44
Views: 13913

Re: Sensirion SCD4X family modules

Taking into account the fact that SCD4x stores calibration data in its internal NVRAM, there might be no reason to keep it powered while ESP sleeps. However, I discovered huge (more than 4°C) difference in temperature and humidity readings between first and second samples with SCD40, so would wait u...
by chemmex
03 Aug 2022, 20:01
Forum: ESP Easy: Hardware
Topic: Sensirion SCD4X family modules
Replies: 44
Views: 13913

Re: Sensirion SCD4X family modules

Well, I am looking especially at the SCD41's single shot mode, so it would be nice to have respective settings for that. I have SCD40 for now, but SCD41 is on the way
by chemmex
03 Aug 2022, 18:23
Forum: ESP Easy: Hardware
Topic: Sensirion SCD4X family modules
Replies: 44
Views: 13913

Re: Sensirion SCD4X family modules

Ath wrote: 26 Jun 2022, 19:53 I have received a SCD40 module this week, will reserve a new plugin id for this, as it doesn't seem feasible to integrate with existing SCD30 code.
Edit: Reserved P135 Environment - SCD4x CO2, Temp, Hum.
Hi Ton, any chance P135 is ready for testing?
by chemmex
20 May 2022, 18:19
Forum: ESP Easy: Projects / Applications
Topic: Project: LORA solar sensor
Replies: 3
Views: 4776

Re: Project: LORA solar sensor

Looks gorgeous. What type(s) of sensors are you using there?
by chemmex
09 Feb 2022, 13:36
Forum: ESP Easy: Hardware
Topic: No wakeup after complete discharge of the batteries
Replies: 55
Views: 44540

Re: No wakeup after complete discharge of the batteries

You should decide on the strategy to achieve your goal. In my opinion, you should first calculate the energy your MCU and peripherals can consume in active and sleeping time. Then choose appropriate solar panel and battery. Then try to optimize your circuit for unnecessary power losses. Below are my...
by chemmex
02 Feb 2022, 22:30
Forum: ESP Easy: Hardware
Topic: No wakeup after complete discharge of the batteries
Replies: 55
Views: 44540

Re: No wakeup after complete discharge of the batteries

Don't you consider implementing deepsleep mode?
by chemmex
22 Jan 2022, 07:29
Forum: ESP Easy: Hardware
Topic: No wakeup after complete discharge of the batteries
Replies: 55
Views: 44540

Re: No wakeup after complete discharge of the batteries

If you have charged the battery to 3.5V, you can connect the Wemos directly without DC/DC to test if there's enough power to start up the ESP. Just to make sure your battery is capable of the required current in that state of charge. Healthy 18650s can drive the ESP down to 2.8V. Also there is possi...
by chemmex
10 Jan 2022, 15:15
Forum: ESP Easy: Hardware
Topic: No wakeup after complete discharge of the batteries
Replies: 55
Views: 44540

Re: No wakeup after complete discharge of the batteries

According to the datasheet, it seems that also NCP304 can be configured with additional hysteresis. See page 17 here: https://www.onsemi.com/pdf/datasheet/ncp304-d.pdf This could make sense, but for desired hysteresis and Hi/Lo voltages this circuit will draw around 1mA in OFF state, which will dec...
by chemmex
09 Jan 2022, 15:54
Forum: ESP Easy: Hardware
Topic: No wakeup after complete discharge of the batteries
Replies: 55
Views: 44540

Re: No wakeup after complete discharge of the batteries

NCP304 has just 0.1V hysteresis, that's too little, I would prefer to have ~0.3V at the lower end of LiPo discharge curve. For DC/DC converter I would recommend this one https://www.aliexpress.com/item/1005002263504799.html?spm=a2g0o.productlist.0.0.d3e25f06bXMy9z I's just a bit more expensive but i...
by chemmex
09 Jan 2022, 14:45
Forum: ESP Easy: Hardware
Topic: No wakeup after complete discharge of the batteries
Replies: 55
Views: 44540

Re: No wakeup after complete discharge of the batteries

There's a battery monitor IC from chinese Consonance Electronics called CN302. It can be used to cut off the load (or shut down the ESP if connected to the EN pin) when the battery voltage drops down to the limit set by resistor divider. It also provides adjustable hysteresis to allow the battery be...
by chemmex
10 Dec 2021, 16:33
Forum: ESP Easy: Hardware
Topic: ESP Easy Mega measure Wind speed and direct / Ozone / UV index / Solar light
Replies: 5
Views: 7048

Re: ESP Easy Mega measure Wind speed and direct / Ozone / UV index / Solar light

Hi, for wind measurement you can check something in the Misol range of products @Aliexpress. They sell comtlete weather stations, but separate sensors as well, so there's plenty to choose from. And they can interface with ESPEasy. Ozone sensors are quite different thing, you can find them from Winse...