VincentMasselis / TPMS-advanced

Android app for BLE TPMS made by Sysgration
Apache License 2.0
8 stars 3 forks source link

Individual Add sensor barcode #32

Open RobotsForSTEM opened 4 months ago

RobotsForSTEM commented 4 months ago

Hi. I tryed to add by qr code a coouple of sensors on my motorcycle but the software always gives the information that the is no sensor information for rear axle. however, the qr code has information for both sensors, separated by & as I believe your app is looking for. The front sensor is working but i didn't find a way of adding the rear sensor.

Would it be possible to, for example, click on the specific wheel and, after opening the add sensor (either by writing sensor information or reading qr or barcode) for that specific sensor? Thank you. keep up the good work.

VincentMasselis commented 4 months ago

Hello and thanks for your bug report 😃

When emitting data, Sysgration sensors also emit their location. 4 different locations exists, FRONT_LEFT, FRONT_RIGHT, REAR_LEFT and REAR_RIGHT. To make the UI easy to use, I automatically put found sensors on the vehicle on the right tire according to the location. When using a motorcycle, I expect sysgration sensor to return a FRONT_LEFT or a FRONT_RIGHT location for a front tire and a REAR_LEFT or REAR_RIGHT for a rear axle.

Unfortunately, it seems the seller sent you a FRONT_LEFT and a FRONT_RIGHT sensor so TPMS Advanced cannot find on which axle each of them are plugged. For example, some people could use the FRONT_LEFT for the rear axle, some for the front, TPMS Advanced cannot figure where the user has plugged it 🤷‍♂️.

But, there is hope 😄, when I was adding support for Pecham sensors, I've added code to ask the user for the real location of the sensor. Pecham sensor doesn't return any location at all, only the user can tell where it is. To support this feature for Sysgration sensors, I need to do some important updates.

I'll keep you in touch :)

NH-RedAnt commented 2 weeks ago

I have the same problem, but I achieved it in a different way. By purchasing a car kit (4 external sensors) for my motorcycles.

The card that came wiith it has the QR code and 4 individual bar codes.

My phone showed the QR content as text with all four of my 6 digit codes joined by "&". In "FrontLeft&FrontRight&BackLeft&BackRight" order. I made two new QR images with a pair of codes (not four), in "Front&Rear" order. I made two QR codes: one for the Left pair, and a second QR for the Right pair. Now I have a QR setting for both mine and my wifes bikes. The Motorcycle bind seems very happy using these new QR codes.

VincentMasselis commented 2 weeks ago

@NH-RedAnt you don't have to create homemade QR code, you can just plug the sensors and run your motorcycle. When running, each sensor will wake up and emit data to TPMS Advanced, if the emitting sensor is FRONT_LEFT or FRONT_RIGHT, the tyre data will be automatically associated to the motorcycle's front tyre, same for the back. You can use TPMS Advanced like this. If you want to read only values from a specific sensor, once TPMS Advanced has received data from a sensor, a small icon is displayed along with the colored tyre to associate the sensor to the tyre.

NH-RedAnt commented 2 weeks ago

I added the new enhancement request. I improved my original target +/- idea, after a bit more thought it was expanded/simplified down to "named setting profiles". FYI I am making a crude Flutter app to capture BLE PSI data. Then graph and hopefully save it. It's my first Flutter project, so it's not going to be all that great. I'm also considering working on an OSMand data plugin to capture TPMS data in GPS track logs. Apparently I have way to much "free time". Get BlueMail https://bluemail.me for Desktop Vincent Masselis wrote: @NH-RedAnt https://github.com/NH-RedAnt you don't have to create homemade QR code, you can just plug the sensors and run your motorcycle. When running, each sensor will wake up and emit data to TPMS Advanced, if the emitting sensor is FRONT_LEFT or FRONT_RIGHT, the tyre data will be automatically associated to the motorcycle's front tyre, same for the back. You can use TPMS Advanced like this. If you want to read only values from a specific sensor, once TPMS Advanced has received data from a sensor, a small icon https://pictogrammers.com/library/mdi/icon/link-variant-plus/ is displayed along with the colored tyre to associate the sensor to the tyre. — Reply to this email directly, view it on GitHub https://github.com/VincentMasselis/TPMS-advanced/issues/32#issuecomment-2273716105 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BE4J3L656PGLNDV645EBF7LZQI2YDAVCNFSM6AAAAABGN5RQCOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZTG4YTMMJQGU . You are receiving this because you were mentioned.Message ID: @.***>