SMA converter

Anyone got the sma working ?

this is my code

- platform: sma
   host: 192.XXXXXX
   password:XXXXX
   sensors:
     current_consumption: [total_consumption]
     current_power:  

:

I get an error Could not connect to SMA at

It was ok. I chanced the password on the only platform, but not directly by ip adress. After changing the pass it was ok