Search found 33 matches

by LaurB
22 Oct 2022, 20:35
Forum: ESP Easy: Software
Topic: Command unknown TaskValueSet
Replies: 27
Views: 3364

Re: Command unknown TaskValueSet

Not sure if GPIO extenders like PCF/MCP units will work well with SPI. No idea how quickly those pins will switch, which is needed for a CS channel on SPI. Apart from the fact that you can't select external GPIO pins in the task itself. I meant the other NodeMCU with 2 MAX6675 on the SPI and the PC...
by LaurB
22 Oct 2022, 18:56
Forum: ESP Easy: Software
Topic: Command unknown TaskValueSet
Replies: 27
Views: 3364

Re: Command unknown TaskValueSet

Ok, then I can use 2 NodeMCUs. One for I2C and the other for temperature measurments. I did a test but it seems that there are not enough CS pins available. I disabled I2C interface so it seems that there are 6 pins available in the plugin settings. CS.png - D0, D1, D2 and D4 are working - D3 not wo...
by LaurB
22 Oct 2022, 17:37
Forum: ESP Easy: Software
Topic: Command unknown TaskValueSet
Replies: 27
Views: 3364

Re: Command unknown TaskValueSet

The setup requires 6 MAX6675, 12 relays and one OLED display. The temperature sensors and the display will connected to the Uno. Two PCF8574T will be connected to ESP8266 I2C to control the relays. Here is a picture with the prototype, it still needs 3 sensors. I'm using an arduino Uno with an ESP82...
by LaurB
22 Oct 2022, 14:28
Forum: ESP Easy: Software
Topic: Command unknown TaskValueSet
Replies: 27
Views: 3364

Re: Command unknown TaskValueSet

Ath wrote: 22 Oct 2022, 12:53 Why not use the ESPEasy supported MAX6675 thermocouple directly from ESPEasy, instead of using another Arduino device just to read that sensor?
I need 6 sensors.
by LaurB
22 Oct 2022, 09:02
Forum: ESP Easy: Software
Topic: Command unknown TaskValueSet
Replies: 27
Views: 3364

Re: Command unknown TaskValueSet

It looks like the problem is with the D1 board. I switched to a NodeMCU and it runs without any problems, at least for the last 15 minutes. That is really sad becouse I like the D1 shape more then the NodeMCU. I changed the code to send 4 values using TaskValueSetAndRun #include "max6675.h"...
by LaurB
22 Oct 2022, 08:13
Forum: ESP Easy: Software
Topic: Command unknown TaskValueSet
Replies: 27
Views: 3364

Re: Command unknown TaskValueSet

@ThomasB I tried your code but there are still errors. I don't know what revision the board is. All it is written on it is D1. I don't think it's a Wemos, it's a chinese clone. Picture with the setup below. @TD-er It's still messing the data 31467254: EVENT: thermo=26.75,27.75 31468265: EVENT: therm...
by LaurB
21 Oct 2022, 23:43
Forum: ESP Easy: Software
Topic: Command unknown TaskValueSet
Replies: 27
Views: 3364

Re: Command unknown TaskValueSet

I changed the delay to 1000ms, same errors.
Removed temp2 and it works for temp1.
There are no rules defined, only 1 dummy defined and one mqtt controller. The load is at 8%.
Capture.PNG
Capture.PNG (30.73 KiB) Viewed 3328 times
by LaurB
21 Oct 2022, 23:26
Forum: ESP Easy: Software
Topic: Command unknown TaskValueSet
Replies: 27
Views: 3364

Re: Command unknown TaskValueSet

I changed the code and the baud to 115200 but there are still errors 40417: Dummy: value 1: 27.50 40419: Dummy: value 2: 29.00 40440: EVENT: Temperaturi#Temp1=27.50 40447: EVENT: Temperaturi#Temp2=29.00 53296: EVENT: Clock#Time=Sat,00:24 53403: Too many arguments: cmd=TaskValueSet Arg1=1TaskValueSet...
by LaurB
21 Oct 2022, 23:02
Forum: ESP Easy: Software
Topic: Command unknown TaskValueSet
Replies: 27
Views: 3364

Re: Command unknown TaskValueSet

The build is mega-20220809_57b0c0c. I checked "Allow TaskValueSet on all plugins" on Tools/Advanced page. I added the delay on the arduino, here is the full sketch: #include "max6675.h" // Temperature Sensor1 int thermoD0 = 12; // so int thermo1CS = 4; int thermoCLK = 13; // sck ...
by LaurB
21 Oct 2022, 22:35
Forum: ESP Easy: Software
Topic: Command unknown TaskValueSet
Replies: 27
Views: 3364

Command unknown TaskValueSet

