Search found 165 matches

by Smotek7
10 Sep 2024, 20:18
Forum: ESP Easy: General Discussion
Topic: MCP Status without device
Replies: 43
Views: 13499

Re: MCP Status without device

I solved it mathematically

Code: Select all

TaskValueSetAndRun,1,1,%eventpar%*10+%v1%
I will deal with it further on the receiving side.
by Smotek7
10 Sep 2024, 20:04
Forum: ESP Easy: General Discussion
Topic: MCP Status without device
Replies: 43
Views: 13499

Re: MCP Status without device

@Ath
TaskValueSetAndRun works.

The last problem is that it does not work
Single event with all values:
by Smotek7
10 Sep 2024, 19:03
Forum: ESP Easy: General Discussion
Topic: MCP Status without device
Replies: 43
Views: 13499

Re: MCP Status without device

This was a thought on mcp* do Let,1,!%eventvalue1% TaskValueSet,1,1,%eventpar% TaskValueSet,1,2,%v1% endon It also works, I can see the values ​​in devices. But why doesn't this work? Generic - Dummy Device dummy.png It does not send it to the controller when the event occurs. The last values ​​are ...
by Smotek7
10 Sep 2024, 18:33
Forum: ESP Easy: General Discussion
Topic: MCP Status without device
Replies: 43
Views: 13499

Re: MCP Status without device

@TD-er
No IP

I should have put the thought in a dummy string

'%sysname%_mcp_%eventpar%_state=%v1%'

But now that I'm writing it, something occurred to me.
I have to try it.
by Smotek7
10 Sep 2024, 17:01
Forum: ESP Easy: General Discussion
Topic: MCP Status without device
Replies: 43
Views: 13499

Re: MCP Status without device

@TD-er He meant that I would use a dummy string to send to the controller. I will create a string of Dummy devices I will make a rule on mcp* do Let,1,!%eventvalue1% TaskValueSet 1,1,'%sysname%_mcp_%eventpar%_state=%v1%' endon So that I don't have to enter the IP and port in the rules. We dealt with...
by Smotek7
10 Sep 2024, 16:29
Forum: ESP Easy: General Discussion
Topic: MCP Status without device
Replies: 43
Views: 13499

Re: MCP Status without device

That's exactly what I thought then :D on mcp* do Let,1,!%eventvalue1% SendToUDP,192.168.1.100,5555,'%sysname%_mcp_%eventpar%_state=%v1%' endon There is a question Dummy devices and String value. I can't find details or an example. Can I do something like this? I have Dummy String TaskValueSet 1,1,'%...
by Smotek7
10 Sep 2024, 16:08
Forum: ESP Easy: General Discussion
Topic: MCP Status without device
Replies: 43
Views: 13499

Re: MCP Status without device

exclamation mark
didn't help
send it as text
28637: ACT : SendToUDP,192.168.1.100,5555,'DI-ext_mcp_13_state=!0'
28736: ACT : SendToUDP,192.168.1.100,5555,'DI-ext_mcp_13_state=!1'
by Smotek7
10 Sep 2024, 15:37
Forum: ESP Easy: General Discussion
Topic: MCP Status without device
Replies: 43
Views: 13499

Re: MCP Status without device

Question about sending UDP. I have Pollup resistors there, reverse logic. Can it be overturned in the rules? I tried this but I can't make the correct code. That is, if such a thing is possible. on mcp* do If [mcp*#eventvalue1]=1 Do SendToUDP,192.168.1.100,5555,'%sysname%_mcp_%eventpar%_state=0' End...
by Smotek7
08 Aug 2024, 00:02
Forum: ESP Easy: General Discussion
Topic: MCP Status without device
Replies: 43
Views: 13499

Re: MCP Status without device

@TD-er

Code: Select all

on mcp* do
it works

I tried mcp#state, mcp#all :D

Thanks for help
by Smotek7
07 Aug 2024, 23:42
Forum: ESP Easy: General Discussion
Topic: MCP Status without device
Replies: 43
Views: 13499

