Ocpp [5.2.0.0;6.0.0.0)

good that it works after the charger reboot. on the 6.1: if pause was on when you set it, that’s why nothing went out, a limit set during a pause is kept and only sent when you switch pause off. the ui control for that channel also steps in whole amps, so it may have turned your 6.1 back into 6.

charge-limit 0 clearing the profile is on purpose. a 0 A profile would suspend the charger, so 0 on charge-limit means no limit and the charger goes back to its own maximum. to stop charging use pause, like you do now.

for the txdefault question, turn the trace on and search the log for TxDefaultProfile in the Send a message lines. only the binding sends profiles over ocpp, so everything that reaches the charger that way is in there, the easee cloud can still cap it its own way like the circuit limit you found. a TxProfile only lives for its charge. the binding sends a TxDefaultProfile when you set a limit or pause while nothing is charging, and since the 25 september jar also once at the end of a charge where the limit changed, so the next charge starts at the last limit. on your easee that means a charge that ended at 6 A starts the next one at 6 A too, so your 7 A resume matters there as well.

your docking rule is how my house does it too, as soon as the connector goes to Preparing it sends a remote start with the binding’s own tag, no card involved. if the first start ever times out, remoteStartRetries on the connector does the retry for you.

if your things are from the july jar, today’s jar also adds unlock, number-phases and power-limit to them and removes two dead channels, that happens by itself when you update.

Thanks again for clarification, however I have some more questions and opinions. I can see in the logs that I’ve sent som txdefaultprofiles. I’m on 202609201140 build so I guess it correlates to what you say that after charging is finished binding sends a txdefaultprofile. Easee will still claim that those values stored in volatile storage shoul not be changed very often at all, would it be possible to have a setting on the chargepoint or the connector to prevent use of tx default profiles. There is one opposite setting to force the use of txdefaultprofiles.

I have also been reading on the standardized methods for using OCPP 1.6J and as far I understand the implementattion according to IEC 63584 is supposed to be setting current limit to 0 means no power allowed not clearing profile, I would suggest to change the method for letting the binding clearprfile when getting 0 on chargingcurrentlimit so one can use 0 for pause and maybe add a switch channel for clearing profile.

I’m pleased that you made this binding have been waiting for quite sometime never really wanted to have a separate ocpp server for integration. Now I can run my charger without connection to the internet.

373 │ Active   │  80 │ 5.3.0.202609201140      │ openHAB Add-ons :: Bundles :: OCPP Binding
marcus@openhabnuc:/var/log/openhab$ find . -type f -exec zgrep -Hn "TxDefaultProfile" {} +
./openhab.log.7.gz:8656:2026-09-27 08:35:09.245 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"36955119-bfe1-4dde-909d-58e78f4a0557","SetChargingProfile",{"connectorId":1,"csChargingProfiles":{"chargingProfileId":11,"stackLevel":0,"chargingProfilePurpose":"TxDefaultProfile","chargingProfileKind":"Relative","chargingSchedule":{"chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":0.0,"numberPhases":3}]}}}]
./openhab.log.7.gz:8867:2026-09-27 08:37:29.405 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"8bc3d694-1604-4e92-8de3-98e027635c7f","SetChargingProfile",{"connectorId":1,"csChargingProfiles":{"chargingProfileId":11,"stackLevel":0,"chargingProfilePurpose":"TxDefaultProfile","chargingProfileKind":"Relative","chargingSchedule":{"chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":21.0,"numberPhases":3}]}}}]
./openhab.log.7.gz:9044:2026-09-27 08:38:29.406 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"06f5a7ae-4a59-4ad6-ae4a-5ae67edca139","SetChargingProfile",{"connectorId":1,"csChargingProfiles":{"chargingProfileId":11,"stackLevel":0,"chargingProfilePurpose":"TxDefaultProfile","chargingProfileKind":"Relative","chargingSchedule":{"chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":0.0,"numberPhases":3}]}}}]
./openhab.log.7.gz:9354:2026-09-27 08:40:29.407 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"25050a03-aedd-48ff-89a1-7e6fe0d14b8f","SetChargingProfile",{"connectorId":1,"csChargingProfiles":{"chargingProfileId":11,"stackLevel":0,"chargingProfilePurpose":"TxDefaultProfile","chargingProfileKind":"Relative","chargingSchedule":{"chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":0.0,"numberPhases":3}]}}}]
./openhab.log.7.gz:15208:2026-09-27 09:37:41.614 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"c80ae34f-f1da-4627-810d-3af2c35143d7","SetChargingProfile",{"connectorId":1,"csChargingProfiles":{"chargingProfileId":11,"stackLevel":0,"chargingProfilePurpose":"TxDefaultProfile","chargingProfileKind":"Relative","chargingSchedule":{"chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":0.0,"numberPhases":3}]}}}]
./openhab.log.7.gz:63498:2026-09-27 17:00:00.071 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"dfc6b768-b878-4368-827a-2a6b597698ae","SetChargingProfile",{"connectorId":1,"csChargingProfiles":{"chargingProfileId":11,"stackLevel":0,"chargingProfilePurpose":"TxDefaultProfile","chargingProfileKind":"Relative","chargingSchedule":{"chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":7.0,"numberPhases":3}]}}}]

you’re right on the 0 and it’s changed in today’s jar, same link in the first post. charge-limit 0 now sends a real 0 A limit and stops the charge, power-limit 0 too, and anything below 0 counts as 0, so a load balancing rule that ends up at 0 can’t send the charger to full power anymore. to hand the current back to the charger there’s a new clear-limit switch on the connector. pause works like before.

on the txdefault writes, your 20 september build doesn’t send one at the end of a charge yet, that came on 25 september and it’s in today’s jar, one per charge where the limit changed. so everything in your log now is a limit or pause sent while no car was charging. the same 0 A goes out at 08:38 and again at 08:40, so a rule is sending it again while nothing changed, and sending only when the value actually changes cuts most of them. profileMinIntervalMs on the connector can space the writes out too, but it delays every change by that long, so i wouldn’t set it high for load balancing.

Hello

Upgraded to todays build, haven’t tested more than reading values now no car to charge at the moment. Need to refactor some rules so I can set current to 0 again and skip pause function, I did also see new channel for clearing profile. If one should manipultae currentLimit Values it should be every value less than 6 is sent out as 0 the binidng complies with ocpp standard for ac charging but it can also be tha some manufaturers allow 4A charging I don’t know.

Just my desire for a new setting to prevent TxDefaulprofiles beeing sent, but on the other end no profiles beeing sent today at all, but it would feel safer to have the option to stop them form beeing sent or maybe the should be prevented as default and possible to activate.

374 │ Active   │  80 │ 5.3.0.202609280449      │ openHAB Add-ons :: Bundles :: OCPP Binding

search forTxDefaultprofile in logfiles from all availible log files.

marcus@openhabnuc:/var/log/openhab$ find . -type f -exec zgrep -Hn "TxDefaultProfile" {} +
./openhab.log.6.gz:8656:2026-09-27 08:35:09.245 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"36955119-bfe1-4dde-909d-58e78f4a0557","SetChargingProfile",{"connectorId":1,"csChargingProfiles":{"chargingProfileId":11,"stackLevel":0,"chargingProfilePurpose":"TxDefaultProfile","chargingProfileKind":"Relative","chargingSchedule":{"chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":0.0,"numberPhases":3}]}}}]
./openhab.log.6.gz:8867:2026-09-27 08:37:29.405 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"8bc3d694-1604-4e92-8de3-98e027635c7f","SetChargingProfile",{"connectorId":1,"csChargingProfiles":{"chargingProfileId":11,"stackLevel":0,"chargingProfilePurpose":"TxDefaultProfile","chargingProfileKind":"Relative","chargingSchedule":{"chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":21.0,"numberPhases":3}]}}}]
./openhab.log.6.gz:9044:2026-09-27 08:38:29.406 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"06f5a7ae-4a59-4ad6-ae4a-5ae67edca139","SetChargingProfile",{"connectorId":1,"csChargingProfiles":{"chargingProfileId":11,"stackLevel":0,"chargingProfilePurpose":"TxDefaultProfile","chargingProfileKind":"Relative","chargingSchedule":{"chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":0.0,"numberPhases":3}]}}}]
./openhab.log.6.gz:9354:2026-09-27 08:40:29.407 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"25050a03-aedd-48ff-89a1-7e6fe0d14b8f","SetChargingProfile",{"connectorId":1,"csChargingProfiles":{"chargingProfileId":11,"stackLevel":0,"chargingProfilePurpose":"TxDefaultProfile","chargingProfileKind":"Relative","chargingSchedule":{"chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":0.0,"numberPhases":3}]}}}]
./openhab.log.6.gz:15208:2026-09-27 09:37:41.614 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"c80ae34f-f1da-4627-810d-3af2c35143d7","SetChargingProfile",{"connectorId":1,"csChargingProfiles":{"chargingProfileId":11,"stackLevel":0,"chargingProfilePurpose":"TxDefaultProfile","chargingProfileKind":"Relative","chargingSchedule":{"chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":0.0,"numberPhases":3}]}}}]
./openhab.log.6.gz:63498:2026-09-27 17:00:00.071 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"dfc6b768-b878-4368-827a-2a6b597698ae","SetChargingProfile",{"connectorId":1,"csChargingProfiles":{"chargingProfileId":11,"stackLevel":0,"chargingProfilePurpose":"TxDefaultProfile","chargingProfileKind":"Relative","chargingSchedule":{"chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":7.0,"numberPhases":3}]}}}]

good, thanks for updating. on the under 6 A question, the binding sends what you give it and leaves it to the charger. 6 A is the ac minimum in iec 61851, so most chargers suspend or round up below that, but ocpp also covers chargers that go lower, so i’d rather not build a cutoff into the binding. in your load balancing just send 0 when the available current drops under what your easee accepts, which from your tests is 7 A.

on the txdefault profiles, they’re there so a limit or a pause holds from the first second of the next charge. without one every charge starts at the charger’s own maximum until the next limit lands, which matters if your fuse is tight. with today’s jar it’s one write when you change a limit while no car is charging and one at the end of a charge where the limit changed, so with rules that only send on change it stays at a handful a day. one thing that follows from it now that you use 0 instead of pause: a charge that ends at 0 makes the next one start at 0 too, until your rule sends a limit.

if easee tells you how many writes that storage is rated for, post it, that would settle it.

Hello

I’ve got no reply from easse just yet, however I have a strange issue for the moment when I connect the car (Tesla model 3) it ends up with communication error in tesla app and SuspendedEv in ocpp binding. It usually ends up with many new transactionsid before I get one to stick. It may be something wrong with the car but it jsut came at the same moment as I converted to OCPP charging, so I need to dive into it before starting troubleshooting the car.

Regarding TXdefaultprofiels I guess shcould stick until it overwritten, maybe one canu use GetCompositeSchedule.req and have a parameter in binindg for default limitations and only send the txdefault profile if it dosen’t match. And yes I’ve used Claude to rewrite my rule from HTTP binding to OCPP binding items and faster response.

