Replies: 5 comments 24 replies
-
If your gateway runs on an ESP32, you can use the Berry language which supports UDP If you are on ESP8266, the only way is to write a native driver as there is no generic UDP feature in Tasmota |
Beta Was this translation helpful? Give feedback.
-
@smalcz why are you not using MQTT ? |
Beta Was this translation helpful? Give feedback.
-
I know that Syslog (UDP) was not meant to be used this way, but Syslog is a great alternative to MQTT. Easy to set up, fast, efficient, formated (JSON).... I use it for a direct Tasmota (ZigBee) -> Loxone communication. And I have even written a tutorial for others to follow: https://www.vodnici.net/wiki/zigbee-pres-tasmotu-1-hardware/ (in Czech). For me (@smalcz and others who follow my tutorial), I have checked the code and Thanks a lot! |
Beta Was this translation helpful? Give feedback.
-
Of course, I know what I am talking about (a single-threaded setup) and I know about your concerns. I was not referring to what happens on the network. I was explicitly talking about the speed of code execution. Sometimes "what happens on the network" has an impact on the speed of code execution (some libraries have blocking calls for TCP timeouts and resends). But that is not the case here with UDP. I have checked the code and I see no dangerous blocking calls: Tasmota/tasmota/tasmota_support/support.ino Line 2309 in 625b204
Syslog is off by default. I assume that if someone enables syslog with high levels (rarely happens as you have noted), (s)he is doing that on purpose and (s)he wants (and expects) syslog to be a lot more busy than MQTT. |
Beta Was this translation helpful? Give feedback.
-
There are many topics discussed in this thread. What is your question? |
Beta Was this translation helpful? Give feedback.
-
Hello there,
I am running Tasmota on a zigbee gateway, and planning to connect multiple ZB switches to it. These switches, when pressed, send the "pressed" info into the Tasmota gateway. Now I need to take this information and send it to my home automation server (Loxone).
Loxone works great with UDP packets. Is it possible to configure the Tasmota gateway to make a UDP call (send a specific number or command) to a specific IP address?
Many thanks!
Beta Was this translation helpful? Give feedback.
All reactions