Moj.io integration

I’d like to use my car Mojio tracker as presence device. Also the API exposes quite a bit of information about the vehicle like remaining gas, battery level, mileage, detected issues, alerts whether vehicle is being towed, etc - which could also be useful. Docs are here: https://docs.moj.io/#!/document/view/index there is also a vehicle simulator: https://docs.moj.io/#!/simulator/home

2 Likes

@simontb started to work on an integration during the summer. I hope we can make it work at least as a custom component.

Hi, any news about Mojio integration?

@ememek, I guess you are the one who asked the same question on GitHub as well.

What does it cost the device and subscription in the Czech Republic?

In Poland, I am not sure what it cost now but between 25 and 30 PLN per month and the device is free or 1 PLN only. (As I can recall…)

Then you have tracking and if you have a local license plate number than you received roadside assistance as well.

It is a good combination if your car has CarPlay or Android Auto or you use Spotify or other music streaming service to listen music on the road. (Regarding the Internet connection…)

The dongle is a bit big, I had to buy an extension cable to place it conveniently.

Yes, I asked on GitHub. :slight_smile:

Here is the price list for T-Mobile CZ - Z každého auta může být Chytré auto - T-Mobile.cz
I have not ordered it yet. At this moment I am looking for the best tracking solution. I already tried tracking with a cheap Chinese tracker and Traccar software. But now Mojio seems to be a better and safer solution. There is also specialized hardware compatible with Traccar (Freematics ONE+ Traccar Edition) but it is a little overpriced for me.

This is the Polish offer.

It seems like the price went up a bit (40 PLN/Month), but they added a bit more services:

https://www.t-mobile.pl/c/oferta-specjalna/smart-car

What prepaid mobile options T-Mobile CZ has? You might can find a dongle on one of the local market places. Then you have to pay for the dongle only, but you can try it for a month or so with a prepaid card.

I am moving this here from the GitHub PR:

T-Mobile PL:

device_tracker:
  - platform: mojio
    domain: tmobile-pl
    client_id: a29871cb-27c6-4e36-8249-205bafe659b3
    client_secret: 8eb2d8b3-7baf-4c41-9373-877ed9960a5f
    username: <YOUR_EMAIL_ADDRESS>
    password: <YOUR_PASSWORD>

T-Mobile CZ:

device_tracker:
  - platform: mojio
    domain: tmobile-cz
    client_id: 01e950e3-5e50-4cc0-8b04-8b48c35d00cd
    client_secret: a1b7d477-9410-4e1d-b537-304e041fcb89
    username: <YOUR_EMAIL_ADDRESS>
    password: <YOUR_PASSWORD>

Telekom DE

device_tracker:
  - platform: mojio
    domain: telekom-de
    client_id: cae6e4b9-00ca-4019-be80-26ed36a30979
    client_secret: 4d37a73e-72a3-466f-8ed2-f0fd4026cb77
    username: <YOUR_EMAIL_ADDRESS>
    password: <YOUR_PASSWORD>

And a new one for SyncUp Drive users:

T-Mobile US:

device_tracker:
  - platform: mojio
    domain: tmobile-us
    client_id: 86d1d812-dc08-4d38-9ff3-ff86908d97e6
    client_secret: 0a6b21ec-84df-4088-ba0c-2e05592da42b
    username: <YOUR_EMAIL_ADDRESS>
    password: <YOUR_PASSWORD>

Update 2 (just to have everything in the same place):

For Motion US devices:

- platform: mojio
    domain: motion-us
    client_id: 9692e2af-07f6-46ed-b384-1831b739ebf6
    client_secret: b463050d-86b3-4c9c-b47b-924addb6e321
    username: !secret mojio_user
    password: !secret mojio_pass

Hi, I uploaded mojio to custom_components, added code to conf yaml and rebooted. Nothing happened, it doesn’t say any error, but the car doesn’t appear as a device either.

image

image

Ok, i add integration over HACS, but doesnt work. :confused:

Can you share what is in your configuration.yaml for the integration? (Of course with redacted credetenitals!)

You should use the credentials what you are using in the SyncUp app (email and password).

Did you ever get it working? I installed via HACS and I don’t get any entity showing up for mojio. I’m using the tmobile-us though so maybe the example config is out dated? I’m not really sure how to go about trying to figure out the client id and secret to see what my app is using to try and fix it.

Trying to set this up in the US.


  - platform: mojio
    domain: tmobile-us
    client_id: 86d1d812-dc08-4d38-9ff3-ff86908d97e6
    client_secret: 0a6b21ec-84df-4088-ba0c-2e05592da42b
    username: !secret mojio_user
    password: !secret mojio_pass

Unsure what I am doing wrong, I added in HACS + did config + restarted but for some reason nothing appears when I search “mojio”

You should search for an entity called: device_tracker.YOUR_PLATE_NUMBER, if you defined the plate number in the app.

I cannot remember what it generates for entity when plate number is not defined.

If you still cannot find a device tracker, then look at the logs, if you have any mojio over there.

2 Likes

You’re the best found it immediately thanks!

2 Likes

Hey there! Thanks for the custom integration.

I have a Mojio-branded MOTION device tracker which is operating on the T-Mobile US network.

I just tried setting this custom integration using the T-Mobile US client_ID/secret and the logs show that “Mojio authentication failed”.

Do you know if this API is still active?

If its still active, do I need to use different client_ID/client_secret to authenticate my OEM device? Do you know where I can find the correct authentication details?

Could you please share a link to the device’s page on the T-Mobile US website and a link to the app you are using it with?

There are some tracker devices in the US, which are not Mojio devices, that’s the reason why I am asking for this.

AFAIK, the device doesn’t have a page on T-Mobile.

I am using this app to access the app: ‎Motion by Mojio on the App Store

Try the following:

- platform: mojio
    domain: motion-us
    client_id: 9692e2af-07f6-46ed-b384-1831b739ebf6
    client_secret: b463050d-86b3-4c9c-b47b-924addb6e321
    username: !secret mojio_user
    password: !secret mojio_pass

And let me know if it is working…

Thank you that worked!

1 Like