ocpp: EVBox ELVI: Setting Maximum_Current causes Rejected / Rejected while setting MeterValuesSampledData to ...

Version of the custom_component

0.3.21

Configuration

            {
                "entry_id": "fe8d66744ea7798573a91ffdfb389031",
                "version": 1,
                "domain": "ocpp",
                "title": "central",
                "data": {
                    "host": "0.0.0.0",
                    "port": 9000,
                    "csid": "central",
                    "cpid": "evbox",
                    "meter_interval": 60,
                    "monitored_variables": ""
                },
                "options": {},
                "pref_disable_new_entities": false,
                "pref_disable_polling": false,
                "source": "user",
                "unique_id": null,
                "disabled_by": null
            },

Describe the bug

Beforehand I have to say that I LOVE the work you all realized here. After the long time I lurk around here it became rock solid and shows all information I can get from the limited Wallbox I have. Thanks very much!

But sooner or later you will start to hate my Wallbox, that for sure. ^^ I kept the following a while by now and out of pure luck realized that it could be a problem I have with my Wallbox and getting information into my Home Assistant by the OCPP addin.

Some history beforehand. I wondered all the time why my 11 kWh Wallbox only charges with about 4 kWh. Now I found out why. I can set a minimum charge current (default 6 A -> ~4 kWh) and a maximum charge current (default 16 A -> ~11 kWh) in the App of the Wallbox. When I connect the box to the Everon service EVBOX provides it seems to happlily charge with full speed. When it’s connected to the OCPP addin it seems to stay on 6 A aka the lowest setting. I can force the box higher by increasing the minimum setting in App, but that was not needed on Everon. So I thought, the addin should support setting the current as the Wallbox should have that feature. I tried the Maximum_Current bar selector while charging and moved it to 16 A aka a legit value. “Rejected” Then for fun I tried 10 A (at that time there still was a 6 A Minimum set up in App.) “Rejected”. Setting the Maximum_Current to ANY value causes a “Rejected” answer. See log Part 1. Maybe something to do with the earlier configuration problem “Rejected while setting MeterValuesSampledData to” And yes, after the …to there comes nothing in log. See Log Part 2.

Debug log

