i try to get serial connection from FHEM to a serial homeautomation adapter(HMUART)
I am using this device:
http://www.raspifun.de/viewtopic.php?t=32
I use TX and RX pins. The lines are crossed. The device is connected with four pins, 3,3 V, GND, TX, RX.
Baudrate, start and stopbit, and parity is set correct.
I only get this messages:
Code: Select all
2467348 : WD : Uptime 41 ConnectFailures 0 FreeMem 22352
2481913 : Ser2N: Client connected!
2495008 : Ser2N: Client connected!
2497349 : WD : Uptime 42 ConnectFailures 0 FreeMem 22144
2508115 : Ser2N: Client disconnected!
2508216 : Ser2N: Client connected!
2521165 : Ser2N: Client disconnected!
2521266 : Ser2N: Client connected!
I get no answer !
At server side i get only the following messages:
Code: Select all
017.07.29 00:18:11 3: HMUART2 device closed
2017.07.29 00:18:11 1: 192.168.1.28:23 reappeared (HMUART2)
2017.07.29 00:18:15 1: HMUARTLGW HMUART2 did not respond for the 1. time, resending
2017.07.29 00:18:18 1: HMUARTLGW HMUART2 did not respond for the 2. time, resending
2017.07.29 00:18:21 1: HMUARTLGW HMUART2 did not respond for the 3. time, resending
2017.07.29 00:18:24 1: HMUARTLGW HMUART2 did not respond after all, reopening
2017.07.29 00:18:24 3: HMUART2 device closed
2017.07.29 00:18:24 1: 192.168.1.28:23 reappeared (HMUART2)
2017.07.29 00:18:28 1: HMUARTLGW HMUART2 did not respond for the 1. time, resending
2017.07.29 00:18:31 1: HMUARTLGW HMUART2 did not respond for the 2. time, resending
2017.07.29 00:18:34 1: HMUARTLGW HMUART2 did not respond for the 3. time, resending
2017.07.29 00:18:37 1: HMUARTLGW HMUART2 did not respond after all, reopening
2017.07.29 00:18:37 3: HMUART2 device closed
Under advanced the serial port is enabled.
Is there a way to debug it ?
Does anybody have a hint for me ?
Regards
Klaus
EDIT:
Problem is now solved !
In the TX/RX line of the uart adapter was a 4k7 resistor in line, After removing both resistors the Serial Server works fine.
In addition all log levels must be set to 0 and the serial port must be enabled.