Duet Wifi Slow Upload + Not connecting via Interface
-
Hey Guys,
After testing some Duet Wifis I wanted to use them at all of my printers. Today I was doing some tuning on my AM8, when I got my first disconnect. Its not that I cant see the Interface, it was that I got a "reconnect" state in the interface. Also I got very slow upload speeds. I tried different SD Cards, restarted everything a thousand times and after that I´m now getting no connection in the interface. He just stays disconnected. Sometimes he tries to reconnect, but without happy end. So I have to take out SD Card for making changes... Thats very awful. In Octoprint I can use the printer, but the homing scripts from the duet arent working...
Here is my M122:
Recv: === Diagnostics ===
Recv: RepRapFirmware for Duet 2 WiFi/Ethernet version 2.03 running on Duet WiFi 1.02 or later
Recv: Board ID: 08DJM-9178L-L4MSJ-6J9D2-3SD6P-TT22N
Recv: Used output buffers: 1 of 24 (7 max)
Recv: === RTOS ===
Recv: Static ram: 25680
Recv: Dynamic ram: 93988 of which 0 recycled
Recv: Exception stack ram used: 484
Recv: Never used ram: 10920
Recv: Tasks: NETWORK(ready,564) HEAT(blocked,1236) MAIN(running,3844) IDLE(ready,160)
Recv: Owned mutexes:
Recv: === Platform ===
Recv: Last reset 00:06:02 ago, cause: power up
Recv: Last software reset at 2019-10-20 21:12, reason: User, spinning module GCodes, available RAM 11400 bytes (slot 1)
Recv: Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
Recv: Error status: 0
Recv: Free file entries: 10
Recv: SD card 0 detected, interface speed: 20.0MBytes/sec
Recv: SD card longest block write time: 0.0ms, max retries 0
Recv: MCU temperature: min 33.7, current 35.5, max 35.7
Recv: Supply voltage: min 0.1, current 13.9, max 14.4, under voltage events: 0, over voltage events: 0, power good: yes
Recv: Driver 0: standstill, SG min/max 24/1003
Recv: Driver 1: standstill, SG min/max not available
Recv: Driver 2: standstill, SG min/max not available
Recv: Driver 3: standstill, SG min/max not available
Recv: Driver 4: standstill, SG min/max not available
Recv: Date/time: 2019-10-20 21:26:25
Recv: Cache data hit count 1430651163
Recv: Slowest loop: 19.16ms; fastest: 0.06ms
Recv: I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
Recv: === Move ===
Recv: Hiccups: 0, FreeDm: 169, MinFreeDm: 167, MaxWait: 190597ms
Recv: Bed compensation in use: none, comp offset 0.000
Recv: === DDARing ===
Recv: Scheduled moves: 20, completed moves: 20, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
Recv: === Heat ===
Recv: Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
Recv: Heater 1 is on, I-accum = 0.0
Recv: === GCodes ===
Recv: Segments left: 0
Recv: Stack records: 1 allocated, 0 in use
Recv: Movement lock held by null
Recv: http is idle in state(s) 0
Recv: telnet is idle in state(s) 0
Recv: file is idle in state(s) 0
Recv: serial is ready with "M122" in state(s) 0
Recv: aux is idle in state(s) 0
Recv: daemon is idle in state(s) 0
Recv: queue is idle in state(s) 0
Recv: autopause is idle in state(s) 0
Recv: Code queue is empty.
Recv: === Network ===
Recv: Slowest loop: 15.45ms; fastest: 0.00ms
Recv: Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
Recv: HTTP sessions: 1 of 8
Recv: - WiFi -
Recv: Network state is running
Recv: WiFi module is connected to access point
Recv: Failed messages: pending 0, notready 0, noresp 0
Recv: WiFi firmware version 1.23
Recv: WiFi MAC address b4:e6:2d:60:41:2b
Recv: WiFi Vcc 3.30, reset reason Turned on by main processor
Recv: WiFi flash size 4194304, free heap 22944
Recv: WiFi IP address 192.168.1.198
Recv: WiFi signal strength -54dBm, reconnections 0, sleep mode modem
Recv: Socket states: 0 0 0 0 0 0 0 0I hope anybody can tell me whats wrong here.
Thanks in advance
William -
Hi,
The antenna on a Duet WiFi is very small.
To get consistent fast performance I had to install an additional WiFi Access Point closer to my printers than the one already installed on the same basement level.
That solved all of my connections problems.
Frederick
-
Hey Frederick,
Thanks for your answer. The router is in the next room, thats really bad... Then it is much easier for me to use octoprint.
But I will try to move the printer/router to be sure that is the problem.Thanks!
-
@WillGIam said in Duet Wifi Slow Upload + Not connecting via Interface:
Hey Frederick,
Thanks for your answer. The router is in the next room, thats really bad... Then it is much easier for me to use octoprint.
But I will try to move the printer/router to be sure that is the problem.Thanks!
Well my existing WiFi Access Point was some 30 feet away with two walls and a bunch of HVAC equipment in the way of my printers. The new one I installed was some 8 feet away. I already had a nearby hardwired network connection so installing the new Access Point was easy.
The performance of the WiFi portion of "stock" routers installed by various internet providers can vary a good deal. I generally disable the WiFi portion of the router and install my own WiFI Access Points.
Frederick
-
@WillGIam, the signal strength in your M122 report looks good (-54dBm) so I don't think it's a signal strength problem. It may be caused by interference. Try setting your router to a different WiFi channel.
-
Hey fcwilt,
the problem is, that I use my printers for workshops and in other locations. It would be very bad if I would have this problem somewhere else, so I need a reliable solution.
The access point is no solution for me.Hey dc42,
I´ll try that, thanks!
-
Hi,
If you use an Android phone there are apps you can get which will allow you to analyze the WiFi environment you are working in.
They can be very helpful in determining the best setup for your printer.
Setting up WiFi is actually pretty straightforward but it seems many folks don't know the best way to do the setup. There are only three WiFi 2G channels (in the US) that don't overlap: 1, 6 & 11. And yet you will find folks using other channels trying to find "clear air". The problem with that approach is that adjacent channel interference is a worse problem than co-channel interference. So it's best to put everything on 1, 6 or 11 using the least congested channel for your device.
Frederick
-
Hey fcwilt,
As dc42 said, its not the wifi that is causing the problem. I tried different channels on my router and turned the antennas, I was waiting for the right Mars, Moon and Earth position at midnight.... Nothing changed.
I now got Octoprint running. I bought some Antennas for Duet Wifi and will test them.
The question is: When levelling with G29 via Octoprint, is he reading the heightmap when printing via Ocotprint?
Best regards
-
@WillGIam said in Duet Wifi Slow Upload + Not connecting via Interface:
After testing some Duet Wifis I wanted to use them at all of my printers. Today I was doing some tuning on my AM8, when I got my first disconnect. Its not that I cant see the Interface, it was that I got a "reconnect" state in the interface. Also I got very slow upload speeds.
Please clarify: did you get these problems soon after powering up or restarting the Duet, or after some time?
If it only happens after some time, please try firmware 2.04RC4. A small number of users have reported network connectivity issues after some time caused by running out of output buffers, and I now have two reports that changes I made in 2.04RC4 have resolved this problem.