Search found 8739 matches

by TD-er
13 Jan 2021, 15:22
Forum: ESP Easy: General Discussion
Topic: releay bounce at boot
Replies: 20
Views: 9659

Re: releay bounce at boot

You could use the rules to act on the System#boot event and then use the commands ControllerDisable and ControllerEnable. See: https://espeasy.readthedocs.io/en/latest/Reference/Command.html For example, set a timer at boot and disable the controller. Then, when the timer expires, you can enable the...
by TD-er
13 Jan 2021, 10:57
Forum: ESP Easy: General Discussion
Topic: Possible issue with ADS1115 plugin?
Replies: 17
Views: 11594

Re: Possible issue with ADS1115 plugin?

Can you add an issue for it on Github?
Issues here are always hard to find back.
by TD-er
12 Jan 2021, 18:03
Forum: ESP Easy: General Discussion
Topic: MCP23017
Replies: 10
Views: 4316

Re: MCP23017

Yep.
But please remind me later this evening to reply, as I now have to go and the forum doesn't have a "mark as unread"
by TD-er
12 Jan 2021, 13:00
Forum: ESP Easy: General Discussion
Topic: can we make an option to disable AP mode
Replies: 7
Views: 6161

Re: can we make an option to disable AP mode

I've seen a number of similar frustrations... ehh features on pro grade devices, so I know what you mean.

Really strange to see prosumer/enterprise products often also means it is a lot harder to configure right.
by TD-er
12 Jan 2021, 12:58
Forum: ESP Easy: Software
Topic: pulsecounter acting strange after latest changes
Replies: 20
Views: 14214

Re: pulsecounter acting strange after latest changes

Yep, indeed you need to change the event to use "#All" in the rules block handling the event. I'm glad we had this discussion, as it gave me an idea for a very simple optimization which also makes the rules a lot less complex in the end. Especially on plugins like the pulse counter which c...
by TD-er
12 Jan 2021, 12:53
Forum: ESP Easy: Hardware
Topic: ESP32 flashing problem
Replies: 13
Views: 28293

Re: ESP32 flashing problem

The ESPEasy flasher (the one with GUI) is indeed not compatible with ESP32.
I recently documented flashing the ESP32 here: https://espeasy.readthedocs.io/en/lates ... html#esp32
by TD-er
12 Jan 2021, 12:51
Forum: ESP Easy: Software
Topic: Mega (V2.0.0) OTA firmware updates on 1MB modules
Replies: 47
Views: 33183

Re: Mega (V2.0.0) OTA firmware updates on 1MB modules

What is the size of the currently flashed 'sketch' ?
You can see it on the sysinfo page at the bottom.
If it is > 600 kB, you cannot update via OTA, not even when using the 2-step OTA.
by TD-er
12 Jan 2021, 00:03
Forum: ESP Easy: Software
Topic: pulsecounter acting strange after latest changes
Replies: 20
Views: 14214

Re: pulsecounter acting strange after latest changes

See for test build:
https://github.com/letscontrolit/ESPEas ... -758278897

This allows you to set the checkbox to combine all values of a task in a single event.
Image
by TD-er
11 Jan 2021, 23:55
Forum: ESP Easy: General Discussion
Topic: MCP23017
Replies: 10
Views: 4316

Re: MCP23017

I can't see your images.
by TD-er
11 Jan 2021, 23:18
Forum: ESP Easy: General Discussion
Topic: can we make an option to disable AP mode
Replies: 7
Views: 6161

Re: can we make an option to disable AP mode

Hmm that means this interruption is longer then "short" as the timeout for a reconnect fail is like 20 seconds.
by TD-er
11 Jan 2021, 23:11
Forum: ESP Easy: Software
Topic: pulsecounter acting strange after latest changes
Replies: 20
Views: 14214

Re: pulsecounter acting strange after latest changes

Based on this discussion I added a new feature and will now make a test build for you.

See the last commit on this PR: https://github.com/letscontrolit/ESPEasy/pull/3439
by TD-er
11 Jan 2021, 22:21
Forum: ESP Easy: Software
Topic: publish command with too complex parameters ?
Replies: 2
Views: 3389

