Search found 3480 matches

by Ath
31 Jan 2024, 09:36
Forum: ESP Easy: Hardware
Topic: Analog output 0-10V?
Replies: 127
Views: 26465

Re: Analog output 0-10V?

I've added documentation, can you please proof-read, and give feedback on this? Looking good to me! This is the only thing, what maybe could be added: and works from a single 3.3V power source 3.3V or 5V Technically that's correct, but when running the DAC board at 5V, then the I2C bus should use a...
by Ath
31 Jan 2024, 08:55
Forum: ESP Easy: General Discussion
Topic: parasite power
Replies: 12
Views: 2928

Re: parasite power

And you have the required pull-up resistor (see docs) installed for the DS18b20 (and other types of 1-wire) sensors? 1 pull-up per GPIO is enough.
by Ath
30 Jan 2024, 23:28
Forum: ESP Easy: Hardware
Topic: Analog output 0-10V?
Replies: 127
Views: 26465

Re: Analog output 0-10V?

@localhorst I've added documentation, can you please proof-read, and give feedback on this? (The board doesn't allow .pdf files as attachment)
by Ath
30 Jan 2024, 22:41
Forum: ESP Easy: Software
Topic: Help needed in customization built
Replies: 7
Views: 702

Re: Help needed in customization built

Seems I succeed ! Quite... Great :D 1) I have been unable to find the plugins related to RTC such as DS3231, just a setting "FEATURE_EXT_RTC 1"? Is it missing or must be called differently ? The External RTCs are enabled by default for the Custom builds, and the documentation shows how to...
by Ath
30 Jan 2024, 22:28
Forum: ESP Easy: General Discussion
Topic: how to connect esp32 to other device by RS232?
Replies: 13
Views: 1833

Re: how to connect esp32 to other device by RS232?

Due to time-constraints I've not yet been able to replay your scenario, though I'm trying to schedule time for that this weekend (ESPEasy is not my day-job...). No ETA though :|
by Ath
30 Jan 2024, 12:49
Forum: ESP Easy: Software
Topic: nested SendTo commands
Replies: 21
Views: 1479

Re: nested SendTo commands

IMHO, adding support for backslash "\" as the escape character, is nicely in line with the C++, Python and Javascript programming languages used in the project, so should cause minimal confusion.
by Ath
30 Jan 2024, 08:43
Forum: ESP Easy: Software
Topic: nested SendTo commands
Replies: 21
Views: 1479

Re: nested SendTo commands

chromo23 wrote: 30 Jan 2024, 00:47
TD-er wrote: 29 Jan 2024, 16:51 So far I can only come up with the sendTo.
Yes, i think this is the only command where this is needed...
In some cases where I need a bit more stable/confirmed command to be sent, I've used SendToHTTP instead of SendTo, but that may be an edge-case. :?
by Ath
30 Jan 2024, 08:40
Forum: ESP Easy: Hardware
Topic: Analog output 0-10V?
Replies: 127
Views: 26465

Re: Analog output 0-10V?

Wait, wait, wait! Now I've set "Spare" to initial 5V as well. Tested again, coming up with all 5V except for Kinder still 2V. Looked back in ioBroker and found this from testing: Bildschirmfoto 2024-01-30 um 00.07.59.png This cmd is containing: gp8403,preset,0,2 and going besides the MQTT...
by Ath
29 Jan 2024, 23:27
Forum: ESP Easy: Hardware
Topic: Analog output 0-10V?
Replies: 127
Views: 26465

Re: Analog output 0-10V?

Ah, that's a hint for a bug. :oops: When the plugin settings are saved, the state flag for restoring the previous value should be reset. It should also be fixed when forcing a hardware reset/power cycle on the device. Edit: Fix is pushed to GH https://github.com/letscontrolit/ESPEasy/actions/runs/77...
by Ath
29 Jan 2024, 22:31
Forum: ESP Easy: Software
Topic: Help needed in customization built
Replies: 7
Views: 702

Re: Help needed in customization built

There are some things unclear to me : 1) The statement at the beginning : define USE_CUSTOM_H as a build flags. ie : export PLATFORMIO_BUILD_FLAGS="'-DUSE_CUSTOM_H' " ; what does this mean, how to apply this requirement, please ? 2) In my search and readings, there is also noticed : "...
by Ath
29 Jan 2024, 20:39
Forum: ESP Easy: Hardware
Topic: Analog output 0-10V?
Replies: 127
Views: 26465