2021-12-06 20:07:15 DEBUG (MainThread) [websockets.protocol] server > Frame(fin=True, opcode=<Opcode.PING: 9>, data=b'\x80\x19\x99X', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:07:15 DEBUG (MainThread) [websockets.protocol] server - event = data_received(<10 bytes>)
2021-12-06 20:07:15 DEBUG (MainThread) [websockets.protocol] server < Frame(fin=True, opcode=<Opcode.PONG: 10>, data=b'\x80\x19\x99X', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:07:15 DEBUG (MainThread) [websockets.protocol] server - received solicited pong: 80199958
2021-12-06 20:07:21 DEBUG (MainThread) [websockets.protocol] server - event = data_received(<248 bytes>)
2021-12-06 20:07:21 DEBUG (MainThread) [websockets.protocol] server < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[2,"29411be9-df13-451d-b782-469b63477702","MeterValues",{"connectorId":1,"transactionId":1638815636,"meterValue":[{"timestamp":"2021-12-06T19:07:21Z","sampledValue":[{"value":"0","measurand":"Energy.Active.Import.Register","unit":"Wh"}]}]}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:07:21 INFO (MainThread) [ocpp] EVB-P20482857: receive message [2,"29411be9-df13-451d-b782-469b63477702","MeterValues",{"connectorId":1,"transactionId":1638815636,"meterValue":[{"timestamp":"2021-12-06T19:07:21Z","sampledValue":[{"value":"0","measurand":"Energy.Active.Import.Register","unit":"Wh"}]}]}]
2021-12-06 20:07:21 INFO (MainThread) [ocpp] EVB-P20482857: send [3,"29411be9-df13-451d-b782-469b63477702",{}]
2021-12-06 20:07:21 DEBUG (MainThread) [websockets.protocol] server > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[3,"29411be9-df13-451d-b782-469b63477702",{}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:07:26 DEBUG (MainThread) [websockets.protocol] server - event = data_received(<296 bytes>)
2021-12-06 20:07:26 DEBUG (MainThread) [websockets.protocol] server < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[2,"29411bee-df13-451d-b782-469b7c1aed1b","DataTransfer",{"vendorId":"EV-BOX","messageId":"evbStatusNotification","data":"1,Charging,NoError,No error.,1,Blue,1,{20,8005,26},{0,0},{C,11902,5666,11896},0,0,250,2021-12-06T19:07:21Z,1638815636,3,{0,0,0,0,0,0,0,0,0},190,2,0,112,0,250,160,0"}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:07:26 INFO (MainThread) [ocpp] EVB-P20482857: receive message [2,"29411bee-df13-451d-b782-469b7c1aed1b","DataTransfer",{"vendorId":"EV-BOX","messageId":"evbStatusNotification","data":"1,Charging,NoError,No error.,1,Blue,1,{20,8005,26},{0,0},{C,11902,5666,11896},0,0,250,2021-12-06T19:07:21Z,1638815636,3,{0,0,0,0,0,0,0,0,0},190,2,0,112,0,250,160,0"}]
2021-12-06 20:07:26 DEBUG (MainThread) [custom_components.ocpp] Datatransfer received from EVB-P20482857: {'message_id': 'evbStatusNotification', 'data': '1,Charging,NoError,No error.,1,Blue,1,{20,8005,26},{0,0},{C,11902,5666,11896},0,0,250,2021-12-06T19:07:21Z,1638815636,3,{0,0,0,0,0,0,0,0,0},190,2,0,112,0,250,160,0'}
2021-12-06 20:07:26 INFO (MainThread) [ocpp] EVB-P20482857: send [3,"29411bee-df13-451d-b782-469b7c1aed1b",{"status":"Accepted"}]
2021-12-06 20:07:26 DEBUG (MainThread) [websockets.protocol] server > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[3,"29411bee-df13-451d-b782-469b7c1aed1b",{"status":"Accepted"}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:07:35 DEBUG (MainThread) [websockets.protocol] server > Frame(fin=True, opcode=<Opcode.PING: 9>, data=b'\xf6\xe6\xe8\x9e', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:07:35 DEBUG (MainThread) [websockets.protocol] server - event = data_received(<10 bytes>)
2021-12-06 20:07:35 DEBUG (MainThread) [websockets.protocol] server < Frame(fin=True, opcode=<Opcode.PONG: 10>, data=b'\xf6\xe6\xe8\x9e', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:07:35 DEBUG (MainThread) [websockets.protocol] server - received solicited pong: f6e6e89e
2021-12-06 20:07:55 DEBUG (MainThread) [websockets.protocol] server > Frame(fin=True, opcode=<Opcode.PING: 9>, data=b'\x1b\x00\xa9-', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:07:55 DEBUG (MainThread) [websockets.protocol] server - event = data_received(<10 bytes>)
2021-12-06 20:07:55 DEBUG (MainThread) [websockets.protocol] server < Frame(fin=True, opcode=<Opcode.PONG: 10>, data=b'\x1b\x00\xa9-', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:07:55 DEBUG (MainThread) [websockets.protocol] server - received solicited pong: 1b00a92d
2021-12-06 20:08:15 DEBUG (MainThread) [websockets.protocol] server > Frame(fin=True, opcode=<Opcode.PING: 9>, data=b'Z\xaa\xd9\x0b', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:08:15 DEBUG (MainThread) [websockets.protocol] server - event = data_received(<10 bytes>)
2021-12-06 20:08:15 DEBUG (MainThread) [websockets.protocol] server < Frame(fin=True, opcode=<Opcode.PONG: 10>, data=b'Z\xaa\xd9\x0b', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:08:15 DEBUG (MainThread) [websockets.protocol] server - received solicited pong: 5aaad90b
2021-12-06 20:08:16 INFO (MainThread) [ocpp] EVB-P20482857: send [2,"8627fab5-0072-4da8-ba35-58b54434c84d","GetConfiguration",{"key":["ChargingScheduleAllowedChargingRateUnit"]}]
2021-12-06 20:08:16 DEBUG (MainThread) [websockets.protocol] server > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[2,"8627fab5-0072-4da8-ba35-58b54434c84d","GetConfiguration",{"key":["ChargingScheduleAllowedChargingRateUnit"]}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:08:16 DEBUG (MainThread) [websockets.protocol] server - event = data_received(<163 bytes>)
2021-12-06 20:08:16 DEBUG (MainThread) [websockets.protocol] server < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[3,"8627fab5-0072-4da8-ba35-58b54434c84d",{"configurationKey":[{"key":"ChargingScheduleAllowedChargingRateUnit","readonly":true,"value":"Current,Power"}]}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:08:16 INFO (MainThread) [ocpp] EVB-P20482857: receive message [3,"8627fab5-0072-4da8-ba35-58b54434c84d",{"configurationKey":[{"key":"ChargingScheduleAllowedChargingRateUnit","readonly":true,"value":"Current,Power"}]}]
2021-12-06 20:08:16 DEBUG (MainThread) [custom_components.ocpp] Get Configuration for ChargingScheduleAllowedChargingRateUnit: Current,Power
2021-12-06 20:08:16 INFO (MainThread) [custom_components.ocpp] Charger supports setting the following units: Current,Power
2021-12-06 20:08:16 INFO (MainThread) [custom_components.ocpp] If more than one unit supported default unit is Amps
2021-12-06 20:08:16 INFO (MainThread) [ocpp] EVB-P20482857: send [2,"9c24cce6-a11b-4161-8c3d-b61ce79a764d","GetConfiguration",{"key":["ChargeProfileMaxStackLevel"]}]
2021-12-06 20:08:16 DEBUG (MainThread) [websockets.protocol] server > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[2,"9c24cce6-a11b-4161-8c3d-b61ce79a764d","GetConfiguration",{"key":["ChargeProfileMaxStackLevel"]}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:08:16 DEBUG (MainThread) [websockets.protocol] server - event = data_received(<138 bytes>)
2021-12-06 20:08:16 DEBUG (MainThread) [websockets.protocol] server < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[3,"9c24cce6-a11b-4161-8c3d-b61ce79a764d",{"configurationKey":[{"key":"ChargeProfileMaxStackLevel","readonly":true,"value":"6"}]}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:08:16 INFO (MainThread) [ocpp] EVB-P20482857: receive message [3,"9c24cce6-a11b-4161-8c3d-b61ce79a764d",{"configurationKey":[{"key":"ChargeProfileMaxStackLevel","readonly":true,"value":"6"}]}]
2021-12-06 20:08:16 DEBUG (MainThread) [custom_components.ocpp] Get Configuration for ChargeProfileMaxStackLevel: 6
2021-12-06 20:08:16 INFO (MainThread) [ocpp] EVB-P20482857: send [2,"e6bd0ffd-5ec6-483e-b168-d0e802c6573a","SetChargingProfile",{"connectorId":0,"csChargingProfiles":{"chargingProfileId":8,"stackLevel":6,"chargingProfileKind":"Relative","chargingProfilePurpose":"ChargePointMaxProfile","chargingSchedule":{"chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":16.0}]}}}]
2021-12-06 20:08:16 DEBUG (MainThread) [websockets.protocol] server > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[2,"e6bd0ffd-5ec6-483e-b168-d0e802c6573a","SetChargingProfile",{"connectorId":0,"csChargingProfiles":{"chargingProfileId":8,"stackLevel":6,"chargingProfileKind":"Relative","chargingProfilePurpose":"ChargePointMaxProfile","chargingSchedule":{"chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":16.0}]}}}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:08:16 DEBUG (MainThread) [websockets.protocol] server - event = data_received(<70 bytes>)
2021-12-06 20:08:16 DEBUG (MainThread) [websockets.protocol] server < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[3,"e6bd0ffd-5ec6-483e-b168-d0e802c6573a",{"status":"Rejected"}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:08:16 INFO (MainThread) [ocpp] EVB-P20482857: receive message [3,"e6bd0ffd-5ec6-483e-b168-d0e802c6573a",{"status":"Rejected"}]
2021-12-06 20:08:16 WARNING (MainThread) [custom_components.ocpp] Failed with response: Rejected
2021-12-06 20:08:21 DEBUG (MainThread) [websockets.protocol] server - event = data_received(<248 bytes>)
2021-12-06 20:08:21 DEBUG (MainThread) [websockets.protocol] server < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[2,"29411c25-df13-451d-b782-469b67108169","MeterValues",{"connectorId":1,"transactionId":1638815636,"meterValue":[{"timestamp":"2021-12-06T19:08:21Z","sampledValue":[{"value":"0","measurand":"Energy.Active.Import.Register","unit":"Wh"}]}]}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:08:21 INFO (MainThread) [ocpp] EVB-P20482857: receive message [2,"29411c25-df13-451d-b782-469b67108169","MeterValues",{"connectorId":1,"transactionId":1638815636,"meterValue":[{"timestamp":"2021-12-06T19:08:21Z","sampledValue":[{"value":"0","measurand":"Energy.Active.Import.Register","unit":"Wh"}]}]}]
2021-12-06 20:08:21 INFO (MainThread) [ocpp] EVB-P20482857: send [3,"29411c25-df13-451d-b782-469b67108169",{}]
2021-12-06 20:08:21 DEBUG (MainThread) [websockets.protocol] server > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[3,"29411c25-df13-451d-b782-469b67108169",{}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:08:23 INFO (MainThread) [ocpp] EVB-P20482857: send [2,"2484a2f8-5bb6-4b75-a5ea-4f1ab2779158","GetConfiguration",{"key":["ChargingScheduleAllowedChargingRateUnit"]}]
2021-12-06 20:08:23 DEBUG (MainThread) [websockets.protocol] server > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[2,"2484a2f8-5bb6-4b75-a5ea-4f1ab2779158","GetConfiguration",{"key":["ChargingScheduleAllowedChargingRateUnit"]}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:08:23 DEBUG (MainThread) [websockets.protocol] server - event = data_received(<163 bytes>)
2021-12-06 20:08:23 DEBUG (MainThread) [websockets.protocol] server < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[3,"2484a2f8-5bb6-4b75-a5ea-4f1ab2779158",{"configurationKey":[{"key":"ChargingScheduleAllowedChargingRateUnit","readonly":true,"value":"Current,Power"}]}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:08:23 INFO (MainThread) [ocpp] EVB-P20482857: receive message [3,"2484a2f8-5bb6-4b75-a5ea-4f1ab2779158",{"configurationKey":[{"key":"ChargingScheduleAllowedChargingRateUnit","readonly":true,"value":"Current,Power"}]}]
2021-12-06 20:08:23 DEBUG (MainThread) [custom_components.ocpp] Get Configuration for ChargingScheduleAllowedChargingRateUnit: Current,Power
2021-12-06 20:08:23 INFO (MainThread) [custom_components.ocpp] Charger supports setting the following units: Current,Power
2021-12-06 20:08:23 INFO (MainThread) [custom_components.ocpp] If more than one unit supported default unit is Amps
2021-12-06 20:08:23 INFO (MainThread) [ocpp] EVB-P20482857: send [2,"8f49aed6-63e0-43bd-8378-d13f3ccc8ca3","GetConfiguration",{"key":["ChargeProfileMaxStackLevel"]}]
2021-12-06 20:08:23 DEBUG (MainThread) [websockets.protocol] server > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[2,"8f49aed6-63e0-43bd-8378-d13f3ccc8ca3","GetConfiguration",{"key":["ChargeProfileMaxStackLevel"]}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:08:23 DEBUG (MainThread) [websockets.protocol] server - event = data_received(<138 bytes>)
2021-12-06 20:08:23 DEBUG (MainThread) [websockets.protocol] server < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[3,"8f49aed6-63e0-43bd-8378-d13f3ccc8ca3",{"configurationKey":[{"key":"ChargeProfileMaxStackLevel","readonly":true,"value":"6"}]}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:08:23 INFO (MainThread) [ocpp] EVB-P20482857: receive message [3,"8f49aed6-63e0-43bd-8378-d13f3ccc8ca3",{"configurationKey":[{"key":"ChargeProfileMaxStackLevel","readonly":true,"value":"6"}]}]
2021-12-06 20:08:23 DEBUG (MainThread) [custom_components.ocpp] Get Configuration for ChargeProfileMaxStackLevel: 6
2021-12-06 20:08:23 INFO (MainThread) [ocpp] EVB-P20482857: send [2,"f653fac2-2e35-4600-9256-390af8d49182","SetChargingProfile",{"connectorId":0,"csChargingProfiles":{"chargingProfileId":8,"stackLevel":6,"chargingProfileKind":"Relative","chargingProfilePurpose":"ChargePointMaxProfile","chargingSchedule":{"chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":16.0}]}}}]
2021-12-06 20:08:23 DEBUG (MainThread) [websockets.protocol] server > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[2,"f653fac2-2e35-4600-9256-390af8d49182","SetChargingProfile",{"connectorId":0,"csChargingProfiles":{"chargingProfileId":8,"stackLevel":6,"chargingProfileKind":"Relative","chargingProfilePurpose":"ChargePointMaxProfile","chargingSchedule":{"chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":16.0}]}}}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:08:23 DEBUG (MainThread) [websockets.protocol] server - event = data_received(<70 bytes>)
2021-12-06 20:08:23 DEBUG (MainThread) [websockets.protocol] server < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[3,"f653fac2-2e35-4600-9256-390af8d49182",{"status":"Rejected"}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:08:23 INFO (MainThread) [ocpp] EVB-P20482857: receive message [3,"f653fac2-2e35-4600-9256-390af8d49182",{"status":"Rejected"}]
2021-12-06 20:08:23 WARNING (MainThread) [custom_components.ocpp] Failed with response: Rejected
2021-12-06 20:08:27 DEBUG (MainThread) [websockets.protocol] server - event = data_received(<296 bytes>)
2021-12-06 20:08:27 DEBUG (MainThread) [websockets.protocol] server < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[2,"29411c2b-df13-451d-b782-469b3bb98387","DataTransfer",{"vendorId":"EV-BOX","messageId":"evbStatusNotification","data":"1,Charging,NoError,No error.,1,Blue,1,{20,8005,26},{0,0},{C,11897,5668,11894},0,0,250,2021-12-06T19:08:21Z,1638815636,3,{0,0,0,0,0,0,0,0,0},200,2,0,112,0,250,160,0"}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:08:27 INFO (MainThread) [ocpp] EVB-P20482857: receive message [2,"29411c2b-df13-451d-b782-469b3bb98387","DataTransfer",{"vendorId":"EV-BOX","messageId":"evbStatusNotification","data":"1,Charging,NoError,No error.,1,Blue,1,{20,8005,26},{0,0},{C,11897,5668,11894},0,0,250,2021-12-06T19:08:21Z,1638815636,3,{0,0,0,0,0,0,0,0,0},200,2,0,112,0,250,160,0"}]
2021-12-06 20:08:27 DEBUG (MainThread) [custom_components.ocpp] Datatransfer received from EVB-P20482857: {'message_id': 'evbStatusNotification', 'data': '1,Charging,NoError,No error.,1,Blue,1,{20,8005,26},{0,0},{C,11897,5668,11894},0,0,250,2021-12-06T19:08:21Z,1638815636,3,{0,0,0,0,0,0,0,0,0},200,2,0,112,0,250,160,0'}
2021-12-06 20:08:27 INFO (MainThread) [ocpp] EVB-P20482857: send [3,"29411c2b-df13-451d-b782-469b3bb98387",{"status":"Accepted"}]
2021-12-06 20:08:27 DEBUG (MainThread) [websockets.protocol] server > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[3,"29411c2b-df13-451d-b782-469b3bb98387",{"status":"Accepted"}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:08:35 DEBUG (MainThread) [websockets.protocol] server > Frame(fin=True, opcode=<Opcode.PING: 9>, data=b'\x95[z\xd3', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:08:35 DEBUG (MainThread) [websockets.protocol] server - event = data_received(<10 bytes>)
2021-12-06 20:08:35 DEBUG (MainThread) [websockets.protocol] server < Frame(fin=True, opcode=<Opcode.PONG: 10>, data=b'\x95[z\xd3', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 20:08:35 DEBUG (MainThread) [websockets.protocol] server - received solicited pong: 955b7ad3
2021-12-06 19:51:54 DEBUG (MainThread) [websockets.protocol] server - state = CONNECTING
2021-12-06 19:51:54 DEBUG (MainThread) [websockets.protocol] server - event = connection_made(<_SelectorSocketTransport fd=81 read=idle write=<idle, bufsize=0>>)
2021-12-06 19:51:54 DEBUG (MainThread) [websockets.protocol] server - event = data_received(<230 bytes>)
2021-12-06 19:51:54 DEBUG (MainThread) [websockets.server] server < GET http://192.168.181.42:9000/EVB-P20482857 HTTP/1.1
2021-12-06 19:51:54 DEBUG (MainThread) [websockets.server] server < Headers([('Host', '192.168.181.42:9000'), ('Upgrade', 'websocket'), ('Connection', 'Upgrade'), ('Sec-WebSocket-Key', 'KUEYSt8TRR23gkabdCbFaA=='), ('Sec-WebSocket-Protocol', 'ocpp1.6'), ('Sec-WebSocket-Version', '13')])
2021-12-06 19:51:54 DEBUG (MainThread) [websockets.server] server > HTTP/1.1 101 Switching Protocols
2021-12-06 19:51:54 DEBUG (MainThread) [websockets.server] server > Headers([('Upgrade', 'websocket'), ('Connection', 'Upgrade'), ('Sec-WebSocket-Accept', '/EJHYVssdH8ipi+PW4O0L/Oiv0k='), ('Sec-WebSocket-Protocol', 'ocpp1.6'), ('Date', 'Mon, 06 Dec 2021 18:51:54 GMT'), ('Server', 'Python/3.9 websockets/9.1')])
2021-12-06 19:51:54 DEBUG (MainThread) [websockets.protocol] server - state = OPEN
2021-12-06 19:51:54 INFO (MainThread) [custom_components.ocpp] Websocket Subprotocol matched: ocpp1.6
2021-12-06 19:51:54 INFO (MainThread) [custom_components.ocpp] Charger websocket path=http://192.168.181.42:9000/EVB-P20482857
2021-12-06 19:51:54 INFO (MainThread) [custom_components.ocpp] Charger EVB-P20482857 connected to 0.0.0.0:9000.
2021-12-06 19:51:57 INFO (MainThread) [ocpp] EVB-P20482857: send [2,"194fc90f-cc9a-4551-ae8a-fd6c360d33e5","GetConfiguration",{"key":["SupportedFeatureProfiles"]}]
2021-12-06 19:51:57 DEBUG (MainThread) [websockets.protocol] server > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[2,"194fc90f-cc9a-4551-ae8a-fd6c360d33e5","GetConfiguration",{"key":["SupportedFeatureProfiles"]}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 19:51:57 DEBUG (MainThread) [websockets.protocol] server - event = data_received(<222 bytes>)
2021-12-06 19:51:57 DEBUG (MainThread) [websockets.protocol] server < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[3,"194fc90f-cc9a-4551-ae8a-fd6c360d33e5",{"configurationKey":[{"key":"SupportedFeatureProfiles","readonly":true,"value":"Core,FirmwareManagement,LocalAuthListManagement,SmartCharging,RemoteTrigger,Reservation"}]}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 19:51:57 INFO (MainThread) [ocpp] EVB-P20482857: receive message [3,"194fc90f-cc9a-4551-ae8a-fd6c360d33e5",{"configurationKey":[{"key":"SupportedFeatureProfiles","readonly":true,"value":"Core,FirmwareManagement,LocalAuthListManagement,SmartCharging,RemoteTrigger,Reservation"}]}]
2021-12-06 19:51:57 INFO (MainThread) [custom_components.ocpp] Supported feature profiles: Core,FirmwareManagement,LocalAuthListManagement,SmartCharging,RemoteTrigger,Reservation
2021-12-06 19:51:57 INFO (MainThread) [ocpp] EVB-P20482857: send [2,"d8e8dc90-00ec-49aa-aab8-248a8a851d8d","TriggerMessage",{"requestedMessage":"StatusNotification"}]
2021-12-06 19:51:57 DEBUG (MainThread) [websockets.protocol] server > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[2,"d8e8dc90-00ec-49aa-aab8-248a8a851d8d","TriggerMessage",{"requestedMessage":"StatusNotification"}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 19:51:57 DEBUG (MainThread) [websockets.protocol] server - event = data_received(<70 bytes>)
2021-12-06 19:51:57 DEBUG (MainThread) [websockets.protocol] server < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[3,"d8e8dc90-00ec-49aa-aab8-248a8a851d8d",{"status":"Accepted"}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 19:51:57 INFO (MainThread) [ocpp] EVB-P20482857: receive message [3,"d8e8dc90-00ec-49aa-aab8-248a8a851d8d",{"status":"Accepted"}]
2021-12-06 19:51:57 INFO (MainThread) [ocpp] EVB-P20482857: send [2,"8471f535-7599-4e6f-a833-4e9828a033dd","ChangeAvailability",{"connectorId":0,"type":"Operative"}]
2021-12-06 19:51:57 DEBUG (MainThread) [websockets.protocol] server > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[2,"8471f535-7599-4e6f-a833-4e9828a033dd","ChangeAvailability",{"connectorId":0,"type":"Operative"}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 19:51:57 DEBUG (MainThread) [websockets.protocol] server - event = data_received(<70 bytes>)
2021-12-06 19:51:57 DEBUG (MainThread) [websockets.protocol] server < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[3,"8471f535-7599-4e6f-a833-4e9828a033dd",{"status":"Accepted"}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 19:51:57 DEBUG (MainThread) [websockets.protocol] server - event = data_received(<167 bytes>)
2021-12-06 19:51:57 INFO (MainThread) [ocpp] EVB-P20482857: receive message [3,"8471f535-7599-4e6f-a833-4e9828a033dd",{"status":"Accepted"}]
2021-12-06 19:51:57 DEBUG (MainThread) [websockets.protocol] server < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[2,"2941184d-df13-451d-b782-469b59719b7e","StatusNotification",{"connectorId":0,"status":"Available","errorCode":"NoError","timestamp":"2021-12-06T18:51:57Z"}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 19:51:57 INFO (MainThread) [ocpp] EVB-P20482857: receive message [2,"2941184d-df13-451d-b782-469b59719b7e","StatusNotification",{"connectorId":0,"status":"Available","errorCode":"NoError","timestamp":"2021-12-06T18:51:57Z"}]
2021-12-06 19:51:57 INFO (MainThread) [ocpp] EVB-P20482857: send [3,"2941184d-df13-451d-b782-469b59719b7e",{}]
2021-12-06 19:51:57 DEBUG (MainThread) [websockets.protocol] server > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[3,"2941184d-df13-451d-b782-469b59719b7e",{}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 19:51:57 INFO (MainThread) [ocpp] EVB-P20482857: send [2,"974db37c-88c4-4e53-a4f8-e86668d2f716","GetConfiguration",{"key":["HeartbeatInterval"]}]
2021-12-06 19:51:57 DEBUG (MainThread) [websockets.protocol] server > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[2,"974db37c-88c4-4e53-a4f8-e86668d2f716","GetConfiguration",{"key":["HeartbeatInterval"]}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 19:51:57 DEBUG (MainThread) [websockets.protocol] server - event = data_received(<131 bytes>)
2021-12-06 19:51:57 DEBUG (MainThread) [websockets.protocol] server < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[3,"974db37c-88c4-4e53-a4f8-e86668d2f716",{"configurationKey":[{"key":"HeartbeatInterval","readonly":false,"value":"3600"}]}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 19:51:57 INFO (MainThread) [ocpp] EVB-P20482857: receive message [3,"974db37c-88c4-4e53-a4f8-e86668d2f716",{"configurationKey":[{"key":"HeartbeatInterval","readonly":false,"value":"3600"}]}]
2021-12-06 19:51:57 DEBUG (MainThread) [custom_components.ocpp] Get Configuration for HeartbeatInterval: 3600
2021-12-06 19:51:57 INFO (MainThread) [ocpp] EVB-P20482857: send [2,"3655e148-a76b-4470-8f80-6165bd3ba5fa","GetConfiguration",{"key":["WebSocketPingInterval"]}]
2021-12-06 19:51:57 DEBUG (MainThread) [websockets.protocol] server > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[2,"3655e148-a76b-4470-8f80-6165bd3ba5fa","GetConfiguration",{"key":["WebSocketPingInterval"]}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 19:51:57 DEBUG (MainThread) [websockets.protocol] server - event = data_received(<135 bytes>)
2021-12-06 19:51:57 DEBUG (MainThread) [websockets.protocol] server < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[3,"3655e148-a76b-4470-8f80-6165bd3ba5fa",{"configurationKey":[{"key":"WebSocketPingInterval","readonly":false,"value":"60"}]}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 19:51:57 INFO (MainThread) [ocpp] EVB-P20482857: receive message [3,"3655e148-a76b-4470-8f80-6165bd3ba5fa",{"configurationKey":[{"key":"WebSocketPingInterval","readonly":false,"value":"60"}]}]
2021-12-06 19:51:57 INFO (MainThread) [ocpp] EVB-P20482857: send [2,"b30bad4e-41df-48dc-87f6-cae96b93cd12","GetConfiguration",{"key":["MeterValuesSampledData"]}]
2021-12-06 19:51:57 DEBUG (MainThread) [websockets.protocol] server > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[2,"b30bad4e-41df-48dc-87f6-cae96b93cd12","GetConfiguration",{"key":["MeterValuesSampledData"]}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 19:51:57 DEBUG (MainThread) [websockets.protocol] server - event = data_received(<163 bytes>)
2021-12-06 19:51:57 DEBUG (MainThread) [websockets.protocol] server < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[3,"b30bad4e-41df-48dc-87f6-cae96b93cd12",{"configurationKey":[{"key":"MeterValuesSampledData","readonly":false,"value":"Energy.Active.Import.Register"}]}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 19:51:57 INFO (MainThread) [ocpp] EVB-P20482857: receive message [3,"b30bad4e-41df-48dc-87f6-cae96b93cd12",{"configurationKey":[{"key":"MeterValuesSampledData","readonly":false,"value":"Energy.Active.Import.Register"}]}]
2021-12-06 19:51:57 INFO (MainThread) [ocpp] EVB-P20482857: send [2,"fd8f0aeb-7f98-47e0-ab91-68aa53eb9e0b","ChangeConfiguration",{"key":"MeterValuesSampledData","value":""}]
2021-12-06 19:51:57 DEBUG (MainThread) [websockets.protocol] server > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[2,"fd8f0aeb-7f98-47e0-ab91-68aa53eb9e0b","ChangeConfiguration",{"key":"MeterValuesSampledData","value":""}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 19:51:57 DEBUG (MainThread) [websockets.protocol] server - event = data_received(<70 bytes>)
2021-12-06 19:51:57 DEBUG (MainThread) [websockets.protocol] server < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[3,"fd8f0aeb-7f98-47e0-ab91-68aa53eb9e0b",{"status":"Rejected"}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 19:51:57 INFO (MainThread) [ocpp] EVB-P20482857: receive message [3,"fd8f0aeb-7f98-47e0-ab91-68aa53eb9e0b",{"status":"Rejected"}]
2021-12-06 19:51:57 WARNING (MainThread) [custom_components.ocpp] Rejected while setting MeterValuesSampledData to 
2021-12-06 19:51:57 INFO (MainThread) [ocpp] EVB-P20482857: send [2,"3d58ac41-95e1-4c46-8293-17c0a3ec08f7","GetConfiguration",{"key":["MeterValueSampleInterval"]}]
2021-12-06 19:51:57 DEBUG (MainThread) [websockets.protocol] server > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[2,"3d58ac41-95e1-4c46-8293-17c0a3ec08f7","GetConfiguration",{"key":["MeterValueSampleInterval"]}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 19:51:58 DEBUG (MainThread) [websockets.protocol] server - event = data_received(<181 bytes>)
2021-12-06 19:51:58 DEBUG (MainThread) [websockets.protocol] server < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[2,"2941184d-df13-451d-b782-469b15eaf97f","StatusNotification",{"connectorId":1,"status":"Charging","errorCode":"NoError","info":"C;240","timestamp":"2021-12-06T18:51:57Z"}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 19:51:58 INFO (MainThread) [ocpp] EVB-P20482857: receive message [2,"2941184d-df13-451d-b782-469b15eaf97f","StatusNotification",{"connectorId":1,"status":"Charging","errorCode":"NoError","info":"C;240","timestamp":"2021-12-06T18:51:57Z"}]
2021-12-06 19:51:58 INFO (MainThread) [ocpp] EVB-P20482857: send [3,"2941184d-df13-451d-b782-469b15eaf97f",{}]
2021-12-06 19:51:58 DEBUG (MainThread) [websockets.protocol] server > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[3,"2941184d-df13-451d-b782-469b15eaf97f",{}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 19:51:58 DEBUG (MainThread) [websockets.protocol] server - event = data_received(<138 bytes>)
2021-12-06 19:51:58 DEBUG (MainThread) [websockets.protocol] server < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[3,"3d58ac41-95e1-4c46-8293-17c0a3ec08f7",{"configurationKey":[{"key":"MeterValueSampleInterval","readonly":false,"value":"60"}]}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 19:51:58 INFO (MainThread) [ocpp] EVB-P20482857: receive message [3,"3d58ac41-95e1-4c46-8293-17c0a3ec08f7",{"configurationKey":[{"key":"MeterValueSampleInterval","readonly":false,"value":"60"}]}]
2021-12-06 19:51:58 INFO (MainThread) [ocpp] EVB-P20482857: send [2,"58cf0de2-fd9e-4a27-a790-c013003600c9","GetConfiguration",{"key":["NumberOfConnectors"]}]
2021-12-06 19:51:58 DEBUG (MainThread) [websockets.protocol] server > Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[2,"58cf0de2-fd9e-4a27-a790-c013003600c9","GetConfiguration",{"key":["NumberOfConnectors"]}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 19:51:58 DEBUG (MainThread) [websockets.protocol] server - event = data_received(<128 bytes>)
2021-12-06 19:51:58 DEBUG (MainThread) [websockets.protocol] server < Frame(fin=True, opcode=<Opcode.TEXT: 1>, data=b'[3,"58cf0de2-fd9e-4a27-a790-c013003600c9",{"configurationKey":[{"key":"NumberOfConnectors","readonly":true,"value":"1"}]}]', rsv1=False, rsv2=False, rsv3=False)
2021-12-06 19:51:58 INFO (MainThread) [ocpp] EVB-P20482857: receive message [3,"58cf0de2-fd9e-4a27-a790-c013003600c9",{"configurationKey":[{"key":"NumberOfConnectors","readonly":true,"value":"1"}]}]
2021-12-06 19:51:58 DEBUG (MainThread) [custom_components.ocpp] Get Configuration for NumberOfConnectors: 1

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 101 (66 by maintainers)

Commits related to this issue

Most upvoted comments

OK, I have GREAT news. I ran the car down to 71% and started a charging session. I immediately saw charge levels above 4000W which was the value it always stopped at with the older firmware. (min 6A was always used regardless what you tried to select) and tinkered around a bit with the charger.Maximum_Current selection. AND IT FINALLY WORKS! I can set around and the current is changing. I just set it to 16A and went up to >10000W again. Just like when I force it to do that with the min and max values in the app.

@drc38 @lbbrhzn SO as a final and real conclusion… EVBOX ELVI is now 100% supported! You just might need to update the firmware first. (For that #389 needs a fix though. Looks like I am not the only one with that problem)

And when I change the slider it correctly updates the ChargingProfile:

2022-01-17 23:36:55 DEBUG (MainThread) [custom_components.ocpp] Get Configuration for ChargingScheduleAllowedChargingRateUnit: Current
2022-01-17 23:36:55 INFO (MainThread) [custom_components.ocpp] Charger supports setting the following units: Current
2022-01-17 23:36:55 INFO (MainThread) [custom_components.ocpp] If more than one unit supported default unit is Amps
2022-01-17 23:36:55 INFO (MainThread) [ocpp] charger: send [2,"8a04aec1-b7d7-48f8-a1eb-7080958e9a87","GetConfiguration",{"key":["ChargeProfileMaxStackLevel"]}]
2022-01-17 23:36:55 INFO (MainThread) [ocpp] charger: receive message [3,"8a04aec1-b7d7-48f8-a1eb-7080958e9a87",
{
"unknownKey": [],
"configurationKey": [
{
"readonly": true,
"key": "ChargeProfileMaxStackLevel",
"value": "0"
} 
]
}]
2022-01-17 23:36:55 DEBUG (MainThread) [custom_components.ocpp] Get Configuration for ChargeProfileMaxStackLevel: 0
2022-01-17 23:36:55 INFO (MainThread) [ocpp] charger: send [2,"4f2047e2-a653-4109-a3eb-d76746de6085","SetChargingProfile",{"connectorId":0,"csChargingProfiles":{"chargingProfileId":8,"stackLevel":0,"chargingProfileKind":"Relative","chargingProfilePurpose":"ChargePointMaxProfile","chargingSchedule":{"chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":19.0}]}}}]
2022-01-17 23:36:55 INFO (MainThread) [ocpp] charger: receive message [3,"4f2047e2-a653-4109-a3eb-d76746de6085",
{
"status": "Accepted"
}]

The phases are defined in the OCPP standard. There is L1,L2,L3,N, L1-N, L2-N, L3-N, L1-L2, L2-L3, L3-L1. The integration supports additional phase info and stores it in the extra attributes of the relevant sensor entity when received.

Congratulations Daniel, that is very encouraging to hear. Great that firmware updates are now working so you can leave the EVBox app behind.

I am also glad that I don’t have to rely on the Wallbox app any more for day-to-day use. Using the controls via HA is pretty much instant whereas the app would sometimes take up to 30 seconds to change the charging current.

I don’t know if I’ll be brave enough to try a firmware update via OCPP or whether I’ll return to the Wallbox app for that. Throughout most of last year there was a continual stream of updates from Wallbox but now everything has been stable for quite a while. Long may it continue!

Updating firmware via ocpp or the app should both be the same, as the charger controls the update process. Ocpp simply tells it where to download the firmware from, and then the charger reports back its progress.