Set Position Missing Altitude in Heltec boards

Hi,

I have a problem setting the fixed position in a HELTEC board with fw 1.2.11

I use:

interface.sendPosition(lat, lon, alt, time)
interface.localNode.writeConfig()

after that reading in:
interface.getMyNodeInfo()

I get the object but no altitude in it, what am I Missing?

Regards

1 Like

I’ve mannage to do that through meshtastic python meshtastic --setlat 25.1 --setlon 11.4 --setalt 120

Hi,

tried also this way, but no succes:

oops - you’ve uncovered an interesting bug! We’ve never been storing altitudes correctly in the nodedb. Fixed here (will be in next build - or the hamly automated build):

1 Like

Hi, so that may explain why I did not see any altitude reported back in the Node, after setting manually. This was in the other recent thread about “Set position manually” see below, from V1.2.12

Nodes in mesh:
{'num': 862628933, 'user': {'id': '!336aac45', 'longName': 'Unknown ac45', 'shortName': '?45', 'macaddr': 'xE8zaqxF', 'hwModel': 'TBEAM'}, 'position': {'latitudeI': -236979200, 'longitudeI': 1338773600, 'time': 1616406964, 'latitude': -23.69792, 'longitude': 133.87735999999998}}
preferences {
  ls_secs: 300
  region: ANZ
  gps_operation: GpsOpStationary
  fixed_position: true
}
2 Likes