marconfus / aionefit

asyncio client for Bosch thermostats
2 stars 2 forks source link

ERROR: No appropriate login method #4

Open antoniofe opened 4 years ago

antoniofe commented 4 years ago

Hi,

I'm trying to get data from my Logamatic TC100 thermostat. I use the code in client_example.py. As SERIAL_NUMBER, ACCESS_KEY, PASSWORD i passed the same value I use in MyMode App. After some issue with SSL connection that I solved I'm now getting the following login problem:

DEBUG xmlstream/_spawn_event : RECV: INFO mechanisms/_handle_fail : Authentication failed: not-authorized DEBUG xmlstream/event : Event triggered: failed_auth ERROR mechanisms/_send_auth : No appropriate login method. DEBUG xmlstream/event : Event triggered: failed_all_auth DEBUG xmlstream/send_raw : SEND: </stream:stream> ERROR stanzabase/exception : Error handling {urn:ietf:params:xml:ns:xmpp-sasl}failure stanza ....

I x-checked login data several time and they are correct. What's going wrong?

In the aionefit 0.14 library, in the supported hardware I read: Supported hardware Nefit Easy (Netherlands) Junkers Control CT100 (Belgium, Germany) Buderus Logamatic TC100 (Belgium) E.L.M. Touch (France) Worcester Wave (UK) Bosch Control CT‑100 (Other)

FYI I'm based in Italy. Any limitation?

ksya commented 4 years ago

I have no idea. I just tested the client example and for me it works after some small fixes (see latest commit). Maybe a different encryption key or server is used for your product.