Closed fmalfatto closed 2 years ago
I have a password error , and i don't recieve the value in terminal, but i see the command update on openwebnetClient, have you a idea ? thanks a lot for this script
Hi, unfortunately the library that I used to communicate with MyHome gateway does not support text passwords. You need to use another library, but the idea remains the same.
To request alarm state send this frame: *#5*0##
and the response will follow this schema:
*5*0*## //Maintenance
*5*1*## //Active
---------------------------------------
*5*8*## //Enabled
*5*9*## //Disabled
---------------------------------------
*5*4*## //Bad battery
*5*5*## //Battery OK
*5*10*## //Battery KO
-----------------------------------------
*5*6*## //Power KO
*5*7*## //Power OK
-----------------------------------------
*5*11*#n## //Zone n enabled
*5*18*#n## //Zone n partialized
-----------------------------------------
*5*15*#n## //Intrusion in zone n
*5*16*#n## //Tamper in zone n
*5*17*#n## //Anti-panic in zone n
*5*12*#x## //Technical alarm in zone n
And use auxiliary commands to enable and disable the alarm. Hope this helps
Thanks a lot for your reply !
By the way the own 18 request instant power works !
Thanks again
De : Francesco Re @.> Envoyé : lundi 24 janvier 2022 23:24 À : francesco-re-1107/openwebnet-alarm @.> Cc : Dupont pol-henri @.>; Comment @.> Objet : Re: [francesco-re-1107/openwebnet-alarm] Password may contains characters (#3)
Hi, unfortunately the library that I used to communicate with MyHome gateway does not support text passwords. You need to use another library, but the idea remains the same.
To request alarm state send this frame: #50## and the response will follow this schema:
50*## //Maintenance
51*## //Active
58*## //Enabled
59*## //Disabled
54*## //Bad battery
55*## //Battery OK
510*## //Battery KO
56*## //Power KO
57*## //Power OK
511*#n## //Zone n enabled
518*#n## //Zone n partialized
515*#n## //Intrusion in zone n
516*#n## //Tamper in zone n
517*#n## //Anti-panic in zone n
512*#x## //Technical alarm in zone n
And use auxiliary commands to enable and disable the alarm. Hope this helps
— Reply to this email directly, view it on GitHub https://github.com/francesco-re-1107/openwebnet-alarm/issues/3#issuecomment-1020609262 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AMZKSOSXOJTBGAMXRAFHS5LUXXGQ5ANCNFSM4ZSUEVCA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . You are receiving this because you commented. https://github.com/notifications/beacon/AMZKSOSF2XDG7BFASWBQJEDUXXGQ5A5CNFSM4ZSUEVCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHTKUF3Q.gif Message ID: @. @.> >
The new MHS1 server allows alphanumeric passwords, so: ValueError: invalid literal for int() with base 10