Logging from todays charhing attemts raside from 39 last successfull dock to 55 before I got one to really stick.

your code goes herampledValue":[{"value":"0.008","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L1","location":"Inlet","unit":"A"},{"value":"0.009","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L2","location":"Inlet","unit":"A"},{"value":"0.007","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L3","location":"Inlet","unit":"A"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Current.Offered","unit":"A"},{"value":"24752.299","context":"Trigger","format":"Raw","measurand":"Energy.Active.Import.Register","location":"Outlet","unit":"kWh"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Power.Active.Import","location":"Inlet","unit":"W"},{"value":"22.000","context":"Trigger","format":"Raw","measurand":"Temperature","location":"Body","unit":"Celsius"},{"value":"230.462","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L1-N","location":"Inlet","unit":"V"},{"value":"234.356","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L2-N","location":"Inlet","unit":"V"},{"value":"230.975","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L3-N","location":"Inlet","unit":"V"}]}]}, action=MeterValues}
./openhab.log:6294:2026-10-07 18:03:29.771 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25258, payload={"connectorId":1,"errorCode":"NoError","status":"Preparing","timestamp":"2026-10-07T16:03:29.000Z"}, action=StatusNotification}
./openhab.log:6297:2026-10-07 18:03:29.786 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"24abbab5-c39e-4a52-83e2-f09735fd531e","RemoteStartTransaction",{"connectorId":1,"idTag":"openhab"}]
./openhab.log:6298:2026-10-07 18:03:30.110 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=24abbab5-c39e-4a52-83e2-f09735fd531e, payload={"status":"Accepted"}, action=null}
./openhab.log:6300:2026-10-07 18:03:30.209 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25259, payload={"connectorId":1,"idTag":"openhab","meterStart":24752297,"timestamp":"2026-10-07T16:03:29.000Z"}, action=StartTransaction}
./openhab.log:6303:2026-10-07 18:03:32.771 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25260, payload={"connectorId":1,"errorCode":"NoError","status":"SuspendedEVSE","timestamp":"2026-10-07T16:03:32.000Z"}, action=StatusNotification}
./openhab.log:6306:2026-10-07 18:03:32.785 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"16842373-11ff-4d3c-92ae-349f0b506d00","SetChargingProfile",{"connectorId":1,"csChargingProfiles":{"chargingProfileId":12,"transactionId":40,"stackLevel":0,"chargingProfilePurpose":"TxProfile","chargingProfileKind":"Relative","chargingSchedule":{"chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":7.0,"numberPhases":3}]}}}]
./openhab.log:6307:2026-10-07 18:03:33.072 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=16842373-11ff-4d3c-92ae-349f0b506d00, payload={"status":"Accepted"}, action=null}
./openhab.log:6314:2026-10-07 18:03:35.772 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25261, payload={"connectorId":1,"errorCode":"NoError","status":"SuspendedEV","timestamp":"2026-10-07T16:03:35.000Z"}, action=StatusNotification}
./openhab.log:6316:2026-10-07 18:03:36.314 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"a811fa0e-ab88-486a-b144-a570e4075034","TriggerMessage",{"connectorId":1,"requestedMessage":"MeterValues"}]
./openhab.log:6317:2026-10-07 18:03:36.479 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=a811fa0e-ab88-486a-b144-a570e4075034, payload={"status":"Accepted"}, action=null}
./openhab.log:6319:2026-10-07 18:03:36.630 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25262, payload={"connectorId":1,"transactionId":40,"meterValue":[{"timestamp":"2026-10-07T16:03:35.000Z","sampledValue":[{"value":"0.009","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L1","location":"Inlet","unit":"A"},{"value":"0.009","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L2","location":"Inlet","unit":"A"},{"value":"0.008","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L3","location":"Inlet","unit":"A"},{"value":"7.000","context":"Trigger","format":"Raw","measurand":"Current.Offered","unit":"A"},{"value":"24752.299","context":"Trigger","format":"Raw","measurand":"Energy.Active.Import.Register","location":"Outlet","unit":"kWh"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Power.Active.Import","location":"Inlet","unit":"W"},{"value":"22.000","context":"Trigger","format":"Raw","measurand":"Temperature","location":"Body","unit":"Celsius"},{"value":"230.171","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L1-N","location":"Inlet","unit":"V"},{"value":"233.878","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L2-N","location":"Inlet","unit":"V"},{"value":"231.673","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L3-N","location":"Inlet","unit":"V"}]}]}, action=MeterValues}
./openhab.log:6330:2026-10-07 18:03:45.841 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25263, payload={"idTag":"openhab","meterStop":24752297,"timestamp":"2026-10-07T16:03:44.000Z","transactionId":40,"reason":"EVDisconnected"}, action=StopTransaction}
./openhab.log:6332:2026-10-07 18:03:46.316 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"3dcebfe1-6150-4a61-a258-3edce88a4ceb","TriggerMessage",{"connectorId":1,"requestedMessage":"MeterValues"}]
./openhab.log:6333:2026-10-07 18:03:46.372 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=3dcebfe1-6150-4a61-a258-3edce88a4ceb, payload={"status":"Accepted"}, action=null}
./openhab.log:6335:2026-10-07 18:03:46.520 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25264, payload={"connectorId":1,"meterValue":[{"timestamp":"2026-10-07T16:03:45.000Z","sampledValue":[{"value":"0.009","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L1","location":"Inlet","unit":"A"},{"value":"0.010","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L2","location":"Inlet","unit":"A"},{"value":"0.008","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L3","location":"Inlet","unit":"A"},{"value":"7.000","context":"Trigger","format":"Raw","measurand":"Current.Offered","unit":"A"},{"value":"24752.299","context":"Trigger","format":"Raw","measurand":"Energy.Active.Import.Register","location":"Outlet","unit":"kWh"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Power.Active.Import","location":"Inlet","unit":"W"},{"value":"22.000","context":"Trigger","format":"Raw","measurand":"Temperature","location":"Body","unit":"Celsius"},{"value":"228.440","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L1-N","location":"Inlet","unit":"V"},{"value":"231.072","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L2-N","location":"Inlet","unit":"V"},{"value":"236.676","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L3-N","location":"Inlet","unit":"V"}]}]}, action=MeterValues}
./openhab.log:6337:2026-10-07 18:03:47.891 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25265, payload={"connectorId":1,"errorCode":"NoError","status":"Available","timestamp":"2026-10-07T16:03:47.000Z"}, action=StatusNotification}
./openhab.log:6349:2026-10-07 18:03:50.790 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25266, payload={"connectorId":1,"errorCode":"NoError","status":"Preparing","timestamp":"2026-10-07T16:03:50.000Z"}, action=StatusNotification}
./openhab.log:6352:2026-10-07 18:03:50.813 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"7b80eea2-3086-4212-a9c0-b3717105ae49","RemoteStartTransaction",{"connectorId":1,"idTag":"openhab"}]
./openhab.log:6353:2026-10-07 18:03:51.110 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=7b80eea2-3086-4212-a9c0-b3717105ae49, payload={"status":"Accepted"}, action=null}
./openhab.log:6355:2026-10-07 18:03:51.170 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25267, payload={"connectorId":1,"idTag":"openhab","meterStart":24752297,"timestamp":"2026-10-07T16:03:50.000Z"}, action=StartTransaction}
./openhab.log:6363:2026-10-07 18:03:53.780 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25268, payload={"connectorId":1,"errorCode":"NoError","status":"SuspendedEVSE","timestamp":"2026-10-07T16:03:53.000Z"}, action=StatusNotification}
./openhab.log:6371:2026-10-07 18:03:56.317 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"191f567e-b7ed-49c5-a78a-6fdde52b59ed","TriggerMessage",{"connectorId":1,"requestedMessage":"MeterValues"}]
./openhab.log:6372:2026-10-07 18:03:56.439 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=191f567e-b7ed-49c5-a78a-6fdde52b59ed, payload={"status":"Accepted"}, action=null}
./openhab.log:6374:2026-10-07 18:03:56.593 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25269, payload={"connectorId":1,"transactionId":41,"meterValue":[{"timestamp":"2026-10-07T16:03:55.000Z","sampledValue":[{"value":"0.009","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L1","location":"Inlet","unit":"A"},{"value":"0.009","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L2","location":"Inlet","unit":"A"},{"value":"0.007","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L3","location":"Inlet","unit":"A"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Current.Offered","unit":"A"},{"value":"24752.299","context":"Trigger","format":"Raw","measurand":"Energy.Active.Import.Register","location":"Outlet","unit":"kWh"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Power.Active.Import","location":"Inlet","unit":"W"},{"value":"22.000","context":"Trigger","format":"Raw","measurand":"Temperature","location":"Body","unit":"Celsius"},{"value":"228.625","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L1-N","location":"Inlet","unit":"V"},{"value":"231.791","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L2-N","location":"Inlet","unit":"V"},{"value":"236.874","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L3-N","location":"Inlet","unit":"V"}]}]}, action=MeterValues}
./openhab.log:6383:2026-10-07 18:04:02.785 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"524d8e82-2bfc-42cb-a597-c28743082dc6","SetChargingProfile",{"connectorId":1,"csChargingProfiles":{"chargingProfileId":12,"transactionId":41,"stackLevel":0,"chargingProfilePurpose":"TxProfile","chargingProfileKind":"Relative","chargingSchedule":{"chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":7.0,"numberPhases":3}]}}}]
./openhab.log:6384:2026-10-07 18:04:03.056 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=524d8e82-2bfc-42cb-a597-c28743082dc6, payload={"status":"Accepted"}, action=null}
./openhab.log:6393:2026-10-07 18:04:06.318 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"c528e6c3-54b5-4278-95cb-4d35327a9335","TriggerMessage",{"connectorId":1,"requestedMessage":"MeterValues"}]
./openhab.log:6394:2026-10-07 18:04:06.471 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=c528e6c3-54b5-4278-95cb-4d35327a9335, payload={"status":"Accepted"}, action=null}
./openhab.log:6396:2026-10-07 18:04:06.592 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25270, payload={"connectorId":1,"transactionId":41,"meterValue":[{"timestamp":"2026-10-07T16:04:05.000Z","sampledValue":[{"value":"0.009","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L1","location":"Inlet","unit":"A"},{"value":"0.009","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L2","location":"Inlet","unit":"A"},{"value":"0.007","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L3","location":"Inlet","unit":"A"},{"value":"7.000","context":"Trigger","format":"Raw","measurand":"Current.Offered","unit":"A"},{"value":"24752.299","context":"Trigger","format":"Raw","measurand":"Energy.Active.Import.Register","location":"Outlet","unit":"kWh"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Power.Active.Import","location":"Inlet","unit":"W"},{"value":"22.000","context":"Trigger","format":"Raw","measurand":"Temperature","location":"Body","unit":"Celsius"},{"value":"228.444","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L1-N","location":"Inlet","unit":"V"},{"value":"231.824","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L2-N","location":"Inlet","unit":"V"},{"value":"236.569","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L3-N","location":"Inlet","unit":"V"}]}]}, action=MeterValues}
./openhab.log:6398:2026-10-07 18:04:08.779 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25271, payload={"connectorId":1,"errorCode":"NoError","status":"SuspendedEV","timestamp":"2026-10-07T16:04:08.000Z"}, action=StatusNotification}
./openhab.log:6408:2026-10-07 18:04:16.319 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"75f9c8d6-19b3-487b-a5f8-2e948d896e58","TriggerMessage",{"connectorId":1,"requestedMessage":"MeterValues"}]
./openhab.log:6409:2026-10-07 18:04:16.392 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=75f9c8d6-19b3-487b-a5f8-2e948d896e58, payload={"status":"Accepted"}, action=null}
./openhab.log:6411:2026-10-07 18:04:16.540 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25272, payload={"connectorId":1,"transactionId":41,"meterValue":[{"timestamp":"2026-10-07T16:04:15.000Z","sampledValue":[{"value":"0.009","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L1","location":"Inlet","unit":"A"},{"value":"0.009","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L2","location":"Inlet","unit":"A"},{"value":"0.007","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L3","location":"Inlet","unit":"A"},{"value":"7.000","context":"Trigger","format":"Raw","measurand":"Current.Offered","unit":"A"},{"value":"24752.299","context":"Trigger","format":"Raw","measurand":"Energy.Active.Import.Register","location":"Outlet","unit":"kWh"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Power.Active.Import","location":"Inlet","unit":"W"},{"value":"22.000","context":"Trigger","format":"Raw","measurand":"Temperature","location":"Body","unit":"Celsius"},{"value":"230.484","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L1-N","location":"Inlet","unit":"V"},{"value":"234.784","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L2-N","location":"Inlet","unit":"V"},{"value":"230.814","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L3-N","location":"Inlet","unit":"V"}]}]}, action=MeterValues}
./openhab.log:6418:2026-10-07 18:04:21.412 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"b4e7b889-7285-4807-bc01-f5b34937cc05","RemoteStopTransaction",{"transactionId":41}]
./openhab.log:6419:2026-10-07 18:04:21.539 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=b4e7b889-7285-4807-bc01-f5b34937cc05, payload={"status":"Accepted"}, action=null}
./openhab.log:6421:2026-10-07 18:04:21.604 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25273, payload={"idTag":"openhab","meterStop":24752297,"timestamp":"2026-10-07T16:04:20.000Z","transactionId":41,"reason":"Remote"}, action=StopTransaction}
./openhab.log:6428:2026-10-07 18:04:26.320 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"00c0053a-3a48-4fc7-8a84-8d842a2760e1","TriggerMessage",{"connectorId":1,"requestedMessage":"MeterValues"}]
./openhab.log:6429:2026-10-07 18:04:26.419 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=00c0053a-3a48-4fc7-8a84-8d842a2760e1, payload={"status":"Accepted"}, action=null}
./openhab.log:6431:2026-10-07 18:04:26.572 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25274, payload={"connectorId":1,"meterValue":[{"timestamp":"2026-10-07T16:04:25.000Z","sampledValue":[{"value":"0.009","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L1","location":"Inlet","unit":"A"},{"value":"0.009","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L2","location":"Inlet","unit":"A"},{"value":"0.007","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L3","location":"Inlet","unit":"A"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Current.Offered","unit":"A"},{"value":"24752.299","context":"Trigger","format":"Raw","measurand":"Energy.Active.Import.Register","location":"Outlet","unit":"kWh"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Power.Active.Import","location":"Inlet","unit":"W"},{"value":"22.000","context":"Trigger","format":"Raw","measurand":"Temperature","location":"Body","unit":"Celsius"},{"value":"231.408","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L1-N","location":"Inlet","unit":"V"},{"value":"234.751","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L2-N","location":"Inlet","unit":"V"},{"value":"231.700","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L3-N","location":"Inlet","unit":"V"}]}]}, action=MeterValues}
./openhab.log:6433:2026-10-07 18:04:26.780 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25275, payload={"connectorId":1,"errorCode":"NoError","status":"Preparing","timestamp":"2026-10-07T16:04:26.000Z"}, action=StatusNotification}
./openhab.log:6436:2026-10-07 18:04:32.787 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"41ebf0b4-99a9-49f6-9e2c-5bf2a25c0b0e","SetChargingProfile",{"connectorId":1,"csChargingProfiles":{"chargingProfileId":11,"stackLevel":0,"chargingProfilePurpose":"TxDefaultProfile","chargingProfileKind":"Relative","chargingSchedule":{"chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":7.0,"numberPhases":3}]}}}]
./openhab.log:6437:2026-10-07 18:04:32.930 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=41ebf0b4-99a9-49f6-9e2c-5bf2a25c0b0e, payload={"status":"Accepted"}, action=null}
./openhab.log:6444:2026-10-07 18:04:36.321 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"428c17aa-aa47-41fc-80a0-c92c5b36406d","TriggerMessage",{"connectorId":1,"requestedMessage":"MeterValues"}]
./openhab.log:6445:2026-10-07 18:04:36.450 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=428c17aa-aa47-41fc-80a0-c92c5b36406d, payload={"status":"Accepted"}, action=null}
./openhab.log:6447:2026-10-07 18:04:36.607 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25276, payload={"connectorId":1,"meterValue":[{"timestamp":"2026-10-07T16:04:35.000Z","sampledValue":[{"value":"0.009","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L1","location":"Inlet","unit":"A"},{"value":"0.009","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L2","location":"Inlet","unit":"A"},{"value":"0.007","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L3","location":"Inlet","unit":"A"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Current.Offered","unit":"A"},{"value":"24752.299","context":"Trigger","format":"Raw","measurand":"Energy.Active.Import.Register","location":"Outlet","unit":"kWh"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Power.Active.Import","location":"Inlet","unit":"W"},{"value":"22.000","context":"Trigger","format":"Raw","measurand":"Temperature","location":"Body","unit":"Celsius"},{"value":"230.911","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L1-N","location":"Inlet","unit":"V"},{"value":"233.579","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L2-N","location":"Inlet","unit":"V"},{"value":"236.456","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L3-N","location":"Inlet","unit":"V"}]}]}, action=MeterValues}
./openhab.log:6458:2026-10-07 18:04:46.322 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"502fbc18-6d3e-4929-bc17-3a6386284fd3","TriggerMessage",{"connectorId":1,"requestedMessage":"MeterValues"}]
./openhab.log:6459:2026-10-07 18:04:46.479 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=502fbc18-6d3e-4929-bc17-3a6386284fd3, payload={"status":"Accepted"}, action=null}
./openhab.log:6461:2026-10-07 18:04:46.634 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25277, payload={"connectorId":1,"meterValue":[{"timestamp":"2026-10-07T16:04:45.000Z","sampledValue":[{"value":"0.009","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L1","location":"Inlet","unit":"A"},{"value":"0.009","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L2","location":"Inlet","unit":"A"},{"value":"0.007","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L3","location":"Inlet","unit":"A"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Current.Offered","unit":"A"},{"value":"24752.299","context":"Trigger","format":"Raw","measurand":"Energy.Active.Import.Register","location":"Outlet","unit":"kWh"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Power.Active.Import","location":"Inlet","unit":"W"},{"value":"22.000","context":"Trigger","format":"Raw","measurand":"Temperature","location":"Body","unit":"Celsius"},{"value":"228.086","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L1-N","location":"Inlet","unit":"V"},{"value":"232.732","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L2-N","location":"Inlet","unit":"V"},{"value":"237.365","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L3-N","location":"Inlet","unit":"V"}]}]}, action=MeterValues}
./openhab.log:6463:2026-10-07 18:04:48.569 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"439fb1c0-6b3f-4894-81fb-b1fcced637bb","RemoteStartTransaction",{"connectorId":1,"idTag":"openhab"}]
./openhab.log:6464:2026-10-07 18:04:48.819 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=439fb1c0-6b3f-4894-81fb-b1fcced637bb, payload={"status":"Accepted"}, action=null}
./openhab.log:6466:2026-10-07 18:04:48.911 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25278, payload={"connectorId":1,"idTag":"openhab","meterStart":24752297,"timestamp":"2026-10-07T16:04:47.000Z"}, action=StartTransaction}
./openhab.log:6472:2026-10-07 18:04:50.771 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25279, payload={"connectorId":1,"errorCode":"NoError","status":"SuspendedEVSE","timestamp":"2026-10-07T16:04:50.000Z"}, action=StatusNotification}
./openhab.log:6474:2026-10-07 18:04:53.610 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25280, payload={"idTag":"openhab","meterStop":24752297,"timestamp":"2026-10-07T16:04:52.000Z","transactionId":42,"reason":"EVDisconnected"}, action=StopTransaction}
./openhab.log:6476:2026-10-07 18:04:53.791 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25281, payload={"connectorId":1,"errorCode":"NoError","status":"Available","timestamp":"2026-10-07T16:04:53.000Z"}, action=StatusNotification}
./openhab.log:6491:2026-10-07 18:04:56.323 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"7949744d-3af9-4819-ac52-f1f571f0bcf5","TriggerMessage",{"connectorId":1,"requestedMessage":"MeterValues"}]
./openhab.log:6492:2026-10-07 18:04:56.414 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=7949744d-3af9-4819-ac52-f1f571f0bcf5, payload={"status":"Accepted"}, action=null}
./openhab.log:6494:2026-10-07 18:04:56.560 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25282, payload={"connectorId":1,"meterValue":[{"timestamp":"2026-10-07T16:04:55.000Z","sampledValue":[{"value":"0.013","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L1","location":"Inlet","unit":"A"},{"value":"0.008","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L2","location":"Inlet","unit":"A"},{"value":"0.008","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L3","location":"Inlet","unit":"A"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Current.Offered","unit":"A"},{"value":"24752.299","context":"Trigger","format":"Raw","measurand":"Energy.Active.Import.Register","location":"Outlet","unit":"kWh"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Power.Active.Import","location":"Inlet","unit":"W"},{"value":"22.000","context":"Trigger","format":"Raw","measurand":"Temperature","location":"Body","unit":"Celsius"},{"value":"228.469","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L1-N","location":"Inlet","unit":"V"},{"value":"232.352","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L2-N","location":"Inlet","unit":"V"},{"value":"237.276","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L3-N","location":"Inlet","unit":"V"}]}]}, action=MeterValues}
./openhab.log:6496:2026-10-07 18:04:56.772 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25283, payload={"connectorId":1,"errorCode":"NoError","status":"Preparing","timestamp":"2026-10-07T16:04:56.000Z"}, action=StatusNotification}
./openhab.log:6500:2026-10-07 18:04:56.801 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"f2fba21c-8533-4dc2-a91c-9a13a1ee1641","RemoteStartTransaction",{"connectorId":1,"idTag":"openhab"}]
./openhab.log:6501:2026-10-07 18:04:57.110 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=f2fba21c-8533-4dc2-a91c-9a13a1ee1641, payload={"status":"Accepted"}, action=null}
./openhab.log:6503:2026-10-07 18:04:57.170 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25284, payload={"connectorId":1,"idTag":"openhab","meterStart":24752297,"timestamp":"2026-10-07T16:04:56.000Z"}, action=StartTransaction}
./openhab.log:6507:2026-10-07 18:04:59.770 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25285, payload={"connectorId":1,"errorCode":"NoError","status":"Charging","timestamp":"2026-10-07T16:04:59.000Z"}, action=StatusNotification}
./openhab.log:6518:2026-10-07 18:05:02.791 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25286, payload={"connectorId":1,"errorCode":"NoError","status":"SuspendedEV","timestamp":"2026-10-07T16:05:02.000Z"}, action=StatusNotification}
./openhab.log:6525:2026-10-07 18:05:05.779 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25287, payload={"idTag":"openhab","meterStop":24752297,"timestamp":"2026-10-07T16:05:04.000Z","transactionId":43,"reason":"EVDisconnected"}, action=StopTransaction}
./openhab.log:6527:2026-10-07 18:05:05.870 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=25288, payload={"connectorId":1,"errorCode":"NoError","status":"Available","timestamp":"2026-10-07T16:05:05.000Z"}, action=StatusNotification}
./openhab.log:6530:2026-10-07 18:05:06.324 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"0c56004b-178b-4ea7-aa15-9d8ffcde8485","TriggerMessage",{"connectorId":1,"requestedMessage":"MeterValues"}]
./openhab.log:6531:2026-10-07 18:05:06.392 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=0c56004b-178b-4ea7-aa15-9d8ffcde8485, payload={"status":"Accepted"}, action=null}
./openhab.log:6533:2026-10-07 18:05:06.539 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a e