Re: Analog output 0-10V?

Just re-tested, but here it works as intended. My testing procedure: - Plug ESP32 16M board with MAX_16M8M_LittleFS build and GP8403 board into power (task already was enabled) - No controller configured on the plugin, nor any rules to change the output values - Output0 configured for initial value ...
by Ath
29 Jan 2024, 16:00
Forum: ESP Easy: Hardware
Topic: Analog output 0-10V?
Replies: 127
Views: 26465

Re: Analog output 0-10V?

I'll double check and leave it unplugged a little longer. Left the whole device unplugged from power like 10 Minutes - still returning to the values set before, not falling back. Is the ethernet cable also unplugged? Possibly it's keeping the ESP 'warm', in that it retains enough power to keep the ...
by Ath
29 Jan 2024, 15:24
Forum: ESP Easy: Hardware
Topic: Analog output 0-10V?
Replies: 127
Views: 26465

Re: Analog output 0-10V?

The WS_SZ. and Kinder. prefixes have to be included in your MQTT commands for gp8403, just like you have in the Rules, then it should work as intended. But maybe the Controller does something special to the command-content when having a period included, will have to check. What Controller do you hav...
by Ath
29 Jan 2024, 14:05
Forum: ESP Easy: Software
Topic: nested SendTo commands
Replies: 21
Views: 1479

Re: nested SendTo commands

And those were the braces I was thinking about using. But since those are not yet used, they are probably the least invasive to implement in the parsing code. With scopes I mean storing variables which will not be global and some other ideas... It just feels like it might be possible to combine bot...
by Ath
28 Jan 2024, 22:32
Forum: ESP Easy: Hardware
Topic: Analog output 0-10V?
Replies: 127
Views: 26465

Re: Analog output 0-10V?

I've added a setting: "Restore output on warm boot" (enabled by default when adding the plugin) to apply the last set value when the ESP reboots. On cold boot (powering on or after pressing the reset button) the configured initial values will be applied. and a command: - gp8403,init,<ch> :...
by Ath
28 Jan 2024, 15:11
Forum: ESP Easy: Hardware
Topic: Analog output 0-10V?
Replies: 127
Views: 26465

Re: Analog output 0-10V?

What I also haven’t tested yet: what if we command for example 20V? - The plugin won't accept a voltage value > 10V in the commands (or > 5V when configured for 0-5V range). And a preset value is also checked for the same range when applied. - The library code (and chip) only has 2 ranges, 0-5V and...
by Ath
28 Jan 2024, 14:38
Forum: ESP Easy: Hardware
Topic: Analog output 0-10V?
Replies: 127
Views: 26465

Re: Analog output 0-10V?

Ah, yes, that might be a bit confusing because of the way I wrote that down. The commands are quite straight forward, as you already found out, but the 'GET_CONFIG' values I've named that way as they can be retrieved from a plugin via the 'PLUGIN_GET_CONFIG_VALUE' function, similar to 'PLUGIN_INIT',...
by Ath
27 Jan 2024, 21:52
Forum: ESP Easy: Hardware
Topic: Analog output 0-10V?
Replies: 127
Views: 26465

Re: Analog output 0-10V?

Not tested yet: 0-5V feature. Just tested that myself. Besides the range-check in the plugin, the library does some recalculation of the voltage to the 12 bit range supported, but when set to 0-5V, and requesting 5V, that's what I actually measured on the output, so for me it works as intended :)
by Ath
27 Jan 2024, 18:04
Forum: ESP Easy: Hardware
Topic: Analog output 0-10V?
Replies: 127
Views: 26465

Re: Analog output 0-10V?

Very nice - looking good! :D Great :D When do you think this plugin will make it into a release? From my feeling, there is not so much left to do. There is still the documentation to do, that's also part of the repository, so only after completing that it should/will be merged. So now I have to kee...
by Ath
27 Jan 2024, 15:39
Forum: ESP Easy: Hardware
Topic: Analog output 0-10V?
Replies: 127
Views: 26465

Re: Analog output 0-10V?