Hello, I'm trying to send some data from an arduino Uno to a Wemos D1 using the serial pins. I'm not very good with codding so I need your help. I use serial.print in Uno like this: Serial.print("TaskValueSet,1,1,"); Serial.println(String(thermocouple1.readCelsius())); Serial.print("T...
by LaurB
06 Feb 2021, 12:50
Forum: ESP Easy: General Discussion
Topic: building with vs code/ atom error
Replies: 22
Views: 9870

Re: building with vs code/ atom error

AMS1117 should be a low dropout regulator, at least according to the datasheet. At first I powered the module from USB, but after that I switched to a 5V, 500mA power source. From googleing I found out that this module has some sort of low voltage protection that is very sensible. The low voltage pr...
by LaurB
05 Feb 2021, 23:41
Forum: ESP Easy: General Discussion
Topic: building with vs code/ atom error
Replies: 22
Views: 9870

Re: building with vs code/ atom error

And success: INIT : Booting version: (ESP32 SDK v3.2.3-14-gd3e562907) 54 : Info : INIT : Free RAM:291660 54 : Info : INIT : Cold Boot - Restart Reason: CPU0: Vbat power on reset CPU1: for APP CPU, reseted by PRO CPU 55 : Info : FS : Mounting... 98 : Info : CRC : SecuritySettings CRC ...OK 102 : Info...
by LaurB
05 Feb 2021, 23:11
Forum: ESP Easy: General Discussion
Topic: building with vs code/ atom error
Replies: 22
Views: 9870

Re: building with vs code/ atom error

I measured the voltage across the voltage regulator and it fluctuates at 3.0-3.2V
by LaurB
05 Feb 2021, 23:03
Forum: ESP Easy: General Discussion
Topic: building with vs code/ atom error
Replies: 22
Views: 9870

Re: building with vs code/ atom error

I said I give up but I didn't. This module is just unbelievable. I tried to upload the web camera example and this is wot I got: Brownout detector was triggered ets Jun 8 2016 00:22:57 rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,...
by LaurB
05 Feb 2021, 21:21
Forum: ESP Easy: General Discussion
Topic: building with vs code/ atom error
Replies: 22
Views: 9870

Re: building with vs code/ atom error

It's just not working. I used the Espressif flasher and normal_ESP32_4M316k binary with/without _factory and with/without _ETH from 2020-12-27 and 2021-01-14. The same error and restarting: INIT : Booting version: (ESP32 SDK v3.2.3-14-gd3e562907) 37 : Info : INIT : Free RAM:291228 37 : Info : INIT :...
by LaurB
05 Feb 2021, 18:52
Forum: ESP Easy: General Discussion
Topic: building with vs code/ atom error
Replies: 22
Views: 9870

Re: building with vs code/ atom error

At first I used the flasher tool from the zip file and it didn't worked.
So I thought that the flasher tool is not ok for esp32s. So I installed vs code and set the project folder as the source folder.
Unfortunately this is my only esp32, so I can't try on another module.
Capture2.PNG
Capture2.PNG (23.52 KiB) Viewed 9816 times
by LaurB
05 Feb 2021, 17:10
Forum: ESP Easy: General Discussion
Topic: building with vs code/ atom error
Replies: 22
Views: 9870

Re: building with vs code/ atom error

Same result with normal_ESP32_4M316k
The module is like this, but with an antenna attached.
Capture1.PNG
Capture1.PNG (467.86 KiB) Viewed 9836 times
by LaurB
05 Feb 2021, 16:52
Forum: ESP Easy: General Discussion
Topic: building with vs code/ atom error
Replies: 22
Views: 9870

Re: building with vs code/ atom error

I used ESPEasy_ESP32_mega-20210114.zip I'm not very good at this so I will attach a picture. Capture.PNG I did it in the following order: 1. Clean 2. Build 3. Upload and monitor I don't want to modify anything, I just want to flash an esp32. I use a few esp8266 and I wanted to do some tests with an ...
by LaurB
05 Feb 2021, 16:30
Forum: ESP Easy: General Discussion
Topic: building with vs code/ atom error
Replies: 22
Views: 9870

Re: building with vs code/ atom error

It's there something different with ESP32? I can build and flash esp8266 without any problems but I can't manage to run espeasy on esp32. The module restarts continuous after flashing. INIT : Booting version: (ESP32 SDK v3.2.3-14-gd3e562907) 38 : Info : INIT : Free RAM:295048 38 : Info : INIT : Cold...
by LaurB
05 Feb 2021, 12:32
Forum: ESP Easy: General Discussion
Topic: building with vs code/ atom error
Replies: 22
Views: 9870

Re: building with vs code/ atom error

Lol, I feel so stupid. Of course git wasn't installed.

Thanks!
by LaurB
05 Feb 2021, 11:52
Forum: ESP Easy: General Discussion
Topic: building with vs code/ atom error
Replies: 22
Views: 9870

building with vs code/ atom error

Hey, I'm trying to flash an ESP32-CAM. At first I have tried with the ESP.Easy.Flasher.exe but it didn't work. So I installed VS Code and Platformio. I opened the source in the download zip as the project folder, then opened ESPEasy.ino in the src folder and hit build. A huge error message came up. ...
by LaurB
20 Oct 2020, 20:58
Forum: ESP Easy: General Discussion
Topic: Best choice for 6 GPIO connection
Replies: 11
Views: 9488

Re: Best choice for 6 GPIO connection

What are you going to control with the relays ? Also, unless your design is already made for reasons; it's best to tell us what is your project. What are you trying to accomplish ? Sometimes someone will come with a simpler way. Cheers! Basically, I already have a receiver and an ir led connected t...
by LaurB
19 Oct 2020, 14:20
Forum: ESP Easy: General Discussion
Topic: Best choice for 6 GPIO connection
Replies: 11
Views: 9488

Re: Best choice for 6 GPIO connection

viewtopic.php?f=6&t=7949#p46770

8 relays, one pcf8574 and two gpios.
20200914_230057.jpg
20200914_230057.jpg (170.75 KiB) Viewed 9453 times
by LaurB
17 Oct 2020, 19:26
Forum: ESP Easy: Software
Topic: MLX90614 temperature 1037
Replies: 10
Views: 9467

Re: MLX90614 temperature 1037

3 volt logic.
Stupid mistake.
by LaurB
17 Oct 2020, 18:48
Forum: ESP Easy: Software
Topic: MLX90614 temperature 1037
Replies: 10
Views: 9467

Re: MLX90614 temperature 1037

You can try to add a couple of pull-up resistors to the I2C bus (by default D4 & D5), then do an I2C scan again to see if that helped in making it work again. I tried with two 2k2 resistors, no luck. The sensors is mounted on a small pcb and it looks like it has it's own resistors. 20201017_194...
by LaurB
17 Oct 2020, 16:47
Forum: ESP Easy: Software
Topic: MLX90614 temperature 1037
Replies: 10
Views: 9467

Re: MLX90614 temperature 1037

The sensor isn't showing on the i2c scanner anymore and it's not working with Uno either. I think that the problem was the sensor from the start.
Unfortunately I don't have another one to replace it.
by LaurB
17 Oct 2020, 13:55
Forum: ESP Easy: Software
Topic: MLX90614 temperature 1037
Replies: 10
Views: 9467

Re: MLX90614 temperature 1037

Only one MLX is attached

Task 1
Capture.PNG
Capture.PNG (26.5 KiB) Viewed 9443 times
Task 2
Capture1.PNG
Capture1.PNG (26.77 KiB) Viewed 9443 times
by LaurB
17 Oct 2020, 10:38
Forum: ESP Easy: Software
Topic: MLX90614 temperature 1037
Replies: 10
Views: 9467

Re: MLX90614 temperature 1037

I forgot to mention that the I2C scan detects the sensor.
Capture.PNG
Capture.PNG (4.05 KiB) Viewed 9465 times
I tried with a NodeMCU, the same results.
by LaurB
17 Oct 2020, 10:15
Forum: ESP Easy: Software
Topic: MLX90614 temperature 1037
Replies: 10
Views: 9467

MLX90614 temperature 1037

Hi, I'm having problems with the MLX90614 sensor. Temperature readings are 1037.55. I have tried using 100kHz and 400kHz I2C speed, the result is the same. 160566 : Info : MLX90614 : Temperature: 1037.55 160604 : Info : MLX90614 : Temperature: 1037.55 170566 : Info : MLX90614 : Temperature: 1037.55 ...
by LaurB
14 Sep 2020, 22:17
Forum: ESP Easy: Software
Topic: PCF8574 IO Switch by MQTT
Replies: 21
Views: 13711

Re: PCF8574 IO Switch by MQTT

I'm glad it works. I have tryed to replicate your setup, if I understood correctly. I used one D1 and an 8 relay board. 20200914_230057.jpg For this test I used http command PCFGPIO,<pin>,<value> to control the relays, for a real project I would have used openhab-mqtt. To monitor the relays I used 8...
by LaurB
14 Sep 2020, 09:24
Forum: ESP Easy: Software
Topic: PCF8574 IO Switch by MQTT
Replies: 21
Views: 13711

Re: PCF8574 IO Switch by MQTT

I'm using a PCF8574A to control a relay board. I only need 3 relays so I use the ports 65, 66 and 68. 20200914_091832.jpg To send the command to the esp unit I use openhab mqtt. Here is the thing/ item configuration for openhab: Thing mqtt:topic:esp12 "04 Kitchen ventilation" @ "Kitch...
by LaurB
05 Aug 2019, 23:12
Forum: ESP Easy: General Discussion
Topic: Problem with Rotary Encoder plugin
Replies: 3
Views: 7604

Re: Problem with Rotary Encoder plugin

It is a known issue. See https://github.com/letscontrolit/ESPEasy/issues/2492 The thing is, it is a programming error which will result in crashes every now and then, really hard to reproduce. Since core 2.5.2 there is a detection in the software to detect incorrect use of so called ISR functions a...
by LaurB
05 Aug 2019, 14:12
Forum: ESP Easy: General Discussion
Topic: Problem with Rotary Encoder plugin
Replies: 3
Views: 7604

Problem with Rotary Encoder plugin

Hello, I'm having problems with the rotary encoder plugin. I'm using EspEasy since R120 version so I can say I'm not doing something wrong, but it's the first time I'm using this plugin, so who knows. I did the configuration exactly like in the wiki https://www.letscontrolit.com/wiki/index.php?title...