Search found 224 matches

by mackowiakp
14 Sep 2019, 10:38
Forum: ESP Easy: Software
Topic: 4x20 LCD, how to do not display decimals
Replies: 8
Views: 3827

Re: 4x20 LCD, how to do not display decimals

Yes, it still display decimals. Build mega-20190827 (normal). But remember that there is still dummy sensor issue with dummy sensor, listed in GitHub. I dont know for sure, but maybe it is related to this issue too?
by mackowiakp
14 Sep 2019, 09:21
Forum: ESP Easy: Software
Topic: 4x20 LCD, how to do not display decimals
Replies: 8
Views: 3827

Re: 4x20 LCD, how to do not display decimals

I already have „zero” decimals in sensor value definition
by mackowiakp
14 Sep 2019, 08:13
Forum: ESP Easy: Software
Topic: 4x20 LCD, how to do not display decimals
Replies: 8
Views: 3827

4x20 LCD, how to do not display decimals

To limit the number of displayed (and not always needed) characters on a 4x20 LCD, It would be needed to be able to display some numbers without a decimals. Or with only one decimal place. For example, when displaying atmospheric pressure, no decimals display is needed. Similarly, when showing the t...
by mackowiakp
14 Sep 2019, 07:07
Forum: ESP Easy: Software
Topic: 4x20 LCD display, change names of day of week
Replies: 11
Views: 3850

Re: 4x20 LCD display, change names of day of week

OK. Well, everything has its limits.
by mackowiakp
14 Sep 2019, 06:45
Forum: ESP Easy: Software
Topic: 4x20 LCD display, change names of day of week
Replies: 11
Views: 3850

Re: 4x20 LCD display, change names of day of week

Thanks @grovkillen ! Works as it should work. But I think about little improvement of this code. Bit complicated procedure of if/else statements is done every minute. I mean complicated because of limited processor capabilities. In fact running such procedure is necessary only after boot and first N...
by mackowiakp
13 Sep 2019, 19:45
Forum: ESP Easy: Software
Topic: 4x20 LCD display, change names of day of week
Replies: 11
Views: 3850

Re: 4x20 LCD display, change names of day of week

OK,then what do you suggest? I don't really know how to do it in the same level.
by mackowiakp
13 Sep 2019, 19:34
Forum: ESP Easy: Software
Topic: 4x20 LCD display, change names of day of week
Replies: 11
Views: 3850

4x20 LCD display, change names of day of week

I try to display name on day of week in my language. Because of that I use such rule: On UpdateDisplay Do if %sysyear% > 2000 Let,1,0 Let,2,%sysweekday% if %v2% = 1 LCD,1,1,%systm_hm% Niedz %sysday%/%sysmonth_0%/%sysyears% else if %v2% = 2 LCD,1,1,%systm_hm% Pon. %sysday%/%sysmonth_0%/%sysyears% els...
by mackowiakp
05 Sep 2019, 17:51
Forum: ESP Easy: Software
Topic: Two %eventvalue%
Replies: 5
Views: 3675

Re: Two %eventvalue%

HTTP Protocol is shown here: https://www.letscontrolit.com/wiki/inde ... _Reference
THX. Sometimes is extremely difficult to find the simplest thing.. Shame..

But the first thing I will rapport as a issue.
by mackowiakp
05 Sep 2019, 17:25
Forum: ESP Easy: Software
Topic: Two %eventvalue%
Replies: 5
Views: 3675

Re: Two %eventvalue%

Build 20190827 normal, core 2.5.2. Two questions First. I set dummy sensor as temp/hum date type and click on Submit. But it returns to default data type "Single". So I try with type "dunle". But the result is the same. That means after clicking "Submit" it still returns to data type "Single". Is it...
by mackowiakp
05 Sep 2019, 10:32
Forum: ESP Easy: Software
Topic: Two %eventvalue%
Replies: 5
Views: 3675