Which GH Actions run will contain your changes? I'd like to test "Send out data for events/controllers when changing output values" Well, there is the 'Actions' tab in GH that shows the runs in date/time-descending order. You can probably recognize the PR title there. The current latest A...
by Ath
27 Jan 2024, 14:58
Forum: ESP Easy: Hardware
Topic: Analog output 0-10V?
Replies: 127
Views: 26465

Re: Analog output 0-10V?

Like this:
Screenshot - 27-01-2024 , 14_57_23.png
Screenshot - 27-01-2024 , 14_57_23.png (14.68 KiB) Viewed 3586 times
by Ath
27 Jan 2024, 14:31
Forum: ESP Easy: Hardware
Topic: Analog output 0-10V?
Replies: 127
Views: 26465

Re: Analog output 0-10V?

[...] *edit* One comment, just cosmetics, but: - const uint8_t i2cAddressValues[] = { 0x58, 0x59, 0x5A, 0x5B, 0x5C, 0x5D, 0x5E, 0x5F }; + const uint8_t i2cAddressValues[] = { 0x5F, 0x58, 0x59, 0x5A, 0x5B, 0x5C, 0x5D, 0x5E }; I'd leave the sorting as it was for a better overview. The goal is already...
by Ath
26 Jan 2024, 22:31
Forum: ESP Easy: Hardware
Topic: Analog output 0-10V?
Replies: 127
Views: 26465

Re: Analog output 0-10V?

Been testing, and besides like 0.5% offset (to be expected, 2 multimeters don't even agree :?) it works like a charm, so I'm happy with the result so far.

Any feedback or requests?

I might change the default I2C address to 0x5F as that seems to be the default.
by Ath
26 Jan 2024, 19:59
Forum: ESP Easy: Hardware
Topic: Analog output 0-10V?
Replies: 127
Views: 26465

Re: Analog output 0-10V?

localhorst wrote: 26 Jan 2024, 14:15 Ton - no hardware arrived yet?
It arrived today while I was at work, so I'll be playing with it tonight :D
by Ath
26 Jan 2024, 12:02
Forum: ESP Easy: Hardware
Topic: Analog output 0-10V?
Replies: 127
Views: 26465

Re: Analog output 0-10V?

As your board doesn't seem to contain hardware for RS485, you should be able to use GPIO32 and GPIO33 just fine.
by Ath
24 Jan 2024, 22:04
Forum: ESP Easy: Hardware
Topic: Analog output 0-10V?
Replies: 127
Views: 26465

Re: Analog output 0-10V?

@localhorst I've created a pull request PR #4952 , and the output will be available from this GH Actions run in due time. When you have the hardware you can test it (I'll also test it myself once I receive mine ;)), but you can already review the task settings. It's available in the MAX and Collecti...
by Ath
24 Jan 2024, 11:52
Forum: ESP Easy: Software
Topic: custom_IR_ESP8266_1M builds help needed
Replies: 9
Views: 1225

Re: differences in custom ESP8266_1M builds

chromo23 wrote: 24 Jan 2024, 11:34 Hey @TDer,
can you tell what the differences are. I don´t know which one i should use....
custom esp.png
That's actually explained in the README.md (frontpage) on Github... :lol:
by Ath
23 Jan 2024, 19:57
Forum: ESP Easy: Hardware
Topic: D1 mini Pro boards (clones) no longer work with 5V external power!? Software issue?
Replies: 72
Views: 65339

Re: D1 mini Pro boards (clones) no longer work with 5V external power!? Software issue?

This guy sells new modules with the CH9102 chip. Do you think that this could resolve the problem without having to manually bridge the protection diode ? https://www.aliexpress.com/item/1005005933528007.html The only way to know for sure is to purchase such unit and test for yourself... :? BUT: Wh...
by Ath
23 Jan 2024, 19:54
Forum: ESP Easy: General Discussion
Topic: Problem with two I2C displays and sending remote values
Replies: 4
Views: 819

Re: Problem with two I2C displays and sending remote values

You're close, but no cigar ;) There is no command OLED2 (that's what the error messages says), but there is a command OLED. To address a second OLed display, using 2 tasks with the same plugin (P023 in this case), you can address the desired task by prefixing the command with the task name and a per...
by Ath
23 Jan 2024, 12:57
Forum: ESP Easy: Software
Topic: Cant get AND to work
Replies: 8
Views: 998

