steve icon indicating copy to clipboard operation
steve copied to clipboard

Procedure to set charging limit to connectorid

Open sushant9930 opened this issue 2 years ago • 6 comments

I had lot of try for setCharging profile to connectorId but, I didn't understand procedure of set charging profile to connectorId. Screenshot (91) Screenshot (92) i get this kind of response return to me from steve can any one explain me step by step procedure to set limit to running connectorId. and internally its show me ( 'child "chargingSchedule" fails because [child "chargingSchedulePeriod" fails because ["chargingSchedulePeriod" at position 0 fails because [child "limit" fails because ["limit" must be a multiple of 0.1]]]]') this error and my charging profile is like ([2,"79b70326-6153-4963-9708-045d9a8f0d1c","SetChargingProfile",{"connectorId":1,"csChargingProfiles":{"chargingProfileId":1,"stackLevel":1,"chargingProfilePurpose":"TxProfile","chargingProfileKind":"Recurring","recurrencyKind":"Daily","chargingSchedule":{"duration":1000,"chargingRateUnit":"A","chargingSchedulePeriod":[{"startPeriod":7600,"limit":124,"numberPhases":1}],"minChargingRate":10}}}] )

sushant9930 avatar Jun 23 '23 03:06 sushant9930

Steve does not support TxProfiles (yet?). You can use ChargePointMaxProfile and TxDefaultProfile, how they work is described in the OCPP documentation.

Please read also #826 and #367

fnkbsi avatar Jun 23 '23 08:06 fnkbsi

so you means TxProfiles is also not support in "smart charging"?

sushant9930 avatar Jun 23 '23 08:06 sushant9930

I think so. But if I remember correctly, the TxProfile only needs additionally the TransactionID and Starttime. In one of the forks I saw a solution for testing purposes, sorry can't remember in which one

fnkbsi avatar Jun 23 '23 08:06 fnkbsi

Sorry I want to correct some information. I was get ( 'child "chargingSchedule" fails because [child "chargingSchedulePeriod" fails because ["chargingSchedulePeriod" at position 0 fails because [child "limit" fails because ["limit" must be a multiple of 0.1]]]]') this error from client side actually. when i was pass TxProfile charging profile and this message is like limit must be a multiple of 0.1 but i can't understand why this error occured and this error comes with TxDefaultProfile charging purpose also. And this project refer from JavaIsJavaScript/steve fork of steve

sushant9930 avatar Jun 23 '23 09:06 sushant9930

Not sure, but is your limit in the profile 124 or 124.0 also the minChargingRate should be 10.0

fnkbsi avatar Jun 23 '23 10:06 fnkbsi

Screenshot (103) this error showed me at client server when i am trying to setchargingprofile and could please you give me documentation which is best for understand proper procedure of setchanging to particular connectorid else any video documentation

sushant9930 avatar Jun 23 '23 11:06 sushant9930

can be closed after https://github.com/steve-community/steve/pull/1816

goekay avatar Sep 16 '25 11:09 goekay