Search found 99 matches

by tparvais
07 Feb 2021, 18:42
Forum: ESP Easy: Software
Topic: send value from one OSP to OLED of another ESP
Replies: 7
Views: 7400

send value from one OSP to OLED of another ESP

Hello I'm trying toi send some values from one ESP mesauring temperature etc... to the oled screen of another ESP The command http://192.168.0.63/control?cmd=OLEDFRAMEDCMD,1,'Hello World' is working well now, I want to update temperature from another ESP I create the following rule on Temperature#Te...
by tparvais
11 Jan 2021, 22:10
Forum: ESP Easy: Software
Topic: publish command with too complex parameters ?
Replies: 2
Views: 3287

publish command with too complex parameters ?

:idea: Hi I installed milight bulb on a wemos D1 to play gateway to milight bulb I succeed to make it run from the web interfaxe or via mqqt command with MQTT Explorer. I want to use one espeasy to send command in a rule via a publish to mqtt. I tried the same command on espeasy/tools/command workin...
by tparvais
18 Dec 2020, 09:20
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 309
Views: 6626344

Re: Support for PZEM 004T Energy monitor

TD-er wrote: 17 Dec 2020, 22:22 Isn't the code in the mega branch working as it should?
See P102: https://github.com/letscontrolit/ESPEas ... 004Tv3.ino
thanks, I miss it as it was not declare in Custom_Sample.h
by tparvais
17 Dec 2020, 21:03
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 309
Views: 6626344

Re: Support for PZEM 004T Energy monitor

Hello finally, how is it possible to compile easily PZEM plugin ? i tried with P171 from playground, but it complains no *.h library as it is not provided. and from this source , https://github.com/djelau/ESPEasyPluginPlayground/tree/master/PZEM-004T-v30-master i don't see the trick as it is not a p...
by tparvais
17 Dec 2020, 20:58
Forum: ESP Easy: Software
Topic: SD support compilation errors
Replies: 37
Views: 25732

Re: SD support compilation errors

yes, this is what I did before I finally change a litle bit the init file.
by pressing that ==> SDcard issue
by tparvais
17 Dec 2020, 20:37
Forum: ESP Easy: Software
Topic: SD support compilation errors
Replies: 37
Views: 25732

Re: SD support compilation errors

don't worry anymore. i succeed to compile with

-DUSE_CUSTOM_H

in [esp82xx_common]

and it works with default_envs = normal_ESP8266_4M1M

with all sort of plugin of my Custom.h

I thing the problem is not in custom.h but elsewhere when using default_envs = custom_ESP8266_4M1M
by tparvais
17 Dec 2020, 20:34
Forum: ESP Easy: Hardware
Topic: H801 : RGB controller based on ESP8266 avalaible from China
Replies: 134
Views: 182161

Re: H801 : RGB controller based on ESP8266 avalaible from China

Thank you TD-ER, it's compiling.

This plugin does not what I was expecting (control Milight via UDP protocol). he's working with an external radio emitter 2.4G, maybe I'll give a try

Thomas
by tparvais
17 Dec 2020, 19:42
Forum: ESP Easy: Software
Topic: SD support compilation errors
Replies: 37
Views: 25732

Re: SD support compilation errors

i was using the release build 3011 and not the last github night pack I've deleted everything and re-install from the ZIP all the source . I just remove esp32 reference in platformio.ini default_envs = custom_ESP8266_4M1M as I don't need to compile for ESP32 Then I press in left platformio menu &quo...
by tparvais
17 Dec 2020, 15:51
Forum: ESP Easy: Software
Topic: SD support compilation errors
Replies: 37
Views: 25732

Re: SD support compilation errors

I'm using Custom.h with C). still the same Customer.h file since several months. I checked with last Custom-Sample.h and I don't see any new lines. It still complains about SDCard that I have not included in my build config. I don't know where to disable the addition of thie library I don't need Tho...
by tparvais
17 Dec 2020, 10:43
Forum: ESP Easy: Software
Topic: SD support compilation errors
Replies: 37
Views: 25732

Re: SD support compilation errors

That _Custom.h file is already removed in the main branch. Just base your Custom.h on the Custom-sample.h file I will try your selection to see if I can reproduce your problem. I'm surprised at it seems to no take custom.h into account when I use, on Platformio.ini the line default_envs = custom_ES...
by tparvais
16 Dec 2020, 11:58
Forum: ESP Easy: Software
Topic: SD support compilation errors
Replies: 37
Views: 25732

Re: SD support compilation errors