Re: Two %eventvalue%

I will do so.
by mackowiakp
03 Sep 2019, 19:48
Forum: ESP Easy: Software
Topic: SendToHTTP result OK ?
Replies: 6
Views: 3558

Re: SendToHTTP result OK ?

OK. I just copy/paste the last my post to GitHub.
by mackowiakp
03 Sep 2019, 19:20
Forum: ESP Easy: Software
Topic: SendToHTTP result OK ?
Replies: 6
Views: 3558

Re: SendToHTTP result OK ?

Imagine such situation. I have Domoticz on RPi. RPi is equipped with UPS, on which RPi can work at least for 4 days. nodeMCU do not have UPS. In addition - as you know - nodeMCU reset themselves from time to time, and even hang. I wrote the rules that reboot nodeMCU after 15 minutes if they hang. Ei...
by mackowiakp
03 Sep 2019, 18:38
Forum: ESP Easy: Software
Topic: SendToHTTP result OK ?
Replies: 6
Views: 3558

Re: SendToHTTP result OK ?

So the only solution is to SendToHttp something to dummy sensor in Domoticz and then, using for example LUA script, send then back something from Domoticz to dummy sensor in easyESP. Little complicated - but works.
by mackowiakp
03 Sep 2019, 09:34
Forum: ESP Easy: Software
Topic: SendToHTTP result OK ?
Replies: 6
Views: 3558

SendToHTTP result OK ?

Is it possible in rule to obtain result of SendTo HTTP command? I mean was it sent and received by server or not.
by mackowiakp
01 Sep 2019, 08:47
Forum: ESP Easy: Software
Topic: Two %eventvalue%
Replies: 5
Views: 3675

Two %eventvalue%

I want to send two values from Domoticz script to nodeMCU in one http request. In rule, I assign user variable to %eventvalue%. My question is because if I sent such values in two separate requests (one by one, without 2-3 sec delay between), both user variables value are assigned to the first %even...
by mackowiakp
27 Aug 2019, 08:29
Forum: ESP Easy: Software
Topic: Standalone mode
Replies: 18
Views: 5522

Re: Standalone mode

:D . G-Translator works properly !
by mackowiakp
26 Aug 2019, 16:54
Forum: ESP Easy: Software
Topic: Standalone mode
Replies: 18
Views: 5522

Re: Standalone mode

Yes, I know. I had little explosion few months ego. Thanks God, I have no Tesla car or electric bike. Its because I could have a fire under ... well ... a certain place.
by mackowiakp
26 Aug 2019, 14:15
Forum: ESP Easy: Software
Topic: Standalone mode
Replies: 18
Views: 5522

Re: Standalone mode

I just bought similar one, in the shop near my house. Probably the same origin. That is O-CNN Company (Original China No-Name) :lol:
by mackowiakp
26 Aug 2019, 13:06
Forum: ESP Easy: Software
Topic: Oversampling on analog input hangs nodeMCU
Replies: 14
Views: 5251

Re: Oversampling on analog input hangs nodeMCU

In my (private) opinion, the situation is clear. The processor in nodoMCU can do what it can. If one or two ADC measurements are lost during this, nothing will happen. As one of the Polish ministers said "Sorry, that's the climate we have..."
by mackowiakp
26 Aug 2019, 07:03
Forum: ESP Easy: Software
Topic: Standalone mode
Replies: 18
Views: 5522

Re: Standalone mode

Yes. DS3231 is more accurate then DS1307. Even I found out DS3231 based module which has better quality of quartz oscillator that guarantee 2 sec per year accuracy (as docu stands). I really dont believe in that "2 sec per year" but for sure DS3231 is better than DS1307. In case of my RPi equipped w...
by mackowiakp
25 Aug 2019, 21:00
Forum: ESP Easy: Software
Topic: Standalone mode
Replies: 18
Views: 5522

Re: Standalone mode