Re: MCP Status without device

I tested a

Code: Select all

on mcp do
doesn't work for me

I gave it a try

Code: Select all

on mcp#26 do
It works

Is there a mass MCP event?
by Smotek7
07 Aug 2024, 21:34
Forum: ESP Easy: General Discussion
Topic: MCP Status without device
Replies: 43
Views: 13499

Re: MCP Status without device

@TD-er It's not a problem. I just want it "user friendly". When I preset the module, and then someone has to rewrite the "Code" to convert it to their own network. If it were to go through the Controller tab, it is "clean" friendly. I asked about it 2 years ago and I kn...
by Smotek7
07 Aug 2024, 17:53
Forum: ESP Easy: General Discussion
Topic: MCP Status without device
Replies: 43
Views: 13499

Re: MCP Status without device

@Ath I know that SendToUDP exists. I just don't like that I have to write settings in the rules <destination-ip>,<port> That's why I'm asking if it can't be made cleaner. I will test this as well. I found another option in tools cont2.png Only the whole log goes there again, everything. I was hoping...
by Smotek7
07 Aug 2024, 14:03
Forum: ESP Easy: General Discussion
Topic: MCP Status without device
Replies: 43
Views: 13499

Re: MCP Status without device

@Td-er I have the monitor defined On System#Boot Do MCPModeRange,17,32,1 MonitorRange,MCP,17,32 Endon I can see events in the log on the web and uart I have Controller 1 set to Generic UDP. cont1.png I just don't know how to set those events to be sent to the controller. Do I have to set for each pi...
by Smotek7
07 Aug 2024, 09:47
Forum: ESP Easy: General Discussion
Topic: MCP Status without device
Replies: 43
Views: 13499

Re: MCP Status without device

@Ath
I can see events in the log.
I have the controller set.
Do I still have to write a rule?
IF "event" do .....
I need a kick.
by Smotek7
07 Aug 2024, 00:19
Forum: ESP Easy: General Discussion
Topic: MCP Status without device
Replies: 43
Views: 13499

Re: MCP Status without device

@TD-er I forgot to reply too. All devices are 5V. Now I swapped on the I2C board with GPIO2 and 4 to GPIO4 and 14. And it works for me at 400k. I will follow it and if I come across something I will give info. But I have one question. I asked this a long time ago, but since then the MCP commands hav...
by Smotek7
24 Jul 2024, 00:45
Forum: ESP Easy: General Discussion
Topic: MCP Status without device
Replies: 43
Views: 13499

Re: MCP Status without device

I designed the boards, they are two boards above each other through the header. But it has no effect on the function. @Ath there is only 1x 10k, for the bus @TD-er 100nF is a matter of course for every chip. The MCP23017 has a 5V power supply. ESP32 has 3.3V Pollup are about 5V. They should probably...
by Smotek7
23 Jul 2024, 16:24
Forum: ESP Easy: General Discussion
Topic: MCP Status without device
Replies: 43
Views: 13499

Re: MCP Status without device

It's on one board. Along with Lilygo ETH lite.
Road 100mm.
Pollup 10k.
Chips on the bus, 2x MCP23017, 1xADS1115, 1xPCA9685
In this context, I remembered that the one MCP23017 is like OUT.
The one via http worked, I tested that first.
Then I added a second MCP23017 as IN, and it had problems at 400000.
by Smotek7
23 Jul 2024, 13:53
Forum: ESP Easy: General Discussion
Topic: MCP Status without device
Replies: 43
Views: 13499

Re: MCP Status without device

Information, feedback. I had the same problem again. The rule On System#Boot Do MCPModeRange,17,32,1 MonitorRange,MCP,17,32 Endon It did not work. The I2C scanner detected an MCP on the bus. Defining in Devices didn't work either. I had to tick Force slow I2C speed, to make it work. Then I changed t...
by Smotek7
20 Jul 2024, 20:39
Forum: ESP Easy: Software
Topic: Modbus universal
Replies: 2
Views: 2180