Re: publish command with too complex parameters ?

See: https://github.com/letscontrolit/ESPEasy/issues/2724 The message you try to send do have normal quotes and commas. So you must wrap it in commas not used in the parameter, like a single quote. publish milight/0x8233/rgbw/4,'{"state":"ON","brightness":143,"bulb...
by TD-er
11 Jan 2021, 21:54
Forum: ESP Easy: General Discussion
Topic: How set uservar in Domotucz
Replies: 18
Views: 10579

Re: How set uservar in Domotucz

Are you sure the URL is using "vvalue" ? I thought Domoticz only used "nvalue" (integer) or "svalue" (string). Also I guess this part can be slightly simpler: on System#Boot do Monitor GPIO,12 SendToHTTP,192.168.68.29,8080,/json.htm?type=command&param=updateuservari...
by TD-er
11 Jan 2021, 21:11
Forum: ESP Easy: Software
Topic: pulsecounter acting strange after latest changes
Replies: 20
Views: 14214

Re: pulsecounter acting strange after latest changes

When looking at your rules, I notice you have 2 entries for the "Watermeter" When handling the Watermeter#Count event, you also look at the [Watermeter#Time] value. However, the order of values of the pulse plugin is: - Count - Total - Time That's also the order in which the events are sen...
by TD-er
11 Jan 2021, 16:41
Forum: ESP Easy: Software
Topic: pulsecounter acting strange after latest changes
Replies: 20
Views: 14214

Re: pulsecounter acting strange after latest changes

You should always use the %eventvalue% notation in handling events. The reason is very simple; Events may be queued and processed one at a time. So if you handle an event, the event values were stored at the time the event was created and added to the queue, but the task values they reflect may have...
by TD-er
10 Jan 2021, 20:34
Forum: Introduce yourself
Topic: Hi all :)
Replies: 13
Views: 8962

Re: Hi all :)

We do have the serial gateway and Serial proxy.

The last one is still very experimental and essentially does read an ASCII line from serial (until newline) and sends it to a configured MQTT controller.
You can also use a command of that plugin to send an ASCII line to the serial port.
by TD-er
10 Jan 2021, 16:17
Forum: ESP Easy: General Discussion
Topic: Add Lights Plugin in EspEasy Compiling Help needed
Replies: 19
Views: 8962

Re: Add Lights Plugin in EspEasy Compiling Help needed

I think this is going to be somewhat of an endless exercise as the code of that plugin is over 4 years old, so I think there will be other things that may need additional includes or small prefix changes. So I can try to compile it later this evening, to see what else is needed. But it seems quite a...
by TD-er
10 Jan 2021, 14:58
Forum: ESP Easy: General Discussion
Topic: Add Lights Plugin in EspEasy Compiling Help needed
Replies: 19
Views: 8962

Re: Add Lights Plugin in EspEasy Compiling Help needed

If you need the fading, we can help you to call this function in the PLUGIN_FIFTY_PER_SECOND loop.
by TD-er
10 Jan 2021, 14:53
Forum: ESP Easy: General Discussion
Topic: Add Lights Plugin in EspEasy Compiling Help needed
Replies: 19
Views: 8962

Re: Add Lights Plugin in EspEasy Compiling Help needed

Why does it need the Ticker library? We do have a number of timer options that can be used to for example perform the next fade step as it tries to do here: https://github.com/ddtlabs/ESPEasy-Plugin-Lights/blob/1b2069fac1bf3c829a1c6c243c30a81aa1b70033/_P123_LIGHTS.ino#L274-L278 // disable Timer if d...
by TD-er
10 Jan 2021, 13:04
Forum: ESP Easy: Software
Topic: OLED SSD1306/SH1106 Framed: Prevent automatic "step through pages"
Replies: 2
Views: 3431

Re: OLED SSD1306/SH1106 Framed: Prevent automatic "step through pages"

Hmm I don't think so. We could set the "TimerOptional" value of the plugin in the code, but I don't know whether that may cause issues for people who never set the value. (This is a remark meant for Ton, who is probably also reading this ;) ) For now you could set the interval to an extrem...
by TD-er
08 Jan 2021, 15:01
Forum: RFlink: General Discussions
Topic: RFLink with Somfy Blinds : unbelievable issue...
Replies: 4
Views: 16536

