Thanks, it worked through USB from Windows 10. It looks like the --setpref is now just --set
I installed python and the metastatic python script on a computer last night.
I was comparing my output to this post from September 1âst (Them:0.9.3,Me:1.1.5):
I noticed that my preferences section does not contain âposition_broadcast_secsâ to verify whether the new setting was accepted. My preferences section only contains 2 settings, while theirs contains 9.
Is this functioning as expected in 1.1.5?
Also, when I enter:
meshtastic --info
My Tbeam shows the bootup screen.
Is this expected?
I think the rebooting when connecting to the python api is normal. Iâve also noticed sometimes not all the preferences are shown. Perhaps in this case itâs still using the default value?
Their original used âsetprefâ, but my python script rejected it, but appeared to accept âsetâ instead:
meshtastic --setpref position_broadcast_secs 60
usage: meshtastic [-h] [âport PORT] [âhost HOST] [âseriallog SERIALLOG] [âinfo] [âqr] [âset SET SET] [âsetstr SETSTR SETSTR] [âsetchan SETCHAN SETCHAN] [âseturl SETURL] [âdest DEST] [âsendtext SENDTEXT] [âreply] [âsettime]
[âdebug] [âtest] [âble BLE] [ânoproto] [âset-router] [âunset-router]
meshtastic: error: unrecognized arguments: --setpref position_broadcast_secs 60
The python script was originally written to support just integers for preferences, but that was updated to support strings as well â that needed the change in parameter names.
If I do the commands all at once:
meshtastic --set position_broadcast_secs 60 --set wait_bluetooth_secs 28800 --info
, I get those settings in the preferences.
If I just do:
meshtastic --info
right after, those settings disappear from preferences displayed.
Iâm guessing that that behavior could be a bug, unless there is a better explanation for it.
Commands performed below:
meshtastic --set position_broadcast_secs 60 --set wait_bluetooth_secs 28800 --info
Connected to radio
Setting position_broadcast_secs to 60
Setting wait_bluetooth_secs to 28800
Writing modified preferences to device
my_node_num: 2988158868
has_gps: true
num_channels: 13
region: â1.0-USâ
hw_model: âtbeamâ
firmware_version: â1.1.5â
packet_id_bits: 32
current_packet_id: 21002201
node_num_bits: 32
message_timeout_msec: 300000
min_app_version: 172
preferences {
position_broadcast_secs: 60
wait_bluetooth_secs: 28800
ls_secs: 300
region: US
}
channel_settings {
modem_config: Bw125Cr48Sf4096
psk: â\324\361\273: )\007Y\360\274\377\253\317Ni\277â
name: âDefaultâ
}
Channel URL https://www.meshtastic.org/c/#GAMiENTxuzogKQdZ8Lz_q89Oab8qB0RlZmF1bHQ=
Nodes in mesh:
{ânumâ: 2988158868, âuserâ: {âidâ: â!ac67b21baf94â, âlongNameâ: âDylan Hoen Pocket af94â, âshortNameâ: âDHPâ, âmacaddrâ: ârGeyG6+Uâ}, âpositionâ: {âbatteryLevelâ: 100, âtimeâ: 1603275667}}
{ânumâ: 2988158384, âuserâ: {âidâ: â!ac67b21badb0â, âlongNameâ: âBeth Pedersen Car adb0â, âshortNameâ: âBPCâ, âmacaddrâ: ârGeyG62wâ}, âsnrâ: 9.75}
{ânumâ: 2988158860, âuserâ: {âidâ: â!ac67b21baf8câ, âlongNameâ: âDylan Hoen af8câ, âshortNameâ: âDHaâ, âmacaddrâ: ârGeyG6+Mâ}, âpositionâ: {âtimeâ: 1603133763}, âsnrâ: 10.5}
{ânumâ: 2988157988, âuserâ: {âidâ: â!ac67b21bac24â, âlongNameâ: âDylan Hoen ac24â, âshortNameâ: âDHaâ, âmacaddrâ: ârGeyG6wkâ}, âpositionâ: {âtimeâ: 1603135035}, âsnrâ: 9.25}
{ânumâ: 2988159228, âuserâ: {âidâ: â!ac67b21bb0fcâ, âlongNameâ: âDylan Hoen b0fcâ, âshortNameâ: âDHbâ, âmacaddrâ: ârGeyG7D8â}, âpositionâ: {âtimeâ: 1603133706}, âsnrâ: 11.0}
{ânumâ: 862638177, âuserâ: {âidâ: â!c44f336ad061â, âlongNameâ: âDylan Hoen M8N d061â, âshortNameâ: âDHMâ, âmacaddrâ: âxE8zatBhâ}, âpositionâ: {âbatteryLevelâ: 100, âtimeâ: 1603135214}, âsnrâ: 12.5}
{ânumâ: 2988159600, âuserâ: {âidâ: â!ac67b21bb270â, âlongNameâ: âDylan Hoen b270â, âshortNameâ: âDHbâ, âmacaddrâ: ârGeyG7Jwâ}, âpositionâ: {âtimeâ: 1603135831}, âsnrâ: 8.75}
{ânumâ: 2988158304, âuserâ: {âidâ: â!ac67b21bad60â, âlongNameâ: âDylan Hoen Car ad60â, âshortNameâ: âDHCâ, âmacaddrâ: ârGeyG61gâ}, âpositionâ: {âaltitudeâ: 16, âbatteryLevelâ: 100, âlatitudeIâ: 484539458, âlongitudeIâ: -1233738644, âtimeâ: 1603163052, âlatitudeâ: 48.4539458, âlongitudeâ: -123.37386439999999}, âsnrâ: 10.25}
meshtastic --info
Connected to radio
my_node_num: 2988158868
has_gps: true
num_channels: 13
region: â1.0-USâ
hw_model: âtbeamâ
firmware_version: â1.1.5â
packet_id_bits: 32
current_packet_id: 1590121178
node_num_bits: 32
message_timeout_msec: 300000
min_app_version: 172
preferences {
ls_secs: 300
region: US
}
channel_settings {
modem_config: Bw125Cr48Sf4096
psk: â\324\361\273: )\007Y\360\274\377\253\317Ni\277â
name: âDefaultâ
}
Channel URL https://www.meshtastic.org/c/#GAMiENTxuzogKQdZ8Lz_q89Oab8qB0RlZmF1bHQ=
Nodes in mesh:
{ânumâ: 2988158868, âuserâ: {âidâ: â!ac67b21baf94â, âlongNameâ: âDylan Hoen Pocket af94â, âshortNameâ: âDHPâ, âmacaddrâ: ârGeyG6+Uâ}, âpositionâ: {âbatteryLevelâ: 100, âtimeâ: 1603275860}}
{ânumâ: 2988158384, âuserâ: {âidâ: â!ac67b21badb0â, âlongNameâ: âBeth Pedersen Car adb0â, âshortNameâ: âBPCâ, âmacaddrâ: ârGeyG62wâ}, âsnrâ: 9.75}
{ânumâ: 2988158860, âuserâ: {âidâ: â!ac67b21baf8câ, âlongNameâ: âDylan Hoen af8câ, âshortNameâ: âDHaâ, âmacaddrâ: ârGeyG6+Mâ}, âpositionâ: {âtimeâ: 1603275740}, âsnrâ: 10.75}
{ânumâ: 2988157988, âuserâ: {âidâ: â!ac67b21bac24â, âlongNameâ: âDylan Hoen ac24â, âshortNameâ: âDHaâ, âmacaddrâ: ârGeyG6wkâ}, âpositionâ: {âtimeâ: 1603275768}, âsnrâ: 13.75}
{ânumâ: 2988159228, âuserâ: {âidâ: â!ac67b21bb0fcâ, âlongNameâ: âDylan Hoen b0fcâ, âshortNameâ: âDHbâ, âmacaddrâ: ârGeyG7D8â}, âpositionâ: {âtimeâ: 1603133706}, âsnrâ: 11.0}
{ânumâ: 862638177, âuserâ: {âidâ: â!c44f336ad061â, âlongNameâ: âDylan Hoen M8N d061â, âshortNameâ: âDHMâ, âmacaddrâ: âxE8zatBhâ}, âpositionâ: {âbatteryLevelâ: 100, âtimeâ: 1603275693}, âsnrâ: 9.5}
{ânumâ: 2988159600, âuserâ: {âidâ: â!ac67b21bb270â, âlongNameâ: âDylan Hoen b270â, âshortNameâ: âDHbâ, âmacaddrâ: ârGeyG7Jwâ}, âpositionâ: {âtimeâ: 1603135831}, âsnrâ: 8.75}
{ânumâ: 2988158304, âuserâ: {âidâ: â!ac67b21bad60â, âlongNameâ: âDylan Hoen Car ad60â, âshortNameâ: âDHCâ, âmacaddrâ: ârGeyG61gâ}, âpositionâ: {âbatteryLevelâ: 100, âtimeâ: 1603275878}, âsnrâ: 11.5}
I have also seen a marker pop onto the map in the 1.1.5 app that was over 24 hours old, and then it disappeared off of the map a few minutes later. The GPSs seem to have a hard time getting GPS signal, even in a car that has a good view of the sky. What determines when a marker gets deleted off of the map? I used to see a lot more markers on the map with previous versions of the app/device software (I have 10 T-Beams).
1.1.6 of the android app is up on the alpha/beta google play channels. It contains a number of cool new things from mc-hamster and a bug fix for the bluetooth OTA software update. If a couple of yaâll could try updating your devices using bluetooth that would be super helpful.
Also - the device loads included in the app (though not yet the github .bin releases) are now âuniversalâ regionless loads. This allows the app to be much smaller. During the upgrade process your existing region selection is preserved. Also the bootscreen now shows your region.
(Also I now have an actual desk once again (and out of quarantine), so I should be contributing more regularly now)
Dear alpha testers, please do not install this release over USB. If you could try installing it from the android app over bluetooth that would be preferred (I just fixed an android bug with software update)
Major changes.
- @mc-hamster added his HTTPS server (woot!) (FIXME, add link to documentation on this new feature). This exposes our API over HTTPS and will eventually work with the meshtastic.js client side code. This was a lot of work.
- @mc-hamster if your ESP32 is on wifi it will appear at http://meshtastic.local
- @mc-hamster enabled the RX LNA for SX-1262 radios, which should help receive sensitivity a lot (i.e. range)
- Make screens look a bit nicer on larger displays (make font size adjustable and relative positions on widgets)
- Fix OTA bluetooth update while node is working as a router
- Show current region on boot-screen
- Software updates are now region independent (though for the time being initial installations still offer versions that are built for each particular region)
Unfortunately Iâm still getting update failed when trying to update over bluetooth (app 1.1.6, tbeams 1.1.5 trying to update to 1.1.6). It looks like the radio is going to sleep while the update is progressing. Also I concur with what @DylanHoen said about gps - I tried to do some range tests by having my home base radio in the window and a friend take the other on a walk - I only got 1 or 2 gps locations from my friend, and my home base radio only seems to have a location half of the time despite being in a window.
My heltec got at immediate âupdate failedâ (iâm guessing this beta build doesnât include heltec firmware?).
I tried updating my t-beamâs over BLE and it died part way through and didnât update. I also tried updating while pushing the middle button repeatedly to see if that would keep it from sleeping and allow the update to succeed, but that died the same way and didnât succeed.
Was able to update to 1.1.6 on app and firmware. I opted for beta on Play it installed 1.1.5, I gave it a couple minutes, killed Play, and went back to the Meshtastic app and it was able to update to 1.1.6. The BT update from 1.1.5 to 1.1.6 took 6 minutes.
Another thing Iâve noticed is that after an update fails, if I donât force stop the app (vs just closing the activity in the app switcher), the app will immediately âupdate failedâ for any further attempts to update. I have to long press the app and force stop it and restart it to get it to attempt another update.
At first when I pushed the update button nothing happened. I had to force close the app to get the update to start. Maybe it was running the old service? It took 6 minutes to do the update from 1.1.5 to 1.1.6. The screen on the TBeam stayed on during the whole process.
I really like the debug tab. Very nice.
Just tried to update a non-gps t-lora the same way as the tbeam and the update will not start, button is there. The progress bar comes up and never progresses.
So I ended up updating both my tbeams using usb. Sent one out for a range test but it seems that a location fix from several days ago is showing on the map:
Also, both of my nodes are showing up in the list, but the mobile one (Stephen304 which also sent the stale coordinates) seems to not be sending any coordinates. My roommate is biking with it so there should be few obstructions preventing a gps fix.
I updated the app to 1.1.6, then updated my T-Beam to 1.1.6 over Bluetooth. It appeared to take longer than before, but I never timed it.
I tried to update another T-Beam, but I think the button was grayed out (I had seen this with previous versions). I killed the app, then started it again. I could click the update button, but it immediately said update successful without seeming to do anything. A few minutes later, I connected to that t-beam again, and it said it was now 1.1.6. Is it possible that the version number got changed somewhere, without doing the rest of the update?
Is there another feature I can test to verify it really is running 1.1.6?
I closed all apps and rebooted the phone and connected to that t-beam again and it still said that it was 1.1.6.
In the past, I had to kill the meshtastic app and reboot the phone between updating t-beams.
Samsung Galaxy Note 8.
Using android 1.1.6 , I used over the air OTA on four tbeams:
two ver v 1.0 updated successfully from 0.9.3 to 1.1.6 , had to do android re-pairing to get them to update
two ver v.1.1 updated from 0.9.1 to 1.1.6
One thing changes, the gps red light seem to stay on solid with âno-sats/no-gpsâ while it is sleeping, then starts normal fast red blink when âawakeâ with 11 or 12 sats and communicating with either between tbeams or with a BLE to android phone, Is this normal ?
note: they are the m8n models
I successfully updated over bluetooth a T-beam 1.0 from 1.1.5 to 1.1.6 (EU865).
The app crashed once without initiating the update (button not reactive). After restart, the button worked and the update was smooth.
Settings were kept, while I had to reconfigure them each time in the past when updating via usb.
Three more T-beams to go!
I tried the WIFI on the tbeam that I didnât think was updated to 1.1.6, but I donât think it worked:
meshtastic --set position_broadcast_secs 60 --set wait_bluetooth_secs 28800 --set wifi_ap_mode false --setstr censored_ssid --setstr wifi_password censored_26_character_password --info
âWe canât connect to the server at www.meshtastic.local.â
I tried to downgrade to 1.1.5 using the esphome-flasher, but it didnât work at first. Eventually after unpluging usb cables and resetting tbeam, I got it to downgrade to 1.1.5. I think multiple programs were fighting over the com port.
I connected to it with my phone through bluetooth, and upgraded it to 1.1.6 again.
I tried enabling the wifi again, but my flakey home wifi network became even more flakey and my laptop got disconnected from the network for half an hour, until I connected it to an ethernet cable and rebooted the router.
http://www.meshtastic.local/ still didnât work.
My routerâs DHCP client table didnât show any different entries with the TBeams off VS on, but I have a bunch of smart home switches that use ESP chips, so my client table is full of ESP_XXXXXX entries.
I also setup wifi and can see if apply, but once the unit reboots and I run --info none of the settings are there under preferences.