charging schedule, docking and loadbalancing rule

import java.time.ZonedDateTime
import org.openhab.core.model.script.actions.Timer

// ====================================================================
// TILLSTÅNDSMODELL (OCPP-status -> beteende)
// ====================================================================
//  Available / Finishing : Ingen bil/transaktion. Inget skickas. Allt nollas.
//  Preparing             : Kabel isatt. Dockning detekterad, session startad (ON).
//                          INGET skickas till laddaren förrän TransactionId ändrats
//                          (= transaktion bekräftad). Mål = 7A.
//  Startfas (5 min)      : Från anslutning. Mål = 7A oavsett schema/lastbalansering.
//  SuspendedEV           : Bilen pausar. Mål = 7A hela tiden så ström alltid erbjuds.
//  SuspendedEVSE         : Laddaren pausad (0A). Tillåtet -> starta om på 7A, annars 0A.
//  Charging              : Lastbalansering + schema (6-16A, 0A = paus).
//  MANUAL (evTarget)     : Laddaren får värdet i EaseeOcppChargeCurrentLimitProxy
//                          (debouncat 5 s, <6A = 0A, max 16A). Går före startfas,
//                          schema och lastbalansering. Transaktionsgrinden gäller ändå.
//
//  Enda källan till "vilken ström vi vill ha" är newDynamicCurrent.
//  Regel 2 räknar fram den, regel 3 är den ENDA som skriver till laddaren.
// ====================================================================

