@@ -647,6 +647,7 @@ def onConnected(interface):
647647 print (f"Setting device owner to { configuration ['owner' ]} " )
648648 waitForAckNak = True
649649 interface .getNode (args .dest , False , ** getNode_kwargs ).setOwner (configuration ["owner" ])
650+ time .sleep (0.5 )
650651
651652 if "owner_short" in configuration :
652653 print (
@@ -656,6 +657,7 @@ def onConnected(interface):
656657 interface .getNode (args .dest , False , ** getNode_kwargs ).setOwner (
657658 long_name = None , short_name = configuration ["owner_short" ]
658659 )
660+ time .sleep (0.5 )
659661
660662 if "ownerShort" in configuration :
661663 print (
@@ -665,14 +667,17 @@ def onConnected(interface):
665667 interface .getNode (args .dest , False , ** getNode_kwargs ).setOwner (
666668 long_name = None , short_name = configuration ["ownerShort" ]
667669 )
670+ time .sleep (0.5 )
668671
669672 if "channel_url" in configuration :
670673 print ("Setting channel url to" , configuration ["channel_url" ])
671674 interface .getNode (args .dest , ** getNode_kwargs ).setURL (configuration ["channel_url" ])
675+ time .sleep (0.5 )
672676
673677 if "channelUrl" in configuration :
674678 print ("Setting channel url to" , configuration ["channelUrl" ])
675679 interface .getNode (args .dest , ** getNode_kwargs ).setURL (configuration ["channelUrl" ])
680+ time .sleep (0.5 )
676681
677682 if "location" in configuration :
678683 alt = 0
@@ -691,6 +696,7 @@ def onConnected(interface):
691696 print (f"Fixing longitude at { lon } degrees" )
692697 print ("Setting device position" )
693698 interface .localNode .setFixedPosition (lat , lon , alt )
699+ time .sleep (0.5 )
694700
695701 if "config" in configuration :
696702 localConfig = interface .getNode (args .dest , ** getNode_kwargs ).localConfig
@@ -701,6 +707,7 @@ def onConnected(interface):
701707 interface .getNode (args .dest , ** getNode_kwargs ).writeConfig (
702708 meshtastic .util .camel_to_snake (section )
703709 )
710+ time .sleep (0.5 )
704711
705712 if "module_config" in configuration :
706713 moduleConfig = interface .getNode (args .dest , ** getNode_kwargs ).moduleConfig
@@ -713,6 +720,7 @@ def onConnected(interface):
713720 interface .getNode (args .dest , ** getNode_kwargs ).writeConfig (
714721 meshtastic .util .camel_to_snake (section )
715722 )
723+ time .sleep (0.5 )
716724
717725 interface .getNode (args .dest , False , ** getNode_kwargs ).commitSettingsTransaction ()
718726 print ("Writing modified configuration to device" )
0 commit comments