Search found 228 matches

by Ath
23 Oct 2020, 08:05
Forum: ESP Easy: General Discussion
Topic: GPIO 4 flickering on reset
Replies: 2
Views: 12

Re: GPIO 4 flickering on reset

Have you configured a de-bounce value for the input? (50 - 100 msec), and does that GPIO have a physical pull-up resistor installed? (~4k7-10k, the internal pull-up is ~80-100k so a bit 'weak').
What length are the wires that connects the input to GPIO5?
by Ath
23 Oct 2020, 08:00
Forum: ESP Easy: General Discussion
Topic: Wemos D1 Mini and Latest Releases
Replies: 15
Views: 127

Re: Wemos D1 Mini and Latest Releases

Or try a build with 'beta' or 'alt_wifi' in its name, as these use a different version of the standard libraries and wifi libraries.
by Ath
22 Oct 2020, 22:18
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project - 2
Replies: 11
Views: 111

Re: USB KVM Switch modify project - 2

It looks like the default I2C addresses for both PCF8574 and LCD2004 are 0x20, so you should change one of them, and as the PCF has jumpers you could move the A0 jumper to the other position, so it should be configured for 0x21 instead.
by Ath
22 Oct 2020, 19:27
Forum: ESP Easy: General Discussion
Topic: Wemos D1 Mini and Latest Releases
Replies: 15
Views: 127

Re: Wemos D1 Mini and Latest Releases

But why was the 2018-dated build working? (See first post)
by Ath
22 Oct 2020, 07:51
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project - 2
Replies: 11
Views: 111

Re: USB KVM Switch modify project - 2

Why would you use an opto isolator if you are using the same power source for the 'outside' of that isolator as the Lolin? I would suggest to use a power source from the KVM switch for that, or not use the opto isolator at all, unless you need it for level conversion. But it looks more likely that t...
by Ath
21 Oct 2020, 13:04
Forum: ESP Easy: General Discussion
Topic: Wemos D1 Mini and Latest Releases
Replies: 15
Views: 127

Re: Wemos D1 Mini and Latest Releases

You will need to do this update via usb/serial to have a WiFi storage 'issue' resolved. Clearing the unit using a blank image and then install the update will work, but will of course delete all settings.
After installing a recent update over wire you can do subsequential updates via OTA again.
by Ath
18 Oct 2020, 22:58
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 312
Views: 90428

Re: RPIEasy

Arnold, there is no need to 'hide' the 10.0.0.x ip-address of your MQTT server, as that ip range is not routable over the internet as it is specially reserved for local intranets (many routers use it for their internal network, similar to the 192.168.x.y range, and a couple more), so nobody can reac...
by Ath
18 Oct 2020, 22:50
Forum: ESP Easy: Hardware
Topic: looking for flashable PIR sensor
Replies: 3
Views: 71

Re: looking for flashable PIR sensor

You may need to do some extra investigation, because the item you linked to claims to be a zigbee device, so it is very likely the extra controller connected to the ESP is the zigbee transceiver, and not controlling the pir sensor. Those pir sensors are usually simple on-off devices, so can be very ...
by Ath
18 Oct 2020, 21:24
Forum: ESP Easy: General Discussion
Topic: HTTP get command for sensor value
Replies: 29
Views: 6049

Re: HTTP get command for sensor value

Did you get that source from the Plugin PlayGround? Then it will only be included if PLUGIN_BUILD_TESTING is #defined, you might want to comment out the #ifdef PLUGIN_BUILD_TESTING line at the start of the _P159 source, and also the corresponding #endif at the end of that file.
by Ath
17 Oct 2020, 19:25
Forum: ESP Easy: Software
Topic: MLX90614 temperature 1037
Replies: 10
Views: 144

Re: MLX90614 temperature 1037

I notice there is no I2C address setting in this plugin, but in the past I've seen some (older) plugins that may use the "port" setting also as an offset for the I2C address. The address is 0x5A by default, where the unit number is added to: byte unit = CONFIG_PORT; uint8_t address = 0x5A + unit; N...
by Ath
17 Oct 2020, 19:13
Forum: ESP Easy: Software
Topic: MLX90614 temperature 1037
Replies: 10
Views: 144