this is the list I defined in custom.h file (I wonder why there is _cutomer.h now?) #define USES_P001 // Switch #define USES_P002 // ADC #define USES_P003 // Pulse #define USES_P004 // Dallas #define USES_P005 // DHT #define USES_P006 // BMP085 // #define USES_P007 // PCF8591 // #define USES_P008 //...
by tparvais
16 Dec 2020, 09:20
Forum: ESP Easy: Software
Topic: SD support compilation errors
Replies: 37
Views: 25732

Re: SD support compilation errors

Do you want to add SD support? Or remove it? By adding libraries to the lib_ignore, you cannot use it in the code. I don't want them what did surprise me is the fact that I cannot compile at all 3011 release with custom.h (special plugins). It stops with SD Libraries issue, even if I add them in li...
by tparvais
15 Dec 2020, 20:34
Forum: ESP Easy: Software
Topic: SD support compilation errors
Replies: 37
Views: 25732

Re: SD support compilation errors

hello I tried to compile [env:custom_ESP8266_4M1M] with last build 20201130 source and it does not work well even if I add SD(esp8266), SDFS, LittleFS(esp8266) in lib-ignore of [esp8266_custom_common] In file included from C:\Users\tparvais\.platformio\lib\SD/utility/Sd2Card.h:26:0, from C:\Users\tp...
by tparvais
07 Dec 2020, 09:07
Forum: ESP Easy: Hardware
Topic: H801 : RGB controller based on ESP8266 avalaible from China
Replies: 134
Views: 182161

Re: H801 : RGB controller based on ESP8266 avalaible from China

hello

any news ? not familiar wit this code...
by tparvais
03 Dec 2020, 14:56
Forum: ESP Easy: Hardware
Topic: H801 : RGB controller based on ESP8266 avalaible from China
Replies: 134
Views: 182161

Re: H801 : RGB controller based on ESP8266 avalaible from China

