Page 1 of 1
Installation instructions for Freematics Hub
Posted: Fri Mar 26, 2021 6:47 pm
by sponz
Hi,
I have installed Freematics Hub for Windows and Linux (latest versions), but:
- I can't login from the simulator -> it always says "Login failed"
- When entering into the hub with any ID, I get the message "Server under maintenance (status: 404)"
I don't see the Data directories. What should I do?
Is there any installation guide?
Thanks a lot in advance.
Re: Installation instructions for Freematics Hub
Posted: Mon Mar 29, 2021 7:59 pm
by stanley
The maintenance has completed.
Re: Installation instructions for Freematics Hub
Posted: Mon Apr 19, 2021 2:16 pm
by victorch
Hi sponz,
I had similar experience "Server under maintenance(status:404), click OK" on linux platform.
I need to make 1 change on \Freematics-master\server\teleserver\htdocs\config.js (remove hub in the
path) as following, then the maintenance message disappears. Hope this help.
Search below and change :
from: const serverURL = window.require ? "
http://localhost:8080/api/" :
(window.location.href.indexOf("localhost") > 0 ? "/api/" : "hub/api/");
to: const serverURL = window.require ? "
http://localhost:8080/api/" :
(window.location.href.indexOf("localhost") > 0 ? "/api/" : "/api/");
Best regards and thanks,
Victor
Re: Installation instructions for Freematics Hub
Posted: Wed Apr 21, 2021 10:23 am
by wally2511
Hey Victor,
What did the config.h settings look like on your OBD dongle?
Code: Select all
// Freematics Hub server settings
#define SERVER_HOST "hub.freematics.com"
#define SERVER_PROTOCOL PROTOCOL_HTTP
#endif
// HTTPS settings
#define SERVER_METHOD PROTOCOL_METHOD_POST
#define SERVER_PATH "/hub/api"
#if !SERVER_PORT
#if SERVER_PROTOCOL == PROTOCOL_UDP
#define SERVER_PORT 8081
#elif SERVER_PROTOCOL == PROTOCOL_HTTP
#define SERVER_PORT 80
#elif SERVER_PROTOCOL == PROTOCOL_HTTPS
#define SERVER_PORT 443
#endif
#endif
Re: Installation instructions for Freematics Hub
Posted: Wed Apr 21, 2021 10:43 am
by victorch
Hi Matt,
I got below setting of SERVER_PATH in the config.h as followings :
// HTTPS settings
#define SERVER_METHOD PROTOCOL_METHOD_POST
#define SERVER_PATH "/api"
#if !SERVER_PORT
#if SERVER_PROTOCOL == PROTOCOL_UDP
#define SERVER_PORT 8081
#elif SERVER_PROTOCOL == PROTOCOL_HTTPS
#define SERVER_PORT 443
#endif
#endif
Cheers,
Victor
Re: Installation instructions for Freematics Hub
Posted: Tue Oct 15, 2024 4:59 pm
by willams
To install the Freematics Hub, first, connect the device to the OBD-II port of your vehicle, ensuring a secure fit. Next, download the Freematics app on your smartphone and create an account. Follow the app's prompts to pair the Hub via
dish network billing problems Bluetooth. Finally, configure the settings as needed to monitor vehicle data and access various features for enhanced performance and diagnostics.
Re: Installation instructions for Freematics Hub
Posted: Wed Oct 16, 2024 3:41 pm
by limeglum
It's help alot. thx