// ====================================================================
// GLOBALA VARIABLER
// ====================================================================
var String idAtDock = ""                 // TransactionId vid dockning (för att se att den ändrats)
var ZonedDateTime lastCalc = null        // Strypning av kalkylatorn
var ZonedDateTime raiseSince = null      // När en höjning först önskades (ersätter timer)
var Timer manualTimer = null             // Debounce för manuellt läge


// ====================================================================
// REGEL 0: INIT EFTER OMSTART
// ====================================================================
rule "Easee_Init"
when
    System started
then
    createTimer(now.plusSeconds(30), [|
        val String s = if (EaseeOcppChargePointStatus.state != NULL) EaseeOcppChargePointStatus.state.toString else ""
        idAtDock = if (EaseeOcppTransactionId.state != NULL && EaseeOcppTransactionId.state != UNDEF) EaseeOcppTransactionId.state.toString else ""
        // Charging/Suspended* betyder att transaktionen redan är igång
        if ((s == "Charging" || s == "SuspendedEV" || s == "SuspendedEVSE") && Ev_docking_finished.state != ON) {
            Ev_docking_finished.postUpdate(ON)
            logInfo("Easee", "Init: Pågående transaktion hittad (" + s + "). Dockning markerad.")
        }
    ])
end


// ====================================================================
// REGEL 1: STATUS-MONITOR (Dockning / frånkoppling)
// ====================================================================
rule "Easee_State_Monitor"
when
    Item EaseeOcppChargePointStatus changed
then
    val String newStatus = if (newState != NULL) newState.toString else ""

    // ---- Bil frånkopplad / transaktion avslutad ----
    // Skickar ALDRIG något till laddaren här (skulle skriva till fast lagring).
    if (newStatus == "Available" || newStatus == "Finishing") {
        if (Ev_docking_finished.state != OFF) {
            Ev_docking_finished.postUpdate(OFF)
            logInfo("Easee", "LADD-LOG: Bil frånkopplad (" + newStatus + "). Nollställer.")
        }
        if (evTarget.state.toString != "Now") {
            evTarget.sendCommand("Tomorrow")
        }
        idAtDock = ""
        raiseSince = null
        newDynamicCurrent.postUpdate(0)
        return;
    }

    // ---- Ny bil ansluten: starta transaktion ----
    if (newStatus == "Preparing" && Ev_docking_finished.state != ON) {
        idAtDock = if (EaseeOcppTransactionId.state != NULL && EaseeOcppTransactionId.state != UNDEF) EaseeOcppTransactionId.state.toString else ""
        Ev_docking_finished.postUpdate(ON)
        Evconnected.postUpdate(new DateTimeType())
        newDynamicCurrent.postUpdate(7)
        EaseeOcppChargingSession.sendCommand(ON)
        logInfo("Easee", "LADD-LOG: Bil ansluten. Session startad, väntar på bekräftad transaktion innan 7A skickas.")
    }
end


// ====================================================================
// REGEL 2: KALKYLATOR (Räknar fram mål -> newDynamicCurrent)
// Körs bara när bil är dockad. Skickar aldrig något till laddaren.
// ====================================================================
rule "Easee_Calculate_Current"
when
    Item availableCurrent received update or
    Item EaseeOcppChargePointStatus changed or
    Item EaseeOcppTransactionId changed or
    Item CarChargerAllowed changed or
    Item evTarget changed
then
    // Billiga grindar först
    if (Ev_docking_finished.state != ON) return;

    val String status = if (EaseeOcppChargePointStatus.state != NULL) EaseeOcppChargePointStatus.state.toString else ""
    if (status == "" || status == "Available" || status == "Finishing") return;

    // ---- Manuellt läge: regel 4 äger newDynamicCurrent ----
    if (evTarget.state.toString.equalsIgnoreCase("Manual")) return;

    // ---- Startfas: 5 min från anslutning ----
    var boolean startHold = false
    if (Evconnected.state instanceof DateTimeType) {
        startHold = (Evconnected.state as DateTimeType).instant.isAfter(now.minusMinutes(5).toInstant)
    }

    // ---- Lägen med fast 7A ----
    if (startHold || status == "Preparing" || status == "SuspendedEV") {
        newDynamicCurrent.postUpdate(7)
        return;
    }

    // ---- Schema ----
    val boolean chargeAllowed = (evTarget.state.toString == "Now") || (CarChargerAllowed.state == ON)
    if (!chargeAllowed) {
        newDynamicCurrent.postUpdate(0)
        return;
    }

    // ---- Lastbalansering (Charging / SuspendedEVSE) ----
    if (!(availableCurrent.state instanceof Number)) return;
    val double avail = (availableCurrent.state as Number).doubleValue

    // Stryp till max var 2:a sekund, men kritiskt läge (< 1A) går alltid igenom
    if (avail >= 1.0 && lastCalc !== null && lastCalc.plusSeconds(2).isAfter(now)) return;
    lastCalc = now

    var int currentSet = 0
    if (EaseeOcppChargeCurrentLimit.state instanceof Number) {
        currentSet = (EaseeOcppChargeCurrentLimit.state as Number).intValue
    }

    val boolean isFullyCharging = (status == "Charging") && (currentSet >= 6)
    var int target = 7

    if (isFullyCharging) {
        target = currentSet

        if (avail > 4.0) {
            target = target + 2
        } else if (avail < 1.0) {
            val int reduction = Math.ceil(1.0 - avail).intValue
            target = target - reduction
        }

        if (target < 6) {
            target = if (avail < 0.3) 0 else 6
        }
        if (target > 16) {
            target = 16
        }
    }

    if (target != currentSet) {
        logInfo("Easee", "Kalkylator: status=" + status + " avail=" + avail + "A | gräns=" + currentSet + "A -> mål=" + target + "A")
    }
    newDynamicCurrent.postUpdate(target)
end


// ====================================================================
// REGEL 3: EXECUTOR (Enda stället som skriver till laddaren)
// Triggas bara av att kalkylatorn/monitor uppdaterar newDynamicCurrent.
// ====================================================================
rule "Easee_Master_Executor"
when
    Item newDynamicCurrent received update
then
    if (Ev_docking_finished.state != ON) return;

    val String status = if (EaseeOcppChargePointStatus.state != NULL) EaseeOcppChargePointStatus.state.toString else ""

    // ---- TRANSAKTIONSGRIND: skicka aldrig utan pågående transaktion ----
    // Charging/SuspendedEV/SuspendedEVSE = transaktionen är redan igång.
    // Preparing = kräver att sessionen är ON och TransactionId ändrats sedan dockning.
    val String txId = if (EaseeOcppTransactionId.state != NULL && EaseeOcppTransactionId.state != UNDEF) EaseeOcppTransactionId.state.toString else ""
    val boolean txRunning = (status == "Charging" || status == "SuspendedEV" || status == "SuspendedEVSE")
    val boolean txConfirmedEarly = (status == "Preparing") && (EaseeOcppChargingSession.state == ON) &&
                                   txId != "" && txId != "0" && txId != idAtDock
    if (!(txRunning || txConfirmedEarly)) return;

    if (!(newDynamicCurrent.state instanceof Number)) return;
    var int target = (newDynamicCurrent.state as Number).intValue

    var int currentSet = 0
    if (EaseeOcppChargeCurrentLimit.state instanceof Number) {
        currentSet = (EaseeOcppChargeCurrentLimit.state as Number).intValue
    }

    if (target == currentSet) {
        raiseSince = null
        return;
    }

    // ---- STARTSKYDD: 1-6A tillåts bara när laddning redan pågår på minst 6A ----
    if (target > 0 && target < 7 && (currentSet < 6 || status != "Charging")) {
        target = 7
    }
    if (target == currentSet) return;

    // ---- PAUS: direkt ----
    if (target == 0) {
        raiseSince = null
        logWarn("Easee", "Executor: PAUSAR (status=" + status + "), skickar 0A")
        EaseeOcppChargeCurrentLimit.sendCommand(0)
        return;
    }

    // ---- SÄNKNING eller START: direkt ----
    if (target < currentSet || currentSet < 6) {
        raiseSince = null
        logWarn("Easee", "Executor: " + (if (target < currentSet) "SÄNKNING" else "START") + " (status=" + status + "), skickar " + target + "A")
        EaseeOcppChargeCurrentLimit.sendCommand(target)
        return;
    }

    // ---- HÖJNING: måste ha önskats i 5 sekunder (skydd mot reläslitage) ----
    // Manuellt läge är redan debouncat och uppdateras inte kontinuerligt, så där skickas direkt.
    if (!evTarget.state.toString.equalsIgnoreCase("Manual")) {
        if (raiseSince === null) {
            raiseSince = now
            return;
        }
        if (raiseSince.plusSeconds(5).isAfter(now)) return;
    }

    raiseSince = null
    logInfo("Easee", "Executor: HÖJNING, skickar " + target + "A")
    EaseeOcppChargeCurrentLimit.sendCommand(target)
