Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

create fake json from terminal

$ jo _type=location 
   cog=$((RANDOM % 360)) 
   t=u 
   lat=48.85833 
   lon=2.29513 
   acc=5 
   tid=JJ 
   tst=$(date +%s) | mosquitto_pub -t owntracks/jjolie/test -l
Source by jpmens.net #
 
PREVIOUS NEXT
Tagged: #create #fake #json #terminal
ADD COMMENT
Topic
Name
9+9 =