Re: Modbus universal

Oh yeah
in other words, you work on it after small steps.
Thank you for the info.
by Smotek7
20 Jul 2024, 18:58
Forum: ESP Easy: Software
Topic: Modbus universal
Replies: 2
Views: 2180

Modbus universal

Hi, a year ago the idea was to create a Modbus universal plugin. I was looking for some info, but I couldn't find it. What is the current status? The thought occurred to me whether it wouldn't be easier not to make it completely universal. But take some existing one and add devices and registries to...
by Smotek7
12 Jun 2024, 08:11
Forum: ESP Easy: General Discussion
Topic: MCP Status without device
Replies: 43
Views: 13499

Re: MCP Status without device

The problem was in HW.
Strange behavior of ESP32, I tried it on another and it works there.
by Smotek7
11 Jun 2024, 11:46
Forum: ESP Easy: General Discussion
Topic: MCP Status without device
Replies: 43
Views: 13499

Re: MCP Status without device

Hi, sorry for the beginner's question. I don't want to start a new topic. I have an MCP23017 connected, I scan the I2C and see it at 0x20. I will send MCPGPIO,2,1 from the command line and it will return Failed I tried to define On System#Boot Do MCPmodeRange,1,16,0 MonitorRange,MCP,1,16 Endon but i...
by Smotek7
19 May 2024, 19:27
Forum: ESP Easy: Hardware
Topic: ESP32 I2C PINS
Replies: 1
Views: 1833

ESP32 I2C PINS

Hello,
I didn't find an answer by searching, I'm probably searching wrong.
Why can't I use pins 34-39 for I2C?
Is it a HW limitation?
I have a Lilygo T-ETH-Lite with RTL and my designed board
and unhappily I designed it for 34 and 39.
by Smotek7
21 Feb 2024, 20:02
Forum: ESP Easy: General Discussion
Topic: Espeasy compatible unit with wired ethernet?
Replies: 85
Views: 55576

Re: Espeasy compatible unit with wired ethernet?

Originally, I wanted to write here that the Lilygo t-ETH lite board is interesting and supports POE. I didn't want to order when there is W5500 or RTL8201. I found out in the documentation that there is already support. But I'm going to order. I have one board with JL1101, I can try it. I will let y...
by Smotek7
21 Feb 2024, 19:19
Forum: ESP Easy: General Discussion
Topic: Espeasy compatible unit with wired ethernet?
Replies: 85
Views: 55576

Re: Espeasy compatible unit with wired ethernet?

Hello,
I'm looking at the documentation, is RTL8201 and JL1101 a reality?
I see that some documentation updates took place in 2/2024.
by Smotek7
11 Jan 2024, 15:00
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3703313

Re: Nextion display plugin

Thank you for your response Only I can't send any quotation marks. And nextion expects them, exact syntax. I solved it differently, I send the string from another output. The solution would be if the nextion plugin could change characters. For example, via http send $ and esp send to nextion "....
by Smotek7
11 Jan 2024, 10:16
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3703313

Re: Nextion display plugin

How to send a command without quotation marks. " I need to send via http to nextion /control?cmd=disp,page5.t1.txt="TEXT" I'm sending it from a device where I can't use quotation marks because "/control?cmd=disp,page5.t1.txt="TEXT"" I tried %34 but it doesn't work ...
by Smotek7
17 Dec 2023, 23:29
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3703313

Re: Nextion display plugin

TD-er wrote: 17 Dec 2023, 23:22 It is partly working, but not yet done with.
Does it work differently in the current version 20231130 than in 20230822? Better ?
by Smotek7
17 Dec 2023, 23:07
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3703313

Re: Nextion display plugin

@TD-er
What is the situation with the problem of creating an AP if wifi is not available?
Did you manage to find the problem?
Is it fixed in the current build?
I keep running to 20211224.
Thank you for the info.
by Smotek7
20 Oct 2023, 20:20
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3703313

