Authentication
After a TCP/IP connection to the home power plant has been established, an authentication frame must first be sent.
This consists of a data block RSCP.REQ_AUTHENTICATION
of type container
. This contains two data blocks. Once RSCP.AUTHENTICATION_USER
and RSCP.AUTHENTICATION_PASSWORD
. Each of the type string.
The access data to the E3DC portal are set as values.
Example authentication frame¶
In the example, the username TEST
and the password 123
were used:
Response frame on successful authentication¶
The response frame contains the value 10
. This specifies some kind of authorization. The following values are known (Even though we usually always have to make do with the USER level):
Wert | E3DC Name |
---|---|
0 | NO_AUTH |
10 | USER |
20 | INSTALLER |
30 | PARTNER |
40 | E3DC |
50 | E3DC_ADMIN |
60 | E3DC_ROOT |