Hi, is there a way to make Contact reconnect automatically after the PC wakes from standby mode? At least on Linux Mint (ThinkPad L470), when the system resumes, the Contact app still responds to keyboard input, but the node is no longer connected. I have to press ESC (or even Ctrl + C) to close Contact and then start it again—only then are the node and channel lists updated
Hi, is there a way to make Contact reconnect automatically after the PC wakes from standby mode? At least on Linux Mint (ThinkPad L470), when the system resumes, the Contact app still responds to keyboard input, but the node is no longer connected. I have to press `ESC` (or even `Ctrl + C`) to close Contact and then start it again—only then are the node and channel lists updated
<!-- github-sync-id:3462581168 -->
This is great issue, thanks for opening it! I'd sure prefer if the Meshtastic Python Library handled this on it's own but perhaps we can check for a connection in the background and reconnect if needed. This could also help when saving settings changes that cause a node reboot.
This is great issue, thanks for opening it! I'd sure prefer if the Meshtastic Python Library handled this on it's own but perhaps we can check for a connection in the background and reconnect if needed. This could also help when saving settings changes that cause a node reboot.
I had made an attempt to implement this in https://github.com/pdxlocations/contact/tree/watchdog but was never happy with the results so I moved on.
<!-- github-comment-id:3348197972 -->
Hi. Yep, It will be great if Meshtastic Python library will do the stuff under the hood (also abstracting the OS - Linux, MacOS etc.)
Maybe I could dive deep in to this problem (although I doubt that I can do something) - I really like the app, but I don't like to close it every time I start a PC :)
Hi. Yep, It will be great if Meshtastic Python library will do the stuff under the hood (also abstracting the OS - Linux, MacOS etc.)
Maybe I could dive deep in to this problem (although I doubt that I can do something) - I really like the app, but I don't like to close it every time I start a PC :)
<!-- github-comment-id:3348866804 -->
Tested the latest meshtastic and contact modules in Linux Mint, after waking the PC up the message part of the Contact app (the bottom line) contained this: Message: WARNING:[meshtastic.stream](https://meshtastic.stream/)_interface:Meshtastic serial port disconnected, disconnecting... device reports readiness to read but returne Ctrl+K Help vicMessage: ected or multiple access on port?)──
Tested the latest meshtastic and contact modules in Linux Mint, after waking the PC up the message part of the Contact app (the bottom line) contained this:
`Message: WARNING:[meshtastic.stream](https://meshtastic.stream/)_interface:Meshtastic serial port disconnected, disconnecting... device reports readiness to read but returne Ctrl+K Help vicMessage: ected or multiple access on port?)──`
<!-- github-comment-id:5083575358 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Hi, is there a way to make Contact reconnect automatically after the PC wakes from standby mode? At least on Linux Mint (ThinkPad L470), when the system resumes, the Contact app still responds to keyboard input, but the node is no longer connected. I have to press
ESC(or evenCtrl + C) to close Contact and then start it again—only then are the node and channel lists updatedThis is great issue, thanks for opening it! I'd sure prefer if the Meshtastic Python Library handled this on it's own but perhaps we can check for a connection in the background and reconnect if needed. This could also help when saving settings changes that cause a node reboot.
I had made an attempt to implement this in https://github.com/pdxlocations/contact/tree/watchdog but was never happy with the results so I moved on.
Hi. Yep, It will be great if Meshtastic Python library will do the stuff under the hood (also abstracting the OS - Linux, MacOS etc.)
Maybe I could dive deep in to this problem (although I doubt that I can do something) - I really like the app, but I don't like to close it every time I start a PC :)
Any news on this?
Well, no any news, unfortunately
I think it's working in
ec35cbd3e7Tested the latest meshtastic and contact modules in Linux Mint, after waking the PC up the message part of the Contact app (the bottom line) contained this:
Message: WARNING:[meshtastic.stream](https://meshtastic.stream/)_interface:Meshtastic serial port disconnected, disconnecting... device reports readiness to read but returne Ctrl+K Help vicMessage: ected or multiple access on port?)──maybe fixed in
0ae644e3fbTested with the latest update, it works, thanks!