Re: Nextion display plugin

No, it is only attached to the original connector.
I think it was only drawn as pins.
by Smotek7
20 Oct 2023, 18:57
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3703313

Re: Nextion display plugin

I don't have the source files.
I can send a gerber in a message.
Please note that soldering to the connector is problematic.
by Smotek7
20 Oct 2023, 18:04
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3703313

Re: Nextion display plugin

HW version 2, SD card accessible from below without disassembly.
NSP-SD.jpg
NSP-SD.jpg (45.89 KiB) Viewed 215983 times
by Smotek7
02 Oct 2023, 15:50
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3703313

Re: Nextion display plugin

@jackslayter
I have WT32 and Nextion Inteligent 7".
For WT32, pay attention to the power supply.
A sufficient power source is needed.
Don't forget the PNP transistor.
by Smotek7
02 Oct 2023, 11:30
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3703313

Re: Nextion display plugin

@TD-er Info: today I tried to update to ESP_Easy_mega_20230930_display_ESP32_4M316k.bin The same problem as with the previous version. If it doesn't find the wifi , it won't create an AP. Then I downgraded to the old version ESP_Easy_mega_20211224_test_A_ESP32_4M316k It works correctly there, if it ...
by Smotek7
01 Oct 2023, 20:14
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3703313

Re: Nextion display plugin

My friend likes it, he wants it in every room.
I just don't want to solder the sd card into 5 pcs.
Then I have to design the PCB.
disp1.jpg
disp1.jpg (38.87 KiB) Viewed 216175 times
by Smotek7
01 Oct 2023, 12:59
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3703313

Re: Nextion display plugin

@TD-er
It was a struggle but we managed it. We reset by connecting Tx Rx. They created AP wifi without problems.
by Smotek7
30 Sep 2023, 14:07
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3703313

Re: Nextion display plugin

I am willing to do anything. I set the display and sent it to a friend, it is 300 km. I was hoping that when it arrived, it would create an AP and change its wifi. I'm going to offer him options, I'll see which one he's up to. I think I would do the setting via the remote desktop. When there is a ne...
by Smotek7
30 Sep 2023, 08:41
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3703313

Re: Nextion display plugin

@TD-er , Please can you confirm that in that one ESP_Easy_mega_20230822_display_ESP32_4M316k is there a problem with creating an AP when ESP does not find wifi? The attempt was to create the same wifi as was in ESP, but the ESP WiFi Subnetmask was not entered: now it's completely dead. Can it be res...
by Smotek7
29 Sep 2023, 22:34
Forum: ESP Easy: Hardware
Topic: Espeasy uart break
Replies: 5
Views: 3305

Re: Espeasy uart break

It is the Nice gate electronics. No, it does not detect speed. The speed change is done so that byte 0x00 lasts the correct time. If the flood speed remained, 0x00 would be a long "Break". By reducing the speed, the correct length of time "Break" is achieved. Longpulse would be t...
by Smotek7
29 Sep 2023, 21:06
Forum: ESP Easy: Hardware
Topic: Espeasy uart break
Replies: 5
Views: 3305

Re: Espeasy uart break

I also encountered it for the first time. Some devices require a specified time at the start of log.0. That's the Break. So far I managed to do it in Arduino nano like this #define baud_work 19200 #define baud_break 9200 uint8_t master_tx_buf[] = {0x55, 0x0C, 0x00, 0x03, 0x50, 0x90, 0x01, 0x05, 0xC7...
by Smotek7
28 Sep 2023, 09:38
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3703313

Re: Nextion display plugin

I did the test on the third device.
Is there a
ESP_Easy_mega_20220427_test_A_ESP32_4M316k
It works there, an AP is created in about 5 seconds.
by Smotek7
28 Sep 2023, 09:24
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3703313

Re: Nextion display plugin