Hello I tried with code optim case PLUGIN_WRITE: { int Par[8]; char command[80]; command[0] = 0; char TmpStr1[80]; TmpStr1[0] = 0; string.toCharArray(command, 80); Par[1] = 0; Par[2] = 0; Par[3] = 0; Par[4] = 0; Par[5] = 0; Par[6] = 0; Par[7] = 0; String tmpString = string; int argIndex = tmpString....
by tparvais
03 Dec 2020, 11:24
Forum: ESP Easy: Hardware
Topic: H801 : RGB controller based on ESP8266 avalaible from China
Replies: 134
Views: 182161

Re: H801 : RGB controller based on ESP8266 avalaible from China

more context: i tried with first if then , but no results. I think indeed some mismatch in types case PLUGIN_WRITE: { int Par[8]; char command[80]; command[0] = 0; char TmpStr1[80]; TmpStr1[0] = 0; string.toCharArray(command, 80); Par[1] = 0; Par[2] = 0; Par[3] = 0; Par[4] = 0; Par[5] = 0; Par[6] = ...
by tparvais
03 Dec 2020, 10:09
Forum: ESP Easy: Hardware
Topic: H801 : RGB controller based on ESP8266 avalaible from China
Replies: 134
Views: 182161

Re: H801 : RGB controller based on ESP8266 avalaible from China

hello thankl you I tried both , but still the same issue /src/_P105_RGBW.ino:432:34: error: invalid initialization of non-const reference of type 'String&' from an rvalue of type 'char*' if (GetArgv(command, TmpStr1, 2)) Par[1] = TmpStr1.toInt(); ^ it seems that the problem is in the GetArgv tha...
by tparvais
02 Dec 2020, 17:44
Forum: ESP Easy: Hardware
Topic: H801 : RGB controller based on ESP8266 avalaible from China
Replies: 134
Views: 182161

Re: H801 : RGB controller based on ESP8266 avalaible from China

Thanks, I progress. Now next error: /src/_P105_RGBW.ino:432:34: error: invalid initialization of non-const reference of type 'String&' from an rvalue of type 'char*' if (GetArgv(command, TmpStr1, 2)) Par[1] = str2int(TmpStr1); same for these lines if (GetArgv(command, TmpStr1, 2)) Par[1] = str2i...
by tparvais
30 Nov 2020, 18:55
Forum: ESP Easy: Hardware
Topic: H801 : RGB controller based on ESP8266 avalaible from China
Replies: 134
Views: 182161

Re: H801 : RGB controller based on ESP8266 avalaible from China

Hello is this plugin usable with Milight Wifi gateway in UDP ? if yes, +I cannot get compilation properly. I tried to compile this Plugin 105: RGBW / Milight with last master build from github and platformio without any success: many compilation errors Platformio/projects/ESPEasy-mega-20201102/src/_...
by tparvais
04 Aug 2020, 21:44
Forum: ESP Easy: Software
Topic: MQTT : Broker C005 connection failed
Replies: 6
Views: 9326

Re: MQTT : Broker C005 connection failed

Self answer: i found the problem

mosquitto passwd file does not accept 2 different user names, very strangely....
it uses only the first top name of the file
by tparvais
04 Aug 2020, 19:50
Forum: ESP Easy: Software
Topic: MQTT : Broker C005 connection failed
Replies: 6
Views: 9326

Re: MQTT : Broker C005 connection failed

I keep my analysis by doing a Wireshark. I see the Wemos is properly sending the connect command with proper username/password Connect Flags: 0xc0, User Name Flag, Password Flag, QoS Level: At most once delivery (Fire and Forget) with right username and password as defined in mosquitto.passwf (then ...
by tparvais
04 Aug 2020, 19:19
Forum: ESP Easy: Software
Topic: MQTT : Broker C005 connection failed
Replies: 6
Views: 9326

MQTT : Broker C005 connection failed

Hello I've issue with one of my Remote Wemos connected to my Mosquitto server via internet: Wemos -- Internet box A -- internet -- Internet box B -- Mosquitto_Server I open properly 1883 TCP port on Box B (online check is ok) to forward MQTT traffic to mosquitto On Wemos, I got the following log: 16...
by tparvais
06 Jul 2020, 18:04
Forum: ESP Easy: Hardware
Topic: real advantage of using Wemos D1 mini V3.x vs. V2.0 ?
Replies: 3
Views: 20504

Re: real advantage of using Wemos D1 mini V3.x vs. V2.0 ?

Well the "V3.0" has never been made by Wemos (Lolin), so they may be using components with disputable quality like a very weak voltage regulator. But on the other hand, the "v2.0" version you can not buy online is also very unlikely to be "original". Personally I do li...
by tparvais
06 Jul 2020, 17:13
Forum: ESP Easy: Hardware
Topic: real advantage of using Wemos D1 mini V3.x vs. V2.0 ?
Replies: 3
Views: 20504

real advantage of using Wemos D1 mini V3.x vs. V2.0 ?

Hello I wonder if there is a clear interest to use the last Wemos D1 mini 4M V3.0.0 (or 3.1.1) vs. the previous v2.0 ? v2.0, with a kind of shield over the chipset https://ae01.alicdn.com/kf/HTB1MENskm3PL1JjSZFxq6ABBVXac.jpg and the v3.x: https://i.ebayimg.com/images/g/KycAAOSwb3hbxj0q/s-l300.jpg Wh...
by tparvais
29 Jun 2020, 18:44
Forum: ESP Easy: Projects / Applications
Topic: which solution to remote control ESP by phone ?
Replies: 4
Views: 13666

Re: which solution to remote control ESP by phone ?

Yes i have a vpn to home . I’m using iphone.... but thanks anyway As the application is written on Flutter, I can build it for iPhone, but I don't have an opportunity to upload it to Store, so I didn't pay attention to Apple devices. Although I can try to build the app for you if you can install it...
by tparvais
25 Jun 2020, 08:04
Forum: ESP Easy: Software
Topic: Local storage in ESP when offline ??
Replies: 21
Views: 24653

Re: Local storage in ESP when offline ??

Any news on this idea ?
by tparvais
22 Jun 2020, 00:28
Forum: ESP Easy: Projects / Applications
Topic: which solution to remote control ESP by phone ?
Replies: 4
Views: 13666

Re: which solution to remote control ESP by phone ?

Yes i have a vpn to home .

I’m using iphone.... but thanks anyway
by tparvais
21 Jun 2020, 18:50
Forum: ESP Easy: Projects / Applications
Topic: which solution to remote control ESP by phone ?
Replies: 4
Views: 13666

which solution to remote control ESP by phone ?

Hello I've several ESP sending data thru MQTT to influxdB & Grfana via Telegraf as usual. Nice for data reporting. In the past, I used Domoticz when I was not using ESP8266 & MQTT. I found this solution not always stable. I want to be able to switch on/off some GPIO's to start greenhouse wat...
by tparvais
22 May 2020, 11:18
Forum: ESP Easy: General Discussion
Topic: Problem to upload ESP_Easy_mega_20200516_normal_ESP8266_16M.bin
Replies: 6
Views: 7745

Re: Problem to upload ESP_Easy_mega_20200516_normal_ESP8266_16M.bin

strangely, with 4MB april it works on this 16MB board

thanks
by tparvais
21 May 2020, 21:48
Forum: ESP Easy: General Discussion
Topic: Problem to upload ESP_Easy_mega_20200516_normal_ESP8266_16M.bin
Replies: 6
Views: 7745

Re: Problem to upload ESP_Easy_mega_20200516_normal_ESP8266_16M.bin

Thanks thomas

The esp does not boot properly

I’ll try with 4MB but as far as I know. I always upload the firmware at the size of the flash

4 or 16 MB
by tparvais
21 May 2020, 20:31
Forum: ESP Easy: General Discussion
Topic: Problem to upload ESP_Easy_mega_20200516_normal_ESP8266_16M.bin
Replies: 6
Views: 7745

Problem to upload ESP_Easy_mega_20200516_normal_ESP8266_16M.bin

Hello I have a lot of issues to load firmware to wemos D1 mini pro 16M. I have such module. It was working fine with an old FW. (don't know which one) I removed the SMD resistor 0 ohm from the pcb to switch from on board ceramic antenna to use external antenna (I simply shunt the external connector)...
by tparvais
07 May 2020, 11:57
Forum: ESP Easy: General Discussion
Topic: Visual Code - Platformio - what's most straighforward way to compile without issue ?
Replies: 10
Views: 11272

Re: Visual Code - Platformio - what's most straighforward way to compile without issue ?

If you wait for about half an hour, I will have the update merged to use core 2.7.0 hello is it available somewhere ? I also recompile with ESP8266 by indicating platform = espressif8266@2.5.0 because I see here https://espeasy.readthedocs.io/en/latest/Tools/Tools.html#advanced that there is a syst...
by tparvais
02 May 2020, 11:34
Forum: ESP Easy: Software
Topic: Can`t get _P105_RGBW Plugin compiled
Replies: 4
Views: 4585

Re: Can`t get _P105_RGBW Plugin compiled

Hello Has someone succeed to compile P105 RGBW plugin recently with last build ? with last ticker library build, it does not work. 'class Ticker' has no member named 'attach_ms' Plugin_105_Ticker.attach_ms(20, Plugin_105_FadingTimer); I found it: for unknown reason, ticker.h lib added by platformio...
by tparvais
02 May 2020, 11:25
Forum: ESP Easy: Software
Topic: Can`t get _P105_RGBW Plugin compiled
Replies: 4
Views: 4585

Re: Can`t get _P105_RGBW Plugin compiled

Hello

Has someone succeed to compile P105 RGBW plugin recently with last build ?

with last ticker library build, it does not work.

'class Ticker' has no member named 'attach_ms'
Plugin_105_Ticker.attach_ms(20, Plugin_105_FadingTimer);
by tparvais
01 May 2020, 19:14
Forum: ESP Easy: General Discussion
Topic: Visual Code - Platformio - what's most straighforward way to compile without issue ?
Replies: 10
Views: 11272

Re: Visual Code - Platformio - what's most straighforward way to compile without issue ?

great ! it works ! thanks !!!

What's the best trick to define easily the set of plugins I want to include ?

Change a platformio.ini ? use custom.h ?
by tparvais
01 May 2020, 13:42
Forum: ESP Easy: General Discussion
Topic: Visual Code - Platformio - what's most straighforward way to compile without issue ?
Replies: 10
Views: 11272

Visual Code - Platformio - what's most straighforward way to compile without issue ?

Hello I want to facilitate the compilation of different flavour of ESPeasy according to my needs (various ESP, different plugins...) in an easy way. Arduino IDE works, but not very convenient for multiple configs. I installed VCode+Platformio+all tools (git, extension,...) like explained in https://...
by tparvais
28 Apr 2020, 12:14
Forum: ESP Easy: Hardware
Topic: Which better Temp/Hum sensor to replace DHT22 ?
Replies: 7
Views: 10814

Re: Which better Temp/Hum sensor to replace DHT22 ?

I have ordered sht30 to test ..
by tparvais
28 Apr 2020, 12:02
Forum: ESP Easy: Hardware
Topic: Which better Temp/Hum sensor to replace DHT22 ?
Replies: 7
Views: 10814

Re: Which better Temp/Hum sensor to replace DHT22 ?

grovkillen wrote: 27 Apr 2020, 20:11 My go to sensor is the BME280. Like always, if you want reliable values, calibrate.
mmh I wonder if he will survive in a sauna (Temp max 80°)
by tparvais
27 Apr 2020, 11:15
Forum: ESP Easy: Hardware
Topic: Which better Temp/Hum sensor to replace DHT22 ?
Replies: 7
Views: 10814

Which better Temp/Hum sensor to replace DHT22 ?

Hello I have 2 DHT22 sensor connected to 2 different ESP installed few months ago but not in use yet. One in Greenhouse One in a sauna (max 70°) I re-activated the ESP connected. Temperature is still working, but humidity are always indicating 0%. Are they dead ? Do you know better sensors, more rob...
by tparvais
25 Apr 2020, 17:26
Forum: ESP Easy: General Discussion
Topic: ADC A0 reading is often 0 despite proper signal
Replies: 7
Views: 7818

Re: ADC A0 reading is often 0 despite proper signal

For measuring AC there are several chips available, some even supported by ESPEasy. Like Thomas said, it will not be practical to use the internal ADC for measuring quickly changing voltages. I Know there are chips for that but advantage of this approach is that I shall not change the primary circu...
by tparvais
24 Apr 2020, 21:45
Forum: ESP Easy: General Discussion
Topic: ADC A0 reading is often 0 despite proper signal
Replies: 7
Views: 7818

Re: ADC A0 reading is often 0 despite proper signal

My god. I didn’t think about this ... I have other current sensor with ferrite and output is always dc even ac source

I will add a shotky diode and capacitor to filter output ...
by tparvais
23 Apr 2020, 14:10
Forum: ESP Easy: General Discussion
Topic: ADC A0 reading is often 0 despite proper signal
Replies: 7
Views: 7818

Re: ADC A0 reading is often 0 despite proper signal

As a test, you can try to use a different AP (preferably different vendor) Hello Thank you for feedback. I've in the same room, in my basement 5 others ESP connected to the cable Wifi Router installed there that don't have this issue. I'll have a look btw But Wifi connection seems ok, what is stran...
by tparvais
23 Apr 2020, 11:35
Forum: ESP Easy: General Discussion
Topic: ADC A0 reading is often 0 despite proper signal
Replies: 7
Views: 7818

ADC A0 reading is often 0 despite proper signal

Hello Uising Wemos D1, last Mega build. Very simple configuration with current sensor 'HW-670' with analogue output to measure power used by motor pump. 1 reading per second. sometimes i have properly a value, most of the time, output is zero on ESP. Multimeter shows always 150mV stable output of cu...
by tparvais
19 Apr 2020, 21:12
Forum: ESP Easy: Hardware
Topic: Avoir bad relay trigger during boot
Replies: 2
Views: 7477

Re: Avoir bad relay trigger during boot

I changed a litle bit the circuit by adding 2 resistors divider + Capacitor 100µF to ground + Zener 3V on the gate to delay introduce a delay.
To activate the relay, I have to send a longer pulse to overcome this delay

It works perfectly and this is simple
by tparvais
19 Apr 2020, 17:46
Forum: ESP Easy: Hardware
Topic: Avoir bad relay trigger during boot
Replies: 2
Views: 7477

Avoir bad relay trigger during boot

Hello I have a standard relay controlled via a mosfet on GPIO D5. 100ko resistor pull down the gate to gnd. And free wheel diode on coil as protection. I have setup D5 low during boot in espeasy However, when booting , the relay clicks Any very simple solution to avoid that ? I don’t have soo much p...
by tparvais
19 Apr 2020, 00:25
Forum: ESP Easy: Hardware
Topic: H801 : RGB controller based on ESP8266 avalaible from China
Replies: 134
Views: 182161

Re: H801 : RGB controller based on ESP8266 avalaible from China

Hello

I up this post for some fresh feedback

I use Milight with its remote control to pilot some ledstrip RGB.

Is there still plugin for Espeasy to control it ? (by using UDP gateway) or directly via another element such as the one just on the post above ? can we load espeasy FW on it ?
by tparvais
17 Apr 2020, 08:54
Forum: ESP Easy: Projects / Applications
Topic: How to log fridges temp remotely and send mail if alarm ?
Replies: 9
Views: 17400

Re: How to log fridges temp remotely and send mail if alarm ?

I solve the problem by moving to mqtt/influx/grafana and using grafana alert notification agent to send email when temperature is too low . Works perfectly
by tparvais
11 Apr 2020, 23:39
Forum: ESP Easy: Hardware
Topic: Distance Sensors HC-SR04, JSN-SR04T and more
Replies: 51
Views: 50948

Re: Distance Sensors HC-SR04, JSN-SR04T and more

I was talking about the trigger signal from the ESP to the ultra sonic sensor. Maybe the logic level is too low for that sensor to act on it? I didn't try. I cannot find example with this sensor requiring this hack on the web I've ordererd i a new JSN. In meantime, I've installed a HW-SR04T that wi...