end


// ====================================================================
// REGEL 4: MANUELLT LÄGE (evTarget = "Manual")
// Laddaren får värdet i EaseeOcppChargeCurrentLimitProxy, debouncat.
// Varje trigger startar om en 5 s timer, så reglaget kan dras fritt och
// bara slutvärdet skickas vidare. Timern uppdaterar bara newDynamicCurrent,
// själva sändningen (med transaktionsgrind) gör executorn i regel 3.
// <6A tolkas som 0A (paus), max 16A.
// ====================================================================
rule "Easee_Manual_Control"
when
    Item EaseeOcppChargeCurrentLimitProxy changed or
    Item evTarget changed or
    Item EaseeOcppTransactionId changed or
    Item EaseeOcppChargePointStatus changed
then
    // Varje trigger avbryter pågående debounce
    if (manualTimer !== null) {
        manualTimer.cancel()
        manualTimer = null
    }

    if (!evTarget.state.toString.equalsIgnoreCase("Manual")) return;
    if (Ev_docking_finished.state != ON) return;

    manualTimer = createTimer(now.plusSeconds(5), [|
        manualTimer = null
        if (evTarget.state.toString.equalsIgnoreCase("Manual") && Ev_docking_finished.state == ON &&
            EaseeOcppChargeCurrentLimitProxy.state instanceof Number) {
            var int v = (EaseeOcppChargeCurrentLimitProxy.state as Number).intValue
            if (v < 6) v = 0
            if (v > 16) v = 16
            logInfo("Easee", "Manuellt läge: mål=" + v + "A (proxy=" + EaseeOcppChargeCurrentLimitProxy.state + ")")
            newDynamicCurrent.postUpdate(v)
        }
    ])
end

from your log the charger isn’t the one giving up. after each remote start it goes SuspendedEVSE for about 3 seconds because it’s still holding 0 A, then your 7 A lands and Current.Offered goes to 7, the car stays SuspendedEV and about 15 seconds after the start the charger reports EVDisconnected, so the car itself drops the session with the cable still in. that fits the tesla’s communication error, and the new transaction ids are just your rule starting again on every Preparing.

the 0 A at the start comes from the change on 25 september: a charge that ends at 0 leaves 0 as the starting point for the next one, so every plug in now starts with a no before the yes. with the cloud the easee never did that, which would explain why it started the moment you moved to ocpp. worth a test: in your rule, when the connector goes back to Available, send charge-limit 7 (or whatever you want a charge to start at), so the next plug in offers current right away. if the error goes, that was it.

on GetCompositeSchedule, fair idea, the binding doesn’t read the schedule back today i will look into it.

Hello, thanks for confiming my thoughts, I have now fixed the connector issue on the type 2 connector at home. Now it got a clean connection at the first try and transactionid just increased by one. My connection charger time 5 minutes of power just to make sure the car shows that charging is working worked well also. From my point of view thers only the txdefaul profiel o try to adjust even though I never got at reply from Easee I know that the where eager to let people know that not use autmation to post to those http endpoints just use the dynamic endpoint. So I would be pleased if the binding gets settings for txdefault profiles and get the profile at dissconnection sor so and compare if i differs send the new one. Maybe even a setting for disbae automatic txdefalut profiles, I’m trying to keep non volatile storage safe for the Easee case.

/openhab.log:61059:2026-10-11 08:48:44.307 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=56512, payload={"connectorId":1,"meterValue":[{"timestamp":"2026-10-11T06:48:43.000Z","sampledValue":[{"value":"0.006","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L1","location":"Inlet","unit":"A"},{"value":"0.009","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L2","location":"Inlet","unit":"A"},{"value":"0.013","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L3","location":"Inlet","unit":"A"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Current.Offered","unit":"A"},{"value":"24805.490","context":"Trigger","format":"Raw","measurand":"Energy.Active.Import.Register","location":"Outlet","unit":"kWh"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Power.Active.Import","location":"Inlet","unit":"W"},{"value":"19.000","context":"Trigger","format":"Raw","measurand":"Temperature","location":"Body","unit":"Celsius"},{"value":"226.976","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L1-N","location":"Inlet","unit":"V"},{"value":"231.915","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L2-N","location":"Inlet","unit":"V"},{"value":"234.957","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L3-N","location":"Inlet","unit":"V"}]}]}, action=MeterValues}

./openhab.log:61061:2026-10-11 08:48:44.708 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=56513, payload={"connectorId":1,"errorCode":"NoError","status":"Preparing","timestamp":"2026-10-11T06:48:44.000Z"}, action=StatusNotification}

./openhab.log:61064:2026-10-11 08:48:44.727 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"ab9c6033-5d12-4e0d-a06e-8597e6fa8adb","RemoteStartTransaction",{"connectorId":1,"idTag":"openhab"}]

./openhab.log:61066:2026-10-11 08:48:45.108 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=ab9c6033-5d12-4e0d-a06e-8597e6fa8adb, payload={"status":"Accepted"}, action=null}

./openhab.log:61069:2026-10-11 08:48:46.040 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=56514, payload={"connectorId":1,"idTag":"openhab","meterStart":24805489,"timestamp":"2026-10-11T06:48:44.000Z"}, action=StartTransaction}

./openhab.log:61072:2026-10-11 08:48:47.259 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=56515, payload={"connectorId":1,"errorCode":"NoError","status":"SuspendedEVSE","timestamp":"2026-10-11T06:48:47.000Z"}, action=StatusNotification}

./openhab.log:61074:2026-10-11 08:48:50.247 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=56516, payload={"connectorId":1,"errorCode":"NoError","status":"Charging","timestamp":"2026-10-11T06:48:50.000Z"}, action=StatusNotification}

./openhab.log:61087:2026-10-11 08:48:54.099 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"959b2691-5981-429b-8a04-97b5bb4421a4","TriggerMessage",{"connectorId":1,"requestedMessage":"MeterValues"}]

./openhab.log:61088:2026-10-11 08:48:54.160 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=959b2691-5981-429b-8a04-97b5bb4421a4, payload={"status":"Accepted"}, action=null}

./openhab.log:61094:2026-10-11 08:48:54.307 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=56517, payload={"connectorId":1,"transactionId":57,"meterValue":[{"timestamp":"2026-10-11T06:48:53.000Z","sampledValue":[{"value":"0.334","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L1","location":"Inlet","unit":"A"},{"value":"0.273","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L2","location":"Inlet","unit":"A"},{"value":"0.268","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L3","location":"Inlet","unit":"A"},{"value":"7.000","context":"Trigger","format":"Raw","measurand":"Current.Offered","unit":"A"},{"value":"24805.490","context":"Trigger","format":"Raw","measurand":"Energy.Active.Import.Register","location":"Outlet","unit":"kWh"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Power.Active.Import","location":"Inlet","unit":"W"},{"value":"19.000","context":"Trigger","format":"Raw","measurand":"Temperature","location":"Body","unit":"Celsius"},{"value":"227.580","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L1-N","location":"Inlet","unit":"V"},{"value":"230.637","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L2-N","location":"Inlet","unit":"V"},{"value":"236.810","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L3-N","location":"Inlet","unit":"V"}]}]}, action=MeterValues}

./openhab.log:61105:2026-10-11 08:49:04.102 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"e3403a1c-177b-47b1-bd69-d2a765cfe7c3","TriggerMessage",{"connectorId":1,"requestedMessage":"MeterValues"}]

./openhab.log:61106:2026-10-11 08:49:04.199 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=e3403a1c-177b-47b1-bd69-d2a765cfe7c3, payload={"status":"Accepted"}, action=null}

./openhab.log:61108:2026-10-11 08:49:04.348 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=56518, payload={"connectorId":1,"transactionId":57,"meterValue":[{"timestamp":"2026-10-11T06:49:03.000Z","sampledValue":[{"value":"5.207","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L1","location":"Inlet","unit":"A"},{"value":"0.570","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L2","location":"Inlet","unit":"A"},{"value":"0.272","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L3","location":"Inlet","unit":"A"},{"value":"7.000","context":"Trigger","format":"Raw","measurand":"Current.Offered","unit":"A"},{"value":"24805.490","context":"Trigger","format":"Raw","measurand":"Energy.Active.Import.Register","location":"Outlet","unit":"kWh"},{"value":"1182.000","context":"Trigger","format":"Raw","measurand":"Power.Active.Import","location":"Inlet","unit":"W"},{"value":"19.000","context":"Trigger","format":"Raw","measurand":"Temperature","location":"Body","unit":"Celsius"},{"value":"220.398","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L1-N","location":"Inlet","unit":"V"},{"value":"232.416","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L2-N","location":"Inlet","unit":"V"},{"value":"238.861","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L3-N","location":"Inlet","unit":"V"}]}]}, action=MeterValues}

./openhab.log:61120:2026-10-11 08:49:14.103 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"9148e790-1ed5-4429-987d-13b6891ec810","TriggerMessage",{"connectorId":1,"requestedMessage":"MeterValues"}]

./openhab.log:61121:2026-10-11 08:49:14.218 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=9148e790-1ed5-4429-987d-13b6891ec810, payload={"status":"Accepted"}, action=null}

./openhab.log:61123:2026-10-11 08:49:14.373 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=56519, payload={"connectorId":1,"transactionId":57,"meterValue":[{"timestamp":"2026-10-11T06:49:13.000Z","sampledValue":[{"value":"6.969","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L1","location":"Inlet","unit":"A"},{"value":"6.999","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L2","location":"Inlet","unit":"A"},{"value":"7.005","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L3","location":"Inlet","unit":"A"},{"value":"7.000","context":"Trigger","format":"Raw","measurand":"Current.Offered","unit":"A"},{"value":"24805.500","context":"Trigger","format":"Raw","measurand":"Energy.Active.Import.Register","location":"Outlet","unit":"kWh"},{"value":"4741.000","context":"Trigger","format":"Raw","measurand":"Power.Active.Import","location":"Inlet","unit":"W"},{"value":"19.000","context":"Trigger","format":"Raw","measurand":"Temperature","location":"Body","unit":"Celsius"},{"value":"224.599","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L1-N","location":"Inlet","unit":"V"},{"value":"227.404","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L2-N","location":"Inlet","unit":"V"},{"value":"233.354","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L3-N","location":"Inlet","unit":"V"}]}]}, action=MeterValues}

