Thank you, as always, a quick and perfect response.
I tested it and it works exactly as I want it to.
Search found 44 matches
- 17 Jul 2023, 11:25
- Forum: ESP Easy: General Discussion
- Topic: ESP32 publishing mqtt monitoring ressources
- Replies: 2
- Views: 578
- 17 Jul 2023, 10:18
- Forum: ESP Easy: General Discussion
- Topic: ESP32 publishing mqtt monitoring ressources
- Replies: 2
- Views: 578
ESP32 publishing mqtt monitoring ressources
Context ESP32 custom_ESP32_4M316k Devices Analog input - ADS1115 Interval: 300 Sec Environment - 1-Wire Temperature Interval: 120 Sec Environment - Atlas EZO pH ORP EC DO Interval: 60 Sec Position - HC-SR04, RCW-0001, etc. Interval: 300 Sec (x2) Generic - Pulse counter Interval: 1 Sec Home Assistant...
- 17 Jul 2023, 09:53
- Forum: ESP Easy: General Discussion
- Topic: ESP32Custom Platformio OTA update error
- Replies: 7
- Views: 1185
Re: ESP32Custom Platformio OTA update error
Hello, Merci poir ces infos, Not sure exactly where to place this line. But I tested this [platformio] default_envs = custom_ESP32_4M316k [espota] upload_protocol = espota ; each flag in a new line ; Do not use port 8266 for OTA, since that's used for ESPeasy p2p upload_flags_esp8266 = --port=18266 ...
- 16 Jul 2023, 09:41
- Forum: ESP Easy: General Discussion
- Topic: ESP32Custom Platformio OTA update error
- Replies: 7
- Views: 1185
Re: ESP32Custom Platformio OTA update error
Hello Ath, I don't understand the meaning of what you're telling me. It probably makes sense, but... :) You're telling me that the port is greater than what is allowed 65534 That my ESP8266 port is 18266 For me, 18266 is well below 65534 ;) And I haven't changed these ports, that's what's in the Cus...
- 15 Jul 2023, 22:33
- Forum: ESP Easy: General Discussion
- Topic: ESP32Custom Platformio OTA update error
- Replies: 7
- Views: 1185
Re: ESP32Custom Platformio OTA update error
Don't hesitate if you'd like me to try them out for you.
There's nothing urgent at the moment, uploading the binary works with the Web interface, it's just one more step, nothing serious.
There's nothing urgent at the moment, uploading the binary works with the Web interface, it's just one more step, nothing serious.
- 15 Jul 2023, 13:49
- Forum: ESP Easy: General Discussion
- Topic: ESP32Custom Platformio OTA update error
- Replies: 7
- Views: 1185
ESP32Custom Platformio OTA update error
Environement ESP32 PlatformIO Project Task custom_ESP32_4M316K ----------------------------------------------------------------------- The first ESP flash on the COM18 pot is no problem,Everything works fine Now I'd like to update with the OTA function to add sensors, for example. I've changed this ...
- 10 Jul 2023, 11:14
- Forum: ESP Easy: General Discussion
- Topic: Plugin choice customization
- Replies: 12
- Views: 1096
Re: Plugin choice customization
The configuration is taken into account
Wifi Ok
#define DEFAULT_NAME Ok
#define DEFAULT_PIN_I2C_SDA Ok
#define DEFAULT_PIN_I2C_SCL
Zero plugins defined
I'll now be able to refine my configuration and define only the plugins I need in my assembly, and then adapt the ESP I need (RAM / CPU).
Wifi Ok
#define DEFAULT_NAME Ok
#define DEFAULT_PIN_I2C_SDA Ok
#define DEFAULT_PIN_I2C_SCL
Zero plugins defined
I'll now be able to refine my configuration and define only the plugins I need in my assembly, and then adapt the ESP I need (RAM / CPU).
- 10 Jul 2023, 11:08
- Forum: ESP Easy: General Discussion
- Topic: Plugin choice customization
- Replies: 12
- Views: 1096
Re: Plugin choice customization
Today, it works I entered the information directly in the Wifi settings to connect directly to the network. #define DEFAULT_SSID "SSID" // Enter your network SSID #define DEFAULT_KEY "PASSWORD" // Enter your network WPA key He just wanted to have a nice weekend away from work :D ...
- 10 Jul 2023, 11:03
- Forum: ESP Easy: General Discussion
- Topic: Plugin choice customization
- Replies: 12
- Views: 1096
Re: Plugin choice customization
Yes, I always use the command
python -m esptool --chip esp32 erase_flash
before retesting to be sure to completely erase the configuration.
python -m esptool --chip esp32 erase_flash
before retesting to be sure to completely erase the configuration.
- 10 Jul 2023, 10:35
- Forum: ESP Easy: General Discussion
- Topic: Plugin choice customization
- Replies: 12
- Views: 1096
Re: Plugin choice customization
My first tests were not very conclusive.
Problems declaring Wifi or activating the initial hotspot.
The Custom.h example file normally seems to activate the hotspot, but I can't see it in the available networks.
I have to keep looking.
Regards
Problems declaring Wifi or activating the initial hotspot.
The Custom.h example file normally seems to activate the hotspot, but I can't see it in the available networks.
I have to keep looking.
Regards
- 09 Jul 2023, 22:41
- Forum: ESP Easy: General Discussion
- Topic: Formula size limitation
- Replies: 14
- Views: 1102
Re: Formula size limitation
No, I'm fine with your explanations. In fact, when I used this complete formula in Python or elsewhere, it worked fine. Then I saw that the length of the formula field was limited, but the first question was, is it possible to exceed this limitation. But you went beyond that, helping me to understan...
- 09 Jul 2023, 22:26
- Forum: ESP Easy: General Discussion
- Topic: Formula size limitation
- Replies: 14
- Views: 1102
Re: Formula size limitation
Thank you Ath,
That's exactly right.
It was a syntax error in the formula that caused the problem in the short version.
With your formula
(%value%*-0.588235)+23.529412
It gives the right values in liters now.
1000 thanks to you.
That's exactly right.
It was a syntax error in the formula that caused the problem in the short version.
With your formula
(%value%*-0.588235)+23.529412
It gives the right values in liters now.
1000 thanks to you.
- 09 Jul 2023, 22:20
- Forum: ESP Easy: General Discussion
- Topic: Formula size limitation
- Replies: 14
- Views: 1102
Re: Formula size limitation
Yes, I understood that. And that precision to 14 decimal places is not necessary. I had no doubt that on 2 or 3 decimal, the result would be exploitable. I'll have a look at why this short formula doesn't work in the formula field, maybe a syntax error. I'll work on that. Thank you very much for all...
- 09 Jul 2023, 22:01
- Forum: ESP Easy: General Discussion
- Topic: Formula size limitation
- Replies: 14
- Views: 1102
Re: Formula size limitation
Yes, the rule works 15972183: ULTRASONIC : TaskNr: 4 Distance: 6.81 cm 15972210: EVENT: Litre_UV#Litre_UV=6.81 15972216: ACT : Let,1,-0.58823529411765 15972223: ACT : Let,2,23.529411764706 15972232: ACT : let,3,6.81*-0.588235 15972240: ACT : let,4,-4.00588+23.529412 15972248: ACT : Let,11,-0.58824 1...
- 09 Jul 2023, 20:36
- Forum: ESP Easy: General Discussion
- Topic: Formula size limitation
- Replies: 14
- Views: 1102
Re: Formula size limitation
No, I tested with 2 or 3 or 4 ... 7 decimals, it always gives me the same value, which is wrong. Original Value value_1.png calculates the right-hand side to obtain the liters. And the liters are correct (Afterwards, I only use 2 or 3 decimal places of the result.) function x_vers_y(){ var x = docum...
- 09 Jul 2023, 20:08
- Forum: ESP Easy: General Discussion
- Topic: Formula size limitation
- Replies: 14
- Views: 1102
Re: Formula size limitation
Quite simply, I use a site to calculate the right and it gives me this formula.
And it usually works fine.
I'll see if I can't find a simpler formula.
And it usually works fine.
I'll see if I can't find a simpler formula.
- 09 Jul 2023, 19:20
- Forum: ESP Easy: General Discussion
- Topic: Formula size limitation
- Replies: 14
- Views: 1102
Formula size limitation
Hello, I'm using a formula on the right to convert centimeters into liters. I'm measuring the contents of a can with an HC-SR04 It returns centimeters To find out the volume, I use this formula (%value%*(-0.58823529411765)+(23.529411764706)) But the interface cuts the formula like this %value%*(-0.5...
- 07 Jul 2023, 07:43
- Forum: ESP Easy: General Discussion
- Topic: Plugin choice customization
- Replies: 12
- Views: 1096
Re: Plugin choice customization
Thanks a lot, I'm going to try my first Custom configuration.
But I am confident
If I've understood the configuration correctly, the project to use is custom_xxxxx
For me
custom_ESP32_4M316k
for the Custom.h file to be supported.
But I am confident
If I've understood the configuration correctly, the project to use is custom_xxxxx
For me
custom_ESP32_4M316k
for the Custom.h file to be supported.
- 06 Jul 2023, 23:39
- Forum: ESP Easy: General Discussion
- Topic: Plugin choice customization
- Replies: 12
- Views: 1096
Re: Plugin choice customization
Ok, I'll explore the Custom-sample.h solution. If I've understood correctly, this file allows you to impose this configuration and it's much simpler for future updates. But for your information, I've hard-coded it here // Collection of all climate plugins. #ifdef PLUGIN_CLIMATE_COLLECTION #ifndef PL...
- 06 Jul 2023, 22:57
- Forum: ESP Easy: General Discussion
- Topic: Plugin choice customization
- Replies: 12
- Views: 1096
Plugin choice customization
Hi All, I use climate_ESP32_4M316k, it works fine, no problem. But I would like to be able to change some plugins to customize it (Visual Studio Code) Add, Remove, Replace plugins to use. Quickly, which file should I modify to suit my needs? I assume that during the build, the variable corresponding...
- 26 Nov 2022, 22:09
- Forum: ESP Easy: General Discussion
- Topic: Switch and countdown Rules function
- Replies: 20
- Views: 2539
Re: Switch and countdown Rules function
Oops, yeah I didn't see that.
I check my conditions
I check my conditions
- 26 Nov 2022, 20:57
- Forum: ESP Easy: General Discussion
- Topic: Switch and countdown Rules function
- Replies: 20
- Views: 2539
Re: Switch and countdown Rules function
Actions, I click on the switch Everything is going well then I double click to stop the action in progress. But this has no effect. // MQTT Contrast initialisation on Boot (OK) On System#Boot do Publish Thermostat/Switch,0 timerSet,1,20 endon // Oled Contrast change on MQTT value (OK) On sniff#Oled_...
- 26 Nov 2022, 20:29
- Forum: ESP Easy: General Discussion
- Topic: Switch and countdown Rules function
- Replies: 20
- Views: 2539
Re: Switch and countdown Rules function
Is it possible to interrupt a timer? I use the switch to start the timer and I test the double click of the same switch to cancel the timer But it doesn't seem to work during the timer time. The double click works well, I did tests without Timer It is not taken into account when a timer is running. ...
- 26 Nov 2022, 19:41
- Forum: ESP Easy: General Discussion
- Topic: Switch and countdown Rules function
- Replies: 20
- Views: 2539
Re: Switch and countdown Rules function
Yes I had read that the esp-01 was badly or more supported. For the relay and the esp-01 I programmed directly via Arduino IDE. Its function is quite simple The ESP looks at MQTT, and if the value changes, we activate the relay or not. So no need for ESPEsy for this part. And an ESP-01 is enough. Th...
- 26 Nov 2022, 18:48
- Forum: ESP Easy: General Discussion
- Topic: Switch and countdown Rules function
- Replies: 20
- Views: 2539
Re: Switch and countdown Rules function
Project thermostat.png Required equipment 1 Raspberry (Pi3, Pi4 + Mosquitto + Node-Red) 1 LCD touchscreen 1 PIR (Infrared motion detector for automatic Screen Off/On) For MQTT Client ESP12 and ESP01 DHT22 Switch Oled SSD1306 Relay Module single EspEasy Currently mechanical thermostatic heads, but to...
- 25 Nov 2022, 21:00
- Forum: ESP Easy: General Discussion
- Topic: Switch and countdown Rules function
- Replies: 20
- Views: 2539
Re: Switch and countdown Rules function
The project is not completely finished but yes, I will detail the main principles of the project.
Put some pictures of what is in place in prototype mode but which should not change much in its final version.
Put some pictures of what is in place in prototype mode but which should not change much in its final version.
- 25 Nov 2022, 16:32
- Forum: ESP Easy: General Discussion
- Topic: Switch and countdown Rules function
- Replies: 20
- Views: 2539
Re: Switch and countdown Rules function
To understand why I was asking this question and why I am doing this. It's a remote thermostat with the Oled temperature display and a physical switch to force the boiler on for a given time. All connected to a central developed under node-red. This allows to know the temperature by individual room ...
- 25 Nov 2022, 16:17
- Forum: ESP Easy: General Discussion
- Topic: Switch and countdown Rules function
- Replies: 20
- Views: 2539
Re: Switch and countdown Rules function
chromo23,
I don't understand the meaning of your post?
I don't understand the meaning of your post?
- 25 Nov 2022, 16:10
- Forum: ESP Easy: General Discussion
- Topic: Switch and countdown Rules function
- Replies: 20
- Views: 2539
Re: Switch and countdown Rules function
Finale code withe Local Oled sate and MQTT update and comments // Oled Message change on MQTT value (OK) On Switch_Chaudiere#State do If [Switch_Chaudiere#State]=0 // Check Physical Switch 0 = Pressed Publish Thermostat/Switch,1 // MQTT Publish State for NODE-RED Dashboard oledframedcmd,3,"Chau...
- 25 Nov 2022, 14:35
- Forum: ESP Easy: General Discussion
- Topic: Switch and countdown Rules function
- Replies: 20
- Views: 2539
Re: Switch and countdown Rules function
Many Thanks for your help I understood my mistakes, I have to define in my first function The number of the timer and its duration. Then afterwards, Execute the timer number section with as first variable Rules Then execute all the instructions that are inside. I made two big mistakes I was not exec...
- 25 Nov 2022, 10:10
- Forum: ESP Easy: General Discussion
- Topic: Switch and countdown Rules function
- Replies: 20
- Views: 2539
Switch and countdown Rules function
Hello, I need your help, I'm not very good, that's not to be proven anymore, but I'm improving ;) I'm trying to do something simple but I can't understand how Timer works. Example I have a switch If I learn on it, it activate a lamp (GPIO,13,0) for example and it send a message (MQTT or oled, oledfr...
- 03 Oct 2022, 14:52
- Forum: ESP Easy: General Discussion
- Topic: Temperature sensor accuracy.
- Replies: 11
- Views: 2630
Re: Temperature sensor accuracy.
I agree with you.
I was just asking the question, I didn't ask about the accuracy of the sensor used itself.
But yes, the real question is, what accuracy do I need.
What will I do with the value I get.
Real questions.
For what I'm doing right now, 1 or 2 decimal places is enough.
I was just asking the question, I didn't ask about the accuracy of the sensor used itself.
But yes, the real question is, what accuracy do I need.
What will I do with the value I get.
Real questions.
For what I'm doing right now, 1 or 2 decimal places is enough.
- 03 Oct 2022, 14:25
- Forum: ESP Easy: General Discussion
- Topic: Temperature sensor accuracy.
- Replies: 11
- Views: 2630
Re: Temperature sensor accuracy.
In fact, you don't need to be very precise. My question was related to the fact that in ESPEasy we could define the number of decimal places. Let's not waste any more time with that, it was if there was an error in my use or in the code. By reading your comments, by reading documents, indeed the hea...
- 03 Oct 2022, 13:57
- Forum: ESP Easy: General Discussion
- Topic: Temperature sensor accuracy.
- Replies: 11
- Views: 2630
Re: Temperature sensor accuracy.
If I understand your explanations, it is the Ardruino code that gives a virtual precision, the DHT returns in this format XXX.X
It is therefore the sensor that returns a limited format and if I want a greater precision, I must use another type of sensor (MCP9808).
It is therefore the sensor that returns a limited format and if I want a greater precision, I must use another type of sensor (MCP9808).
- 03 Oct 2022, 13:45
- Forum: ESP Easy: General Discussion
- Topic: Temperature sensor accuracy.
- Replies: 11
- Views: 2630
Re: Temperature sensor accuracy.
Forget about Fahrenheit.
It was simply in the DHT Arduino example code.
For me the °C was enough.
Let's not look for conversion, just precision.
It was simply in the DHT Arduino example code.
For me the °C was enough.
Let's not look for conversion, just precision.
- 03 Oct 2022, 11:11
- Forum: ESP Easy: General Discussion
- Topic: Temperature sensor accuracy.
- Replies: 11
- Views: 2630
Temperature sensor accuracy.
Just a small question, how to have the real precision of a temperature sensor ? If I define 5 as decimal value, the values 3 and 4 etc... are always 0. But if I use a direct arduino code, I have the right value, which seems to validate that the temperature sensor gives the right precision. ESP Easy ...
- 28 Sep 2022, 09:11
- Forum: ESP Easy: General Discussion
- Topic: ESPEasy Help + OLED SSD1306 + DHT + Rules
- Replies: 13
- Views: 3296
Re: ESPEasy Help + OLED SSD1306 + DHT + Rules
I keep all your suggestions in a corner, my code for the moment works (without this option). I'm busy at the moment with the 3D design of the project and it takes a lot of time. But as soon as everything is in the box, I will work on this part of the code for the display. Thanks for all your feedbac...
- 22 Sep 2022, 22:43
- Forum: ESP Easy: General Discussion
- Topic: ESPEasy Help + OLED SSD1306 + DHT + Rules
- Replies: 13
- Views: 3296
Re: ESPEasy Help + OLED SSD1306 + DHT + Rules
@Ath, not sure about your method, I just tested and nothing happens.
In the configuration of my OLED, I have only 2 lines configured, the third information is dynamic,
she comes according to several criteria, state of a sensor, MQTT information, others in the Rules.
In the configuration of my OLED, I have only 2 lines configured, the third information is dynamic,
she comes according to several criteria, state of a sensor, MQTT information, others in the Rules.
- 22 Sep 2022, 22:12
- Forum: ESP Easy: General Discussion
- Topic: ESPEasy Help + OLED SSD1306 + DHT + Rules
- Replies: 13
- Views: 3296
Re: ESPEasy Help + OLED SSD1306 + DHT + Rules
Thanks for the example in the answer, it will help me to go faster.
But yes, that's the idea.
Display a one-time message for a moment, then go back to normal.
But yes, that's the idea.
Display a one-time message for a moment, then go back to normal.
- 22 Sep 2022, 21:43
- Forum: ESP Easy: General Discussion
- Topic: ESPEasy Help + OLED SSD1306 + DHT + Rules
- Replies: 13
- Views: 3296
Re: ESPEasy Help + OLED SSD1306 + DHT + Rules
no, Delay was just to indicate
I run the command
I wait for some time
then I restart the command to return to the initial state of the display.
I run the command
I wait for some time
then I restart the command to return to the initial state of the display.
- 22 Sep 2022, 21:06
- Forum: ESP Easy: General Discussion
- Topic: ESPEasy Help + OLED SSD1306 + DHT + Rules
- Replies: 13
- Views: 3296
Re: ESPEasy Help + OLED SSD1306 + DHT + Rules
Thanks TD-er Ok I understand the workarround oledframedcmd,4,122 then a delay Then oledframedcmd,4 Without message, only the first page is displayed. This is not a stupid method, if there is no other. Thanks for the tip. I don't have a problem with the degree symbol at the moment, but I'll keep your...
- 22 Sep 2022, 20:55
- Forum: ESP Easy: General Discussion
- Topic: ESPEasy Help + OLED SSD1306 + DHT + Rules
- Replies: 13
- Views: 3296
Re: ESPEasy Help + OLED SSD1306 + DHT + Rules
A first autoreply
My command
oledframedcmd,1, "T: [DHT22#Temperature] °C"
changes the display correctly
But no more automatic refresh of the temperature on line 1.
My command
oledframedcmd,1, "T: [DHT22#Temperature] °C"
changes the display correctly
But no more automatic refresh of the temperature on line 1.
- 22 Sep 2022, 20:35
- Forum: ESP Easy: General Discussion
- Topic: ESPEasy Help + OLED SSD1306 + DHT + Rules
- Replies: 13
- Views: 3296
ESPEasy Help + OLED SSD1306 + DHT + Rules
First thing to know, I display the temperature and humidity perfectly on the display. I use only two lines to have a readable size. But I try to replace one of the lines temporarily with the command oledframedcmd,<line>,<text> in one of my rules. It works perfectly, for example oledframedcmd,1,122 %...
- 22 Sep 2022, 20:16
- Forum: Introduce yourself
- Topic: New French member
- Replies: 1
- Views: 1368
New French member
Hello, I am a passionate of computer science, electronics, 3D printing. I make different projects based on Microcontroller. I have known Espeasy for years and I use it from time to time to make small objects quickly. I find it very nice and easy to use and see it always evolve in the right direction...