Yes, it is totally separated. Except power supply of course and I2C bus.
by mackowiakp
25 Aug 2019, 20:46
Forum: ESP Easy: Software
Topic: Standalone mode
Replies: 18
Views: 5522

Re: Standalone mode

And sample of Arduino lib for RTC and EEPROM

https://github.com/fstimer/RTCLib
by mackowiakp
25 Aug 2019, 20:32
Forum: ESP Easy: Software
Topic: Standalone mode
Replies: 18
Views: 5522

Re: Standalone mode

So You have: https://botland.com.pl/pl/moduly-rtc/12507-rtc-ds1307-32kb-eeprom-24c32-i2c-zegar-czasu-rzeczywistego-z-pamiecia.html Sorry, it is in Polish language, so use G-translator. It costs appx 1,2 Euro and have 32k of EEPROM. I use similar in my RPi but with 4k EEPROM (oldest one). It works pr...
by mackowiakp
25 Aug 2019, 08:55
Forum: ESP Easy: Software
Topic: Standalone mode
Replies: 18
Views: 5522

Re: Standalone mode

Yep. But using GPS module is extremely expensive comparing to RTC module, witch costs a few cents. Additionally, such RTC`s in most cases have on-board 4k or 8k EEPROM, available on other I2C address. Of course, such EEPROM is not equivalent to "real" NVRAM but is is enough to store several paramete...
by mackowiakp
24 Aug 2019, 19:03
Forum: ESP Easy: Software
Topic: Standalone mode
Replies: 18
Views: 5522

Standalone mode

I want to use one nodeMCU in standalone mode. Is it any possibility to use any real time clock module in easyESP ? And second question. nodeMCU reboots itself sometimes and power supply can be loss, That is why I need to restore the state of relays before reboot or power loss. Is it possible to save...
by mackowiakp
20 Aug 2019, 06:45
Forum: ESP Easy: Software
Topic: [SOLVED]Problem with relays during boot nodeMCU
Replies: 19
Views: 7404

Re: [SOLVED]Problem with relays during boot nodeMCU

As for Linknode R8, the problem is with three relays and not with two. This is because GPIO10 is also used, which is set to high before ESPeasy is loaded. And it remains in this state after loading the system. But this gave me an idea how to make the delay circuit for relays in ASAP way (as simple a...
by mackowiakp
18 Aug 2019, 09:03
Forum: ESP Easy: Software
Topic: Oversampling on analog input hangs nodeMCU
Replies: 14
Views: 5251

Re: Oversampling on analog input hangs nodeMCU

"Dividing by zero" - sounds pretty nice... :shock:
by mackowiakp
16 Aug 2019, 05:32
Forum: ESP Easy: Software
Topic: Oversampling on analog input hangs nodeMCU
Replies: 14
Views: 5251

Re: Oversampling on analog input hangs nodeMCU

A quick review of P002_ADC code showed that the oversampling mode is basic data averaging I also looked at the source code and came to the same conclusions. The error you are showing seems obvious. After all, the ADC converter is 10 bit. So the highest value that can be read from it is 1024. It is ...
by mackowiakp
15 Aug 2019, 07:35
Forum: ESP Easy: Software
Topic: Oversampling on analog input hangs nodeMCU
Replies: 14
Views: 5251

Oversampling on analog input hangs nodeMCU

I do not know if the conclusion contained in the topic title is correct. But this is the result of my almost 2 months of observations and tests. I use 8 pieces of nodeMCU in a home automation system. In three of them I use the ADC converter input. In all these three devices, I added a resistor so th...
by mackowiakp
15 Aug 2019, 06:25
Forum: ESP Easy: Software
Topic: [SOLVED]Problem with relays during boot nodeMCU
Replies: 19
Views: 7404

Re: Problem with relays during boot nodeMCU

Yes, it is also one of the possible solutions too. But - as ThomasB wrote - in the DiY world everything depends only on individual preferences. And what's just in the drawer :D
I mark the topic as SOLVED.
by mackowiakp
13 Aug 2019, 19:41
Forum: ESP Easy: Software
Topic: [SOLVED]Problem with relays during boot nodeMCU
Replies: 19
Views: 7404

Re: Problem with relays during boot nodeMCU

Yes, but with this solution (when the jumper is set to trigger low) you have a voltage of 5V at the relay module input. Certainly given by some resistor but it is 5V. Of course, I'm writing about modules that I bought, working on 5V. So the expander will work out of specification, because it is powe...
by mackowiakp
13 Aug 2019, 18:02
Forum: ESP Easy: Software
Topic: [SOLVED]Problem with relays during boot nodeMCU
Replies: 19
Views: 7404

Re: Problem with relays during boot nodeMCU

Yes I know. In the case of RPi in which I use PCF8574, there are Darligton transistors that invert the signal phase. So after reset I have 0 on all outputs.
by mackowiakp
13 Aug 2019, 08:51
Forum: ESP Easy: Software
Topic: [SOLVED]Problem with relays during boot nodeMCU
Replies: 19
Views: 7404

Re: Problem with relays during boot nodeMCU

I agree that 100uA is not much output source current. But when more drive current is needed an external pull-up resistor can be added to the PCF8574's I/O pin. For example, when driving a common NPN transistor (like a 2N2222) a 2.2K ohm to VDD should provide enough current to activate the relay. Or...
by mackowiakp
12 Aug 2019, 11:16
Forum: ESP Easy: Software
Topic: [SOLVED]Problem with relays during boot nodeMCU
Replies: 19
Views: 7404

Re: Problem with relays during boot nodeMCU

Yes, I know that PCF8574 is supported by EasyESP. So @Shardan, be so kind to answer.
I sent him PM.
by mackowiakp
12 Aug 2019, 08:54
Forum: ESP Easy: Software
Topic: [SOLVED]Problem with relays during boot nodeMCU
Replies: 19
Views: 7404

Re: Problem with relays during boot nodeMCU

I have another idea how to connect 8 relays or more to nodeMCU. Consider using I2C I/O extender like PCF8574 with 8 relays module connected to extender. I have not experience with PCF8574 working with nodeMCU, so must ask. Does the phenomenon of short activation of relays during boot also occur in t...
by mackowiakp
12 Aug 2019, 07:45
Forum: ESP Easy: Software
Topic: Potential another WiFi issue ?
Replies: 9
Views: 4325

Re: Potential another WiFi issue ?

NTP server located on RPi is resolved by nodeMCU by IP address not by name. In my case it is 192.168.0.25, entered to nodeMCU NTP configuration. It works correctly with time dependent rules defined in EasyESP. All other nodeMCU IP related configs are resolved by numbers too (including static WiFi IP...
by mackowiakp
12 Aug 2019, 07:18
Forum: ESP Easy: Software
Topic: [SOLVED]Problem with relays during boot nodeMCU
Replies: 19
Views: 7404

Re: Problem with relays during boot nodeMCU

Hmmm. From what I see, the only 100% sure solution is to make an additional, external delay circuit based on 4541 (as I do now). As an option, you can consider using a ready-made module available on the market. But such a module is based on IC type 555 and requires a 12V power supply. Such voltage i...
by mackowiakp
11 Aug 2019, 07:01
Forum: ESP Easy: Software
Topic: [SOLVED]Problem with relays during boot nodeMCU
Replies: 19
Views: 7404

[SOLVED]Problem with relays during boot nodeMCU

I use modules with 2 or 4 relays connected to nodeMCU. They have the ability to set the relay activating state, high or low. Because such modules work in 5V logic, I added a transistor at the input so that it can be used in 3.3V logic. The problem occurs during boot nodeMCU. Well (regardless of whet...
by mackowiakp
11 Aug 2019, 06:25
Forum: ESP Easy: Software
Topic: Strange problem with BMP180
Replies: 18
Views: 5487

Re: Strange problem with BMP180

According to suggestion of Td-er I open an issue on Github. So the rest of the discussion goes there.
by mackowiakp
11 Aug 2019, 05:08
Forum: ESP Easy: Software
Topic: Strange problem with BMP180
Replies: 18
Views: 5487

Re: Strange problem with BMP180

And about the reboot vs error rate. I think you could even make this behavior worse by rebooting. I think the sensor may be performing several readings, which means that if you add some randomness in the reboot sequence, you may end up with a "winning streak" or a " failure streak". If you just ent...
by mackowiakp
11 Aug 2019, 04:37
Forum: ESP Easy: Software
Topic: Potential another WiFi issue ?
Replies: 9
Views: 4325

Re: Potential another WiFi issue ?

Yes. RPi acts as DHCP/DNS server (via lightweight dnsmasq) and NTP server for whole home LAN (including nodeMCU`s). But whole Ethernet nodes with "fixed location" (like desktop PC`s, TV sets, refrigerator, vacuum cleaner, washing machine, satellite receivers etc) in my home LAN have static IP config...
by mackowiakp
10 Aug 2019, 18:31
Forum: ESP Easy: Software
Topic: Potential another WiFi issue ?
Replies: 9
Views: 4325

Re: Potential another WiFi issue ?

Client timeout is set to 100 ms. Domoticz is installed on 4 core 1 GB RPi, with graphic chip turn off (X are not started), So it not busy. But reboot of nodeMCU occurs when RPi is off for longer time for example - making ISO image backup copy of SD Card.
by mackowiakp
09 Aug 2019, 07:47
Forum: ESP Easy: Software
Topic: Potential another WiFi issue ?
Replies: 9
Views: 4325

Re: Potential another WiFi issue ?

Connection Failure Threshold is set to 0. Restart WiFi Lost Conn - empty check-box.
by mackowiakp
09 Aug 2019, 07:21
Forum: ESP Easy: Software
Topic: Strange problem with BMP180
Replies: 18
Views: 5487

Re: Strange problem with BMP180

I agree with TD-er that there is kind of driver issue. I change supply voltage of BMP180 module to 5V and added 4,7k pull-up resistors parallel to existing ones on sensor board. So the resultant resistance is 3,2k. But situation of wrong or lost readouts does not change. I have to add that nonsensic...
by mackowiakp
08 Aug 2019, 09:58
Forum: ESP Easy: Software
Topic: Strange problem with BMP180
Replies: 18
Views: 5487

Re: Strange problem with BMP180

But i cant fully agree. The nodeMCU and BMP180 is located inside so we call "winter garden". and cable length is less then 5 cm (both modules in the same case, well ventilated). Dust sensor and DTH22 is located outside so cable length is 20 cm (standard male/male connectors available on market). But...
by mackowiakp
07 Aug 2019, 12:20
Forum: ESP Easy: Software
Topic: Potential another WiFi issue ?
Replies: 9
Views: 4325

Potential another WiFi issue ?

Configuration of nodeMCU: - 7 seg 4 digit display - internal analog input - 2 relays - 2 additional GPIO`s outputs - DS18b20 temp sensor - Domoticz as host controller If Domoticz is off, nodeMCU reboots itself. The reason of the Domoticz is off was making ISO copy backup of SD card in RPi. The info ...
by mackowiakp
07 Aug 2019, 10:36
Forum: ESP Easy: Software
Topic: Strange problem with BMP180
Replies: 18
Views: 5487

Re: Strange problem with BMP180

UPDATE I connected the BMP180 (the one I thought was damaged) to RPi. I will use some of the first driver found on the Internet. Written in Python. I send measurement results to Domoticz via CURL. Then of course Domoticz sends them to InfluxDB and then to Grafana. The results are continuous and ther...