slightly modified smp adapter for testing
This commit is contained in:
@@ -15,10 +15,12 @@ REQUIRES_PW = True
|
||||
# HOST = "129.13.51.102" # Audimax SMP 351
|
||||
# HOST = "129.13.51.106" # Tulla SMP 351
|
||||
HOST = "172.22.246.207" # Test SMP MZ
|
||||
HOST = "129.13.51.109" # Hertz
|
||||
|
||||
USER = "admin"
|
||||
PW = "123mzsmp"
|
||||
#PW = "audimaxsmp"
|
||||
PW = "smphertz"
|
||||
|
||||
|
||||
class SMP(TelnetAdapter, RecorderAdapter):
|
||||
@@ -784,8 +786,12 @@ class SMP(TelnetAdapter, RecorderAdapter):
|
||||
|
||||
|
||||
def main():
|
||||
smp = SMP(HOST, PW, False)
|
||||
smp = SMP(HOST, PW, True)
|
||||
|
||||
print(smp)
|
||||
print(smp.get_recording_status())
|
||||
|
||||
exit()
|
||||
smp._login()
|
||||
print(smp.get_version(verbose_info=False))
|
||||
print(smp.get_file_transfer_config())
|
||||
|
||||
Reference in New Issue
Block a user