GPS signal / satellite status; 4G signal status

Is there any way to get the GPS and 4G stats? Doesn’t need to be loggable or anything, current value would be useful enough - i’m trying to find an installation spot, and it’s kinda hard to do that without knowing what the reception of the radios is like…

1 Like

Hi @orcinus,

Sure, see these commands for reference:

http://docs.autopi.io/commands/ec2x/#ec2x-cell-signal
http://docs.autopi.io/commands/ec2x/#ec2x-gnss
http://docs.autopi.io/commands/ec2x/#ec2x-gnss-location

They should assist you with the correct location of your device.

best
Peter

3 Likes

Very useful, thank you.

I am not getting location data. What could be the problem?

sudo autopi ec2x.gnss_location

error: '{''reason'': ''Not fixed now'', ''type'': ''CME''}'

**pi@autopi-440e0ba95e58** : **/opt/autopi/salt/utils $** sudo autopi ec2x.cell_location

error: '{''reason'': None, ''type'': None}'

**pi@autopi-440e0ba95e58** : **/opt/autopi/salt/utils $** sudo autopi tracking.status

_stamp: '2020-08-23T10:54:26.086421'

connection:

open: false

context:

position:

error: no_fix

last_recorded: null

last_reported: null

state: unknown

**pi@autopi-440e0ba95e58** : **/opt/autopi/salt/utils $** sudo autopi ec2x.cell_status

error: u'ec2x.cell_status'

**pi@autopi-440e0ba95e58** : **/opt/autopi/salt/utils $** sudo autopi ec2x.cell_signal

_stamp: '2020-08-23T10:55:27.863839'

bit_error_rate: 99%

rssi: '22'

**pi@autopi-440e0ba95e58** : **/opt/autopi/salt/utils $** sudo autopi ec2x.cell_signal

_stamp: '2020-08-23T10:55:37.630079'

bit_error_rate: 99%

rssi: '22'

**pi@autopi-440e0ba95e58** : **/opt/autopi/salt/utils $** sudo autopi ec2x.gnss_auto_start

_stamp: '2020-08-23T10:57:40.544183'

value: true

**pi@autopi-440e0ba95e58** : **/opt/autopi/salt/utils $**

**pi@autopi-440e0ba95e58** : **/opt/autopi/salt/utils $** sudo autopi ec2x.gnss_location

error: '{''reason'': ''Not fixed now'', ''type'': ''CME''}'

**pi@autopi-440e0ba95e58** : **/opt/autopi/salt/utils $** sudo autopi ec2x.cell_location

error: '{''reason'': None, ''type'': None}'