./openhab.log:61131:2026-10-11 08:49:24.105 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"ca905490-dbf9-4c02-9a7b-560c2fd5256c","TriggerMessage",{"connectorId":1,"requestedMessage":"MeterValues"}]

./openhab.log:61136:2026-10-11 08:49:24.267 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=ca905490-dbf9-4c02-9a7b-560c2fd5256c, payload={"status":"Accepted"}, action=null}

./openhab.log:61138:2026-10-11 08:49:24.421 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=56520, payload={"connectorId":1,"transactionId":57,"meterValue":[{"timestamp":"2026-10-11T06:49:24.000Z","sampledValue":[{"value":"7.020","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L1","location":"Inlet","unit":"A"},{"value":"7.063","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L2","location":"Inlet","unit":"A"},{"value":"7.061","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L3","location":"Inlet","unit":"A"},{"value":"7.000","context":"Trigger","format":"Raw","measurand":"Current.Offered","unit":"A"},{"value":"24805.514","context":"Trigger","format":"Raw","measurand":"Energy.Active.Import.Register","location":"Outlet","unit":"kWh"},{"value":"4782.000","context":"Trigger","format":"Raw","measurand":"Power.Active.Import","location":"Inlet","unit":"W"},{"value":"19.000","context":"Trigger","format":"Raw","measurand":"Temperature","location":"Body","unit":"Celsius"},{"value":"224.650","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L1-N","location":"Inlet","unit":"V"},{"value":"227.515","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L2-N","location":"Inlet","unit":"V"},{"value":"233.512","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L3-N","location":"Inlet","unit":"V"}]}]}, action=MeterValues}

./openhab.log:61142:2026-10-11 08:49:34.106 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"66a8a767-9506-4d5b-9465-2760fcec03ce","TriggerMessage",{"connectorId":1,"requestedMessage":"MeterValues"}]

good to hear it was the connector, a clean start with one transaction is how it should look.

the read back is in the jar from today, same link in the first post. before writing a default profile the binding now asks the charger with GetCompositeSchedule what it applies, and only writes when that differs, so sending the same limit twice or pausing twice doesn’t touch the storage anymore. limits during a charge are never read back since those aren’t stored. if your easee doesn’t answer the question nothing changes, it just writes like before.

with the trace on you’ll see a GetCompositeSchedule before each default write and the easee’s answer right after it. can you post what it answers? my wallboxes and the charx all answer it, the easee is the one i can’t test here.

Hi Thanks for putting that into the binding, to me it seems like the binding answers and get a response and not sending any new txdefaultprofiles, will it be possible to have a setting for txdefaultprofile current on the connector or do you think that should be handled via rules? I guess rules will cover the use case of when charing is completed wich i today only pick up as suspendedEV because I don’t think i ever seen any competed status. But when a car is removed before charging is finished rules may have a really high output or 0 if it’s paused at the moment. Maybe there’s someting I can do different in my rules or maybe a specific setting for default current limit for txdefaultprofiles per connector.

