Start reading here.. https://www.traccar.org/documentation/
And after that start searching the forum for your topics.. Many questions already have been asked and explained. So you cvan find a lot of answers on the forum also.
Ok, I did go through the documentation. I am not a programmer but I am learning how to do this. This is why I asked for some help on it.
Documentation is intended for regular server administrators. You don't need to be a programmer to understand it. Configuration doesn't require any coding.
The stuff for the config file for the address and email and such are not in my config file and I have not been able to find them at all.
If they are not there, you need to add them.
This is what I have in the /config/traccar.xml file and its not working. Password has been censored
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'>
<properties>
<entry key='config.default'>./conf/default.xml</entry>
<!--
This is the main configuration file. All your configuration parameters should be placed in this file.
Default configuration parameters are located in the "default.xml" file. You should not modify it to avoid issues
with upgrading to a new version. Parameters in the main config file override values in the default file. Do not
remove "config.default" parameter from this file unless you know what you are doing.
For list of available parameters see following page: https://www.traccar.org/configuration-file/
-->
<entry key='database.driver'>com.mysql.cj.jdbc.Driver</entry>
<entry key='database.url'>jdbc:mysql://localhost:3306/pertemer_traccar?serverTimezone=UTC&allowPublicKeyRetrieval=true&useSSL=false&allowMultiQueries=true&autoReconnect=true&useUnicode=yes&characterEncoding=UTF-8&sessionVariables=sql_mode=''</entry>
<entry key='database.user'>pertemer_traccar</entry>
<entry key='database. Password'>**********</entry>
<entry key='mail.smtp.host'>mail.pertdispatch.com</entry>
<entry key='mail.smtp.port'>465</entry>
<entry key='mail.smtp.ssl.enable'>true</entry>
<entry key='mail.smtp.from'>dispatch@pertdispatch.com</entry>
<entry key='mail.smtp.auth'>true</entry>
<entry key='mail.smtp.username'>dispatch@pertdispatch.com</entry>
<entry key='mail.smtp.password'>**********</entry>
<entry key='sms.enable'>true</entry>
</properties>
SMS obviously won't work like this. Where did you get it from? Check the documentation.
As for SMTP, it looks fine, assuming the parameters are correct. What result do you get when you test it?
I copied this from the Documation. I tried to send an email report and nothing happens. All the email information is correct. I really have no idea what I'm doing but trying to figure it out as I go.
Link to the SMS config documentation where you copied it from?
As for email, sending email reports won't show any errors because it's asynchronous. You can test email from notifications settings.
I must be blind because what you have for SMS doesn't match what I see in the documentation.
<entry key='notificator.types'>web,sms</entry>
<entry key='sms.http.url'>https://www.traccar.org/sms/</entry>
<entry key='sms.http.authorization'>cdA47gosQ4-Cs5LSG7cwAP:APA91bH8fouM9huTILZXCq7Rko03HSYW1rFfts3IfC6NFjcTH8NNSl71u4XcuYEXPC8zzVMT6SyUhQonaE1bqKwcWTr4GaXZC4ts3qbNFaSpC1xodm_4dgUQzQNXVH2H2lXfP_l9xsDV</entry>
<entry key='sms.http.template'>
{
"to": "{phone}",
"message": "{message}"
}
</entry>
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'>
<properties>
<entry key='config.default'>./conf/default.xml</entry>
<!--
This is the main configuration file. All your configuration parameters should be placed in this file.
Default configuration parameters are located in the "default.xml" file. You should not modify it to avoid issues
with upgrading to a new version. Parameters in the main config file override values in the default file. Do not
remove "config.default" parameter from this file unless you know what you are doing.
For list of available parameters see following page: https://www.traccar.org/configuration-file/
-->
<entry key='database.driver'>com.mysql.cj.jdbc.Driver</entry>
<entry key='database.url'>jdbc:mysql://localhost:3306/pertemer_traccar?serverTimezone=UTC&allowPublicKeyRetrieval=true&useSSL=false&allowMultiQueries=true&autoReconnect=true&useUnicode=yes&characterEncoding=UTF-8&sessionVariables=sql_mode=''</entry>
<entry key='database.user'>pertemer_traccar</entry>
<entry key='database. Password'>**********</entry>
<entry key='mail.smtp.host'>mail.pertdispatch.com</entry>
<entry key='mail.smtp.port'>465</entry>
<entry key='mail.smtp.ssl.enable'>true</entry>
<entry key='mail.smtp.from'>dispatch@pertdispatch.com</entry>
<entry key='mail.smtp.auth'>true</entry>
<entry key='mail.smtp.username'>dispatch@pertdispatch.com</entry>
<entry key='mail.smtp.password'>**********</entry>
<entry key='sms.enable'>true</entry>
<entry key='notificator.types'>web,sms</entry>
<entry key='sms.http.url'>https://www.traccar.org/sms/</entry>
<entry key='sms.http.authorization'>cdA47gosQ4-Cs5LSG7cwAP:APA91bH8fouM9huTILZXCq7Rko03HSYW1rFfts3IfC6NFjcTH8NNSl71u4XcuYEXPC8zzVMT6SyUhQonaE1bqKwcWTr4GaXZC4ts3qbNFaSpC1xodm_4dgUQzQNXVH2H2lXfP_l9xsDV</entry>
<entry key='sms.http.template'>
{
"to": "{phone}",
"message": "{message}"
}
</entry>
</properties>
Hi Everyone, I need help setting up email and the SMS as well as the address to show. Can anyone help me with this, I am still learning this stuff. Also, how do I send commands to devices on the system?