Advanced Meshtastic - Python CLI Setup

Поделиться
HTML-код
  • Опубликовано: 15 окт 2024

Комментарии • 63

  • @mr_spoons
    @mr_spoons 9 месяцев назад +12

    👉 If the meshtastic command errors, you also need to run: pip install --upgrade setuptools

    • @The_Comms_Channel
      @The_Comms_Channel  9 месяцев назад +6

      Thanks for this. I'll pin it to the top.

    • @maizenbrot
      @maizenbrot 8 месяцев назад +1

      Thanks! Got some strange erros when running --get lora, but his sorted it :-)

    • @jonathanide4198
      @jonathanide4198 8 месяцев назад +1

      TY. I had the pkg_resources error and this worked for me

    • @EmCommSolutions
      @EmCommSolutions 7 месяцев назад +1

      Thanks! This fixed my issue!

    • @FLPanhandle
      @FLPanhandle 7 месяцев назад

      I have run this command after seeing your comment, and it installed, but did not make a difference in being able to run the meshtastic --get lora command.

  • @neilbchilton
    @neilbchilton 9 месяцев назад +13

    Your videos are the most concise and well structured deep dive into Meshtastic on RUclips. Great series! Many thanks.

  • @IanUnslaved
    @IanUnslaved 9 месяцев назад +8

    Best meshtastic tutorials period. Well done and keep em coming!

  • @EmCommSolutions
    @EmCommSolutions 7 месяцев назад

    Great tutorial! I spend a couple hours digging around the internet trying to find material to get me started before I found myself here.

  • @whitneydesignlabs8738
    @whitneydesignlabs8738 9 месяцев назад +1

    Very cool. I look forward to leveraging and experimenting Meshtastic with Python. I plan to integrate Meshtastic into my robotic projects.

    • @The_Comms_Channel
      @The_Comms_Channel  9 месяцев назад

      Thanks! That sounds like a fun use of Meshtastic!

  • @famman4940
    @famman4940 4 месяца назад

    I love your clear and thorough videos. I've learned a lot. I tried to install the Python CLI, and ran into a problem editing the Windows environment variable for path. I am running Windows 11, and it does not follow your video. When your video says to add a new path, Windows 11 doesn't give that option. It just shows the old path. I worked around this by adding a ; after the old path and pasting in the additional one copied as in the video. that worked.
    I also ran into issues as there is a newer version of Python in the Store, but when I installed it, it failed to install the Meshtastic CLI, so I had to go back to the version in this video.

  • @FLPanhandle
    @FLPanhandle 7 месяцев назад

    As others have said, your videos are the best and most concise setup source available.
    That said, I've followed the Python CLI install video more than half a dozen times, uninstalled and re-installed PowerShell, made certain that the Environment Variables are correct (easily ascertained when installing meshtastic; it doesn't produce the errors), but each and everytime I attempt to run "pip3 meshtastic --get lora", I get the following error from PowerShell which happens to be PS7 x64.
    "meshtastic: The term 'meshtastic' is not recognized as a name of a cmdlet, function, script file, or executable program.
    Check the spelling of the name, or if a path was included, verify that the path is correct and try again."

    • @The_Comms_Channel
      @The_Comms_Channel  7 месяцев назад

      Meshtastic didn't get installed based on that. Also, pip3 shouldn't proceed that command you're trying. pip3 is just for installing

    • @FLPanhandle
      @FLPanhandle 7 месяцев назад +1

      Thank you for replying. I should not have had pip3 in that comment.
      These are my results again today:
      python 3.11.8
      Pip3 V. 24.0
      I’ve attempted to install the python CLI countless times now with no joy.
      After installing setuptools with “pip install --upgrade setuptools” yesterday, I get confirmation that they are installed with “Requirement already satisfied:”.
      Installed pytap2 yesterday and again today with “pip3 install --upgrade pytap2” after installing setuptools, I get confirmation that they are installed with “Requirement already satisfied:”.
      Installed meshtastic again with “pip3 install --upgrade meshtastic” and added the path to the Windows Environment Variables path. Running it again produces no error messages, with many lines of “Requirement already satisfied:”.
      Attempting to run “meshtastic --get lora” produces the following error: “meshtastic: The term 'meshtastic' is not recognized as a name of a cmdlet, function, script file, or executable program.”
      Check the spelling of the name, or if a path was included, verify that the path is correct and try again.”
      This is my Environment Path Variable: "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\Scripts"
      @@The_Comms_Channel

    • @simple_simon
      @simple_simon 6 месяцев назад

      @@FLPanhandle exactly what mine is doing. wont let me go any further

  • @W-uh3og
    @W-uh3og 9 месяцев назад +1

    This is exactly what I've been looking for. Thank you!

    • @The_Comms_Channel
      @The_Comms_Channel  9 месяцев назад +1

      Sure thing! I'm glad the video was able to help you out!

  • @davemccubbins8823
    @davemccubbins8823 26 дней назад

    Love the videos, can you do one on wiping/factory reset of the wisblock?

  • @roamingh
    @roamingh 9 месяцев назад

    Excited to see the remote management video

  • @shedrage9636
    @shedrage9636 9 месяцев назад

    I am waiting with excitement for your MQTT guide!

  • @johnharris1324
    @johnharris1324 9 месяцев назад +1

    Awesome video! I've been binge watching all your meshtastic stuff lately and its all been very helpful. I was wondering if you plan on doing a video about integrating it with a local mosquito based mqtt server/broker at some point? I cant find much info on getting all the nodes to integrate with a locally hosted broker instead of the meshtastic one. I'm stuck at the point where I have the broker up and running but I can't seem to get it to work with my router nodes lol.

    • @Facey1000
      @Facey1000 9 месяцев назад

      I would also love to see a video about this. I am waiting on a few Wisblock devices to arrive and am on a binge as well!

    • @The_Comms_Channel
      @The_Comms_Channel  9 месяцев назад +3

      That's definitely planned! Just have some videos ahead of it, but it'll be soon!

  • @KiLLaDaTa
    @KiLLaDaTa 9 месяцев назад

    Can't wait for the next one!

  • @AndersTheChef
    @AndersTheChef 4 месяца назад +1

    When I run "meshtastic --get lora", I get this error: [No Serial Meshtastic device detected, attempting TCP connection on localhost.
    Error connecting to localhost:[WinError 10061] No connection could be made because the target machine actively refused it] ---Any thoughts? Is there something that I need to configure in the radio via the mobile app? This is my wisblock for my solar station

    • @dustoff499
      @dustoff499 4 месяца назад

      You're not the only one... Me too.

  • @suzyamerica4679
    @suzyamerica4679 7 месяцев назад +1

    Has anyone figured out how to pull incoming messages off the connected node through the command line? Or have the incoming messages saved to a local file or sent to a stream? Needing that for a project.

  • @johnny14794
    @johnny14794 9 месяцев назад +1

    Great video! Hope someone comes up with an installer with all needed to install all this. Perhaps some sort of script. Also a Windows app with a UI that allows to run those commands or some sort of visual options like the iOS/Android app version which allows the users to type text for chats, monitor channels, map, etc.

    • @ryshellso526
      @ryshellso526 9 месяцев назад +1

      Put the commands in a bash script...

  • @DannyMaas
    @DannyMaas 9 месяцев назад

    that was way too easy to follow ;-) Thanks!

    • @The_Comms_Channel
      @The_Comms_Channel  9 месяцев назад

      Sure thing! Glad it was helpful and easy to follow!

  • @cuddlybear4524
    @cuddlybear4524 8 месяцев назад

    I'm looking forward to the Linux version of this video! :hint hint: 😉

  • @dgalvin77
    @dgalvin77 9 месяцев назад +1

    Thanks!

  • @smokethirteen
    @smokethirteen 7 месяцев назад

    Note that you have to turn off your antivirus or the install of “pip3 install -upgrade meshtastic” will not install. Turn the antivirus back on after install.

  • @prestonm4s
    @prestonm4s 17 дней назад

    I thought remote management could be done on the android app?

  • @joedoe3688
    @joedoe3688 9 месяцев назад

    Thank you!

  • @RollingKiwiAdventures
    @RollingKiwiAdventures Месяц назад

    Why would running 'meshtastic --get lora' cause my node to reboot?

    • @The_Comms_Channel
      @The_Comms_Channel  Месяц назад +1

      Resetting or rebooting? Either way, that shouldn't be happening. What device?

    • @RollingKiwiAdventures
      @RollingKiwiAdventures Месяц назад

      @The_Comms_Channel Rebooting. I am running a Heltec Lora32 V3 chip.

  • @FLPanhandle
    @FLPanhandle 7 месяцев назад

    The answer to not being able to get a response to "meshtastic --get lora" is "python3 -m meshtastic --get lora" It was suggested that "mestastic --lora" might work as well.

    • @The_Comms_Channel
      @The_Comms_Channel  7 месяцев назад

      Did that get it working for you?

    • @FLPanhandle
      @FLPanhandle 7 месяцев назад

      Yes, it did. Thanks again for wonderful videos.@@The_Comms_Channel

    • @The_Comms_Channel
      @The_Comms_Channel  7 месяцев назад

      Good to hear!

  • @Y100001
    @Y100001 8 месяцев назад

    Is the a way to clone device config?

    • @The_Comms_Channel
      @The_Comms_Channel  8 месяцев назад +1

      Not really, but you could send multiple commands at once if you needed to configure multiple in a similar fashion.

  • @987sdfsdfg2
    @987sdfsdfg2 8 месяцев назад

    Got the CLI working on my computer but for some reason it's not working on my toughpad. Anyone have any fixes for "Warning: No Meshtastic devices detected." after running the Meshtastic --get lora command?

    • @The_Comms_Channel
      @The_Comms_Channel  8 месяцев назад +1

      It's not detecting your device on the Toughpad. Are you using the same cable? Do you have another port on the Toughpad you can try?

    • @987sdfsdfg2
      @987sdfsdfg2 8 месяцев назад

      @@The_Comms_Channel totally forgot what I did before. Need the CP210x serial drivers. That did the trick

    • @The_Comms_Channel
      @The_Comms_Channel  8 месяцев назад

      @@987sdfsdfg2 Nice! What version of Windows are you using?

    • @987sdfsdfg2
      @987sdfsdfg2 8 месяцев назад

      @@The_Comms_Channel using Windows 10 since it's compatible with many different radio software like EFJ PCConfig, etc.

  • @KiLLaDaTa
    @KiLLaDaTa 9 месяцев назад

    ❤❤❤❤❤❤❤❤❤❤❤

  • @brianboyer3
    @brianboyer3 9 месяцев назад

    4:30 plug in node

  • @KiLLaDaTa
    @KiLLaDaTa 9 месяцев назад

    It's -9 out so time to mess around with admin channel

    • @The_Comms_Channel
      @The_Comms_Channel  9 месяцев назад

      🥶🥶🥶 That's definitely a good time for the admin channel!