11-13-2019, 04:26 PM | #45 |
Lieutenant
153
Rep 414
Posts |
|
Appreciate
0
|
11-14-2019, 11:13 AM | #46 |
Second Lieutenant
132
Rep 248
Posts |
|
Appreciate
0
|
11-22-2019, 12:01 PM | #47 |
New Member
0
Rep 5
Posts |
|
Appreciate
0
|
11-22-2019, 12:28 PM | #48 |
Private
67
Rep 68
Posts |
Hey, can you try this fix? I don't have a raspberry pi with me right now but it should work. If it does, I'll modify the original script.
Copy this line into the terminal without the quotes and press enter: "wget -q -O - https://www.dropbox.com/s/1b9ngmbwnrc7f6g/wifi_repair.sh | bash" Last edited by dieselg5; 11-22-2019 at 12:41 PM.. |
Appreciate
1
Joe2402925.00 |
11-23-2019, 07:02 AM | #50 | |
New Member
0
Rep 5
Posts |
Quote:
|
|
Appreciate
0
|
11-23-2019, 08:22 AM | #51 |
New Member
0
Rep 5
Posts |
I tried but is not working.
I think that the problem is that there is no wifi interface detected. When I try to enter wifi configuration at raspi-config it says "No wireless interface found". May be B+ is the problem... |
Appreciate
0
|
11-23-2019, 09:22 AM | #52 | |
Private
67
Rep 68
Posts |
Quote:
The 1 doesn't have wifi. |
|
Appreciate
2
Joe2402925.00 chenzhuops24.00 |
12-01-2019, 10:20 PM | #54 |
Major
2925
Rep 1,303
Posts
Drives: 2021 C8 Corvette 1LT
Join Date: Jul 2016
Location: Pensacola
|
Love the idea of this DIY on the 3b+ platform. Easier to find complete kits on the cheap for the obd agent.
I do have a question that hopefully you can answer, @dieselg5 There’s a Raspberry Pi PoE HAT for the 3b+ and 4 models. My goal is to use the power from the OBD itself to power the agent instead of running a usb cable through my center console (G29 has USB-A in the front change area, USB-C in the armrest). Does the ENET cable (typically) pass through the 12v pin-16 from the OBD port that you’re aware of? If it doesn’t, I’m assuming with your method I could just use the 12v to 5v step down that PTF says works on their OBD agent build from this post: https://f80.bimmerpost.com/forums/sh....php?t=1662845 |
Appreciate
0
|
12-02-2019, 06:38 AM | #55 | |
Private
67
Rep 68
Posts |
Quote:
I’m not familiar with the pin out of the ODB II connector or the ENET cable. I know the ODB II connector does provide some power to devices, but like I said I’m not familiar with it. Sorry, I can’t offer any more help. |
|
Appreciate
1
Joe2402925.00 |
01-10-2020, 01:28 PM | #57 | |
Colonel
1306
Rep 2,591
Posts |
Quote:
I noticed that the agent tends to just give up after a bit on looking for the wifi hotspot, so I made a simple script and used cron to reattempt wifi conection every minute. Works pretty well, I'll post info on it when I get a chance. I'm not 100% if it's just that I didn't wait long enough for it to retry or if it actually just doesn't retry at all, but this fixes it regardless Additionally, Milan from PTF has confirmed that Firefox is not going to be supported. If you try and use Firefox Preview as your default browser, the app can't login. Pretty disappointing to those who are more privacy oriented. |
|
Appreciate
0
|
01-10-2020, 02:26 PM | #58 | |
Private
67
Rep 68
Posts |
Quote:
network={ ssid="bootmod3" psk="bootmod3" } |
|
Appreciate
0
|
01-18-2020, 10:43 PM | #59 |
Colonel
1306
Rep 2,591
Posts |
Here's the code for the reconnect script I wrote:
Code:
#!/bin/bash if [ "$(iw dev wlan0 link)" = "Not connected." ]; then sleep 5s if [ "$(iw dev wlan0 link)" = "Not connected." ]; then sudo wpa_cli -i wlan0 reconfigure >&- fi fi Run this with cron (google how to use it, pretty simple) every minute. Has anyone noticed that the agent likes to drop the hotspot or crash altogether when on the data logging dashboard? Edit: Fixed the reconnect script, was causing the issues with the agent dropping. The logic is more robust and reliable now. The script now waits 5 seconds to make sure that it wasn't a temporary disconnect/network stutter. Change the "sleep 5s" to "sleep [whatevernumberyouwant]s" to customize. Don't make it wait more than how often the script is set to run via crontab.
__________________
2015 BMW 535xi
Bootmod3 Stage 2 | ER charge pipe | ER Catted DP | Remus Exhaust | Gplus FMIC | KW V3 | Turner Monoball thrust arm bushings | Wallet regrets ISTA VM Setup/Tutorial Last edited by Unspec; 01-27-2020 at 01:42 PM.. |
Appreciate
0
|
01-23-2020, 07:55 AM | #60 | |
Private
67
Rep 68
Posts |
Quote:
|
|
Appreciate
0
|
01-27-2020, 01:39 PM | #61 |
Colonel
1306
Rep 2,591
Posts |
Turns out to have been faulty logic in my if statement. It tried to reconnect to the hotspot even when it was connected, causing the agent to lose connection for a split second. I've updated the script/post and the issue's gone away.
__________________
2015 BMW 535xi
Bootmod3 Stage 2 | ER charge pipe | ER Catted DP | Remus Exhaust | Gplus FMIC | KW V3 | Turner Monoball thrust arm bushings | Wallet regrets ISTA VM Setup/Tutorial |
Appreciate
0
|
01-27-2020, 05:51 PM | #62 |
First Lieutenant
93
Rep 338
Posts |
Hi Ya'll,
New mbr here, first post. I just ordered this Pi3 model B, i was told that this is the preferred one for the OBD agent to work with BM3. I will try to update once i get my parts in from Pishop.us, if this thing works; wow what a hack way to save a crap load of money from the official wifi agent that PTF sells. Overall my total out the door costs were less than $80 (Pi3, Micro USB-6ft, and Samsung Evo SDHC 32gb card)..Update on 02/01/20: everything worked woth this Pi3-B, a great hack to save on the $300 for the OBD Agent..🤤
__________________
2013 320ix N20 8AT|BM3 stg1|Muff Res Delete|HPB-LED-Amber-DRL's
IG: DadzBmer_N2o |
Appreciate
0
|
02-05-2020, 10:23 AM | #63 | |
First Lieutenant
93
Rep 338
Posts |
Quote:
I ended up just reflashing my SD card with BM3's firmware and tried it out again this time w/o having to tether to my iphone from the Pi. And long and behold it finally worked wirelessly, woo hoo These Pi's on the iphone are really picky and make sure you disable the Wi-Fi Networking button under >System Services, here is the path FYI: >Settings >Privacy >Location Services >System Services >Wi-Fi Networking
__________________
2013 320ix N20 8AT|BM3 stg1|Muff Res Delete|HPB-LED-Amber-DRL's
IG: DadzBmer_N2o |
|
Appreciate
0
|
02-12-2020, 08:47 PM | #64 | |
Captain
473
Rep 932
Posts |
Quote:
|
|
Appreciate
0
|
02-12-2020, 09:55 PM | #65 | ||
First Lieutenant
93
Rep 338
Posts |
Quote:
__________________
2013 320ix N20 8AT|BM3 stg1|Muff Res Delete|HPB-LED-Amber-DRL's
IG: DadzBmer_N2o |
||
Appreciate
0
|
02-18-2020, 10:56 AM | #66 |
New Member
3
Rep 16
Posts |
RPi 4
Has anyone tried this with RPi 4? According to OP it should work with any. I'd like to go with the 4 in case I want to use it for something else down the road.
|
Appreciate
0
|
Post Reply |
Bookmarks |
|
|