RobertWojtowicz / export2garmin

Export Miscale and Omron data to Garmin Connect
GNU General Public License v3.0
170 stars 22 forks source link

Raspberry Pi on Wi-Fi #42

Closed zgrzezly closed 2 months ago

zgrzezly commented 3 months ago

Hi, It seems to me that there is an issue with the program's operation when the Raspberry Pi is running on Wi-Fi. Running import_data.sh as a process causes Wi-Fi problems. The Raspberry Pi continuously disconnects and reconnects to Wi-Fi. The error on the router is "DC:A6:32:66:12:88@wlan1: disconnected, extensive data loss, signal strength -66". Naturally, the data does not import into Garmin Connect. It works fine with a wired connection. BR Zbigniew

RobertWojtowicz commented 3 months ago

Hi, @zgrzezly

It sounds like a problem on the side of raspberry pi, specifically drivers of wifi and bt support... Which part of integration are you using (miscale or omron)? What version of raspberry do you have? Are you using Linux with or without a GUI?

BR, Robert

zgrzezly commented 3 months ago

I am sending both data from miscale and omron, Rpi4 with bookworm on board without GUI

RobertWojtowicz commented 2 months ago

Hi, @zgrzezly

I recreated the same environment at my home (RPI 4B 4GB). The problem with you probably lies in poor WiFi coverage or the band you are operating on and frequency (2.4GHz instead of 5GHz ?, BT works on 2.4GHz, same internal antenna ?).

In my case the problem does not occur, the only thing I can complain about is the range of the built-in BT is very small (what I wrote in the manual), in my WiFi is UniFi LR-6 (WiFi 6 Long Range). rpi

Maybe an external BT will solve problem (take a look at the manual).

BR, Robert

zgrzezly commented 2 months ago

I confirm that the issue was with sharing the 2.4GHz band between Wi-Fi and Bluetooth. After switching Wi-Fi to 5GHz, it works correctly. The limited range of the built-in Bluetooth is another matter, I am waiting for an external Bluetooth module to extend it. BR, zgrzezly