NoobishSVK / fm-dx-webserver

FM-DX Webserver is a cross-platform web server designed for FM DXers who want to control their radio receivers through a web interface.
https://fmdx.org/projects/webserver.php
GNU General Public License v3.0
29 stars 21 forks source link

Can't get included com connection on v1.1.3 it to work with Nano+tef module. #40

Closed Overland-DX closed 1 week ago

Overland-DX commented 5 months ago

I can't get the new version (1.1.3) to work with fm-dx-tuner (arduino nano+tef6686 module. It connects to the correct comport, but it doesn't look like fm-dx web server and fm-dx tuner are talking at all. I have tested with esp32-spi (fw2.00.6) gray china model and everything seemed fine there.

NoobishSVK commented 5 months ago

I made some changes in 1.1.4, though I don't think they will help. I'll look into it further.

HME-Tef commented 5 months ago

I made some changes in 1.1.4, though I don't think they will help. I'll look into it further.

Can you make a update for the Aduino Nano TEF6686? Or what code can I put in the source to make it work? The Nano's does work with XDR-GTK so the communication is good.

Overland-DX commented 5 months ago

I tested with v1.1.4 and it still doesn't work. No stress, just using xdrd for now.

DABtester commented 5 months ago

Same here, tested with 1.1.5 and does not connect. Would be great if this could be resolved.

NoobishSVK commented 5 months ago

I have added one more command and it seems to work properly on my ESP32+TEF using Konrad's firmware. The update will be out in a few minutes.

DABtester commented 5 months ago

ARDUINO tested with 1.1.6, not yet connecting. Also removing the complete install, and reinstalling the new version i cannot select an audio source anymore in the setup

Overland-DX commented 5 months ago

I also tested with 1.1.6, but it still doesn't work.

NoobishSVK commented 5 months ago

I have asked @kkonradpl for the initialization commands and I have tried to introduce them. Please let me know if there's any change. On top of that, you may need to try to change the baud rate in case 115200 doesn't work in server/index.js

Overland-DX commented 5 months ago

I have tested 19200, 38400, 57600 but no response. I was at 19200 when I went back to xdrd, but then I had to go back to 115200 for xdrd to work again.

DABtester commented 5 months ago

Tested with 1.1.9, but unfortunately still no connection.

Just so that we are on the same page: When running the setup/wizard, the device that we have to choose is TEF6686/TEA685X with USB cable as Tuner connection... Correct?

NoobishSVK commented 5 months ago

@Overland-DX Thanks for testing, I will have to consult this with @kkonradpl further. @DABtester I see, the device chosen shouldn't matter - it seems like there might still be something missing in the serial init script. I will try to find more ways to fix this.

NoobishSVK commented 1 month ago

I made some changes, would it be possible for you to check now?

DABtester commented 1 month ago

Tested, but cannot get it to work.

Using XDRD in the middle at the moment, so no hurry

Overland-DX commented 1 month ago

I also tested. I do not get a response when contacting directly. Via xdrd it works fine.

NoobishSVK commented 1 month ago

Sjef made a commit that fixed the issue for him. Can you try now?

DABtester commented 1 month ago

Tested - unfortunately doesn't work for me

PE5PVB commented 1 month ago

I'll try to build a Arduino version tonight to find the cause.

NoobishSVK commented 1 month ago

I tried to disable RTS/DTR on the serial port, that may fix the issue.

NoobishSVK commented 1 month ago

Are there any changes as of the current (1.2.6a) version for you? @DABtester @Overland-DX

Overland-DX commented 1 month ago

I updated to v 1.2.6a but it's still the same. Still no response when direct connect is selected in settings.

Overland-DX commented 1 month ago

The pull request #76 from AmateurAudioDude seems to work with nano+tef. http://overland.fmdx.no:45990/ (ODX Kragerø 1 - Nano(clone)+Tef6686) now running directly without xdrd server. ODX Kragerø 2 is esp32+tef6686 which also runs directly without xdrd.

DABtester commented 1 month ago

Same here, version from @AmateurAudioDude works direct! Now running the server without xdrd

NoobishSVK commented 1 week ago

Amazing, in that case we can close it as this was included in the webserver. Thank you very much for being so patient!