Re: RFLink with Somfy Blinds : unbelievable issue...

I don't have either of the Somfy blinds, nor a RFlink, so maybe it doesn't have to do with this issue at all. My first idea when reading your post is that one of the remotes or some other device in the neighborhood running on the same frequency has a low battery and is now jamming the ether with pac...
by TD-er
08 Jan 2021, 13:27
Forum: ESP Easy: General Discussion
Topic: ESP32 Wroom PWM and capacitive touch support status
Replies: 11
Views: 6531

Re: ESP32 Wroom PWM and capacitive touch support status

Maybe you can also add a separate feature request issue on Github for this?
Requests like these are later next to impossible to find when I want to work on them. (and also to remind me to work on them)
by TD-er
08 Jan 2021, 10:57
Forum: ESP Easy: Software
Topic: Control ESPEasy-thermostat -> Rules problem
Replies: 34
Views: 26545

Re: Control ESPEasy-thermostat -> Rules problem

Also keep in mind that the "calculate" function (to do computations) is not yet done on all commands in the rules. (this is something I'm looking into for a pending PR, so not yet fixed) The Let command does call all kinds of calculate functions, so that's the safest one for doing computat...
by TD-er
08 Jan 2021, 10:55
Forum: ESP Easy: General Discussion
Topic: ESP32 Wroom PWM and capacitive touch support status
Replies: 11
Views: 6531

Re: ESP32 Wroom PWM and capacitive touch support status

Yep, I could add a check for matching frequencies when assigning a channel. Just have to check/test if frequency is the only limiting factor. I also added a wrapper for this check to the Servo calls, so have to check what will happen if I mess with channels for another pin, which is a shared channel...
by TD-er
07 Jan 2021, 23:32
Forum: ESP Easy: Hardware
Topic: GY-530 VL53L0X Laser Ranging Sensor Time-of-Flight
Replies: 76
Views: 35225

Re: GY-530 VL53L0X Laser Ranging Sensor Time-of-Flight

@Ton:
Maybe log the incorrect read value? That's more useful in debugging.
by TD-er
07 Jan 2021, 23:10
Forum: ESP Easy: Hardware
Topic: GY-530 VL53L0X Laser Ranging Sensor Time-of-Flight
Replies: 76
Views: 35225

Re: GY-530 VL53L0X Laser Ranging Sensor Time-of-Flight

Ah you got a bit carried away I see :)
by TD-er
07 Jan 2021, 21:36
Forum: Introduce yourself
Topic: Hi all :)
Replies: 13
Views: 8962

Re: Hi all :)

Well we've got you covered on those topics here, so be welcome :)
by TD-er
07 Jan 2021, 16:07
Forum: ESP Easy: Hardware
Topic: GY-530 VL53L0X Laser Ranging Sensor Time-of-Flight
Replies: 76
Views: 35225

Re: GY-530 VL53L0X Laser Ranging Sensor Time-of-Flight

Ath wrote: 07 Jan 2021, 16:01
TD-er wrote: 07 Jan 2021, 15:48 0x52 >> 1 = 0x29
My hex calculations aren't that trained to see that immediately, thnx ;)
Would you say it is a bit shifted? ;)
by TD-er
07 Jan 2021, 15:48
Forum: ESP Easy: Hardware
Topic: GY-530 VL53L0X Laser Ranging Sensor Time-of-Flight
Replies: 76
Views: 35225

Re: GY-530 VL53L0X Laser Ranging Sensor Time-of-Flight

After many researched, I found that my sensor uses the 0x39 I2C address instead of 0X29. Strange, according to the chip documentation, a VL53L0X has an I2C address of 0x52 , not 0x29, 0x30 or 0x39, at wat address is it found by the ESPEasy I2C Scanner (Tools page)? Can you provide a link to the act...
by TD-er
07 Jan 2021, 15:43
Forum: ESP Easy: General Discussion
Topic: ESP32 Wroom PWM and capacitive touch support status
Replies: 11
Views: 6531

