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 ...
@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...
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,'%...
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'
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...
@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...
@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...
@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...
@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...
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...
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.
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...
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...
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...
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.
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...
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 "....
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 ...
@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.
@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.
@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 ...
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...
@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...
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...
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...
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...
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...
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...
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 : ...
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...
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.