mirror of
https://github.com/liclac/ambient
synced 2024-11-21 19:33:08 +00:00
_icomera: Speed is given in m/s for some reason, convert to km/h
This commit is contained in:
parent
53bada3b54
commit
68a1ea3aea
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ ambient_get_icomera_endpoint position | jq -r '"
|
|||
AMBIENT_ICOMERA_POSITION_LONGITUDE=\(.longitude)
|
||||
AMBIENT_ICOMERA_POSITION_LATITUDE=\(.latitude)
|
||||
AMBIENT_ICOMERA_POSITION_ALTITUDE=\(.altitude)
|
||||
AMBIENT_ICOMERA_POSITION_SPEED=\(.speed)
|
||||
AMBIENT_ICOMERA_POSITION_SPEED=\((.speed | tonumber)*60*60/1000 | round)
|
||||
AMBIENT_ICOMERA_POSITION_SATELLITES=\(.satellites)
|
||||
"'
|
||||
ambient_get_icomera_endpoint users | jq -r '"
|
||||
|
|
Loading…
Reference in a new issue