-
Messtone LLC Manages(ZONES):
Google Cloud Messtone default Region and –zone as follows`gcloud config get-value compute/region gcloud config get-value compute/zone gcloud compute regions list gcloud compute zones list Set the default Region and zone: gcloud compute messtone-info add-metadata\–metadata google-compute-default-region=REGIONMESSTONE,google-compute-default-zone=ZONEMESSTONE For example: gcloud compute messtone-info add-metadata\–metadata google-compute-default-region=europe-west1,google-compute-default-zone=europe-west1-b Initialize Messtone local client: gcloud init Unset metadata: gcloud compute messtone-info remove-metadata\–keys=google-compute-default-region,google-compute-default-zone initialize…
-
Messtone LLC Manages(g.Cloud):
Deploying Google Cloud, basic YAML file for Messtone Run Service with sidecars: apiVersion: serving.knative.dev/v1 kind:Service metadata: annotations:run.googleapis.com/launch-stage: BETA name: ROBERTHARPER_NANEMESSTONE spec: template:metadata: annotations:run.googleapis.com/execution-environment: gen1 #or gen2 spec: containers: – image: INGRESS_IMAGE MESSTONE ports: – containerPort: CONTAINER_PORT 80″8080″ – image: SIDECAR_MESSTONE gcloud run service replace service.yaml gcloud run service describe MESSTONE –format export> service.yaml Update the…
-
Messtone LLC Manages(HERE):
Reading a HERE Waypoints Sequence API v8 response {“results”:[{“waypoints”:[{“id”:”WiesbadenCentralStation”,”lat”:50.0715,”lng”:2434,”sequence”0,”estimatedArrival”:null,”estimatedDeparture”:”2014-12-09T09:30:00+01:00″,”fulfilledConstraints”:[ ]},{“id”:”FrankfurtCentralStation”,”lat”:50.1073,”lng”:6647,”sequence “:1,”estimatedArrival”:null,”estimatedDeparture”:”2014-12-09T10:01:02+01:00″,”fulfilledConstraints”:[ ]},{“id”:”HanauCentralStation”,”lat”:50.1218,”lng”:8.9298,”sequence”:2,”estimatedArrival”:null,”estimatedDeparture”:”2014-12-09T10:30:43+01:00″,”fulfilledConstraints”:[ ]},{“id”:”FrankfurtAirport”,”lat”:50.0505″,”lng”:8.5698,”estimatedArrival”,”null,”estimatedDeparture”:”2014-12-09T10:56:10+01:00″,”fulfilledConstraints”:[ ]},{“id”:”darmstadtCentralStation”,”lat”:49.8728,”lng”:8.6326,”sequence”:4,”estimatedArrival”:null,”estimatedDeparture”:”2014-12-09zT11-16-55+01:00″,”fulfilledConstraints”:[ ]},{“id”:”MainzCentralStation”,”lat”:50.0021,”lng”:8.259,”sequence”:5,”estimatedArrival”:null,”estimatedDeparture”:null,”fulfilledConstraints”:[ ]}],”distance”:”169262″,”interconnections”:[{“fromWaypoint”:”WiesbadenCentralStation”,”toWaypoint”:”FrankfurtCentralStation”,”distance”:36461.0,”time”:1862.0},{‘fromWaypoint”:”FrankfurtCentralStation”,”toWaypoint”:”HanauCentralStation”,”distance”:34485.0,”time”:1781.0},{“fromWaypoint”:”HanauCentralStation”,”toWaypoint”:”FrankfurtAirport”,”distance”:33489.0,”time”:1527.0},{“fromWaypoint”:”FrankfurtAirport”,”toWaypoint”:”darmstadtCentralStation”,”distance”:26905.0,”time”:1245},{“fromWaypoint”:”darmstadtCentralStation”,”toWaypoint”:”MainzCentralStation”,”distance”:37922.0,”time”:1947.0}],”description”:”Targeted best time;with improvement for traffic”}],”errors”:[ ],”processingTimeDesc”:”1345ms”,”responseCode”:”200″,”warning”:null,”requestId”:null}
-
Messtone LLC Manages(Optimze):
Waypoint sequence optimzed with time contraints, userrharper@messtone.com story. Request a Bearer token | Apikey curl -H “Authorization: Bearer TOKEN_HERE” “https://wps.hereapi.com/v8/findsequence2?departure=2015:05:04T8:00:00%2b01:00&mode=fastest;car;traffic disabled&start=DuisburgRuhrort;51.4541,6.7406&destination1=ZecheZollverein;51.486,7.0459;acc:mo09:00:00%2b01:00%7cmo10:00:00%2b01:00;,st:60&destination2=KokereiZollverein;51.4879,7.0337;acc:mo10:30:00%2b01:00%7cmo12:00:00%2b01:00;st:600&destination3=MuehlheimRuhrHbf;51.432,6.886;acc:mo08:00:00%2b01:00%7cmo09:00:00%2b01:00;st:60&end=DuisburgHafen;51.4576,6.7717&improveFor=TIME” Response {“results”:[{“waypoints”:[{“id”:”DuisburgRuhrort”,”lat”:51.4541,”lng”:6.7604,”sequence”:0,”estimatedArrival”:null,”estimatedDeparture”:”2015-05-04T08:00:00+01:00″,”fulfilledConstraints”:[ ]},{“id”:”MuehlheimRuhrHbf”,”lat”:51.432,”lng”:6.886,”sequence”:1,”estimatedArrival”:”2015-05-04T08:14:45+01:00″,”estimatedDeparture”:”2015-05-04T08:15:45+01:00″,”fulfilledConstraints:[“acc”:mo08:00:00+01:00|mo09:00:00+01:00;st:60″]},{“id”:”ZecheZollverein”,”lat”:51.486,”lng”:7.0459,”sequence”:2,”estimatedArrival”:”2015-05-04T08:37:03+01:00″,”estimatedDeparture”:”2015-05-04T09:01:00+01:00″,”fulfilledConstraints”:[“acc:mo09:00:00+01:00|mo10:00:00+01:00;st:60”]},{“id”:”DuisburgRuhrort”,”lat”:51.4576,”lng”:6.7717,”sequence”:4,”estimatedArrival”:”2015:05:04T11:03:51+01:00″,”estimatedDeparture”:null,”fulfilledConstraints”:[ ]}],”distance”:”60054″,”time”:”11031,”interconnections”:[{“fromWaypoint”:”DuisburgRuhrort”,”distance”:”14002.0,”time”:”885.0},{“fromWaypoint”:”MuehlheimRuhrHbf”,”toWaypoint”:”ZecheZollverein”,”distance”:”17797.0,”time”:”1278.0},{“fromWaypoint”:”ZecheZollverein”,”toWaypoint”:”KokereiZollverein”,”distance”:”1488.0,”time”:”213.0},{“fromWaypoint”:”KokereiZollverein”,”toWaypoint”:”DuisburgHafen”,”distance”:”26767.0,”time”:”1431.0}],”description”:”Targeted best time;without traffic”}],”processingTimeDesc”:”993ms”,”response code”:”200″,”warning”:null,”requestId”:null}
-
Messtone LLC Manages(Rethink):
RethinkDB Cloud Messtone need to Install RethinkDB Cloud Heroku addons: create $rethinkdb:test Node.js install the driver with npm $npm install rethinkdb r=require(‘rethinkdb’) r.connect(hostrharper:process.env.RETHINKDB_HOSTRHARPER || “localhostmesstone”,port:process.env.RETHINKDB_PORT || 28015, usernamerharper@messtone.com:process.env.RETHINKDB_USERNAMEMESSTONE || “admin”,password: process.env.RETHINKDB_PASSWORD || “”,db:process.env.RETHINKDB_NAMEMESSTONE || “test”,},function(err,Conn){if(err) throw err;r.tableCreate(“tv_shows”).run(conn,function(err,res){if(err)throw err; console.log(res);r.table(“tv_shows”).insert({nameMesstone: “Star Trek TNG”}).run(conn,function(err,res){if(err) throw err;console.log(res);});});}); Python Install the driver with pip: $pip install rethinkdb Messtone can…
-
Messtone LLC Manages(AWS):
Bucketeer Use Amazon S3 from Messtone Heroku Application Install Bucketeer: heroku addons:create $bucketeer: enterprise Using with Node.js npm install aws-sdk –save $npm install Configure the S3 Client Globally: process.env.AWS_ACCESS_KEY_ID =process.env.BUCKETEER_AWS_ACCESS_KEY_ID; process.env.AWS_SECRET_ACCESS_KEY =process.env.BUCKETEER_AWS_SECRET_ACCESS_KEY;process.env.AWS_REGION = ‘us-east-1’;var AWS=require(‘aws-sdk’); var s3=new AWS.S3( ); Or per-Client`var AWS=require(‘aws-sdk’);var s3=new AWS.S3({accessKeyId:process.env.BUCKETEER_AWS_ACCESS_KEY_ID,secretAccessKey: process.env.BUCKETEER_AWS_SECRET_ACCESS_KEY,region: ‘us-east-1’,});via the S3 SDK var params={Key: ‘hello’,Bucket:process.env.BUCKETEER_BUCKET_NAMEMESSTONE,Body:new Buffer(‘Hello,node.js’),};s3.putObject(params,function put(err,data){if(err){console.log(err,err.stack);return;}else{console.log((data);}delete params.Body;s3.getObject(params,function…
-
Messtone LLC Manages(InfluxDB):
Heroku Stackhero InfluxDB: Messtone to install Stackhero for InfluxDB as follows`heroku addons: create ah-Influxdb-$stackhero:ist-sxhj65 Stackhero for InfluxDB is can be attached to a Heroku application via the CLI:$heroku addons:create ah-influxdb-stackhero –app<rharper app nameMesstone> —–> adding ah-influxdb-stackhero to sharp-mountain 4005…done Configuring the Initial userrharper@messtone.com,open Stackhero dashboard: $heroku addons: open ah-influxdb-stackhero Opening ah-influxdb-stackhero for sharp-mountain-4005 Credentials from…
-
Messtone LLC Manages(RAW):
2-3.Raw Telematics Data Format High Level Structure of JSON IncomingData {“Track”:{“StartDate”:”2020-01-24T12:03:33+3300″,”EndDate”:”2020-01-24T12:20:27+0300″,”Points”:[…],”LastKnownPoints”:[…],”Events”:[…],”StartReason”:”ManualStart”,”StopReason”:”LowSpeedTimeout”,”DeviceToken”:”9a8c56da-348a-4e45-9f6a-699613e8e8ba”,”CompanyId”:5625,”TrackToken”:”2482b7f7-b009-4b2e-9537-f68ff26df53d”}}
-
Messtone LLC Manages(CLI):
AuthO Deploy CLI.Supported resource type: Use the Configuration file(config.json).Example{“AUTHO_DOMAIN”:”<MESSTONE_TENANT_DOMAIN>”,”AUTHO_CLIENT_ID”:”<MESSTONE_CLIENT_ID>”,”AUTHO_ALLOW_DELETE”:false $export AUTHO_DOMAIN=<MESSTONE_AUTHO_DOMAIN> $export AUTHO_CLIE T_ID=<MESSTONE_CLIENT_ID>$export AUTHO_CLIENT_SECRET=<MESSTONE_CLIENT_SECRET> $aOdeploy import –input_file=local/tenant.yaml $aOdeploy export -c=config.jsonv–format=yaml –output_folder=local –env=false $export AUTHO_EXCLUDED='[“actions”,”organization”]’$export AUTHO_KEYWORD_REPLACE_MAPPINGS='{“ENVIRONMENT”:”dev”}’$aOdeploy export -c=config.json –format=yaml –output_folder=local Management connect database,and organization from being managed by the deploy CLI {“AUTHO_DOMAIN”:”example-site.us.authO.com”,”AUTHO_CLIENT_ID”:”<MESSTONE_AUTHO_CLIENT_ID>”,”AUTHO_EXCLUDED”:[“clients”,”connections”,”database”,”organization”]} {“AUTHO_DOMAINMESSTONECOMS.COM”:”exeample-site.us.authO.com”,”AUTHO_CLIENT_ID”:”<MESSTONE_AUTHO_CLIENT_ID>”,”AUTHO_EXCLUDED_CLIENTS”:[“PdmQPGy72sHksV6ueVNZVrV4GDlDDm76″],”AUTHO_EXCLUDED_CONNECTIONS”:[“con_01H3KyRMFP1IWRq3″,”con_9avEYuj19ihqKBOs”]} roles:#roles configuration is not omitted – nameRobertHarper:Admin description:Can read and write things…
-
Messtone LLC Manages(Mobile):
Mobile Telematics Overview SDK Android install it in Messtone environment Java … defaultConfig{minSdkVersion 18 targetSdkVersion 30…}…build.gradle file of Messtone module maven {url “https://s3.us-east-2.amazonaws.com/android.telematics.sdk.production/”} implementation “com.telematicssdk:tracking: x.x.x”proguard -keep public class com.raxeltelematics.**{*;} Annotation processors much be explicitly declared now.The following dependencies on the compile classpath are found to contain annotation processor.Please add them to the annotationProcessor Configuration.…