[Solved] Serial Server wont work

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Rampler
Normal user
Posts: 92
Joined: 31 Dec 2016, 07:13

[Solved] Serial Server wont work

#1 Post by Rampler » 29 Jul 2017, 00:24

Hi,
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!
The server dont get a response from my WEMOS mini D1.
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
With esp-link the HMUART is running, but i need ESPEASY because i want to connect some peripherals...
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.
Last edited by Rampler on 16 Aug 2017, 18:20, edited 1 time in total.

Rampler
Normal user
Posts: 92
Joined: 31 Dec 2016, 07:13

Re: Serial Server wont work

#2 Post by Rampler » 30 Jul 2017, 08:47

Hi,
now i have bought a WEmOS V1 mini Pro, but same situation..
A debug switch would be nice ...
If a set the serial log level to 4, i see the same as serial log level 0..
regards
Klaus

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 22 guests