Jump to content

Lora faketak: Difference between revisions

From ciappinopedia
No edit summary
Line 3: Line 3:


=== install meshtastic CLI https://meshtastic.org/docs/software/python/cli/ ===
=== install meshtastic CLI https://meshtastic.org/docs/software/python/cli/ ===
<pre>
<syntaxhighlight lang='bash'>
pip3 install --upgrade pytap2
pip3 install --upgrade pytap2
pip3 install --upgrade meshtastic
pip3 install --upgrade meshtastic
</pre>
</syntaxhighlight>


==== show cose ====
==== show cose ====
https://meshtastic.org/docs/software/python/cli/usage/
https://meshtastic.org/docs/software/python/cli/usage/
<pre>
<syntaxhighlight lang='bash'>
meshtastic --port /dev/ttyACM0 --info
meshtastic --port /dev/ttyACM0 --info
meshtastic --seriallog
meshtastic --seriallog
meshtastic --get-all
meshtastic --get-all
meshtastic --debug
meshtastic --debug
</pre>
</syntaxhighlight>


== CONF LORA ==
== CONF LORA ==
Line 21: Line 21:


==== show conf ====
==== show conf ====
<pre>
<syntaxhighlight lang='bash'>
meshtastic --info
meshtastic --info
</pre>
</syntaxhighlight>


==== Conf inziale ====
==== Conf inziale ====
<pre>
<syntaxhighlight lang='bash'>
# region  
# region  
meshtastic --set lora.region EU_868
meshtastic --set lora.region EU_868
Line 36: Line 36:
# altre conf  
# altre conf  
meshtastic --set-owner 'Mario' --set-owner-short  'ciccio'
meshtastic --set-owner 'Mario' --set-owner-short  'ciccio'
</pre>
</syntaxhighlight>


== SHOW NODES ==
== SHOW NODES ==
<pre>
<syntaxhighlight lang='bash'>
meshtastic --nodes
meshtastic --nodes
</pre>
</syntaxhighlight>


== SETUP BLUETOOTH | AndroidApp https://f-droid.org/packages/com.geeksville.mesh/ ==
== SETUP BLUETOOTH | AndroidApp https://f-droid.org/packages/com.geeksville.mesh/ ==
<pre>
<syntaxhighlight lang='bash'>
meshtastic --ble-scan
meshtastic --ble-scan
</pre>
</syntaxhighlight>


==== reuperare il pin bluetooth ====
==== reuperare il pin bluetooth ====
<pre>
<syntaxhighlight lang='bash'>
meshtastic --info | grep -A3 bluetooth  
meshtastic --info | grep -A3 bluetooth  
# oppure settarlo
# oppure settarlo
meshtastic --set bluetooth.enabled true --set bluetooth.fixed_pin 111111
meshtastic --set bluetooth.enabled true --set bluetooth.fixed_pin 111111
</pre>
</syntaxhighlight>

Revision as of 18:07, 3 August 2025

Meshtastic

https://meshtastic.org/ | https://github.com/meshtastic

pip3 install --upgrade pytap2
pip3 install --upgrade meshtastic

show cose

https://meshtastic.org/docs/software/python/cli/usage/

meshtastic --port /dev/ttyACM0 --info
meshtastic --seriallog
meshtastic --get-all
meshtastic --debug

CONF LORA

https://meshtastic.org/docs/getting-started/initial-config/

show conf

meshtastic --info

Conf inziale

# region 
meshtastic --set lora.region EU_868

# modem https://meshtastic.org/docs/configuration/radio/lora/ 
meshtastic --ch-medfast
meshtastic --info | grep -i medium

# altre conf 
meshtastic --set-owner 'Mario' --set-owner-short  'ciccio'

SHOW NODES

meshtastic --nodes
meshtastic --ble-scan

reuperare il pin bluetooth

meshtastic --info | grep -A3 bluetooth 
# oppure settarlo
meshtastic --set bluetooth.enabled true --set bluetooth.fixed_pin 111111