Re: Cant get AND to work

In P061, available in any Collection build, you can get more bits at once from an MCP23017, when configured for 'Direct 16' output.
by Ath
23 Jan 2024, 09:10
Forum: ESP Easy: Projects / Applications
Topic: ITHO plugin
Replies: 13
Views: 3504

Re: ITHO plugin

I assume you triggered the high-humidity state, so the fan went to High speed mode.
If it's not in the RF log, then it most likely isn't sent via RF by the unit, so there's no way of catching that :o
by Ath
22 Jan 2024, 19:53
Forum: ESP Easy: Software
Topic: Cant get AND to work
Replies: 8
Views: 998

Re: Cant get AND to work

You could start to use LogEntry to show the actual value of all (or a few) states of the switches:

Code: Select all

On Rules#Timer=1 Do
  LogEntry,"N=[Wind_N#State],NE=[Wind_NE#State],E=[Wind_E#State],SE=[Wind_SE#State],S=[Wind_S#State],SW=[Wind_SW#State],W=[Wind_W#State],NW=[Wind_NW#State]"
by Ath
22 Jan 2024, 14:55
Forum: ESP Easy: Projects / Applications
Topic: ITHO plugin
Replies: 13
Views: 3504

Re: ITHO plugin

I suspect that that status isn't sent out by the unit, as it would/should have been picked up by ESPEasy. But it could also be a status that's not (yet) recognized by ESPEasy. Can you collect some logging from when that status change is happening? You will need to turn on the "Enable minimal RF...
by Ath
21 Jan 2024, 23:23
Forum: ESP Easy: Hardware
Topic: Request for help in selecting a switch
Replies: 8
Views: 1456

Re: Request for help in selecting a switch

Those switches can probably not be controlled from an ESP, as they need the 'mechanical' force of being pushed to generate the power to transmit, and that won't happen when trying to use an ESP to close a contact. You could investigate of RFLink, also on this forum, can support those 433 MHz devices...
by Ath
21 Jan 2024, 21:33
Forum: ESP Easy: Software
Topic: Control ESPEasy-thermostat -> Rules problem
Replies: 34
Views: 26424

Re: Control ESPEasy-thermostat -> Rules problem

You can add attachments in this board, external services tend to remove these screenshots after a couple of weeks/months, so we don't have a clue wat was on there... Also the image is rather small, probably also caused by that external service, so it's quite hard to see what's on there. I've just te...
by Ath
21 Jan 2024, 21:17
Forum: ESP Easy: General Discussion
Topic: how to connect esp32 to other device by RS232?
Replies: 13
Views: 1833

Re: how to connect esp32 to other device by RS232?

1) I use Serial2 for "my connection" (I have configured on serial server task) and not serial0... serial0 i leave just for check what happens ... Why i have to disable Log if I use Serial2 ? OK A few more questions, as not all is clear to me. 2) the things is that "on !Serial# do&quo...
by Ath
21 Jan 2024, 16:59
Forum: ESP Easy: Software
Topic: Control ESPEasy-thermostat -> Rules problem
Replies: 34
Views: 26424

Re: Control ESPEasy-thermostat -> Rules problem

Is the SetLevel version of that command working as intended? And how is the Level plugin configured? Do you have other rules that set the Hysteresis to a different value? If not it could better be set in the configuration. NB: Have you read the remarks about saving the settings often? As that will p...
by Ath
21 Jan 2024, 16:18
Forum: ESP Easy: Software
Topic: Control ESPEasy-thermostat -> Rules problem
Replies: 34
Views: 26424

Re: Control ESPEasy-thermostat -> Rules problem

ESP_Easy_mega_20231225_collection_C_ESP32_4M316k, the command doesn't work config,task,<taskname>,SetHysteresis,<value|calculation> . Everything is fine in build ESP_Easy_mega_20231225_normal_ESP32_4M316k. What exact command doesn't work? There is no difference in the code for either NORMAL or COLL...
by Ath
20 Jan 2024, 22:09
Forum: ESP Easy: Software
Topic: Get value from reply of a http request to thingspeak
Replies: 18
Views: 2457

Re: Get value from reply of a http request to thingspeak