Re: MLX90614 temperature 1037

Is that sensor compatible with 5V? As you connected it to an Arduino, that mostly use 5V logic, you may have broken it if it only supports 3.3V...

The on-board I2C pull-up resistors you can check/measure out with a simple multimeter.
by Ath
17 Oct 2020, 17:33
Forum: ESP Easy: Software
Topic: MLX90614 temperature 1037
Replies: 10
Views: 144

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.
by Ath
17 Oct 2020, 17:29
Forum: ESP Easy: General Discussion
Topic: timer
Replies: 20
Views: 787

Re: timer

When enabling rules, the Old engine is enabled by default. If you disable that, you won't be able to edit the 'Old' rules, so they won't be executed. No reason to disable that option, I would say...
by Ath
17 Oct 2020, 13:06
Forum: ESP Easy: Software
Topic: MLX90614 temperature 1037
Replies: 10
Views: 144

Re: MLX90614 temperature 1037

You don't have other sensors attached? (The screenshots are very minimal)
by Ath
17 Oct 2020, 13:04
Forum: ESP Easy: General Discussion
Topic: timer
Replies: 20
Views: 787

Re: timer

The 'Old' engine is the current way of executing the rules from Rules1..4.txt files, so it should be enabled if you want these to be executed.
That's by design, the design for the 'New' rules isn't completed yet, and not fully backward compatible atm.
by Ath
16 Oct 2020, 07:55
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 250
Views: 132603

Re: Support for PZEM 004T Energy monitor

/PlatformIO/Projects/ESPEasy-power/src/_P251_PZEM004Tv3.ino:54:37: error: 'SENSOR_TYPE_QUAD' was not declared in this scope Device[deviceCount].VType = SENSOR_TYPE_QUAD; That should at least be adjusted to: (just a quick peek in one of the other, more current, _Pxxx.ino files) Device[deviceCount].V...
by Ath
16 Oct 2020, 07:46
Forum: ESP Easy: General Discussion
Topic: HTTP get command for sensor value
Replies: 29
Views: 6049

Re: HTTP get command for sensor value

Or you parse the json output on the receiving platform, if you have the option of processing it using javascript or python, that's really easy.
by Ath
15 Oct 2020, 21:03
Forum: ESP Easy: General Discussion
Topic: Current firmware not work on Wroom02 (2MB)
Replies: 5
Views: 156

Re: Current firmware not work on Wroom02 (2MB)

You might need to run an empty flash on the ESP, and after that the desired .bin file, you seem to have a different memory layout, and when switching (memory)layout a forced clean is strongly advised. The WiFi settings are specifically 'vulnerable' as at some point they may have been saved outside o...
by Ath
15 Oct 2020, 14:01
Forum: ESP Easy: Hardware
Topic: Support for PZEM 004T Energy monitor
Replies: 250
Views: 132603

Re: Support for PZEM 004T Energy monitor

ssd wrote: 15 Oct 2020, 12:50 Hi,

Can someone please provide connection diagram for connecting PZEM-004t withesp8266 nodemcu and load? I am unable to get any value on ESPeasy web interface.
If you start reading from message #205 in this thread and down it should be quite clear.
by Ath
15 Oct 2020, 09:12
Forum: ESP Easy: General Discussion
Topic: automatic switching of the GPIO
Replies: 11
Views: 187

Re: automatic switching of the GPIO

But ESP8266 has no provision of 5V on its GPIO so we are bound to use 3.3V. And on checking using multimeter the input to the relay is 3.12 V and another relay switches at the same voltage. Well, you can use a level converter for that (a transistor and a few resistors can make you one). 3.12V is ju...
by Ath
14 Oct 2020, 20:08
Forum: ESP Easy: General Discussion
Topic: Dummy device > Domoticz
Replies: 11
Views: 185

Re: Dummy device > Domoticz