./openhab.log:12051:2026-10-11 12:17:17.417 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"c0fc5503-66bf-4fe9-aea3-4f7aa5cae95f","GetCompositeSchedule",{"connectorId":1,"duration":60,"chargingRateUnit":"A"}]
./openhab.log:12052:2026-10-11 12:17:17.540 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=c0fc5503-66bf-4fe9-aea3-4f7aa5cae95f, payload={"status":"Accepted","connectorId":1,"scheduleStart":"2026-10-11T10:17:16.000Z","chargingSchedule":{"duration":60,"startSchedule":"2026-10-11T10:17:16.000Z","chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":7}]}}, action=null}
./openhab.log:12067:2026-10-11 12:17:24.957 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"08c7db34-9900-40fb-83bc-7c75a3626a6f","TriggerMessage",{"connectorId":1,"requestedMessage":"MeterValues"}]
./openhab.log:12068:2026-10-11 12:17:26.911 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=08c7db34-9900-40fb-83bc-7c75a3626a6f, payload={"status":"Accepted"}, action=null}
./openhab.log:12070:2026-10-11 12:17:27.006 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=57771, payload={"connectorId":1,"meterValue":[{"timestamp":"2026-10-11T10:17:25.000Z","sampledValue":[{"value":"0.014","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L1","location":"Inlet","unit":"A"},{"value":"0.010","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L2","location":"Inlet","unit":"A"},{"value":"0.013","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L3","location":"Inlet","unit":"A"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Current.Offered","unit":"A"},{"value":"24805.869","context":"Trigger","format":"Raw","measurand":"Energy.Active.Import.Register","location":"Outlet","unit":"kWh"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Power.Active.Import","location":"Inlet","unit":"W"},{"value":"20.000","context":"Trigger","format":"Raw","measurand":"Temperature","location":"Body","unit":"Celsius"},{"value":"220.238","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L1-N","location":"Inlet","unit":"V"},{"value":"233.490","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L2-N","location":"Inlet","unit":"V"},{"value":"237.564","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L3-N","location":"Inlet","unit":"V"}]}]}, action=MeterValues}
./openhab.log:12077:2026-10-11 12:17:34.958 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"9eb92cb9-bc02-4768-a73b-21af52d4dfcf","TriggerMessage",{"connectorId":1,"requestedMessage":"MeterValues"}]
./openhab.log:12083:2026-10-11 12:17:36.285 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=9eb92cb9-bc02-4768-a73b-21af52d4dfcf, payload={"status":"Accepted"}, action=null}
./openhab.log:12085:2026-10-11 12:17:36.595 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=57772, payload={"connectorId":1,"meterValue":[{"timestamp":"2026-10-11T10:17:35.000Z","sampledValue":[{"value":"0.013","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L1","location":"Inlet","unit":"A"},{"value":"0.009","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L2","location":"Inlet","unit":"A"},{"value":"0.012","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L3","location":"Inlet","unit":"A"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Current.Offered","unit":"A"},{"value":"24805.869","context":"Trigger","format":"Raw","measurand":"Energy.Active.Import.Register","location":"Outlet","unit":"kWh"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Power.Active.Import","location":"Inlet","unit":"W"},{"value":"20.000","context":"Trigger","format":"Raw","measurand":"Temperature","location":"Body","unit":"Celsius"},{"value":"220.376","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L1-N","location":"Inlet","unit":"V"},{"value":"233.815","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L2-N","location":"Inlet","unit":"V"},{"value":"237.880","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L3-N","location":"Inlet","unit":"V"}]}]}, action=MeterValues}
./openhab.log:12095:2026-10-11 12:17:44.960 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"511b87c5-5747-4a54-8a6e-bdf069abcedb","TriggerMessage",{"connectorId":1,"requestedMessage":"MeterValues"}]
./openhab.log:12097:2026-10-11 12:17:45.417 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=511b87c5-5747-4a54-8a6e-bdf069abcedb, payload={"status":"Accepted"}, action=null}
./openhab.log:12099:2026-10-11 12:17:45.712 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=57773, payload={"connectorId":1,"meterValue":[{"timestamp":"2026-10-11T10:17:44.000Z","sampledValue":[{"value":"0.014","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L1","location":"Inlet","unit":"A"},{"value":"0.009","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L2","location":"Inlet","unit":"A"},{"value":"0.013","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L3","location":"Inlet","unit":"A"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Current.Offered","unit":"A"},{"value":"24805.869","context":"Trigger","format":"Raw","measurand":"Energy.Active.Import.Register","location":"Outlet","unit":"kWh"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Power.Active.Import","location":"Inlet","unit":"W"},{"value":"20.000","context":"Trigger","format":"Raw","measurand":"Temperature","location":"Body","unit":"Celsius"},{"value":"220.292","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L1-N","location":"Inlet","unit":"V"},{"value":"233.506","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L2-N","location":"Inlet","unit":"V"},{"value":"237.596","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L3-N","location":"Inlet","unit":"V"}]}]}, action=MeterValues}
./openhab.log:12112:2026-10-11 12:17:54.962 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"9f512158-4f83-49fe-a4d0-24f210947658","TriggerMessage",{"connectorId":1,"requestedMessage":"MeterValues"}]
./openhab.log:12113:2026-10-11 12:17:55.100 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=9f512158-4f83-49fe-a4d0-24f210947658, payload={"status":"Accepted"}, action=null}
./openhab.log:12115:2026-10-11 12:17:55.255 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=57774, payload={"connectorId":1,"meterValue":[{"timestamp":"2026-10-11T10:17:54.000Z","sampledValue":[{"value":"0.014","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L1","location":"Inlet","unit":"A"},{"value":"0.009","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L2","location":"Inlet","unit":"A"},{"value":"0.014","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L3","location":"Inlet","unit":"A"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Current.Offered","unit":"A"},{"value":"24805.869","context":"Trigger","format":"Raw","measurand":"Energy.Active.Import.Register","location":"Outlet","unit":"kWh"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Power.Active.Import","location":"Inlet","unit":"W"},{"value":"20.000","context":"Trigger","format":"Raw","measurand":"Temperature","location":"Body","unit":"Celsius"},{"value":"220.153","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L1-N","location":"Inlet","unit":"V"},{"value":"233.568","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L2-N","location":"Inlet","unit":"V"},{"value":"237.635","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L3-N","location":"Inlet","unit":"V"}]}]}, action=MeterValues}
./openhab.log:12125:2026-10-11 12:18:04.963 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"47c2a005-639b-41ef-aaf1-c4a6aec160e2","TriggerMessage",{"connectorId":1,"requestedMessage":"MeterValues"}]
./openhab.log:12128:2026-10-11 12:18:05.422 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=47c2a005-639b-41ef-aaf1-c4a6aec160e2, payload={"status":"Accepted"}, action=null}
./openhab.log:12132:2026-10-11 12:18:05.594 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=57775, payload={"connectorId":1,"meterValue":[{"timestamp":"2026-10-11T10:18:05.000Z","sampledValue":[{"value":"0.014","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L1","location":"Inlet","unit":"A"},{"value":"0.010","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L2","location":"Inlet","unit":"A"},{"value":"0.013","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L3","location":"Inlet","unit":"A"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Current.Offered","unit":"A"},{"value":"24805.869","context":"Trigger","format":"Raw","measurand":"Energy.Active.Import.Register","location":"Outlet","unit":"kWh"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Power.Active.Import","location":"Inlet","unit":"W"},{"value":"20.000","context":"Trigger","format":"Raw","measurand":"Temperature","location":"Body","unit":"Celsius"},{"value":"220.486","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L1-N","location":"Inlet","unit":"V"},{"value":"233.623","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L2-N","location":"Inlet","unit":"V"},{"value":"237.669","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L3-N","location":"Inlet","unit":"V"}]}]}, action=MeterValues}
./openhab.log:12143:2026-10-11 12:18:14.965 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"5e40fc7f-c9a9-4dcd-9195-e02d2e5e63a2","TriggerMessage",{"connectorId":1,"requestedMessage":"MeterValues"}]
./openhab.log:12144:2026-10-11 12:18:15.065 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=5e40fc7f-c9a9-4dcd-9195-e02d2e5e63a2, payload={"status":"Accepted"}, action=null}
./openhab.log:12146:2026-10-11 12:18:15.211 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=57776, payload={"connectorId":1,"meterValue":[{"timestamp":"2026-10-11T10:18:14.000Z","sampledValue":[{"value":"0.014","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L1","location":"Inlet","unit":"A"},{"value":"0.009","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L2","location":"Inlet","unit":"A"},{"value":"0.014","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L3","location":"Inlet","unit":"A"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Current.Offered","unit":"A"},{"value":"24805.869","context":"Trigger","format":"Raw","measurand":"Energy.Active.Import.Register","location":"Outlet","unit":"kWh"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Power.Active.Import","location":"Inlet","unit":"W"},{"value":"20.000","context":"Trigger","format":"Raw","measurand":"Temperature","location":"Body","unit":"Celsius"},{"value":"220.296","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L1-N","location":"Inlet","unit":"V"},{"value":"233.661","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L2-N","location":"Inlet","unit":"V"},{"value":"237.657","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L3-N","location":"Inlet","unit":"V"}]}]}, action=MeterValues}
./openhab.log:12165:2026-10-11 12:18:24.967 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"5e455070-c20d-40a8-a63e-561facc77bd0","TriggerMessage",{"connectorId":1,"requestedMessage":"MeterValues"}]
./openhab.log:12166:2026-10-11 12:18:25.697 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=5e455070-c20d-40a8-a63e-561facc77bd0, payload={"status":"Accepted"}, action=null}
./openhab.log:12168:2026-10-11 12:18:25.942 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=57777, payload={"connectorId":1,"meterValue":[{"timestamp":"2026-10-11T10:18:25.000Z","sampledValue":[{"value":"0.014","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L1","location":"Inlet","unit":"A"},{"value":"0.009","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L2","location":"Inlet","unit":"A"},{"value":"0.012","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L3","location":"Inlet","unit":"A"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Current.Offered","unit":"A"},{"value":"24805.869","context":"Trigger","format":"Raw","measurand":"Energy.Active.Import.Register","location":"Outlet","unit":"kWh"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Power.Active.Import","location":"Inlet","unit":"W"},{"value":"20.000","context":"Trigger","format":"Raw","measurand":"Temperature","location":"Body","unit":"Celsius"},{"value":"220.138","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L1-N","location":"Inlet","unit":"V"},{"value":"233.411","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L2-N","location":"Inlet","unit":"V"},{"value":"237.886","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L3-N","location":"Inlet","unit":"V"}]}]}, action=MeterValues}
./openhab.log:12174:2026-10-11 12:18:34.969 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"529c12e9-b3f5-463c-b7aa-94fd4b7de097","TriggerMessage",{"connectorId":1,"requestedMessage":"MeterValues"}]
./openhab.log:12175:2026-10-11 12:18:35.154 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=529c12e9-b3f5-463c-b7aa-94fd4b7de097, payload={"status":"Accepted"}, action=null}
./openhab.log:12177:2026-10-11 12:18:35.311 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=57778, payload={"connectorId":1,"meterValue":[{"timestamp":"2026-10-11T10:18:34.000Z","sampledValue":[{"value":"0.013","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L1","location":"Inlet","unit":"A"},{"value":"0.009","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L2","location":"Inlet","unit":"A"},{"value":"0.014","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L3","location":"Inlet","unit":"A"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Current.Offered","unit":"A"},{"value":"24805.869","context":"Trigger","format":"Raw","measurand":"Energy.Active.Import.Register","location":"Outlet","unit":"kWh"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Power.Active.Import","location":"Inlet","unit":"W"},{"value":"20.000","context":"Trigger","format":"Raw","measurand":"Temperature","location":"Body","unit":"Celsius"},{"value":"220.277","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L1-N","location":"Inlet","unit":"V"},{"value":"233.446","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L2-N","location":"Inlet","unit":"V"},{"value":"237.816","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L3-N","location":"Inlet","unit":"V"}]}]}, action=MeterValues}
./openhab.log:12191:2026-10-11 12:18:44.970 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"08f0fe17-cbdb-49e1-ab90-df43b0b5fad7","TriggerMessage",{"connectorId":1,"requestedMessage":"MeterValues"}]
./openhab.log:12193:2026-10-11 12:18:45.141 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=08f0fe17-cbdb-49e1-ab90-df43b0b5fad7, payload={"status":"Accepted"}, action=null}
./openhab.log:12195:2026-10-11 12:18:45.293 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=57779, payload={"connectorId":1,"meterValue":[{"timestamp":"2026-10-11T10:18:44.000Z","sampledValue":[{"value":"0.014","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L1","location":"Inlet","unit":"A"},{"value":"0.010","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L2","location":"Inlet","unit":"A"},{"value":"0.013","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L3","location":"Inlet","unit":"A"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Current.Offered","unit":"A"},{"value":"24805.869","context":"Trigger","format":"Raw","measurand":"Energy.Active.Import.Register","location":"Outlet","unit":"kWh"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Power.Active.Import","location":"Inlet","unit":"W"},{"value":"20.000","context":"Trigger","format":"Raw","measurand":"Temperature","location":"Body","unit":"Celsius"},{"value":"220.528","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L1-N","location":"Inlet","unit":"V"},{"value":"233.489","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L2-N","location":"Inlet","unit":"V"},{"value":"237.947","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L3-N","location":"Inlet","unit":"V"}]}]}, action=MeterValues}
./openhab.log:12211:2026-10-11 12:18:54.971 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"0528e447-8ec6-47cb-a0c5-27e4e8710065","TriggerMessage",{"connectorId":1,"requestedMessage":"MeterValues"}]
./openhab.log:12212:2026-10-11 12:18:55.972 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=0528e447-8ec6-47cb-a0c5-27e4e8710065, payload={"status":"Accepted"}, action=null}
./openhab.log:12215:2026-10-11 12:18:56.550 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=57780, payload={"connectorId":1,"meterValue":[{"timestamp":"2026-10-11T10:18:55.000Z","sampledValue":[{"value":"0.014","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L1","location":"Inlet","unit":"A"},{"value":"0.009","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L2","location":"Inlet","unit":"A"},{"value":"0.013","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L3","location":"Inlet","unit":"A"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Current.Offered","unit":"A"},{"value":"24805.869","context":"Trigger","format":"Raw","measurand":"Energy.Active.Import.Register","location":"Outlet","unit":"kWh"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Power.Active.Import","location":"Inlet","unit":"W"},{"value":"20.000","context":"Trigger","format":"Raw","measurand":"Temperature","location":"Body","unit":"Celsius"},{"value":"220.341","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L1-N","location":"Inlet","unit":"V"},{"value":"233.564","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L2-N","location":"Inlet","unit":"V"},{"value":"237.883","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L3-N","location":"Inlet","unit":"V"}]}]}, action=MeterValues}
./openhab.log:12226:2026-10-11 12:19:04.973 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"5ed297f7-f749-49df-8035-795f5e5df345","TriggerMessage",{"connectorId":1,"requestedMessage":"MeterValues"}]
./openhab.log:12227:2026-10-11 12:19:05.207 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=5ed297f7-f749-49df-8035-795f5e5df345, payload={"status":"Accepted"}, action=null}
./openhab.log:12234:2026-10-11 12:19:05.446 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=57781, payload={"connectorId":1,"meterValue":[{"timestamp":"2026-10-11T10:19:04.000Z","sampledValue":[{"value":"0.014","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L1","location":"Inlet","unit":"A"},{"value":"0.009","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L2","location":"Inlet","unit":"A"},{"value":"0.013","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L3","location":"Inlet","unit":"A"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Current.Offered","unit":"A"},{"value":"24805.869","context":"Trigger","format":"Raw","measurand":"Energy.Active.Import.Register","location":"Outlet","unit":"kWh"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Power.Active.Import","location":"Inlet","unit":"W"},{"value":"20.000","context":"Trigger","format":"Raw","measurand":"Temperature","location":"Body","unit":"Celsius"},{"value":"226.383","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L1-N","location":"Inlet","unit":"V"},{"value":"232.269","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L2-N","location":"Inlet","unit":"V"},{"value":"236.278","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L3-N","location":"Inlet","unit":"V"}]}]}, action=MeterValues}
./openhab.log:12246:2026-10-11 12:19:14.975 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"972955c0-bcdd-4b3b-95fa-2b4a7c08a500","TriggerMessage",{"connectorId":1,"requestedMessage":"MeterValues"}]
./openhab.log:12247:2026-10-11 12:19:15.294 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=972955c0-bcdd-4b3b-95fa-2b4a7c08a500, payload={"status":"Accepted"}, action=null}
./openhab.log:12249:2026-10-11 12:19:15.366 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=57782, payload={"connectorId":1,"meterValue":[{"timestamp":"2026-10-11T10:19:14.000Z","sampledValue":[{"value":"0.013","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L1","location":"Inlet","unit":"A"},{"value":"0.009","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L2","location":"Inlet","unit":"A"},{"value":"0.013","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L3","location":"Inlet","unit":"A"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Current.Offered","unit":"A"},{"value":"24805.869","context":"Trigger","format":"Raw","measurand":"Energy.Active.Import.Register","location":"Outlet","unit":"kWh"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Power.Active.Import","location":"Inlet","unit":"W"},{"value":"20.000","context":"Trigger","format":"Raw","measurand":"Temperature","location":"Body","unit":"Celsius"},{"value":"226.431","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L1-N","location":"Inlet","unit":"V"},{"value":"232.073","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L2-N","location":"Inlet","unit":"V"},{"value":"236.135","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L3-N","location":"Inlet","unit":"V"}]}]}, action=MeterValues}
./openhab.log:12270:2026-10-11 12:19:24.977 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"48497df5-8edf-49bf-b06f-63d0a42d30f9","TriggerMessage",{"connectorId":1,"requestedMessage":"MeterValues"}]
./openhab.log:12271:2026-10-11 12:19:25.051 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallResultMessage{id=48497df5-8edf-49bf-b06f-63d0a42d30f9, payload={"status":"Accepted"}, action=null}
./openhab.log:12273:2026-10-11 12:19:25.203 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Receive a message: CallMessage{id=57783, payload={"connectorId":1,"meterValue":[{"timestamp":"2026-10-11T10:19:24.000Z","sampledValue":[{"value":"0.014","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L1","location":"Inlet","unit":"A"},{"value":"0.009","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L2","location":"Inlet","unit":"A"},{"value":"0.014","context":"Trigger","format":"Raw","measurand":"Current.Import","phase":"L3","location":"Inlet","unit":"A"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Current.Offered","unit":"A"},{"value":"24805.869","context":"Trigger","format":"Raw","measurand":"Energy.Active.Import.Register","location":"Outlet","unit":"kWh"},{"value":"0.000","context":"Trigger","format":"Raw","measurand":"Power.Active.Import","location":"Inlet","unit":"W"},{"value":"20.000","context":"Trigger","format":"Raw","measurand":"Temperature","location":"Body","unit":"Celsius"},{"value":"226.548","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L1-N","location":"Inlet","unit":"V"},{"value":"232.155","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L2-N","location":"Inlet","unit":"V"},{"value":"236.064","context":"Trigger","format":"Raw","measurand":"Voltage","phase":"L3-N","location":"Inlet","unit":"V"}]}]}, action=MeterValues}
marcus@openhabnuc:/var/log/openhab$ find . -type f -exec zgrep -Hn "TxDefaultProfile" {} +
./openhab.log.2.gz:7837:2026-10-08 06:56:31.839 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"39c2f251-159c-4dc9-875b-4e2b5b165aad","SetChargingProfile",{"connectorId":1,"csChargingProfiles":{"chargingProfileId":11,"stackLevel":0,"chargingProfilePurpose":"TxDefaultProfile","chargingProfileKind":"Relative","chargingSchedule":{"chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":7.0,"numberPhases":3}]}}}]
./openhab.log.1.gz:1081:2026-10-07 17:04:56.383 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"3805c491-8e66-45e4-aae8-3f15475fe403","SetChargingProfile",{"connectorId":1,"csChargingProfiles":{"chargingProfileId":11,"stackLevel":0,"chargingProfilePurpose":"TxDefaultProfile","chargingProfileKind":"Relative","chargingSchedule":{"chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":0.0,"numberPhases":3}]}}}]
./openhab.log.1.gz:6436:2026-10-07 18:04:32.787 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"41ebf0b4-99a9-49f6-9e2c-5bf2a25c0b0e","SetChargingProfile",{"connectorId":1,"csChargingProfiles":{"chargingProfileId":11,"stackLevel":0,"chargingProfilePurpose":"TxDefaultProfile","chargingProfileKind":"Relative","chargingSchedule":{"chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":7.0,"numberPhases":3}]}}}]
./openhab.log.1.gz:10687:2026-10-07 18:50:20.125 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"e2f2b1e8-ee1f-4614-8725-5da13f352955","SetChargingProfile",{"connectorId":1,"csChargingProfiles":{"chargingProfileId":11,"stackLevel":0,"chargingProfilePurpose":"TxDefaultProfile","chargingProfileKind":"Relative","chargingSchedule":{"chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":9.0,"numberPhases":3}]}}}]
./openhab.log.1.gz:11203:2026-10-07 18:55:13.066 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"4d6f0407-3395-436f-8363-d3a7a783d133","SetChargingProfile",{"connectorId":1,"csChargingProfiles":{"chargingProfileId":11,"stackLevel":0,"chargingProfilePurpose":"TxDefaultProfile","chargingProfileKind":"Relative","chargingSchedule":{"chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":9.0,"numberPhases":3}]}}}]
./openhab.log.1.gz:11335:2026-10-07 18:56:13.064 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"100555c0-f22e-4543-bcac-82c2f7073592","SetChargingProfile",{"connectorId":1,"csChargingProfiles":{"chargingProfileId":11,"stackLevel":0,"chargingProfilePurpose":"TxDefaultProfile","chargingProfileKind":"Relative","chargingSchedule":{"chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":7.0,"numberPhases":3}]}}}]
./openhab.log.1.gz:14686:2026-10-07 19:33:04.076 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"c90c4c77-6b5b-4957-bac6-da8628bba58d","SetChargingProfile",{"connectorId":1,"csChargingProfiles":{"chargingProfileId":11,"stackLevel":0,"chargingProfilePurpose":"TxDefaultProfile","chargingProfileKind":"Relative","chargingSchedule":{"chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":0.0,"numberPhases":3}]}}}]
marcus@openhabnuc:/var/log/openhab$ find . -type f -exec zgrep -Hn "GetCompositeSchedule" {} +
./openhab.log:12051:2026-10-11 12:17:17.417 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"c0fc5503-66bf-4fe9-aea3-4f7aa5cae95f","GetCompositeSchedule",{"connectorId":1,"duration":60,"chargingRateUnit":"A"}]
./openhab.log:12053:2026-10-11 12:17:17.543 [DEBUG] [nternal.handler.OcppConnectorHandler] - GetCompositeSchedule on connector 1 -> GetCompositeScheduleConfirmation{compositeScheduleStatus=Accepted, connectorId=1, scheduleStart="2026-10-11T10:17:16Z", chargingSchedule=ChargingSchedule{duration=60, startSchedule="2026-10-11T10:17:16Z", chargingRateUnit=A, chargingSchedulePeriod.length=1, minChargingRate=null, isValid=true}, isValid=true}