That value is not available to be used anywhere... unfortunately.
by Ath
20 Jan 2024, 12:08
Forum: ESP Easy: General Discussion
Topic: PWM frequency esp32
Replies: 16
Views: 1861

Re: simple questions

I have a simple simple question What makes it less simple is that the subject doesn't have a subject : When including some of the key terms of your question in the subject, it is much (ESP)easier to recognize it later ;) Since I couldn’t find a topic where I could ask such questions, I decided to c...
by Ath
19 Jan 2024, 19:41
Forum: ESP Easy: General Discussion
Topic: Control Relais via MQTT and Switch Input
Replies: 18
Views: 9049

Re: Control Relais via MQTT and Switch Input

And if you'd used the task and value name for the TaskValueSet command, that would have been more visible, and also portable to another unit ;) TaskValueSet,Dummy1,Dummy,%eventvalue1% And you can also set the Dummy device to have 2, 3 or 4 values, but when sending each value separately to a controll...
by Ath
19 Jan 2024, 19:35
Forum: ESP Easy: Hardware
Topic: Analog output 0-10V?
Replies: 127
Views: 26465

Re: Analog output 0-10V?

localhorst wrote: 19 Jan 2024, 19:22 Just got the message, that mine have been shipped.
Yes, same here :D
by Ath
19 Jan 2024, 12:00
Forum: ESP Easy: General Discussion
Topic: Sonoff Dual-R3 V2.0 with BL0939
Replies: 8
Views: 22369

Re: Sonoff Dual-R3 V2.0 with BL0939

This subject is drowning somewhere in my "things I'd like to fix in ESPEasy" list (that's an actual list, but I just did not call it my TODO list...) :lol:
by Ath
18 Jan 2024, 20:08
Forum: ESP Easy: General Discussion
Topic: how to connect esp32 to other device by RS232?
Replies: 13
Views: 1833

Re: how to connect esp32 to other device by RS232?

You have a few things mixed up: 1) You can not use the Serial0 connection and the console log active on the same port. This will cause issues like you are seeing. Either use a different Serial port for the task, or disable the serial log (Tools/Advanced: "Enable Serial Port Console" unchec...
by Ath
18 Jan 2024, 17:32
Forum: ESP Easy: Projects / Applications
Topic: "WindowsEasy"
Replies: 4
Views: 1108

Re: "WindowsEasy"

:geek:
by Ath
18 Jan 2024, 14:02
Forum: ESP Easy: Hardware
Topic: Analog output 0-10V?
Replies: 127
Views: 26465

Re: Analog output 0-10V?

Did so and flashed the ESP_Easy_mega_20240116_normal_ESP32_4M316k_ETH.factory.bin . Any more action on Github required, or should I get the files in future just from that URL? Normally you can just get the published releases, but for testing purposes we could ask to test a fix or specific feature f...
by Ath
17 Jan 2024, 16:56
Forum: ESP Easy: Hardware
Topic: WT32-ETH01
Replies: 128
Views: 165641

Re: WT32-ETH01

After connecting IO0 to GND, the board must be reset to enter Flash mode. You can keep the IO0 to GND connected to GND during the flash procedure, when done disconnect and again reset the board.
by Ath
17 Jan 2024, 14:17
Forum: ESP Easy: Software
Topic: Send values to MQTT only when changed
Replies: 13
Views: 1625

Re: Send values to MQTT only when changed

Can you show all your rules, here, so we can see if there is something incorrect in there?
by Ath
17 Jan 2024, 14:12
Forum: ESP Easy: Hardware
Topic: Analog output 0-10V?
Replies: 127
Views: 26465

Re: Analog output 0-10V?

Got a message from the vendor, the DACs are out of stock, but he is getting new ones by the end of the week and they'll be shipped immediately. Got the same message, this Monday :? You could download from this Github Actions run (assuming you have a Github account, and are logged in), making you an...
by Ath
16 Jan 2024, 21:01
Forum: ESP Easy: General Discussion
Topic: how to connect esp32 to other device by RS232?
Replies: 13
Views: 1833

Re: how to connect esp32 to other device by RS232?

The documentation for Serial Server (P020) can be found here: https://espeasy.readthedocs.io/en/latest/Plugin/P020.html#p020-page The SerialSend command (documented on that same link) will send to the port configured in the task, so if you have set that for Serial2, it will send the output there. Yo...