Re: ESP32 Wroom PWM and capacitive touch support status

The way I programmed it, is so it will keep track of pins that are assigned for a "channel" (maybe not the "channel" as used in the ESP32 definition) so they will at least not interfere with each other as long as you keep the frequency the same. So you have to test whether it may...
by TD-er
07 Jan 2021, 12:25
Forum: ESP Easy: Hardware
Topic: GY-530 VL53L0X Laser Ranging Sensor Time-of-Flight
Replies: 76
Views: 35225

Re: GY-530 VL53L0X Laser Ranging Sensor Time-of-Flight

Hello, this thread is pretty old but I get a try :) So I bought the same Sensor and I cannot manage to use it with (EspEasy or else). After many researched, I found that my sensor uses the 0x39 I2C address instead of 0X29. Is there a solution to edit this address used by the plugin without full rec...
by TD-er
07 Jan 2021, 12:20
Forum: ESP Easy: General Discussion
Topic: ESP32 Wroom PWM and capacitive touch support status
Replies: 11
Views: 6531

Re: ESP32 Wroom PWM and capacitive touch support status

Just keep in mind when chosing the touch pins, that you're using the ones connected to the ADC which is not used by the WiFi. See: https://espeasy.readthedocs.io/en/latest/Plugin/P002.html?highlight=adc#wifi-activity-and-adc And before building it, please test using something like a NodeMCU board (w...
by TD-er
07 Jan 2021, 09:55
Forum: ESP Easy: General Discussion
Topic: ESP32 Wroom PWM and capacitive touch support status
Replies: 11
Views: 6531

Re: ESP32 Wroom PWM and capacitive touch support status

It is correct that the recent builds of the ESP32 now use the hardware PWM for constant frequencies. (hardware fade is not yet used) The ESP32 does have 2 PWM circuits: - One based on 80 MHz clock - One based on 1 MHz clock To me it is not entirely clear when the 80 MHz clock version cannot be used,...
by TD-er
06 Jan 2021, 21:47
Forum: ESP Easy: General Discussion
Topic: Slow performance
Replies: 5
Views: 5352

Re: Slow performance

Well it does sound a bit too familiar as Thomas also had similar issues with his Sonoff Basic.
There is something special (read: wrong) with those Sonoff Basic units and so far I was not able to find out what.
by TD-er
06 Jan 2021, 18:13
Forum: ESP Easy: General Discussion
Topic: Slow performance
Replies: 5
Views: 5352

Re: Slow performance

OK, sorry missed that.

What RSSI do you have when connected?
by TD-er
06 Jan 2021, 13:11
Forum: ESP Easy: General Discussion
Topic: Slow performance
Replies: 5
Views: 5352

Re: Slow performance

Depending on how old the previous firmware was, you may need to flash using a blank image to also clear any WiFi settings stored as WiFi calibration.

If the WiFi calibration is incorrect, then you may experience slow WiFi and/or frequent reconnects.
by TD-er
06 Jan 2021, 12:55
Forum: ESP Easy: General Discussion
Topic: No wifi acces point after mega flash NodeMcu
Replies: 15
Views: 7258

Re: No wifi acces point after mega flash NodeMcu

There is a number of things that can go wrong when flashing: - GPIO-0 must be pulled to GND at boot to enter flash mode (more on that later) - GPIO-15 must be low & GPIO-2 must be high, which is done on the boards using pull-down and -up resistors, so make sure nothing is connected to the ESP at...
by TD-er
06 Jan 2021, 00:52
Forum: ESP Easy: General Discussion
Topic: No wifi acces point after mega flash NodeMcu
Replies: 15
Views: 7258

Re: No wifi acces point after mega flash NodeMcu

If it isn't sending ESPEasy logs at 115200 baud, then I think it was not flashed at all.
by TD-er
05 Jan 2021, 21:55
Forum: ESP Easy: General Discussion
Topic: No wifi acces point after mega flash NodeMcu
Replies: 15
Views: 7258

Re: No wifi acces point after mega flash NodeMcu

If it doesn't start an AP, are you sure it is flashed correctly?
For example do you see ESPEasy logs on the serial port when booting it?
by TD-er
05 Jan 2021, 21:53
Forum: ESP Easy: Software
Topic: How to delay in Rules
Replies: 4
Views: 3813