thanks for testing, so the easee answers it too and the writes stay out, good.
on charging complete, ocpp 1.6 has no completed status. a full car shows up as SuspendedEV, the charger offers current and the car takes none, and the session only ends when you unplug, that’s the StopTransaction, charging goes OFF and last-session-energy gets its value. so for full i’d go on SuspendedEV with no energy going in for a few minutes.
for the default there’s a new connector setting in today’s jar, same link: startLimit, under the advanced settings of the connector thing. it’s the current every charge starts at. when a charge ends the connector goes back to it with pause off, so unplugging mid charge no longer leaves the next one at whatever your rule had last, 16 A or 0 if it was paused. with the read back that’s one write or none. leave it empty and it works like before. for your easee i’d set it to 7.

Hi

I’ve now downloaded the new build the second one for today I beleive

375 │ Active │ 80 │ 5.3.0.202610111112 │ openHAB Add-ons :: Bundles :: OCPP Binding
openhab>

Now I just have to wait for a chargingsession, but it really seemslike we have come a far way now.

And i did set the new setting startlimit to 7, we will se if easse responds sometime.

SO i guess expected behavior now will be that if I don’t change default current in some other place or in the connector thing there will not be new txdeafultprofile sent to charger?

yes, that’s how it should work now. during a charge your rules’ limits go out as TxProfile, which the charger doesn’t store, and when the charge ends the connector goes back to your 7 A, the read back sees the easee already holds 7 and writes nothing. a default only gets written when something actually changes it while no car is charging, like a rule sending another limit or a pause then, or if the charger lost its default after a reset. so any rule you had to set a current after unplugging can go, startLimit does that now. with the trace on you’ll see the GetCompositeSchedule after each charge and no SetChargingProfile behind it.

Hello

This nights charging session did go as expected,searched logs for TxDefaultProfile and GetCompositeSchedule, turns out that i did requested from charger but didn’t send any because they where the same, I also made som minor adjustments on the chargingrules to be really sure about not sending any currentlimits when transactions id isn’t a valid number. T omee it looks perfect.

marcus@openhabnuc:/var/log/openhab$ find . -type f -exec zgrep -Hn "GetCompositeSchedule" {} +
./openhab.log.7.gz:12051:2026-10-11 12:17:17.417 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"c0fc5503-66bf-4fe9-aea3-4f7aa5cae95f","GetCompositeSchedule",{"connectorId":1,"duration":60,"chargingRateUnit":"A"}]
./openhab.log.7.gz:12053:2026-10-11 12:17:17.543 [DEBUG] [nternal.handler.OcppConnectorHandler] - GetCompositeSchedule on connector 1 -> GetCompositeScheduleConfirmation{compositeScheduleStatus=Accepted, connectorId=1, scheduleStart="2026-10-11T10:17:16Z", chargingSchedule=ChargingSchedule{duration=60, startSchedule="2026-10-11T10:17:16Z", chargingRateUnit=A, chargingSchedulePeriod.length=1, minChargingRate=null, isValid=true}, isValid=true}
./openhab.log:48344:2026-10-12 07:19:49.230 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"d156d4b5-e118-48d2-973c-83a2df71a288","GetCompositeSchedule",{"connectorId":1,"duration":60,"chargingRateUnit":"A"}]
./openhab.log:48346:2026-10-12 07:19:49.301 [DEBUG] [nternal.handler.OcppConnectorHandler] - GetCompositeSchedule on connector 1 -> GetCompositeScheduleConfirmation{compositeScheduleStatus=Accepted, connectorId=1, scheduleStart="2026-10-12T05:19:47Z", chargingSchedule=ChargingSchedule{duration=60, startSchedule="2026-10-12T05:19:47Z", chargingRateUnit=A, chargingSchedulePeriod.length=1, minChargingRate=null, isValid=true}, isValid=true}
marcus@openhabnuc:/var/log/openhab$ find . -type f -exec zgrep -Hn "TxDefaultProfile" {} +
./openhab.log.1.gz:7837:2026-10-08 06:56:31.839 [TRACE] [eu.chargetime.ocpp.JSONCommunicator ] - Send a message: [2,"39c2f251-159c-4dc9-875b-4e2b5b165aad","SetChargingProfile",{"connectorId":1,"csChargingProfiles":{"chargingProfileId":11,"stackLevel":0,"chargingProfilePurpose":"TxDefaultProfile","chargingProfileKind":"Relative","chargingSchedule":{"chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":0,"limit":7.0,"numberPhases":3}]}}}]
marcus@openhabnuc:/var/log/openhab$

A small confirmation from my Chargestorm Connected: my automation incorrectly sent a 0 A charge limit before RemoteStart, assuming that zero meant “unlimited”. The charger accepted the transaction but remained in SuspendedEVSE at 0 W, and reconnecting the cable produced the same result. Sending the connector’s clear-limit command changed the limit from 0 A to UNDEF, and the charger entered Charging within four seconds at about 9 kW. So this was not a car or binding fault, but a useful real-world example that 0 A is an actual stop profile and clear-limit must be used for unrestricted charging. I learned this the hard way with a not charged car, but since I realized this was the problem everything is up and working again.

good to see it in your log too, that’s exactly how it should look. the GetCompositeSchedule every time and no SetChargingProfile behind it while nothing changed

sorry this one cost you a charge. 0 meaning unlimited was the old behaviour and it was dangerous for load balancing, a rule working out 0 A available got the charger’s full current instead, so 0 is now a real stop like in ocpp. i put it in the release notes but should have tagged you here since your automation used it.

keep the clear-limit before the remote start like you have it now. on your chargestorm that also takes away the stored default limit that made it go SuspendedEVSE after 15 seconds back in august, so the start, wait for Charging, then set the limit sequence stays the clean way for that charger.

…or maybe I should have been a bit more observant :wink: Glad we got it cleared up, I agree it’s better the way it works now. Thanks for the job you’ve put into this binding!

Hello folks

Yesterday I’ve heard back from Easse and they stated that sending 6A for resuming charging from 0 A will work but for some odd reason it takes 5 minutes before it acts on 6 A and it acts instantly on all other currentLimits, I can confirm this tested on my charger with fw 344 and it actually started after 5 minutes and two updates.

They where working on a fix for this so I guess it would be safe to build automation using 0 and 6A shifting just that resuming takes a while extra for now.

Hi as long as you take that into account in your automations you should be ok but it should be nice from them if they fix this in a new firmware. Thank for reporting back !