Have you set up the/a username/password for the ESPEasy controller correctly? (from Domoticz: Settings/System/'Website Security' or smth. similar)
by Ath
14 Oct 2020, 19:03
Forum: ESP Easy: General Discussion
Topic: Dummy device > Domoticz
Replies: 11
Views: 185

Re: Dummy device > Domoticz

What Controller configuration have you setup on your ESP device, making the connection to Domoticz?
by Ath
14 Oct 2020, 13:48
Forum: ESP Easy: General Discussion
Topic: automatic switching of the GPIO
Replies: 11
Views: 187

Re: automatic switching of the GPIO

Is your relay input 5V or 3.3V? It may be that the relay input isn't stable enough at the high level of the ESP (3.3V) if the relay is for 5V.
by Ath
10 Oct 2020, 10:20
Forum: ESP Easy: Software
Topic: Wemos D1 I2C Befehl senden
Replies: 25
Views: 1529

Re: Wemos D1 I2C Befehl senden

I would expect the [device#variable] to be replaced by the current sensor value, so, no event would trigger that piece of code?
by Ath
09 Oct 2020, 17:10
Forum: ESP Easy: Software
Topic: Wemos D1 I2C Befehl senden
Replies: 25
Views: 1529

Re: Wemos D1 I2C Befehl senden

You might want to remove the square brackets from the line with 'on ... do'
by Ath
09 Oct 2020, 10:47
Forum: ESP Easy: Projects / Applications
Topic: D1 Mini & OpenHab
Replies: 10
Views: 574

Re: D1 Mini & OpenHab

Michael_BruceLee wrote: 09 Oct 2020, 10:42 i´ve tried tasmota yesterday and there is kinda the same problem.
That's why I asked if it ever worked as intended, or is this a new 'expected behavior'?
by Ath
09 Oct 2020, 07:41
Forum: ESP Easy: General Discussion
Topic: Sonoff Relay, UDP SendTo, and Wifi interference
Replies: 2
Views: 298

Re: Sonoff Relay, UDP SendTo, and Wifi interference

Does this also happen when switching another gpio? For example gpio 2, instead of 12.
by Ath
08 Oct 2020, 21:25
Forum: ESP Easy: Software
Topic: Plugin 095 - TFT
Replies: 14
Views: 678

Re: Plugin 095 - TFT

iron wrote: 08 Oct 2020, 10:40 Something similar (if not identical) to this :

https://nodemcu-build.com/

Would be a definite plus to the ESPEasy
That kind of 'developer-UI' is what I could have 'designed' :D :D :D
But it does give a suggestion for what would be usable :idea:
by Ath
08 Oct 2020, 21:18
Forum: ESP Easy: General Discussion
Topic: SendToHttp Raw-Message
Replies: 29
Views: 924

Re: SendToHttp Raw-Message

Is the receiving ESP by any chance using https as the protocol? Because your browser does connect, but most browsers nearly automatically use https.
ESPEasy doesn't support https (because of memory, flash-size and CPU restrictions), but a specific, maybe single function, ESP software can use https.
by Ath
08 Oct 2020, 17:22
Forum: ESP Easy: Projects / Applications
Topic: D1 Mini & OpenHab
Replies: 10
Views: 574

Re: D1 Mini & OpenHab

Interesting to know: Has it ever worked as you describe it?
by Ath
08 Oct 2020, 16:25
Forum: ESP Easy: Software
Topic: neopixel (basic)
Replies: 12
Views: 787

Re: neopixel (basic)

Ah, that one is quite old and might not have the HSV feature, you should really consider upgrading to a more recent (nightly, but quite stable) build, available from here: https://github.com/letscontrolit/ESPEasy/releases
That will very probably fix the issues you reported here.
by Ath
08 Oct 2020, 15:40
Forum: ESP Easy: Software
Topic: neopixel (basic)
Replies: 12
Views: 787

Re: neopixel (basic)

What version of ESPEasy (.bin file is most informative) do you have installed on your Wemos?
by Ath
07 Oct 2020, 18:51
Forum: ESP Easy: Software
Topic: Plugin 095 - TFT
Replies: 14
Views: 678

Re: Plugin 095 - TFT

Ah, currently, the P095 plugin only supports the 3 fonts that you already found, but has no provision for adding fonts easily. You are welcome to make a PR for that, of course. Please keep them in the same #ifdef for the current fonts, so they will be excluded for memory-challenged builds. @TD-er, y...
by Ath
07 Oct 2020, 14:00
Forum: ESP Easy: Software
Topic: Plugin 095 - TFT
Replies: 14
Views: 678

Re: Plugin 095 - TFT

The fonts are not included when LIMIT_BUILD_SIZE is defined, and that is defined for the TEST builds, the only build where this plugin is included, AFAICS...
by Ath
07 Oct 2020, 09:52
Forum: ESP Easy: Software
Topic: Plugin 095 - TFT
Replies: 14
Views: 678

Re: Plugin 095 - TFT

I noticed a problem: if the output sensor value changes in my test, the new value is written "above", i.e. it is not deleted beforehand. As a solution, I try to clear the entire display, but that is too slow and the display sequences are unsightly. You can use the background color when updating a v...
by Ath
06 Oct 2020, 13:16
Forum: ESP Easy: Software
Topic: Plugin 095 - TFT
Replies: 14
Views: 678

Re: Plugin 095 - TFT

You can issue 'tft' commands from the rules, assuming you know what locations of the screen the values need to go you can just put them there from the 'on sensor#value do' event, using %eventvalue% or [sensor#value]
by Ath
06 Oct 2020, 09:15
Forum: ESP Easy: General Discussion
Topic: Making EspEasy a little bit more useable with ioBroker
Replies: 37
Views: 1205

Re: Making EspEasy a little bit more useable with ioBroker

Well, I've seen TD-er suggest starting a timer as the solution a couple of times, this is copied from the PLUGIN_ONCE_A_SECOND event of P028: if (P028_data->updateMeasurements(tempOffset, event->TaskIndex)) { // Update was succesfull, schedule a read. Scheduler.schedule_task_device_timer(event->Task...
by Ath
06 Oct 2020, 08:58
Forum: ESP Easy: General Discussion
Topic: Making EspEasy a little bit more useable with ioBroker
Replies: 37
Views: 1205

Re: Making EspEasy a little bit more useable with ioBroker

You could issue a TaskValueRun command from the rules (if you are using rules), or schedule a timer (there are examples available in other plugins, but I don't have them at hand right now)
by Ath
05 Oct 2020, 19:42
Forum: ESP Easy: General Discussion
Topic: SendToHttp Raw-Message
Replies: 29
Views: 924

Re: SendToHttp Raw-Message

Does your receiving ESP use ip filtering, just like ESPEasy (see Hardware tab)? and if so, is the sending ESP in the allowed range? It looks much like the ESP's can't or won't see each other on the network. That includes having the sending ESP on a separate 'IoT' or guest network, that your router m...
by Ath
05 Oct 2020, 17:05
Forum: ESP Easy: General Discussion
Topic: SendToHttp Raw-Message
Replies: 29
Views: 924

Re: SendToHttp Raw-Message

or only this line in Tools/Command: " SendToHTTP 192.168.1.137,80,/set_ist?IstTemp=21" Can you show the log (please include a line before and after, and any lines inbetween the cmd and sendtohttp lines) when sending it from the tools page (then it is working , as I read from your comment)? Does it ...
by Ath
30 Sep 2020, 21:28
Forum: ESP Easy: General Discussion
Topic: undefined reference to `do_process_c00x
Replies: 29
Views: 1058

Re: undefined reference to `do_process_c00x

This Gitpod plugin is for sure for Chrome/Chromium browsers. Not sure if it also exists for other browsers. The Gitpod button will then appear on the top of this page https://github.com/letscontrolit/ESPEasy Right next to the green "Code" download button. There is also a plugin/extension for Firefo...
by Ath
30 Sep 2020, 07:52
Forum: ESP Easy: General Discussion
Topic: MCP23017: Port control - not Pin control
Replies: 7
Views: 595

Re: MCP23017: Port control - not Pin control

I like the idea (also saw your suggestion on github). That github improvement still needs some time tough, it seems.
by Ath
29 Sep 2020, 21:39
Forum: ESP Easy: General Discussion
Topic: MCP23017: Port control - not Pin control
Replies: 7
Views: 595

Re: MCP23017: Port control - not Pin control

i have 31 combenations that the ports need to be in, not just On/Off. Depecning on a input value of 0 to 30, there is a "MAP" value that the ports need to be in. That is why i was looking at sending a 16bit "Port" value as one comand instead of 16 commands to set each port when the input value chan...
by Ath
29 Sep 2020, 20:37
Forum: ESP Easy: General Discussion
Topic: MCP23017: Port control - not Pin control
Replies: 7
Views: 595

Re: MCP23017: Port control - not Pin control

Well, the plugin doesn't have a command to switch on all 16 gpio's at once, but you can add an event in the rules to turn 'm all on using 1 command: on mcpgpioall do mcpgpio,1,%eventvalue% mcpgpio,2,%eventvalue% mcpgpio,3,%eventvalue% // and some more... mcpgpio,16,%eventvalue% endon That allows to ...
by Ath
27 Sep 2020, 14:44
Forum: ESP Easy: Software
Topic: Fill all dummy sensor entries in one json
Replies: 19
Views: 1015

Re: Fill all dummy sensor entries in one json

Only the first 4 arguments will be passed on to the event, so only %eventvalue1% to eventvalue4% are available. Please note that %eventvalue% (as seen in many documentation examples) is the alias for %eventvalue1%.
And, as noted earlier, only numerical values can be passed (to event and asyncevent).
by Ath
23 Sep 2020, 21:35
Forum: ESP Easy: General Discussion
Topic: Stack overflow at chained events in irrigation-control-rules
Replies: 31
Views: 1157

Re: Rule-help with irrigation control

Hmm, weird, one possibility could be that there are non-printable characters in your rules file, that won't show in the web editor. You'll need a proper editor (preferably Notepad++, View/Show Symbol/Show All Characters, but VS Code should be able to do that too), that can show non-printable charact...
by Ath
23 Sep 2020, 20:16
Forum: ESP Easy: General Discussion
Topic: Stack overflow at chained events in irrigation-control-rules
Replies: 31
Views: 1157

Re: Rule-help with irrigation control

Have you tried enabling all lines, except event,PumpeUndNT=%eventvalue2% in the VentilSchalten event handler? Those if's seem quite harmless, so I wouldn't expect it to crash. There is also the ASyncEvent command, analog to the Event command, except it puts the event in the queue for processing, ins...
by Ath
23 Sep 2020, 19:12
Forum: ESP Easy: General Discussion
Topic: Stack overflow at chained events in irrigation-control-rules
Replies: 31
Views: 1157

Re: Rule-help with irrigation control

The event handler PumpeUndNT has an if construction with too many conditions, a maximum of 3 conditions is supported. You'll have to break that up. And you can't use arithmetic in those conditions (that would have been a simple fix). If's can go up to 10 levels deep, so it is still quite easy to fix...
by Ath
22 Sep 2020, 21:19
Forum: ESP Easy: General Discussion
Topic: Functions in rules. For example, ABS.
Replies: 6
Views: 865

Re: Functions in rules. For example, ABS.

How can I do it in one block? There are no subroutines in the rules. User defined events are the substitute for subroutines: on T_1#T do event,CalcAbsDiff endon on T_2#T do event,CalcAbsDiff endon on CalcAbsDiff do if [T_1#T] > [T_2#T] TaskValueSet 12,3,[T_1#T]-[T_2#T] else TaskValueSet 12,3,[T_2#T...
by Ath
22 Sep 2020, 13:04
Forum: ESP Easy: Hardware
Topic: wemos + two led
Replies: 3
Views: 856

Re: wemos + two led

That will be available when a) the plugin allows multiple instances and b) PR#3198 is merged.