iotexproject / iotexproject/pebble-apps

Incomplete configuration for riverrock-dev

Open
#23 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
4
Forks
6
PR merge metrics
No merged PRs in 30d

Description

I've used the python script to configure the Riverrock-dev firmware so as only to send GPS data, I enabled precise_gps=true, but it doesn't seem to work well:

The problem is that while it's not sending climate data and gas resistance, it's still sending ambient light, accelerometer and gyroscope. Moreover, the GPS location is precisely as inaccurate as with the default firmware.

image

The location I'm getting is
```
"latitude": "45.4799999",
"longitude": "9.1500000",
```
that is exactly what I was getting before I set the configuration.

Here is the configuration I've sent:

```python
selected_sensor = sensor.DATA_CHANNEL_GPS
# endpoint = "a11homvea4zo8t-ats.iot.us-east-1.amazonaws.com"
endpoint = "a11homvea4zo8t-ats.iot.ap-east-1.amazonaws.com"
port = 8883
precise_gps = True
network = sensor.PEBBLE_CONTRACT_TEST_NET
aws_cert_file = './mqtt_cert/certificate.pem'
aws_key_file = './mqtt_cert/private.pem'
aws_root_key = './mqtt_cert/root.pem'
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.