I did some tests now , but the results are rather confusing for me. First of all, changing settings related to authorization in the WebGui of the wallbox without re-starting it (also in case it is not asking for it) sometimes leaves the box in a - for me - non-reproducible state.
About the start
command:
It does not matter if authorization is on or off, in both cases, an “empty” start command (e.g. packetsender -u -a <ip> 7090 "start" -w 2000 -b 7090
) results into
Response ASCII:TCH-ERR:: wrong parameter count\n
So, in contradiction to the programming guide, the token seems not to be optional. When authorization is off, a start
command with an existing or non-existing RFID token (e.g. packetsender -u -a <ip> 7090 "start 12345678" -w 2000 -b 7090
) results into
Response ASCII:TCH-ERR:no need for start\n`
which is not surprising.
General behaviour with setting “authorization off”:
With this setting, the through the integration offered services keba.set_energy
, keba.set_current
are working. For keba.authorize
and keba.deauthorize
nothing happens (checked by report 2
) and nothing shows up in the debug log. The same for keba.enable
and keba.disable
. Interesting is, that both, enable (ena 1
) and disable (ena 0
) work flawless from the console with Packet Sender. I can follow these changes also in the status of the wallbox at http://<wallbox-ip>:8080
.
What is the exact string, that is sent by keba.enable
and keba.disable
by the integration? Would it make sense to put the send-string in debug-logging level into the log-file?
Another thought I had is, that I might have a rather unusual setup here:
SmartHome VLAN - DLAN Bridge - Unifi AP 801.11ng → Wallbox WLAN.
This sometimes introduces quite a high latency. This is why I wait at least 2000ms for a reply in Packet Sender. Yes, UDP is stateless, the command should be executed anyway, but the reply might get lost for error handling or logging. What wait time is used in the implementation?
I also forgot to mention the software version of my wallbox in the previous posts. It is release version 1.12.1.