Re: How to delay in Rules

You're welcome. Just one final notice... when do you trigger this event? After the prusa has cooled down? Make sure to allow the Prusa's extruder to be cooled down below 50C or else you will end up with a clogged extruder some day. It needs the fan to remain spinning to make sure the filament will n...
by TD-er
05 Jan 2021, 20:27
Forum: ESP Easy: Software
Topic: How to delay in Rules
Replies: 4
Views: 3813

Re: How to delay in Rules

Don't use the delay command, but rather set a timer.
See "timerset" : https://espeasy.readthedocs.io/en/lates ... rSet#timer
by TD-er
05 Jan 2021, 16:33
Forum: ESP Easy: Software
Topic: Servo control slow gradually
Replies: 10
Views: 7487

Re: Servo control slow gradually

You could create a loop in the rules and use a variable to keep track of the current state of the servo. on openevent do let,2,30 // var#1 = cur position, var#2 = target position let,3,([var#2]-[var#1])/10 // Step size loopTimerSet_ms,1,500,10 // 10 loop steps of 500 msec each endon on Rules#Timer=1...
by TD-er
05 Jan 2021, 16:14
Forum: ESP Easy: General Discussion
Topic: can we make an option to disable AP mode
Replies: 7
Views: 6161

Re: can we make an option to disable AP mode

Is it also possible the access point is actively disconnecting some/all clients after reaching some threshold of CRC errors per second? If so, then that could explain the symptoms you're seeing. What you can do, is force the unit to use B/G mode for WiFi. That does give some extra room in the min. a...
by TD-er
05 Jan 2021, 16:05
Forum: ESP Easy: General Discussion
Topic: No wifi acces point after mega flash NodeMcu
Replies: 15
Views: 7258

Re: No wifi acces point after mega flash NodeMcu

The 3-year old NodeMCU board should be one with a proper voltage regulator (a big AMS1117). Later boards have very flaky voltage regulators which do cause lots of issues. For WiFi instability, there are the 'standard' checks to test: (Most of them in Advanced settings, bottom page) - Force WiFi B/G ...
by TD-er
05 Jan 2021, 00:10
Forum: ESP Easy: General Discussion
Topic: No wifi acces point after mega flash NodeMcu
Replies: 15
Views: 7258

Re: No wifi acces point after mega flash NodeMcu

First thing that may come to mind is maybe that there is some data left of a previous installed firmware which left traces of WiFi configuration on the flash that doesn't get wiped when you flash a new firmware.
Can you test with flashing a blank image first and then a recent build of your liking?
by TD-er
04 Jan 2021, 14:29
Forum: ESP Easy: General Discussion
Topic: R120 upgrading to 20111 - Mega?
Replies: 6
Views: 5219

Re: R120 upgrading to 20111 - Mega?

That should work. (at least that has been my intention to keep settings compatible)
by TD-er
04 Jan 2021, 12:42
Forum: ESP Easy: Projects / Applications
Topic: envoi température à un autre ESP
Replies: 8
Views: 10859

Re: envoi température à un autre ESP

Glad it is now working :)
by TD-er
04 Jan 2021, 12:12
Forum: ESP Easy: Projects / Applications
Topic: envoi température à un autre ESP
Replies: 8
Views: 10859

Re: envoi température à un autre ESP

Code: Select all

sendToHTTP,192.168.1.128,80,'/control?cmd=taskValueSet,4,2,19.50'
The last parameter of "sendtohttp" is the URL.
This means you need to wrap that one in quotes, not the parameters of "taskvalueset".
by TD-er
03 Jan 2021, 23:25
Forum: ESP Easy: Projects / Applications
Topic: Help: A guide for a battery powered measuring station
Replies: 16
Views: 14116

Re: Help: The ultimate guide for batterie powered measuring station

As Thingspeak has a rate limit on it, wouldn't it make more sense to send the data to another node in the network which isn't battery powered and let that one handle sending it? The Thingspeak limit is not my problem. Data is beeing send around every 30minutes My problem is, that i dont know how to...