Is there a module similar to HTTPMOD that allows sending a formatted string and parsing the response?
Take a look at ECMD (https://fhem.de/commandref_modular.html#ECMD).
Thank you for your quick response. This protocol is very interesting.
ECMD is exactly what I am looking for -- a name like USBMOD would help it be easier to find.
One feature that would be helpful is a terminal mode -- ability to interactively communicate with the device on the serial connection. What is the best way to proceed with this?
- can an extension be added to the module without affecting the original module for update?
- request addition from the module creator to be included in the module?
- make a new module from the existing one?
- some other process?
ZitatOne feature that would be helpful is a terminal mode -- ability to interactively communicate with the device on the serial connection.
What exactly do you have in mind?
Perhaps it is enough to start "perl contrib/tcptee.pl --bidi 12345", attach to it via "telnet localhost 12345", and define your ECMD with localhost:12345
Your questions can be better answered by the maintainer in the right forum area (see MAINTAINER.txt (https://fhem.de/MAINTAINER.txt))
Thank you. I will follow up in that forum.