Question build ESP_Easy_mega_20230822_display_ESP32_4M316k I currently have it in NSPanel, it is ESP32. Has WIFI and IP address set. Wifi is not available at the moment. After a restart (tested 3 times), the AP is not created, even after a long wait. Tested on two devices, same result. Why is that s...
by Smotek7
25 Sep 2023, 22:24
Forum: ESP Easy: Hardware
Topic: Espeasy uart break
Replies: 5
Views: 3305

Espeasy uart break

I need to send HEX data to the device, but the device waits about 590us before sending "uart break". Can you create rules with uart break? My imagination. I will send to ESPeasy http commad, according to the rules, after uart break and then Hex string (eg 0x55, 0x0C, 0x00, 0x03, 0x50, 0x90...
by Smotek7
21 Sep 2023, 13:04
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3703313

Re: Nextion display plugin

I had to work it out.
A friend wanted a display, but it is 300 km away.
He wouldn't be able to handle it via Uart.
It can handle inserting an SD card.
by Smotek7
21 Sep 2023, 12:31
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 587
Views: 3703313

Re: Nextion display plugin

A hardware solution to a software problem.
Wired SD card slot to NSpanel.
It works ok.
6399-image.png
6399-image.png (736.06 KiB) Viewed 216351 times
by Smotek7
21 Sep 2023, 12:26
Forum: ESP Easy: Hardware
Topic: WT32-Eth01 network interface not online
Replies: 40
Views: 25191

Re: WT32-Eth01 network interface not online

It seems that the problem was in the power supply. There are small capacitors on the WT32 module. I am not sure if there is even a 10u capacitor for 5V on the board as it is in the schematic. Physically, it is too small for such a value. After adding the capacitor, the module still works. I hope not...
by Smotek7
19 Sep 2023, 23:18
Forum: ESP Easy: Hardware
Topic: WT32-Eth01 network interface not online
Replies: 40
Views: 25191

Re: WT32-Eth01 network interface not online

I noticed that the IP is displayed after the restart and then I can't see it: 8318 : Info : Webserver: start 8374 : Info : WIFI : Connected! AP: Network129 (CC:2D:E0:ED:11:D6) Ch: 5 Duration: 1183 ms 8376 : Info : WIFI : Arduino wifi status: WL_CONNECTED 3 ESPeasy internal wifi status: Conn. 8377 : ...
by Smotek7
19 Sep 2023, 23:10
Forum: ESP Easy: Hardware
Topic: WT32-Eth01 network interface not online
Replies: 40
Views: 25191

Re: WT32-Eth01 network interface not online

The problem appeared again. I will transfer the WT32 from the second wifi to the first. Created by AP. I set via WEB> Static IP: 192.168.1.75 GW: 192.168.1.1 SN: 255.255.255.0 DNS: 192.168.1.1 / 0.0.0.0 But it didn't connect to WIFI. But I see this in the log 502246 : Info : IP : Static IP : GW: 192...
by Smotek7
19 Sep 2023, 21:57
Forum: ESP Easy: Hardware
Topic: WT32-Eth01 network interface not online
Replies: 40
Views: 25191

Re: WT32-Eth01 network interface not online

I reloaded FW EspEasy another edition and factory
through
flash_download_tool_3.9.5
Settings are cleared and AP created.
It was probably enough to send Reset through the terminal.

Terminal works.
That's good help.
I'm wiser again.
Thank you very much.
by Smotek7
19 Sep 2023, 20:36
Forum: ESP Easy: Hardware
Topic: WT32-Eth01 network interface not online
Replies: 40
Views: 25191

Re: WT32-Eth01 network interface not online

This part of the protocol was repeated constantly, even for 5 minutes. 12928 : Info : WiFi : Scan finished, found: 4 12930 : Info : WIFI : Arduino wifi status: WL_DISCONNECTED 6 ESPeasy internal wifi status: DISCONNECTED 12986 : Info : WD : Uptime 0 ConnectFailures 0 FreeMem 172632 WiFiStatus WL_DIS...